JPS63280834A - Control for electrical equipment of internal combustion engine - Google Patents

Control for electrical equipment of internal combustion engine

Info

Publication number
JPS63280834A
JPS63280834A JP11553887A JP11553887A JPS63280834A JP S63280834 A JPS63280834 A JP S63280834A JP 11553887 A JP11553887 A JP 11553887A JP 11553887 A JP11553887 A JP 11553887A JP S63280834 A JPS63280834 A JP S63280834A
Authority
JP
Japan
Prior art keywords
time
injector
timer
fuel injection
counter
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.)
Granted
Application number
JP11553887A
Other languages
Japanese (ja)
Other versions
JP2605038B2 (en
Inventor
Masahiko Yakuwa
八鍬 正彦
Kikuo Tomosawa
友澤 菊雄
Kazuya Kishi
岸 和也
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.)
Honda Motor Co Ltd
Oki Electric Industry Co Ltd
Original Assignee
Honda Motor Co Ltd
Oki Electric Industry 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 Honda Motor Co Ltd, Oki Electric Industry Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP62115538A priority Critical patent/JP2605038B2/en
Priority to US07/193,411 priority patent/US4964050A/en
Publication of JPS63280834A publication Critical patent/JPS63280834A/en
Application granted granted Critical
Publication of JP2605038B2 publication Critical patent/JP2605038B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To control the energizing time to a proper value by setting the value which is obtained by subtracting a prescribed time from the energizing time for the electrical equipment such as fuel injection valve, as the counting value of a counter, and by outputting an energizing completion signal after the lapse of a prescribed time from the completion of counting by the counter. CONSTITUTION:During the operation of an engine 1, an ECU 5 calculates the fuel injection time (energizing time) on the basis of the output signals of an intake pipe absolute pressure sensor 8, engine revolution speed sensor 11, etc. The calculated energizing time is counted by a counter, and a fuel injection starting instruction is outputted into a fuel injection valve 6. An interruption signal is generated on the completion of counting by the counter, and an instruction for suspending the fuel injection is outputted according to the interruption signal. In this case, the difference which is obtained by subtracting a prescribed time from the above-described energizing time is set as the count value of the counter, and the fuel injection stop instruction is outputted after the lapse of a prescribed time from the time of generation of the interruption signal.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は内燃エンジンの電気装置の制御方法に関し、特
に割込信号に応じて電気装置の付勢時間を制御する制御
力法に関する。
FIELD OF THE INVENTION The present invention relates to a method for controlling an electrical device of an internal combustion engine, and more particularly to a control force method for controlling the energization time of an electrical device in response to an interrupt signal.

(従来技術及びその問題点) 内燃エンジンの作動を制御する電気装置、例えば燃料噴
射弁の従来の制御方法としては、該電気装置の付勢時間
を計時し、該イ;ノ勢時間の計時終r時に割込信号を発
生する計時カウンタと、前記内燃エンジンの運転状態に
応じて前記付勢時間を演算し、nIj記、!1時カウン
タの計時開始指令を出力すると共に前記電気装置のイ;
1勢開始指令を出力し、前記計時カウンタからの前記割
込信号に応じて当該電気装置の伺勢終了指令を出力する
中央演算処理装置とによって側御を行うようにしたもの
がある。
(Prior Art and its Problems) A conventional control method for an electrical device that controls the operation of an internal combustion engine, such as a fuel injection valve, is to measure the energizing time of the electrical device, and to determine the end of the energizing time. A time counter that generates an interrupt signal at time r, and calculates the energization time according to the operating state of the internal combustion engine, nIj, ! Outputting a timekeeping start command for the 1 o'clock counter and controlling the electric device;
There is a device in which side control is performed by a central processing unit that outputs a command to start one cycle and outputs a command to end the cycle of the electric device in response to the interrupt signal from the time counter.

しかしながら、中央演算処理装置は、通常電気装置の制
御のための)11(算処理とともに、他の制御のための
多くの演算処理を司るものであるため、割込信号を受は
付けない特定の区間(以下「割込禁止区間」という)を
備えている。したがって、計時カウンタからの割込信号
の発生時が割込禁止区間に該当する場合には、割込禁止
区間が解除されるまで割込信号が受は付けられず、この
待ち時間の分だけ電気装置の付勢終了指令の出力が遅れ
てしまう。この結果、電気装置の付勢時間が実質的に延
長されてしまうために、実際の付勢時間を、内燃エンジ
ンの運転状態に応じて設定した所望の(菟1勢時間に制
御できないという問題点があった。
However, since the central processing unit usually handles arithmetic processing (for controlling electrical equipment) as well as many arithmetic processing for other controls, there is a specific system that does not accept interrupt signals. (hereinafter referred to as the "interrupt-prohibited section"). Therefore, if the time when an interrupt signal from the time counter is generated falls within the interrupt-prohibited section, the interrupt is disabled until the interrupt-prohibited section is canceled. The input signal is not received, and the output of the command to end the energization of the electrical device is delayed by this waiting time.As a result, the energization time of the electrical device is substantially extended, and the actual There is a problem in that the energizing time cannot be controlled to the desired energizing time set according to the operating state of the internal combustion engine.

例えば、電気装置が燃料噴射弁である場合には、燃料の
噴射時間、即ち噴射量が適正量よりも大きくなって、エ
ンジンの運転性、燃費の低下等を招くこととなる。
For example, when the electrical device is a fuel injection valve, the injection time of the fuel, that is, the injection amount becomes larger than the appropriate amount, resulting in a decrease in engine drivability and fuel efficiency.

(発明の目的) 本発明は上記従来技術の問題点を解決するためになされ
たものであり、中央演算処理装置が割込禁止区間を備え
る場合にも電気装置の付勢時間を適正値に制御すること
により、運転性、燃費等の向上を図ることができるよう
にした内燃エンジンの電気装置の制御方法を提供するこ
とを目的とする。
(Object of the Invention) The present invention has been made in order to solve the problems of the prior art described above, and is capable of controlling the energization time of an electrical device to an appropriate value even when the central processing unit has an interrupt-prohibited section. It is an object of the present invention to provide a method for controlling an electric device for an internal combustion engine, thereby making it possible to improve drivability, fuel efficiency, etc.

(問題点を解決するための手段) 本発明は上記目的を達成するため、内燃エンジンの作動
を制御する電気装置の付勢時間を演算処理手段により前
記内燃エンジンの運転状態に応じで演算し、該演算した
付勢時間を計時カウンタによりNi時すると共に前記演
算処理手段から前記電気装置の付勢開始指令を出力させ
、前記計時カウンタの計時終了により割込信号を発生し
、該割込信号に応じて前記演算処理手段から前記電気装
置の付勢終了指令を出力させる内燃エンジンの電気装置
の制御方法において、前記付勢時間から所定時間を差し
引いて得られた差を前記計時カウンタのカウント値に設
定し、該計時カウンタの前記割込信号の発生時から前記
所定時間経過後に前記付勢終了指令を出力するようにし
たものである。
(Means for Solving the Problems) In order to achieve the above object, the present invention calculates the energization time of an electric device that controls the operation of the internal combustion engine according to the operating state of the internal combustion engine by a calculation processing means, The calculated energization time is set to Ni by the time counter, and the arithmetic processing means outputs a command to start energizing the electric device, and when the time counter ends, an interrupt signal is generated, and the interrupt signal is In the method for controlling an electrical device of an internal combustion engine, the arithmetic processing means outputs an energization termination command for the electrical device in response to the energization time, and the difference obtained by subtracting a predetermined time from the energization time is set as the count value of the time counter. and the energization end command is output after the predetermined time has elapsed from the generation of the interrupt signal of the time counter.

(実施例) 以下、本発明の一実施例を添付図面に基づいて説明する
(Example) Hereinafter, one example of the present invention will be described based on the accompanying drawings.

第1図は本発明の制御方法が適用される燃料供給制御装
置の全体の構成図であり、エンジンlの吸気管2の途中
に設けられたスロットル弁3にはスロットル弁開度(O
Tl+)センサ4が連結されており、当該スロットル弁
3の弁開度に応じた電気信号を出力して電子コントロー
ルユニット(以下rEcUJという)5に供給する。
FIG. 1 is an overall configuration diagram of a fuel supply control device to which the control method of the present invention is applied.
Tl+) sensor 4 is connected, and outputs an electric signal corresponding to the opening degree of the throttle valve 3 to supply it to an electronic control unit (hereinafter referred to as rEcUJ) 5.

電気装置としての燃料噴射弁(以下「インジェクタJと
いう)6はエンジン1とスロットル弁3との間且つ吸気
管2の図示しない吸気弁の少し上流側に各気筒毎に設け
られており(1個のみ図示)、各インジェクタは図示し
ない燃料ポンプに接続されていると共にECU3に電気
的に接続されて当該ECU3からの信号により燃料噴射
の開弁時間Tourが制御される。
A fuel injection valve (hereinafter referred to as "injector J") 6 as an electrical device is provided for each cylinder between the engine 1 and the throttle valve 3 and slightly upstream of the intake valve (not shown) in the intake pipe 2. (only shown), each injector is connected to a fuel pump (not shown) and electrically connected to an ECU 3, and a valve opening time Tour for fuel injection is controlled by a signal from the ECU 3.

一方、スロットル弁3の直ぐ下流には管7を介して吸気
管内絶対圧(PH^)センサ8が設けられており、この
絶対圧センサ8により電気信号に変換された絶対圧信号
は前記ECU3に供給される。
On the other hand, an intake pipe absolute pressure (PH^) sensor 8 is provided immediately downstream of the throttle valve 3 via a pipe 7, and the absolute pressure signal converted into an electrical signal by this absolute pressure sensor 8 is sent to the ECU 3. Supplied.

また、その下流には吸気温(T^)センサ9が取り付け
られており、吸気温度を検出して対応する電気信号を出
力してECU3に供給する。
Further, an intake air temperature (T^) sensor 9 is attached downstream thereof, detects the intake air temperature, outputs a corresponding electric signal, and supplies the signal to the ECU 3.

エンジンlの本体に装着されたエンジン冷却水温(”l
’ w )センサlOはサーミスタ等から成り、エンジ
ン冷却水温度を検出して対応する温度信号をECU3に
供給する。エンジン回転数(Ne)センサ11及び気筒
判別(CYL)センサ12はエンジン1の図示しないカ
ム軸周囲又はクランク軸周囲に取り付けられている。エ
ンジン回転数センサ11はエンジンのクランク軸の18
0度回転毎に所定のクランク角度位置で所定制御信号パ
ルス(以下rTDC信号パルス」という)を、気筒判別
センサ12は特定の気筒の所定のクランク角度位置で気
筒判別信号パルス(以下rC:YL信号パルス」という
)を、夫々lパルスを出力するものであり、これらの各
信号パルスはECU3に供給される。
The temperature of the engine cooling water installed in the main body of the engine ("l
'w) The sensor IO is composed of a thermistor or the like, detects the engine coolant temperature, and supplies a corresponding temperature signal to the ECU 3. An engine rotational speed (Ne) sensor 11 and a cylinder discrimination (CYL) sensor 12 are attached around a camshaft or crankshaft (not shown) of the engine 1. The engine speed sensor 11 is located at 18 on the engine crankshaft.
The cylinder discrimination sensor 12 outputs a predetermined control signal pulse (hereinafter referred to as rTDC signal pulse) at a predetermined crank angle position for each 0 degree rotation, and a cylinder discrimination signal pulse (hereinafter referred to as rC: YL signal) at a predetermined crank angle position of a specific cylinder. These signal pulses are supplied to the ECU 3.

三元触媒14はエンジン1の排気管13に配置されてお
り、排気ガス中のHC,Go、NOx等の成分の浄化を
行う。o2センサ15は排気管13の三元触媒14の上
流側に装着されており、排気ガス中の酸素濃度を検出し
てその検出値に応じた信号を出力しECU3に供給する
The three-way catalyst 14 is disposed in the exhaust pipe 13 of the engine 1, and purifies components such as HC, Go, and NOx in the exhaust gas. The o2 sensor 15 is installed on the upstream side of the three-way catalyst 14 in the exhaust pipe 13, detects the oxygen concentration in the exhaust gas, outputs a signal according to the detected value, and supplies the signal to the ECU 3.

更にECU3には大気圧、バッテリ電圧等の(也のエン
ジン運転パラメータ値を検出するセンサ16が接続され
ており、その検出値信号が供給される。
Further, a sensor 16 for detecting engine operating parameter values such as atmospheric pressure and battery voltage is connected to the ECU 3, and a detected value signal thereof is supplied.

ECU3は上述の各種エンジ)・運転パラメータ信号に
基づいて、フューエルカット(燃料遮断)運転領域、加
速領域、減速領域等のエンジン運転状態を判別すると共
に、判別したエンジン運転状態に応じて前記T I) 
C信号パルスに同期して対応するインジェクタ6を開弁
すべき偲料噴射時間TOLITを次式に基づいて演算す
る。
The ECU 3 determines engine operating states such as a fuel cut (fuel cutoff) operating range, an acceleration range, and a deceleration range based on the above-mentioned various engine operating parameter signals, and also determines the above-mentioned T I according to the determined engine operating state. )
The injection time TOLIT for which the corresponding injector 6 should be opened in synchronization with the C signal pulse is calculated based on the following equation.

TOUT=Ti XKI+に2・・・(1)ここに、T
iはインジェクタ6の噴射時間の基fjtJ値であり、
エンジン回転数Neと吸気管内絶対圧PB^に応じて決
定される。
TOUT=Ti XKI+2...(1) Here, T
i is the base fjtJ value of the injection time of the injector 6,
It is determined according to the engine rotation speed Ne and the intake pipe absolute pressure PB^.

K+及びに2は夫々補正係数及び補正変数であり、前述
の各種センサからのエンジン運転パラメータ信号により
エンジン運転状態に応じた始動特性、排気ガス特性、燃
費特性、加速特性等の緒特性が最適なものとなるように
所定の演算式に基づいて算出される。
K+ and NI2 are a correction coefficient and a correction variable, respectively, and the engine operating parameter signals from the various sensors mentioned above are used to optimize engine starting characteristics, exhaust gas characteristics, fuel efficiency characteristics, acceleration characteristics, etc. according to engine operating conditions. It is calculated based on a predetermined calculation formula so that the

IE CU 5はに述のように(ッて求めた燃料噴射時
1110’ 0 +I Tに基づいてインジェクタ6を
開弁させる駆動信号をインジェクタ6に供給する。
As described above, the IE CU 5 supplies the injector 6 with a drive signal to open the injector 6 based on the fuel injection time 1110' 0 +IT determined in ().

第2図は第1図のECU3内部の回路構成を示すブロッ
ク図で、第1図のエンジン回転数センサ11からの出力
信号は波形整形回路501で波形整形された後、TDC
信号パルスとして割込制御回路502を1γして演算処
理手段としての中央演算処理装置(以下rcPUJとい
う)503に供給される。割込制御回路502にはアッ
プカウンタから成り、CP U303によって作動が制
御されるタイマ(31時カウンタ)504が接続されて
いる。タイマ504はそのカラン1〜値を割込制御回路
502及びCP U303に供給し、割込制御回路50
2はタイマ504の計時終了(カウントアツプ)時に割
込信号をCP U303に供給する。また、タイマ50
4は、CP U304により作動が停止されない限り、
そのカウントアツプと同時にカウント値を0にリセット
L2て再カウントを自動的に開始する機能を備えている
FIG. 2 is a block diagram showing the circuit configuration inside the ECU 3 shown in FIG. 1, in which the output signal from the engine rotation speed sensor 11 shown in FIG.
As a signal pulse, the interrupt control circuit 502 outputs 1γ and is supplied to a central processing unit (hereinafter referred to as rcPUJ) 503 as an arithmetic processing means. Connected to the interrupt control circuit 502 is a timer (31 o'clock counter) 504, which is composed of an up counter and whose operation is controlled by the CPU 303. The timer 504 supplies the callan 1 to value to the interrupt control circuit 502 and the CPU 303, and the interrupt control circuit 50
2 supplies an interrupt signal to the CPU 303 when the timer 504 finishes counting (counts up). Also, timer 50
4, unless the operation is stopped by the CPU 304,
It has a function to reset the count value to 0 at the same time as the count up L2 and automatically start counting again.

前記波形整形回路501はMeカウンタ505にも接続
されている。Meカウンタ505はエンジン回転数セン
サ11からの前回T D C信号パルスの入力時から今
回TDC信号パルスの入力時までの時間間隔を計測する
もので、その計数値Meはエンジン回転数Neの逆数に
比例する。Meカウンタ505はこの計数値Meをデー
タバス506を介してCPU503に供給する。
The waveform shaping circuit 501 is also connected to a Me counter 505. The Me counter 505 measures the time interval from the input of the previous TDC signal pulse from the engine rotation speed sensor 11 to the input of the current TDC signal pulse, and its count value Me is the reciprocal of the engine rotation speed Ne. Proportional. Me counter 505 supplies this count value Me to CPU 503 via data bus 506.

第1図のスロットル弁開度センサ4、吸気管内絶対圧セ
ンサ8.02センサ15等の各センサからの夫々の出力
信号はレベル修正回路507で所定電圧レベルに修正さ
れた後、マルチプレクサ508により順次A/Dコンバ
ータ509に供給され、ここで更にデジタル信号に変換
された後、データバス506を介してCP U303に
供給される。
The output signals from each sensor such as the throttle valve opening sensor 4, intake pipe absolute pressure sensor 8, 02 sensor 15, etc. in FIG. The signal is supplied to the A/D converter 509, where it is further converted into a digital signal, and then supplied to the CPU 303 via the data bus 506.

気筒判別センサI2からの信号は波形整形回路510で
波形整形された後、CYL信号パルスとしてCP U3
03に()(給される。
After the signal from the cylinder discrimination sensor I2 is waveform-shaped by the waveform shaping circuit 510, it is sent to the CPU 3 as a CYL signal pulse.
03()(provided.

CP U303は更にデータバス506を介してリード
オンリメモリ(以下FROM」という)511、ランダ
ムアクセスメモリ (以下[RAMJという)512及
び駆動回路513に接続されている。RAM512はC
P U 503における演算結果を一時的に記憶し、R
OM5]1はCP LJ503で実行される制御プログ
ラム、吸気管内絶対圧PB^とエンジン回転数Neとに
基づいて読み出すための燃料噴射弁6の基本噴射時間T
1マツプ等を記憶している。
The CPU 303 is further connected to a read-only memory (hereinafter referred to as "FROM") 511, a random access memory (hereinafter referred to as "RAMJ") 512, and a drive circuit 513 via a data bus 506. RAM512 is C
The calculation result in P U 503 is temporarily stored, and R
OM5]1 is a control program executed by the CP LJ503, and is a basic injection time T of the fuel injection valve 6 to be read based on the intake pipe absolute pressure PB^ and the engine speed Ne.
1 map etc. is memorized.

CP U303はROM511に記憶されている制御プ
ログラムに従い、前述の各種エンジン運転パラメータ信
号に応じたインジェクタ6の燃料噴射時間’「ouvを
演算し、該演算結果に応じてタイマ504のタイマセッ
ト値Tsetを設定してその作動を開始させるとともに
、第1〜第3気筒にそれぞれ配設された#1〜#3のイ
ンジェクタ61〜63のうち、入力されたT D C信
号パルスに対応した噴射を行うべきインジェクタ6を選
択し、これを開弁させる制御信号を駆動回路513に供
給する。また、CPU503はタイマ504のカウント
アツプ時に割込制御回路502から出力される割込信号
を所定の割込禁止区間以外の区間で受けるようにしてお
り、この211込信号により、噴射中の複数のインジェ
クタ6のうち、噴射を終了すべきインジェクタ6を選択
し、これを閉弁させる制御信号を駆動回路513に供給
する。駆動回路513は前記開弁制御信号が人力されて
から閉弁制御信号が入力されるまでの間、該当するイン
ジェクタ6に、これを開弁させる駆動信号を供給する。
According to the control program stored in the ROM 511, the CPU 303 calculates the fuel injection time 'ouv of the injector 6 according to the various engine operating parameter signals described above, and sets the timer set value Tset of the timer 504 according to the calculation result. In addition to setting and starting the operation, injections corresponding to the input TDC signal pulse should be performed among the #1 to #3 injectors 61 to 63 disposed in the first to third cylinders, respectively. A control signal to select the injector 6 and open it is supplied to the drive circuit 513.The CPU 503 also outputs an interrupt signal output from the interrupt control circuit 502 when the timer 504 counts up to a predetermined interrupt prohibition period. This 211-included signal selects the injector 6 that should end injection among the plurality of injectors 6 that are injecting, and supplies a control signal to the drive circuit 513 to close the valve. The drive circuit 513 supplies a drive signal to open the corresponding injector 6 from when the valve opening control signal is manually input until when the valve closing control signal is input.

第3図及び第4図は本発明に係る燃料供給制御プログラ
ムのフローチャートである6以下、第5図〜第7図のタ
イミングチャートを参照しながら、これらのフローチャ
ートを説明する。
3 and 4 are flowcharts of the fuel supply control program according to the present invention, and these flowcharts will be explained with reference to the timing charts of FIGS. 6 and 5 and FIGS.

第3図はインジェクタ6の選択及び付勢(開弁)を制御
する制御プログラムであり、本プログラムは’rDC信
号パルスの発生毎に、且つ当該TDC信号パルス発生時
に実行されるインジェクタ6の噴射時間TOUTの演算
終了と同時に実行される。
FIG. 3 shows a control program for controlling the selection and energization (valve opening) of the injector 6, and this program is executed every time an rDC signal pulse occurs and when the TDC signal pulse occurs. It is executed simultaneously with the completion of the TOUT calculation.

まず、ステップ301においては、オン状態にあるイン
ジェクタ・ポートのビット数が2個であるか否かを判別
する。このフラグとしてのインジェクタ・ポートは気筒
数と同数個のビットを有し、後述するようにインジェク
タ6が開弁状態にあるときに、対応するビットがオン状
態に維持されるものである。したがって、オン状態にあ
るインジェクタ・ポートのビット数は、現在燃料の噴射
が行われているインジェクタ6の個数を表す。前記ステ
ップ301の答が否定(No)、即ち現在噴射が行われ
ているインジェクタ6が2個でないときにはステップ3
02に進み、オン状態にあるインジェクタ・ポートのビ
ット数が1個であるか否かを判別する。この答が否定(
No)、即ちインジェクタ・ポートのビットがすべてオ
フ状態にあるときはに、すべてのインジェクタ6が燃料
噴射を停止していると判別して、次のステップ303〜
306で無ラップ時、即ち1個のインジェクタ6だけか
ら燃料噴射が行われるときの制御を実行する。第5図は
無ラップ時のタイミングチャー)・を示すものである。
First, in step 301, it is determined whether the number of bits of the injector port in the on state is two. The injector port serving as this flag has the same number of bits as the number of cylinders, and as will be described later, when the injector 6 is in the open state, the corresponding bit is maintained in the on state. Therefore, the number of bits of injector ports that are in the on state represents the number of injectors 6 that are currently injecting fuel. If the answer to step 301 is negative (No), that is, there are not two injectors 6 currently injecting, step 3
The process proceeds to step 02, and it is determined whether the number of bits of the injector port in the on state is one. This answer is negative (
No), that is, when all the bits of the injector ports are in the OFF state, it is determined that all injectors 6 have stopped fuel injection, and the next steps 303 to 303 are performed.
In step 306, control is executed when there is no lap, that is, when fuel injection is performed from only one injector 6. FIG. 5 shows a timing chart when there is no lap.

まず、ステップ303において、フラグとしてのインジ
ェクタ・オン・ビットを更新する。この更新は、既に入
力されたCYL信号パルス(第5図の(a))及び今回
入力された゛rDC信号パルス(第5図の(b))から
今回噴射を行うべき気筒を判別し、該判別された気筒に
対応するインジェクタ・オン・ビットのビットをオンす
ることによって行われる。インジェクタ・オン・ビット
は前述のインジェクタ・ポート及び後述のインジェクタ
・オフ・ビットと同様に、気筒数と同数のビット数を有
するものであり、ビットのオン状態は次回の更新時まで
維持される。
First, in step 303, the injector on bit as a flag is updated. This update is performed by determining the cylinder in which injection should be performed this time from the CYL signal pulse that has already been input ((a) in Figure 5) and the rDC signal pulse that has been input this time ((b) in Figure 5). This is done by turning on the injector on bit that corresponds to the cylinder that has been activated. The injector on bit has the same number of bits as the number of cylinders, similar to the above-mentioned injector port and the below-mentioned injector off bit, and the on state of the bit is maintained until the next update.

例えば第5図(a)及び(b)に示すように、CYL信
号パルスの発生後、TDC信号パルスの発生毎に第1〜
第3気筒の順に燃料噴射が行われるものとした場合、各
CYL信号パルス発生直後の最初の1N〕C信号パルス
が入力されたときには。
For example, as shown in FIGS. 5(a) and (b), after the generation of the CYL signal pulse, the first to
When fuel injection is performed in the order of the third cylinder, when the first 1N]C signal pulse is input immediately after each CYL signal pulse is generated.

今回噴射を行うべき気筒が第1気筒であると判別され、
これに対応するインジェクタ・オン・ビットのビット、
即ち#1ビットがオンとなることによりインジェクタ・
オン・ビットが更新され(第5図の(e)) 、以降T
DC信号パルスの発生毎に#2→#3→#l・・・に順
次更新される。
It is determined that the cylinder to be injected this time is the first cylinder,
The corresponding bit of the injector on bit,
In other words, when the #1 bit turns on, the injector
The on bit is updated ((e) in Figure 5), and henceforth T
Each time a DC signal pulse is generated, it is updated sequentially from #2 to #3 to #l, . . .

次に、ステップ304に進み、前記ステップ303でオ
ンされたインジェクタ・オン・ビットのビットに対応す
る前記インジェクタ・ポートのビットをオンにする(第
5図の(h))と同時に、対応するインジェクタ6を付
勢する制御信号を駆動回路513に出力する。これによ
り当該インジェクタ6から燃料の噴射が開始される(第
5図の(d))。
Next, the process proceeds to step 304, where the bit of the injector port corresponding to the injector on bit turned on in step 303 is turned on ((h) in FIG. 5), and at the same time, the corresponding injector is turned on. A control signal for energizing 6 is output to the drive circuit 513. This causes the injector 6 to start injecting fuel ((d) in FIG. 5).

例えばステップ303において、インジェクタ・オン・
ビットの#lビットがオンされたときには、インジェク
タ・ポートの#lビットがオンされ、#1インジェクタ
61を付勢する制御信号が出力されることにより、対応
する第1気筒への燃料噴射が開始される。
For example, in step 303, the injector on
When the #l bit of the bit is turned on, the #l bit of the injector port is turned on, and a control signal that energizes the #1 injector 61 is output, thereby starting fuel injection to the corresponding first cylinder. be done.

次に、ステップ305に進み、タイマ504のタイマセ
ット値Tsetに既に算出されている噴射時間TOυT
と所定時間ΔTiとの差の補数(TOUT−ΔTi)−
’をセラ+−1,、次いでステップ306でタイマ50
4の作動を開始させ(第5図の(e))、本プログラム
を終了する。
Next, the process proceeds to step 305, where the injection time TOυT that has already been calculated is set to the timer set value Tset of the timer 504.
The complement of the difference between and the predetermined time ΔTi (TOUT−ΔTi)−
' is set to +-1, and then in step 306 timer 50
4 is started ((e) in FIG. 5), and this program is ended.

0;j配所定時間Δ′「jはCPU503の割込禁止区
間の最長時間より若干大きな値に設定されている。
0; j predetermined time Δ'"j is set to a value slightly larger than the longest time of the interrupt prohibition period of the CPU 503.

また、タイマ504のタイマセット値TseLを噴射時
間T o LI Tと所定時間ΔTiとの差の補数とす
るのは、タイマ504がアップカウンタから成るためで
ある。
Further, the timer set value TseL of the timer 504 is set as the complement of the difference between the injection time T o LI T and the predetermined time ΔTi because the timer 504 is composed of an up counter.

第4図はインジェクタ6の消勢(閉弁)を制御する制御
プログラムであり、本プログラムはタイマ504がカウ
ントアツプし、即ちそのカウント値がオーバーフロー値
′「Ofに達し、割込制御回路502が出力する割込信
号をCP U303が受は付けるのと同時に実行される
。即ち、タイマ504のカウントアツプ時がCP U3
03の割込禁止区間に該当していない場合にはカウント
アツプと同時に、CPU503の割込禁止区間に該当す
る場合にはその解除と同時に本プログラムが実行される
(第5図の(c)、(e))。
FIG. 4 shows a control program for controlling de-energization (valve closing) of the injector 6. In this program, the timer 504 counts up, that is, the count value reaches the overflow value 'Of, and the interrupt control circuit 502 is activated. It is executed at the same time as the CPU 303 accepts the interrupt signal to be output.In other words, when the timer 504 counts up, the CPU 3
If it does not correspond to the interrupt-prohibited section of CPU 503, this program is executed at the same time as the count-up, and if it corresponds to the interrupt-prohibited section of the CPU 503, it is executed at the same time as the cancellation ((c) in Fig. 5). (e)).

まず、ステップ401において現在のタイマ読込値’「
readを読み出す。このタイマ読込値T readは
、カウントアツプと同時にOにリセットされ再カウント
を開始したタイマ504のカウント値、即ちタイマ50
4のカウントアツプ後の経過時間を示すものである(第
5図の(e))。
First, in step 401, the current timer read value '''
Read read. This timer read value T read is the count value of the timer 504 that is reset to O at the same time as the count up and starts counting again, that is, the timer 50
This shows the elapsed time after the count-up of 4 ((e) in FIG. 5).

次にステップ7I02に進み、ステップ401で読み出
されたタイマ読込値T reFldが前記所定時間Δ’
T’ iより大きいか否かを判別する。この答が否定(
NO)、即ち’I’ read≦△1゛1が成立し、タ
イマ504のカウントアツプ後所定時間ΔT iが経過
していないときには、前記ステップ401に戻り、以下
ステップ402の答がi7定(Yes)となるまでステ
ップ401及び402の実行を繰り返す。
Next, the process proceeds to step 7I02, and the timer read value T reFld read out in step 401 is determined for the predetermined period Δ'
It is determined whether it is larger than T' i. This answer is negative (
NO), that is, if 'I' read≦△1゛1 is established and the predetermined time ΔT i has not elapsed after the timer 504 counts up, the process returns to step 401, and the answer to step 402 is i7 constant (Yes). ) is repeated until steps 401 and 402 are reached.

ステップ402の答が11定(Yes)、即ちl’ r
ead〉Δ′I″iが成立し、タイマ504のカウント
アツプ後所定時間へ一1’ iが経過したときにはステ
ップ・103に進む。
The answer to step 402 is 11 (Yes), that is, l' r
ead>Δ'I''i is established, and when the predetermined time has elapsed after the timer 504 counts up, the process proceeds to step 103.

このステップ403では今回燃料噴射を終了すべきイン
ジェクタ6に対応してフラグとしてのインジェクタ・オ
フ・ビットを更新する。この更新は、例えばインジェク
タ・ボートのオン状態を検知し、オン状態にあるビット
のうち、最先に燃料の噴射が開始されたピッ1へに対応
するインジェクタ・オフ・ビットのビットをオフするこ
とによって行われる。無ラップ時においては噴射中のイ
ンジェクタ6は1個だけであるので、更新されるインジ
ェクタ・オフ・ビットのビットは本プログラムの実行筒
n;Iに第3図のステップ303で更新されたインジェ
クタ・オン・ビットのビットに対応する(第5図のD)
、(g))。
In this step 403, an injector off bit as a flag is updated corresponding to the injector 6 for which fuel injection is to be completed this time. This update involves, for example, detecting the on state of the injector boat and turning off the injector off bit corresponding to pin 1, which is the bit that is in the on state and where fuel injection is started first. carried out by. Since only one injector 6 is injecting when there is no lapping, the bit of the injector off bit to be updated is the injector off bit updated in step 303 of FIG. Corresponds to the on bit (D in Figure 5)
, (g)).

次にステップ40/Iに進み、前記ステップ401で更
新されたインジェクタ・オフ・ビットのビットに対応す
るインジェクタ・ボートのビットをオフにする(第5図
の(h))と同時に、対応するインジェクタ6を消勢す
る制御信号を駆動回路513に出力する。これにより当
該インジェクタ6からの燃料の噴射が停止される(第5
図の(d))。例えば、ステップ403においてインジ
ェクタ・オフ・ビットの#lビットがオフされたときに
はインジェクタ・ボートの#lビットがオフされ、#1
インジェクタ61を消勢する制御信号を駆動回路513
に出力することにより(第5図の(g)、(h))、対
応する第1気筒への燃料噴射が停止される(第5図の(
d))。
Next, the process proceeds to step 40/I, where the bit of the injector port corresponding to the bit of the injector off bit updated in step 401 is turned off ((h) in FIG. 5), and at the same time, the bit of the injector boat corresponding to A control signal to de-energize 6 is output to the drive circuit 513. As a result, fuel injection from the injector 6 is stopped (fifth
Figure (d)). For example, when the #l bit of the injector off bit is turned off in step 403, the #l bit of the injector boat is turned off, and the #1 bit of the injector port is turned off.
The drive circuit 513 sends a control signal to deenergize the injector 61.
((g) and (h) in Figure 5), fuel injection to the corresponding first cylinder is stopped (((g) and (h) in Figure 5).
d)).

このように、燃料噴射の開始と同時に、その噴射時間の
計時を開始するタイマ504のタイマセット値”「se
tとして所望の噴射時間′「0υ丁と所定時間ΔTiと
の差をセットしくステップ305) 、タイマ504の
カウントアツプ時からnIj記所定時間△Ti経過後に
燃料噴射が停止される(ステップ404)。また、所定
時間ΔTjはOf述したようにCPU503の割込禁止
区間の最大時間よりも大きな値に設定されているので、
タイマ504のカウントアツプ時が割込禁1ヒ区間に該
当する場合には、カウントアツプの値、所定時間ΔT 
iが経通ずるまでに割込禁止が必ず解除されることによ
って、割込信号がCPU503に受はイリけられる(第
5図の(c)、 (e))。
In this way, at the same time as the start of fuel injection, the timer set value of the timer 504 that starts counting the injection time is
The difference between the desired injection time '0υt' and the predetermined time ΔTi is set as t (step 305), and the fuel injection is stopped after a predetermined time nIj has elapsed from the time the timer 504 counts up (step 404). In addition, since the predetermined time ΔTj is set to a value larger than the maximum time of the interrupt prohibition period of the CPU 503 as described above,
If the count-up time of the timer 504 corresponds to the interrupt-prohibited 1-hi period, the count-up value and the predetermined time ΔT
By ensuring that the interrupt prohibition is canceled before i passes through, the interrupt signal is not accepted by the CPU 503 ((c) and (e) in FIG. 5).

したがって、インジェクタ6を消勢する制御信号の出力
の遅れが生ずることはなく、所望の噴射時間′I″OU
Tをもってインジェクタ6の噴射が行われる。
Therefore, there is no delay in the output of the control signal for deenergizing the injector 6, and the desired injection time 'I''OU
At T, the injector 6 starts injecting.

次にステップ405においてタイマ504の作動を停止
しく第5図の(e))、ステップ・106に進みインジ
ェクタ・ボートがすべてオフ状態にあるか否か、即ちす
べてのインジェクタ6が燃料噴射を停止している状態に
あるか否かを判別する。無ラップ時においては、−のイ
ンジェクタ6の噴射終了直後はすべてのインジェクタ6
が、燃料噴射を停止している状態にあるので、このステ
ップ406の答がiq定(Yes)となって本プログラ
ムが終了される。
Next, in step 405, the operation of the timer 504 is stopped ((e) in FIG. 5), and the process proceeds to step 106 to check whether all injector boats are in the OFF state, that is, all injectors 6 stop fuel injection. Determine whether or not the device is in a state where the When there is no lapping, all injectors 6 immediately after the - injector 6 completes injection.
Since fuel injection is stopped, the answer to step 406 is iq constant (Yes), and the program ends.

無ラップ時においては以上のような実行が繰り返される
ことによって、複数のインジエンフタ61〜63の実際
の噴射時間が、設定した噴射時間TOUTに順次制御さ
れる。
By repeating the above-described execution during non-lap, the actual injection times of the plurality of injector lids 61 to 63 are sequentially controlled to the set injection time TOUT.

第3図の制御プログラムに戻り、前記ステップ302の
答が1定(Yes)、即ちインジェクタ・ボートの1個
のビットが既にオン状態にあるときには、1個のインジ
ェクタ6が燃料噴射を継続中であると判別して、次のス
テップ307〜311で1ラップ時、即ち2個のインジ
ェクタ6から燃料噴射が並行して行われる時の制御を実
行する。第6図はlラップ時のタイミングチャートを示
すものであまず、ステップ307において前記無ラップ
時の場合のステップ303と同様にして今回入力された
′I″DC信号パルスに対応してインジェクタ・オン・
ビットを更新し、次いでステップ308に進み、ステッ
プ307で更新されたインジェクタ・オン・ビットに対
応してインジェクタ・ボートのビットをオンにすると同
時に、対応するインジェクタ6を付勢する制御信号を駆
動回路513に出力して、当該インジェクタ6の燃料噴
射を開始させる(第6図の(b)、(d)、(f)、(
h))。
Returning to the control program of FIG. 3, if the answer to step 302 is 1 (Yes), that is, one bit of the injector boat is already in the on state, one injector 6 is continuing fuel injection. It is determined that there is, and in the next steps 307 to 311, control is executed during one lap, that is, when fuel injection is performed in parallel from the two injectors 6. FIG. 6 shows a timing chart during one lap. First, in step 307, the injector is turned on in response to the 'I'' DC signal pulse inputted this time, similar to step 303 in the case of no lap.・
The bit is updated, and then the process proceeds to step 308, in which the bit of the injector boat is turned on corresponding to the injector on bit updated in step 307, and at the same time, the control signal for energizing the corresponding injector 6 is sent to the drive circuit. 513 to start fuel injection from the injector 6 ((b), (d), (f), (in FIG. 6)).
h)).

次にステップ309に進み、現在作動中のタイマ504
のタイマ読込値T readを読み出す。lラップ時に
おいては、タイマ504は前回ループ時、即ち前回のT
DC信号パルス入力時に噴射が開始されたインジェクタ
6の付勢時間を計時しており、そのタイマ読込値”rr
eadは、タイマ504がカウントアツプするまでの時
間に相当する。例えば、今回ループ時に入力されたTD
C信号パルスが#1インジェクタ61に該当するもので
あれば、この時のタイマ読込値Treadは前回ループ
時に噴射が開始された#3インジェクタ63の付勢時間
を計時しているタイマ504のカウントアツプまでの時
間に対応する値を示す(第6図の(d)、 (e))。
Next, the process proceeds to step 309, where the currently operating timer 504
The timer read value T read is read. During one lap, the timer 504 is set at the time of the previous loop, that is, the previous T.
The energization time of the injector 6 that started injection when the DC signal pulse was input is measured, and the timer read value "rr"
ead corresponds to the time until the timer 504 counts up. For example, the TD input during this loop
If the C signal pulse corresponds to the #1 injector 61, the timer read value Tread at this time is the count up of the timer 504 that measures the energization time of the #3 injector 63 whose injection was started during the previous loop. The values corresponding to the time up to ((d) and (e) in Fig. 6) are shown.

次にステップ310に進み、今回燃料噴射が開始された
インジェクタ6に対して設定した噴射時間1’OUTか
ら前記ステップ309で読み出されたタイマ読込値T 
readの補数(Tread)−’と、前記所定時間Δ
′riの2倍とを差し引き、該差を第1のタイマセット
待ち項Twait1にセットする。2倍の所定時間ΔT
iとするのは、前回ループ時において燃料噴射が開始さ
れたインジェクタ6の消勢時に適用される所定時間ΔT
i分をも差し引く必要があるためである。
Next, the process proceeds to step 310, and the timer read value T read out in step 309 from the injection time 1'OUT set for the injector 6 where fuel injection has started this time.
The complement of read (Tread)-' and the predetermined time Δ
subtract twice 'ri' and set the difference in the first timer set wait term Twait1. Double predetermined time ΔT
i is a predetermined time ΔT applied when the injector 6, which started fuel injection in the previous loop, is deenergized.
This is because it is necessary to also subtract i minutes.

次いでステップ311において、前記ステップ310で
セットした第1のタイマセット待ち項Twait+を後
述する第2のタイマセット待ち項Twait2にもセッ
トして本プログラムを終了する。即ち、lラップ時にお
いては後述する2ラップ時の場合と同様にタイマ504
のタイマセット値Tsetの設定、記憶のみが本プログ
ラムで実行され、タイマ504の作動は第4図の制御プ
ログラムにおいて制御される。
Next, in step 311, the first timer set wait term Twait+ set in step 310 is also set in a second timer set wait term Twait2, which will be described later, and the program ends. That is, during one lap, the timer 504 is activated as in the case of two laps, which will be described later.
Only the setting and storage of the timer set value Tset is executed by this program, and the operation of the timer 504 is controlled by the control program shown in FIG.

次に、第3図の制御プログラムの前回ループ時に燃料噴
射が開始されたインジェクタ6の付勢時間を計時してい
たタイマ504がカウントアツプし、且つ割込信号がC
P U303に受は付けられると、第4図の制御プログ
ラムの実行が開始される。
Next, the timer 504, which was counting the energization time of the injector 6 during which fuel injection was started in the previous loop of the control program shown in FIG. 3, counts up, and the interrupt signal is
When the PU 303 is accepted, execution of the control program shown in FIG. 4 is started.

まず、前記ステップ401及び402を実行する。ステ
ップ401で読み出されるタイマ読込値Treadはl
ラップ時においては、第3図の制御プログラムの11η
回ループ時に燃料噴射が開始されたインジェクタ6に対
応するものである。
First, steps 401 and 402 are executed. The timer read value Tread read in step 401 is l
During the lap, 11η of the control program in Figure 3
This corresponds to the injector 6 that started fuel injection during the second loop.

ステップ402の答が肯定(Yes)、即ちタイマ50
4のカウントアツプ後、所定時間ΔTiが経過したとき
にはステップ403に進み、インジェクタ・オフ・ビッ
トを更新する。即ち、1ラップ時においては第3図の制
御プログラムの前回ループ時に付勢が開始されたインジ
ェクタ6が噴射を終了すべきものに該当するので、この
インジェクタ6に対応してインジェクタ・オフ・ビット
を更新する。
If the answer to step 402 is affirmative (Yes), that is, the timer 50
After the count-up of 4, when the predetermined time ΔTi has elapsed, the process proceeds to step 403, and the injector off bit is updated. That is, during one lap, the injector 6 whose energization was started during the previous loop of the control program in FIG. 3 corresponds to the one that should finish injection, so the injector off bit is updated corresponding to this injector 6 do.

例えば、第3図の制御プログラムの今回ループ時におい
て#1インジェクタ61の噴射が開始された場合には、
前回ループ時において噴射が開始されたインジェクタ6
、即ち#3インジェクタ63に対応するインジェクタ・
オフ・ビットの#3ビットがオフに更新される(第6図
の(g))。
For example, if injection from #1 injector 61 is started during the current loop of the control program shown in FIG.
Injector 6 where injection was started during the previous loop
, that is, the injector corresponding to #3 injector 63
Bit #3 of the OFF bits is updated to OFF ((g) in FIG. 6).

次にステップ404に進み、ステップ402で更新され
たインジェクタ・オフ・ビットに対応するインジェクタ
・ボートをオフにすると同時に、対応するインジェクタ
6を消勢する制御信号を出力して当該インジェクタ6の
燃料噴射を終了させる(第6図の(d)、 (h))。
Next, the process proceeds to step 404, in which the injector boat corresponding to the injector off bit updated in step 402 is turned off, and at the same time, a control signal is output to de-energize the corresponding injector 6, and the fuel injection of the injector 6 is performed. ((d) and (h) in Figure 6).

次いで前記ステップ405を実行し、タイマ504の作
動を停止し、次いで前記ステップ406を実行する。l
ラップ時においては、ステップ406の答が否定(No
)となるので、ステップ407に進む。
Next, step 405 is executed, the timer 504 is stopped, and step 406 is executed. l
At the time of wrapping, the answer to step 406 is negative (No
), the process advances to step 407.

このステップ407ではタイマ504のタイマセット値
]’setに、第3図のステップ310で設定した第1
のタイマセット待ち項Twait+の補数をセットし、
次いでステップ408でタイマ504の作動を開始させ
(第6図の(e))、更にステップ409で第1のタイ
マセフl−待ち項Twait、+に、第3図のステップ
31+で設定した第2のタイマセット待ち項TwaiL
2をセットシて本プログラムを終了する。
In this step 407, the timer set value ]'set of the timer 504 is set to the first value set in step 310 of FIG.
Set the complement of the timer set wait term Twait+ of
Next, in step 408, the operation of the timer 504 is started ((e) in FIG. 6), and in step 409, the second timer set in step 31+ of FIG. Timer set wait term TwaiL
2 and exit this program.

以−1=のようにlラップ時においては、TDC信吟信
用パルス力と同時に、対応するインジェクタ6から燃料
噴射を開始するとともに、現在作動中のタイマ504の
カウントアツプまでの時間をタイマ読込値Treadと
して読み出し、当該インジェクタ6の噴射時間”I”0
0丁から該タイマ読込値の補数(Tread)−’と、
所定時間ΔT iの2倍とを差し引いたイ直(TOLI
T −(Tread) −’−2Δ′「i)を1’ w
a i t、 lとして記憶しておく。更に、当該イン
ジェクタ6の噴射開始後、(Tread)−’+Δ′I
″iの経過時に」二記差(ゴ0UT−(Tread)−
’−2ΔTi)をタイマ504にセットシ、これを再作
動させる。そして、この再作動後、上記タイマセット時
間(T 0LIT−(Tread)−’−2ΔTi)経
過時にタイマ504がカウントアツプし、更に所定時間
ΔTi経過後に当該インジェクタ6からの燃料噴射が停
止される。
As shown in -1=, during one lap, fuel injection is started from the corresponding injector 6 at the same time as the TDC signal pulse force is applied, and the time until the count up of the currently operating timer 504 is set to the timer read value. Read as Tread, injection time of the relevant injector 6 "I" 0
0 to the complement of the timer read value (Tread)-',
TOLI is calculated by subtracting twice the predetermined time ΔTi.
T - (Tread) -'-2Δ'"i)1' w
Store it as a it, l. Furthermore, after the start of injection from the injector 6, (Tread)-'+Δ'I
``When i elapses'' two-note difference (GO0UT-(Tread)-
'-2ΔTi) is set in the timer 504 and restarted. After this reactivation, the timer 504 counts up when the timer set time (T0LIT-(Tread)-'-2ΔTi) has elapsed, and the fuel injection from the injector 6 is stopped after the predetermined time ΔTi has elapsed.

即ち、当該インジェクタ6の噴射時間は噴射開始からタ
イマ504の再作動までの時間((Tread)−’ 
+△Ti)、タイマセット時間(T 0LIT −(T
 read) −’−2Δ′「j)及び所定時間ΔTi
の和となり、したがって設定した噴射時pQTourに
if、IJ litされる。また、1);j述した無ラ
ップ時の場合と同様に、タイマ504のカウントアツプ
後、所定時間△Tiが経過した時にインジェクタ6の燃
料噴射が終了されるので、カウントアツプ時がCP U
303の割込禁止区間に該当するか否かにかかわらず、
インジェクタ6の噴射時間を所望の噴射時間’rOUT
に制御することができる。
That is, the injection time of the injector 6 is the time from the start of injection until the timer 504 is restarted ((Tread)-'
+△Ti), timer set time (T 0LIT - (T
read) −′−2Δ′ “j) and the predetermined time ΔTi
Therefore, if, IJ lit is set to the set injection time pQTour. In addition, as in the case of no lap described in 1);j, the fuel injection of the injector 6 is terminated when the predetermined time ΔTi has elapsed after the timer 504 counts up, so the CPU
Regardless of whether or not it falls under the 303 interrupt prohibited section,
Injection time of injector 6 desired injection time 'rOUT
can be controlled.

以下、同様の実行が繰り返されることにより、各インジ
ェクタ61〜63の噴射時間が順次所望の噴射時間TO
UTに制御される。
Thereafter, by repeating the same execution, the injection time of each injector 61 to 63 is sequentially adjusted to the desired injection time TO.
Controlled by UT.

第3図の制御プログラムに戻り、前記ステップ301の
答が17定(YeS)、即ちインジェクタ・ボートの2
個のビットが既にオン状態にあるときには、2個のイン
ジェクタ6が燃料噴射を継続中であると判別して、次の
ステップ312〜315に進み、2ラップ時、即ち3個
のインジェクタ61〜63から燃料噴射が並行して行わ
れる時の制御を実行する。第7図はこの2ラップ時のタ
イミングチャートを示すものである。
Returning to the control program of FIG. 3, the answer to step 301 is 17 (Yes), that is, 2
When the bits are already in the on state, it is determined that the two injectors 6 are continuing fuel injection, and the process proceeds to the next steps 312 to 315. Control is executed when fuel injection is performed in parallel. FIG. 7 shows a timing chart for these two laps.

まず、ステップ312においては、前記無ラップ時及び
lラップ時の場合と同様に(ステップ303及びステッ
プ307)、今回入力されたTDC信号パルスに対応し
てインジェクタ・オン・ビットを更新し、次いでステッ
プ313に進み、前記ステップ304及びステップ30
8と同様に、更新されたインジェクタ・オン・ビットに
対応したインジェクタ・ボートのビットをオンにすると
ともに、対応するインジェクタ6を付勢する制御信号を
出力して、当該インジェクタ6の燃料噴射を開始させる
(第7図の(b)、(d)、(f)、(h))。
First, in step 312, the injector on bit is updated in accordance with the TDC signal pulse input this time, as in the case of no wrap and 1 wrap (step 303 and step 307), and then the injector on bit is updated in step 312. Step 313 and step 304 and step 30
Similarly to 8, the bit of the injector boat corresponding to the updated injector on bit is turned on, a control signal is output to energize the corresponding injector 6, and fuel injection of the corresponding injector 6 is started. ((b), (d), (f), (h) in Figure 7).

次に、ステップ3+4に進み、現在のタイマ読込値’I
’ readを読み出す。2ラップ時における該タイマ
読込値Treadは前々回ループ時に、即ち前々回のT
DC信号パルス入力時に燃料噴射が開始されたインジェ
クタ6の付勢時間を計時しているタイマ504のカウン
トアツプまでの時間に相当する(第7図の(d))。
Next, proceed to step 3+4 and set the current timer read value 'I
' Read read. The timer read value Tread at the time of the second lap is the timer read value Tread at the time of the loop before the previous time, that is, the value Tread from the time before the previous time.
This corresponds to the time until the count-up of the timer 504, which measures the energization time of the injector 6 when fuel injection is started when the DC signal pulse is input ((d) in FIG. 7).

次いで、ステップ315に進み、既に算出された噴射時
間TOUTから、ステップ314で読み出されたタイマ
読込値T readの補数(Tread)−’、第4図
のステップ409で設定された第1のタイマセット待ち
項゛I″waitx及び前記所定時間Δ1゛1の3倍を
差し引いた値を、第2のタイマセット待ち項Twait
zにセットし、本プログラムを終了する。このときの第
1のタイマセット待ち項Twaif、+は後述の第4図
のステップ409から明らかなように、前回ループ時に
ステップ315においてセットされた第2のタイマセッ
ト待ち項’I”wait2の値に等しい(第7図の(d
))。次いで、タイマ504がカウントアツプし、且つ
割込信号がCP U303に受は付けられることによっ
て第4図の制御プログラムの実行が開始される。
Next, the process proceeds to step 315, and from the already calculated injection time TOUT, the complement (Tread) of the timer read value T read read out in step 314, the first timer set in step 409 of FIG. The value obtained by subtracting the set wait term ``I''waitx and three times the predetermined time Δ1゛1 is calculated as the second timer set wait term Twaitx.
Set to z and exit this program. At this time, the first timer set wait term Twaif,+ is the value of the second timer set wait term 'I''wait2 that was set in step 315 during the previous loop, as is clear from step 409 in FIG. 4, which will be described later. (d in Figure 7)
)). Next, the timer 504 counts up and an interrupt signal is accepted by the CPU 303, thereby starting execution of the control program shown in FIG.

まず、前記ステップ40+及び402を実行する。ステ
ップ401で読み出されるタイマ読込値T readは
、ステップ時においては第3図の制御プログラムの前々
回ループ時に、燃料噴射が開始されたインジェクタ6に
対応するものである。ステップ402の答がビを定(Y
es)、即ちタイマ504のカウントアツプ後、所定時
間ΔT iが経過した時には、ステップ403に進み、
インジェクタ・オフ・ビットを更新する。即ち、ステッ
プ時においては燃料噴射が最先に開始されたインジェク
タ6は第3図の制御プログラムの前々回ループ時に燃料
噴射が開始されたものに相当するので、このインジェク
タ6に対応してインジェクタ・オフ・ビットが更新され
る。例えば、第3図の制御プログラムの今回ループ時に
おいて#lインジェクタ61の燃料噴射が開始された場
合には、前々回ループ時に燃料噴射が開始されたインジ
ェクタ6、即ち#2インジェクタ62に対応するインジ
ェクタ・オフ・ビットの#2ビットがオフに更新される
(第7図の(g))。
First, steps 40+ and 402 are executed. The timer read value T read read in step 401 corresponds to the injector 6 for which fuel injection was started during the previous loop of the control program shown in FIG. 3 at the time of step. The answer to step 402 determines Bi (Y
es), that is, when the predetermined time ΔT i has elapsed after the timer 504 counts up, the process proceeds to step 403;
Update injector off bit. That is, at the time of step, the injector 6 whose fuel injection was started first corresponds to the one whose fuel injection was started during the previous loop of the control program shown in FIG. - Bits are updated. For example, if the fuel injection of the #l injector 61 is started during the current loop of the control program shown in FIG. Bit #2 of the OFF bits is updated to OFF ((g) in FIG. 7).

次に前述の無ラップ時及び1ラップ時の場合と同様に、
更新されたインジェクタ・オフ・ビットに対応するイン
ジェクタ・ボートのビットをオフとしく第7図の(h)
)、対応するインジェクタ6の燃料噴射を終了させ(ス
テップ404) (第7図の(C))、タイマ504の
作動を停止しくステップ405)(第7図の(e))、
更にステップ406を実行する。
Next, as in the case of no lap and 1 lap mentioned above,
Turn off the injector boat bit corresponding to the updated injector off bit (h) in Figure 7.
), the fuel injection of the corresponding injector 6 is ended (step 404) ((C) in FIG. 7), and the operation of the timer 504 is stopped (step 405) ((e) in FIG. 7).
Furthermore, step 406 is executed.

ステップ時においてはこのステップ406の答が否定(
No)となるので、ステップ407に進み、第1のタイ
マセット待ち項Twait+をタイマセット値1’ s
 e tとしてタイマ504にセットする。この第1の
タイマセット待ち項Twait、tは第3図のステップ
315及び第4図のステップ409から明らかなように
、第3図の制御プログラムの前回ループ時にステップ3
15で設定された第2のタイマセット待ち項Twait
2に等しい。次いで該タイマ504を再作動させ(ステ
ップ408) (第7図の(e)) 、更に第3図の制
御プログラムの今回ループ時にステップ315で設定し
た第2のタイマセット待ち項Twait2をl’)lの
タイマセット待ち項Twait+にシフトして(ステッ
プ409)本プログラムを終了する。
At step time, the answer to step 406 is negative (
No), the process proceeds to step 407, where the first timer set wait term Twait+ is set to the timer set value 1' s
The timer 504 is set as e t. As is clear from step 315 in FIG. 3 and step 409 in FIG.
The second timer set wait term Twait set in 15
Equal to 2. Next, the timer 504 is restarted (step 408) ((e) in FIG. 7), and the second timer set wait term Twait2 set in step 315 is set in the current loop of the control program in FIG. 3 (l'). The program shifts to the timer set wait term Twait+ of timer set Twait+ (step 409) and ends this program.

以上のように、ステップ時においてはTDC信号パルス
の人力と同時に、対応するインジェクタ6から燃料噴射
を開始するとともに、現在作動中のタイマ504のカウ
ントアツプまでの時間をタイマ読込値Treadとして
読み出し、当該インジェクタ6の噴射時間1’0IJT
から該タイマ読込値の補数(’「read)−’、前回
のTDC信号パルス入力時に噴射が開始されたインジェ
クタ6に対するタイマセット値として設定されている第
1のタイマセット待ち項Twait、+及び所定時間Δ
Tiの3倍を差し引いた時間(Tot+τ−(Trea
d) −’−Twait、1−3Δ1゛i)をTwai
tlとして記憶しておく。更に、当該インジェクタ6の
噴射開始後((Tread)−’ −+−Δ’I” i
 )経過時にタイマ504が再作動され、この再作動後
(”l’wain+Δ′「i)経過時に上記時間(Ta
ut −(Tread)−’ −”l’wait+ −
3ΔTi)をタイマ504にセットし、これを再々作動
させる。そして、この再々作動後、上記タイマセット時
間(”I”0IJT −(Tread)−’ −Twa
itl−3ΔTi)経過時にタイマ504がカウントア
ツプし、更に所定時間Δ′I″i経過後に当該インジェ
クタ6からの燃料噴射が停止される。即ち、当該インジ
ェクタ6の噴射時間は、噴射開始からタイマ504の再
作動までの時間((’rread)−’十ΔTi)、タ
イマ504の再作動から再々作動までの時間(Twai
t++ΔTi)、タイマ504の再々作動からそのカウ
ントアツプまでの時間(’「our −(’]” re
ad)−’ −Twait+−3ΔTi)及び所定時間
へT1の和となり、したがって設定した噴射時間1”O
UTに制御される。また、タイマ504のカウントアツ
プ時がCPU503の割込禁止区間に該当するか否かと
は無関係にインジェクタ6の噴射時間が所望の噴射時間
TOUTに制御できることは、0;1述の無ラップ時及
びlラップ時の場合と同様である。
As described above, at the time of stepping, fuel injection is started from the corresponding injector 6 at the same time as the human power of the TDC signal pulse, and the time until the count-up of the currently operating timer 504 is read out as the timer read value Tread. Injection time of injector 6 1'0IJT
, the complement of the timer read value ('read) -', the first timer set wait term Twait set as the timer set value for the injector 6 whose injection was started when the previous TDC signal pulse was input, +, and a predetermined predetermined value. time Δ
Time after subtracting 3 times Ti (Tot+τ-(Trea
d) -'-Twait, 1-3Δ1゛i)
Store it as tl. Furthermore, after the injection of the injector 6 starts ((Tread)-'-+-Δ'I" i
) elapses, the timer 504 is re-activated, and after this re-activation, the above-mentioned time (Ta
ut -(Tread)-'-"l'wait+-
3ΔTi) is set in the timer 504 and activated again. After this repeated operation, the timer set time ("I"0IJT - (Tread) -' -Twa
itl-3ΔTi), the timer 504 counts up, and after a predetermined time Δ′I″i has elapsed, fuel injection from the injector 6 is stopped. That is, the injection time of the injector 6 is determined by the timer 504 from the start of injection. time until re-activation (('rread)-'10ΔTi), time from re-activation of timer 504 to re-activation (Twai
t++ΔTi), the time from the timer 504's repeated activation to its count-up ('"our - (']" re
ad) -' -Twait+-3ΔTi) and the predetermined time is the sum of T1, so the set injection time 1''O
Controlled by UT. In addition, the fact that the injection time of the injector 6 can be controlled to the desired injection time TOUT regardless of whether or not the count-up time of the timer 504 corresponds to the interrupt-prohibited period of the CPU 503 is that the injection time of the injector 6 can be controlled to the desired injection time TOUT. This is similar to the case when lapping.

なお、本実施例においては、計時カウンタとして1個の
タイマを使用し、電気装置として3v4の燃料噴射弁を
制御する例を示したが、本発明はこれに限らず計時カウ
ンタの個数、電気装置の種類及び個数を種々の態様で実
施することができる。
In addition, in this embodiment, an example was shown in which one timer is used as a time counter and a 3v4 fuel injection valve is controlled as an electric device, but the present invention is not limited to this, and the present invention The type and number of can be implemented in various ways.

特に、本実施例のように、複数の電気装置の(=J勢待
時間単一の計時カウンタによって制御するようにすれば
、計時カウンタの誠少により、制御装置の低コスト化を
図ることも可能となる。
In particular, as in this embodiment, if the (=J) standby time of a plurality of electrical devices is controlled by a single time counter, the cost of the control device can be reduced by reducing the precision of the time counter. It becomes possible.

(発明の効果) 以」−詳述したように、本発明は電気装置のトj勢時間
をi計時し、カウントアツプ時に割込(J号を発生する
31時カウンタのカウント値として、電気装置の所望の
0勢時間から所定時間を差し引いて得られた5、+、を
I設定し、+!1時カウンタの割込信号の発生時から1
);j配所定時間経過後に演算処理手段が電気装置の付
勢終了指令を出力するものである。したがって、演算処
理手段が割込信号を受はイτj目ない割込禁止区間を有
する場合にも、nij記所定時間を、該割込禁止区間の
最長時間より大きな値に設定することにより、電気装置
の付勢時間を、設定した所望値に制御することができ、
この結果、内燃エンジンの運転性、燃費等の向上を図る
ことができるという効果を奏する。また、計時カウンタ
を11′L−とすれば、その設置昭数が従来と比較して
低減されるので、制御装置の低コスト化を図ることも可
能となる。
(Effects of the Invention) As described in detail, the present invention measures the current time of an electrical device and uses the count value of the 31 o'clock counter that generates an interrupt (J) when the count up is reached. Set 5, +, obtained by subtracting a predetermined time from the desired zero time of
);jThe arithmetic processing means outputs an energization termination command for the electric device after a predetermined time has elapsed. Therefore, even if the arithmetic processing means has a τjth interrupt-prohibited period in which it receives an interrupt signal, by setting the predetermined time nij to a value larger than the longest time of the interrupt-prohibited period, The energization time of the device can be controlled to the desired value set,
As a result, it is possible to improve the drivability, fuel efficiency, etc. of the internal combustion engine. Moreover, if the time counter is 11'L-, the number of installations thereof will be reduced compared to the conventional one, and therefore it will be possible to reduce the cost of the control device.

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

図面は本発明の一実施例を示し、第1図は本発明の制御
力法が適用される燃料供給制御装置の全体+1力成図、
第2図は第1図の電子コントロールユニッ1〜の内部(
lカ成を示すブロック図、第3図は本発明に係るインジ
ェクタの選択及び付勢を制御する制御プログラムのフロ
ーチャート、第4図は本発明に係るインジェクタの消勢
を制御する制御プログラムのフローチャート、第5図乃
至第7図は互いに異なる燃料噴射状態に対応する燃料噴
射時期、泪時カウンタ作動時期等を示すタイミングチャ
ートである。 ■・・・内燃エンジン、5・・・電子コントロールユニ
ット(ECU)、6・・インジェクタ(電気装置)、1
1・・・エンジン回転数(Ne)センサ、12・・・気
筒判別(CYL)センサ、502・・・割込制御回路、
503・・・中央演算処理装置(CPU)(演算処理手
段)、504・・タイマ(泪時カウンタ)、513・・
・駆動回路。
The drawings show an embodiment of the present invention, and FIG. 1 is an overall +1 force diagram of a fuel supply control device to which the control force method of the present invention is applied;
Figure 2 shows the inside of electronic control unit 1~ in Figure 1 (
FIG. 3 is a flow chart of a control program for controlling selection and energization of injectors according to the present invention; FIG. 4 is a flow chart of a control program for controlling de-energization of injectors according to the present invention; FIGS. 5 to 7 are timing charts showing fuel injection timing, tearing counter operation timing, etc. corresponding to mutually different fuel injection states. ■...Internal combustion engine, 5...Electronic control unit (ECU), 6...Injector (electrical device), 1
1... Engine rotation speed (Ne) sensor, 12... Cylinder discrimination (CYL) sensor, 502... Interrupt control circuit,
503... Central processing unit (CPU) (arithmetic processing means), 504... Timer (crying time counter), 513...
・Drive circuit.

Claims (1)

【特許請求の範囲】[Claims] 1. 内燃エンジンの作動を制御する電気装置の付勢時
間を演算処理手段により前記内燃エンジンの運転状態に
応じて演算し、該演算した付勢時間を計時カウンタによ
り計時すると共に前記演算処理手段から前記電気装置の
付勢開始指令を出力させ、前記計時カウンタの計時終了
により割込信号を発生し、該割込信号に応じて前記演算
処理手段から前記電気装置の付勢終了指令を出力させる
内燃エンジンの電気装置の制御方法において、前記付勢
時間から所定時間を差し引いて得られた差を前記計時カ
ウンタのカウント値に設定し、該計時カウンタの前記割
込信号の発生時から前記所定時間経過後に前記付勢終了
指令を出力することを特徴とする内燃エンジンの電気装
置の制御方法。
1. The energizing time of the electric device that controls the operation of the internal combustion engine is calculated by a calculation processing means according to the operating state of the internal combustion engine, and the calculated energization time is measured by a time counter, and the electric power is An internal combustion engine that outputs a command to start energizing a device, generates an interrupt signal when the time counter ends, and outputs a command to end energization of the electrical device from the arithmetic processing means in response to the interrupt signal. In the method for controlling an electrical device, the difference obtained by subtracting a predetermined time from the energization time is set as the count value of the time counter, and the control is performed after the predetermined time elapses from the generation of the interrupt signal of the time counter. A method for controlling an electrical device of an internal combustion engine, the method comprising outputting an energization termination command.
JP62115538A 1987-05-12 1987-05-12 Method for controlling an electric device of an internal combustion engine Expired - Fee Related JP2605038B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62115538A JP2605038B2 (en) 1987-05-12 1987-05-12 Method for controlling an electric device of an internal combustion engine
US07/193,411 US4964050A (en) 1987-05-12 1988-05-12 Method of controlling electrical devices of internal combustion engines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62115538A JP2605038B2 (en) 1987-05-12 1987-05-12 Method for controlling an electric device of an internal combustion engine

Publications (2)

Publication Number Publication Date
JPS63280834A true JPS63280834A (en) 1988-11-17
JP2605038B2 JP2605038B2 (en) 1997-04-30

Family

ID=14665010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62115538A Expired - Fee Related JP2605038B2 (en) 1987-05-12 1987-05-12 Method for controlling an electric device of an internal combustion engine

Country Status (1)

Country Link
JP (1) JP2605038B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008280863A (en) * 2007-05-08 2008-11-20 Denso Corp Microcomputer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5584859A (en) * 1978-12-18 1980-06-26 Nippon Denso Co Ltd Engine control

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5584859A (en) * 1978-12-18 1980-06-26 Nippon Denso Co Ltd Engine control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008280863A (en) * 2007-05-08 2008-11-20 Denso Corp Microcomputer

Also Published As

Publication number Publication date
JP2605038B2 (en) 1997-04-30

Similar Documents

Publication Publication Date Title
JP2707674B2 (en) Air-fuel ratio control method
JP2704991B2 (en) Activation determination method for exhaust concentration sensor with heater
JPS6149150A (en) Control device of fuel injection quantity in internal-combustion engine
JPH0385349A (en) Fuel injection device of internal combustion engine
US4697568A (en) Fuel injection timing control method for internal combustion engines
JPS63280834A (en) Control for electrical equipment of internal combustion engine
JPH0575902B2 (en)
JPS5830445A (en) Air-fuel ratio controlling method
JPS6235042A (en) Fuel injection controller for internal combustion engine
JPS6354888B2 (en)
JPS63280835A (en) Fuel injection control for internal combustion engine
US4964050A (en) Method of controlling electrical devices of internal combustion engines
JPS63280837A (en) Controller for internal combustion engine
JPS63280836A (en) Control for fuel injection valve of internal combustion engine
JPS6254976B2 (en)
JPS63186940A (en) Fuel injection control device for internal combustion engine
JPH09324691A (en) Fuel control unit for combustion engine
JPS62153536A (en) Fuel injection controller for internal combustion engine
JPS62139943A (en) Air-fuel ratio control method for internal combustion engine
JP3009000B2 (en) Fuel supply control device for internal combustion engine
JPS5830425A (en) Feedback control method of air-fuel ratio
JPS59147837A (en) Fuel injection method of engine
JPS60108547A (en) Fuel feeding control on cold start of internal- combustion engine
JPS59231149A (en) Fuel injection method for internal-combustion engine
JPS59188045A (en) Asynchronous fuel-feed controller for acceleration of internal-combustion engine

Legal Events

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