JPH0563623B2 - - Google Patents

Info

Publication number
JPH0563623B2
JPH0563623B2 JP10223284A JP10223284A JPH0563623B2 JP H0563623 B2 JPH0563623 B2 JP H0563623B2 JP 10223284 A JP10223284 A JP 10223284A JP 10223284 A JP10223284 A JP 10223284A JP H0563623 B2 JPH0563623 B2 JP H0563623B2
Authority
JP
Japan
Prior art keywords
engine
time
signal
control
rotation speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP10223284A
Other languages
Japanese (ja)
Other versions
JPS60247034A (en
Inventor
Jiro Nakano
Takashi Ogawa
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP10223284A priority Critical patent/JPS60247034A/en
Publication of JPS60247034A publication Critical patent/JPS60247034A/en
Publication of JPH0563623B2 publication Critical patent/JPH0563623B2/ja
Granted 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/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2409Addressing techniques specially adapted therefor
    • F02D41/2422Selective use of one or more tables
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02BINTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
    • F02B3/00Engines characterised by air compression and subsequent fuel addition
    • F02B3/06Engines characterised by air compression and subsequent fuel addition with compression ignition

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、デイーゼルエンジンの電子制御装置
に関し、詳しくは、エンジンの周辺に設けられた
アクチユエータの駆動信号が、エンジン回転数を
検知するための回転数センサからの検出信号にノ
イズとして重畳した場合にでも、燃料噴射量等の
エンジンの制御量が当該エンジンの運転状態に対
応した値となるよう制御するデイーゼルエンジン
の電子制御装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an electronic control device for a diesel engine, and more specifically, the present invention relates to an electronic control device for a diesel engine. This invention relates to an electronic control device for a diesel engine that controls engine control variables such as fuel injection amount to a value corresponding to the operating state of the engine even when noise is superimposed on a detection signal from a rotation speed sensor. .

[従来技術] 従来より、エンジンの運転状態を検出する複数
のセンサを備え、それらのセンサから出力される
検出信号に応じて、例えば燃料噴射量等エンジン
の運転を良好に制御するための制御量を算出し、
その算出された制御量に応じてエンジンを制御す
るといつたマイクロコンピユータを用いたデイー
ゼルエンジンの電子制御装置がある。
[Prior Art] Conventionally, a plurality of sensors for detecting the operating state of an engine are provided, and control variables for properly controlling the engine operation, such as fuel injection amount, are determined according to detection signals output from these sensors. Calculate,
There is an electronic control device for a diesel engine using a microcomputer that controls the engine according to the calculated control amount.

ところでこの種の制御装置に用いられるセンサ
の一つとして、エンジンの所定のクランク角度毎
に信号を出力し、エンジン回転数を検知するため
の回転数センサがあるが、この回転数センサから
の検出信号には、エンジンの周辺に設けられた、
例えばエンジン始動用のスタータモータや、エア
コンのコンプレツサ等、駆動に際して大きなノイ
ズを発生するアクチユエータからのノイズが重畳
することがある。特に一般のデイーゼルエンジン
を搭載した車両にあつては、通常、回転数センサ
が燃料噴射ポンプ内に納められ、その回転数セン
サ近傍をスタータモータの駆動信号線が通つてい
ることから、回転数センサからの検出信号にスタ
ータモータ駆動の際に発生されるノイズが重畳さ
れ易く、その検出信号のパルス幅に基づき求めら
れるエンジン回転数や、そのエンジン回転数を1
つのパラメータとして求められる燃料噴射量等の
制御量が実際の運転状態に対応しないものとなつ
てしまい、始動性が低下するといつた問題が起こ
り易かつた。
By the way, as one of the sensors used in this type of control device, there is a rotation speed sensor that outputs a signal at each predetermined crank angle of the engine and detects the engine rotation speed. The signal is set up around the engine,
For example, noise from actuators that generate large noises when driven, such as a starter motor for starting an engine or an air conditioner compressor, may be superimposed. In particular, for vehicles equipped with a general diesel engine, the rotation speed sensor is usually housed inside the fuel injection pump, and the starter motor's drive signal line runs near the rotation speed sensor. Noise generated when driving the starter motor is likely to be superimposed on the detection signal from the engine, and the engine rotation speed determined based on the pulse width of the detection signal or
The control variables, such as the fuel injection amount, which are determined as one parameter, do not correspond to the actual operating conditions, and problems such as poor startability tend to occur.

つまり、第2図に示すタイムチヤートから分か
るように、スタータモータの駆動が停止されると
ノイズnが発生し、イに示す回転数センサから出
力される検出信号SNeに重畳され、ロに示す如
く、コンパレータ等からなる波形整形回路を通つ
てパルス信号に整形された検出信号PNeにもそ
のノイズPnが重畳されることとになる。従つて
この検出信号PNeを基に求められるエンジン回
転数Neは、ハに示す如く、破線で示す実際のエ
ンジン回転数に比べ大きな値となり、そのエンジ
ン回転数Neに基づき求められる燃料噴射量τpは、
ニに示す如く、実際にはエンジンが始動時である
にもかかわらずエンジン回転数Neが上昇し、定
常運転に入つたものと判断して燃料を減量してし
まうこととなり、良好な始動性を確保できなくな
つてしまうのである。尚、上記第2図に示した検
出信号SNe(又はPNe)は、エンジンの回転に応
じて所定のクランク角度(この場合45°CA)毎に
出力される信号を示し、またエンジン回転数Ne
及び燃料噴射量τpについてもその検出信号SNe
(又はPNe)入力後、その値に応じて即算出され
るものとして表わした。
In other words, as can be seen from the time chart shown in Figure 2, when the drive of the starter motor is stopped, noise n is generated, which is superimposed on the detection signal SNe output from the rotation speed sensor shown in A, and as shown in B. The noise Pn is also superimposed on the detection signal PNe that has been shaped into a pulse signal through a waveform shaping circuit consisting of a comparator, etc. Therefore, the engine rotation speed Ne determined based on this detection signal PNe is larger than the actual engine rotation speed shown by the broken line, as shown in C, and the fuel injection amount τp determined based on the engine rotation speed Ne is ,
As shown in d, the engine speed Ne rises even though the engine is actually starting, and the fuel is reduced as it is judged that steady operation has started, resulting in poor starting performance. It becomes impossible to secure it. Note that the detection signal SNe (or PNe) shown in FIG.
and the detection signal SNe for the fuel injection amount τp.
(or PNe) is expressed as something that is immediately calculated according to the input value.

[発明の目的] そこで本発明は、上述の如く、エンジン周辺に
設けられたアクチユエータの駆動の際に発生され
るノイズがセンサからの検出信号に重畳され、実
際の運転状態に対応しない検出信号が入力された
ような場合であつても、そのノイズに影響され
ず、実際の運転状態に対応した良好な制御が実行
できるデイーゼルエンジンの電子制御装置を提供
することによつて、ノイズに強く、常時良好なエ
ンジン制御を実行できるようにすることを目的と
している。
[Purpose of the Invention] Therefore, as described above, the present invention is aimed at preventing noise generated when the actuator installed around the engine is driven to be superimposed on the detection signal from the sensor, resulting in a detection signal that does not correspond to the actual operating state. By providing a diesel engine electronic control device that is not affected by noise and can perform good control corresponding to the actual operating conditions even when input is input, we are able to provide a diesel engine that is resistant to noise and can be operated at all times. The purpose is to enable good engine control.

[発明の構成] かかる目的を達するための本発明の構成は、第
1図に示す如く、 デイーゼルエンジンの回転に応じた検出信号
を出力する回転数センサと、該センサから出
力された検出信号を1つのパラメータとして当該
エンジンの制御量を算出する制御回路とを備
え、該算出された制御量に基づき当該エンジン
を制御するよう構成されたデイーゼルエンジンの
電子制御装置において、 上記制御回路に、 当該エンジンの周辺に設けられたアクチユエ
ータの作動信号及び/又は停止信号を受け、該
信号入力以後所定時間だけ、上記算出される制御
量が上記信号入力前に求められた制御量となるよ
う制御する制御量停止手段を、 設けたことを特徴とするデイーゼルエンジンの
電子制御装置。
[Configuration of the Invention] As shown in FIG. 1, the configuration of the present invention to achieve the above object includes a rotation speed sensor that outputs a detection signal according to the rotation of a diesel engine, and a rotation speed sensor that outputs a detection signal according to the rotation of the diesel engine. In an electronic control device for a diesel engine, which includes a control circuit that calculates a control amount of the engine as one parameter and is configured to control the engine based on the calculated control amount, the control circuit includes: the engine. A controlled variable that receives an activation signal and/or a stop signal of an actuator provided around the input signal, and controls the calculated controlled variable for a predetermined period of time after the input of the signal so that the controlled variable is the controlled variable determined before the input of the signal. An electronic control device for a diesel engine, characterized in that it is provided with a stopping means.

[実施例] 以下、本発明の実施例を図面に基づき説明す
る。
[Example] Hereinafter, an example of the present invention will be described based on the drawings.

まず第3図は本実施例の電子制御装置が搭載さ
れたデイーゼルエンジンの概略構成図である。
First, FIG. 3 is a schematic diagram of a diesel engine equipped with the electronic control device of this embodiment.

図において1は分配型の燃料噴射ポンプを表わ
し、エンジンと共に回転するドライブシヤフト2
によつて駆動され、燃料を吸引するためのフイー
ドポンプ3と、制御されたタイミングで制御され
た量の燃料をエンジン本体20の各噴射ノズル2
1へ供給するポンププランジヤ4とを備えてい
る。そして、ドライブシヤフト2はカツプリング
を介してフエイスカムをもつカムプレート5に連
結され、カムプレート5はドライブシヤフト2に
よつて回転すると共にカム面に当接するローラに
より往復運動を行なう。またポンププランジヤ4
は、ポンプ室内のシリンダ6に嵌挿されると共に
プランジヤスプリング7によつてその末端をカム
プレート5に押し付けられ、回転運動を行なうと
共に往復運動する。更にポンププランジヤ4には
シリンダ6内へ燃料を吸入する吸入ポート4a、
シリンダ6内の燃料を圧縮供給終了時に溢流させ
るスピルポート4b、及びシリンダ6の分配通路
に圧縮燃料を分配する分配ポート4cが設けられ
ている。
In the figure, 1 represents a distribution type fuel injection pump, and a drive shaft 2 rotates together with the engine.
A feed pump 3 is driven by a feed pump 3 for sucking fuel, and a controlled amount of fuel is injected at controlled timing into each injection nozzle 2 of the engine body 20.
1 and a pump plunger 4. The drive shaft 2 is connected via a coupling to a cam plate 5 having a face cam, and the cam plate 5 is rotated by the drive shaft 2 and reciprocated by a roller that contacts the cam surface. Also pump plunger 4
is fitted into the cylinder 6 in the pump chamber, and its end is pressed against the cam plate 5 by the plunger spring 7, so that it rotates and reciprocates. Furthermore, the pump plunger 4 includes a suction port 4a for sucking fuel into the cylinder 6;
A spill port 4b that causes the fuel in the cylinder 6 to overflow when the compressed supply ends, and a distribution port 4c that distributes the compressed fuel to the distribution passage of the cylinder 6 are provided.

次に8はフイードポンプ3の燃料供給圧力を調
節するレギユレーテイングバルブ、9はカムプレ
ート5のカム面に当接するローラの角度位置を変
えて燃料噴射時期を制御する油圧タイマ、10は
ポンプ室からシリンダ6内への供給路に設置され
た燃料カツトバルブであり、油圧タイマ9にはそ
の油圧を調整し、噴射時期を調整するためのタイ
ミングコントロールバルブ9aが設けられてい
る。
Next, 8 is a regulating valve that adjusts the fuel supply pressure of the feed pump 3, 9 is a hydraulic timer that controls the fuel injection timing by changing the angular position of the roller that contacts the cam surface of the cam plate 5, and 10 is from the pump chamber. This is a fuel cut valve installed in the supply path into the cylinder 6, and the oil pressure timer 9 is provided with a timing control valve 9a for adjusting the oil pressure and injection timing.

11はポンププランジヤ4の外周にスピルポー
ト4bを塞ぐように摺動可能に外嵌されるスピル
リングで、リニアソレノイド12によつてその位
置を制御され、これにより、ポンププランジヤ4
の往復動による燃料圧送終了時点の溢流量を制御
して燃料噴射量を制御する。13はそのリニアソ
レノイド12の位置を検出してスピルリング11
の位置検出信号を出力するスピル位置センサ、1
4はドライブシヤフト2に軸着した歯車に対向し
て配設されたピツクアツプコイル型の回転数セン
サで、ドライブシヤフト2の回転、即ちエンジン
回転に応じて、例えばクランク角45°毎の信号を
出力する。15は油圧タイマ9におけるタイマピ
ストンの位置を検出するタイマ位置センサ、16
はシリンダ6の分配通路に設置されるデリバリバ
ルブで、デリバリバルブ16を通して燃料がエン
ジン本体20の噴射ノズル21に圧送される。2
2は吸気管に取り付けられ吸入空気の温度を検出
する吸気温センサ、23は同じく吸気管に取り付
けられ、吸入空気圧力を検出する吸気圧センサ、
24は冷却水温を検出する水温センサ、25はア
クセルの開度を検出するアクセルセンサで、各セ
ンサからの検出信号は制御回路30へ送られる。
A spill ring 11 is slidably fitted around the outer circumference of the pump plunger 4 so as to close the spill port 4b, and its position is controlled by a linear solenoid 12.
The amount of fuel injection is controlled by controlling the amount of overflow at the end of the fuel pumping due to the reciprocating movement of the pump. 13 detects the position of the linear solenoid 12 and releases the spill ring 11.
a spill position sensor that outputs a position detection signal, 1
Reference numeral 4 denotes a pick-up coil type rotation speed sensor arranged opposite to the gear mounted on the drive shaft 2, and outputs a signal at every crank angle of 45 degrees, for example, according to the rotation of the drive shaft 2, that is, the engine rotation. do. 15 is a timer position sensor that detects the position of the timer piston in the hydraulic timer 9; 16;
is a delivery valve installed in the distribution passage of the cylinder 6, through which the fuel is force-fed to the injection nozzle 21 of the engine body 20. 2
Reference numeral 2 denotes an intake temperature sensor that is attached to the intake pipe and detects the temperature of intake air; 23 is an intake pressure sensor that is also attached to the intake pipe and detects the intake air pressure;
24 is a water temperature sensor that detects the cooling water temperature; 25 is an accelerator sensor that detects the opening degree of the accelerator; detection signals from each sensor are sent to a control circuit 30.

また32はバツテリ、33はエンジン始動用の
スタータモータ、34はスタータモータ駆動用の
リレースイツチ、35はイグニツシヨンスイツチ
を夫々表わしており、イグニツシヨンスイツチ3
5がイグニツシヨン位置I/G又はスタータ位置
STAに操作されると制御回路30にバツテリ3
2が接続され、制御回路30が動作されるように
なると共に、イグニツシヨンスイツチ35がスタ
ータ位置STAに操作されるとリレースイツチ3
4が導通し、スタータモータが駆動されることか
ら、スタータモータ33の作動・停止をスタータ
信号として検知することができる。
Further, 32 represents a battery, 33 a starter motor for starting the engine, 34 a relay switch for driving the starter motor, and 35 an ignition switch.
5 is the ignition position I/G or starter position
When operated by STA, the control circuit 30 gets battery 3.
2 is connected, the control circuit 30 is activated, and when the ignition switch 35 is operated to the starter position STA, the relay switch 3 is activated.
4 becomes conductive and the starter motor is driven, the activation/stoppage of the starter motor 33 can be detected as a starter signal.

次に制御回路30の構成を第4図に示すブロツ
ク図により説明すると、制御回路30はマイクロ
コンピユータを中心に構成され、41はCPU、
42は所定の制御プログラムに加え、基本燃料噴
射量を算出するためのデータマツプ等が記憶され
るROM、43は一時記憶メモリのRAMで、そ
の一部はイグニツシヨンスイツチ35を通さない
定電圧電源回路に接続されてバツクアツプされ、
イグニツシヨンスイツチ35オフ後も記憶内容を
保持するバツクアツプRAMとなつている。44
はマルチプレクサ45とA/D変換器46を備え
た入出力ポートで、水温センサ24、吸気温セン
サ22、吸気圧センサ23、アクセルセンサ25
から検出されたアナログの各検出信号をバツフア
回路47を介して入力し、これらの検出信号を択
一的に順次デジタル信号に変換して入力する。ま
た、スピル位置センサ13によつて検出されたス
ピルリング11の位置を示す信号、及びタイマ位
置センサ15によつて検出された油圧タイマ9の
タイマピストンの位置を示す信号も各センサ信号
検出回路48a,48bを介して同様に入出力ポ
ート44に送られる。49a,49bはそれぞれ
スピル位置センサ13、タイマ位置センサ15を
駆動するセンサ駆動回路である。50はクロツク
信号を出力するクロツク回路、51は他の入出力
ポートで、この入出力ポート51には回転数セン
サ14からの回転速度に対応したパルス信号が波
形整形回路52を介して入力されると共に、イグ
ニツシヨンスイツチ35からのスタータ信号がバ
ツフア47を介して入力され、さらに燃料カツト
信号がこの入出力ポート51から出力され、駆動
回路53を経て燃料カツトバルブ10へ送られ
る。さらに、入出力ポート51からは、CPU4
1の演算処理によつて上記各種センサからの検出
信号に基づき求められる燃料噴射量や燃料噴射時
期に対応する各制御信号が、D/A変換器54又
は55、サーボアンプ56又は57及び駆動回路
58又は59を経て、リニアソレノイド12又は
タイミングコントロールバルブ9aに夫々出力さ
れる。
Next, the configuration of the control circuit 30 will be explained using the block diagram shown in FIG. 4. The control circuit 30 is mainly configured with a microcomputer, and 41 is a CPU,
42 is a ROM that stores data maps for calculating the basic fuel injection amount in addition to predetermined control programs; 43 is a temporary memory RAM; a part of it is a constant voltage power supply that does not pass through the ignition switch 35; connected to the circuit and backed up,
It is a backup RAM that retains its memory contents even after the ignition switch 35 is turned off. 44
is an input/output port equipped with a multiplexer 45 and an A/D converter 46, which includes a water temperature sensor 24, an intake air temperature sensor 22, an intake pressure sensor 23, and an accelerator sensor
Analog detection signals detected from the circuit are inputted via a buffer circuit 47, and these detection signals are sequentially converted into digital signals as an alternative and inputted. Further, a signal indicating the position of the spill ring 11 detected by the spill position sensor 13 and a signal indicating the position of the timer piston of the hydraulic timer 9 detected by the timer position sensor 15 are also transmitted to each sensor signal detection circuit 48a. , 48b to the input/output port 44. 49a and 49b are sensor drive circuits that drive the spill position sensor 13 and timer position sensor 15, respectively. 50 is a clock circuit that outputs a clock signal, 51 is another input/output port, and a pulse signal corresponding to the rotation speed from the rotation speed sensor 14 is input to this input/output port 51 via a waveform shaping circuit 52. At the same time, a starter signal from the ignition switch 35 is input via the buffer 47, and a fuel cut signal is output from the input/output port 51 and sent to the fuel cut valve 10 via the drive circuit 53. Furthermore, from the input/output port 51, the CPU 4
Each control signal corresponding to the fuel injection amount and fuel injection timing determined based on the detection signals from the various sensors through the arithmetic processing in step 1 is transmitted to the D/A converter 54 or 55, the servo amplifier 56 or 57, and the drive circuit. The signal is outputted to the linear solenoid 12 or the timing control valve 9a through 58 or 59, respectively.

次に燃料噴射ポンプの動作を説明する。 Next, the operation of the fuel injection pump will be explained.

まずエンジンが始動すると、燃料噴射ポンプ1
のドライブシヤフト2が回転し、カムプレート5
が回転運動と共に左右往復運動し、これによりカ
ムプレート5に押し付けられているポンププラン
ジヤ4も回転と往復運動を行なう。この時、ポン
ププランジヤ4の往復運動によつてプランジヤ内
に吸入ポート4aから吸入された燃料は圧縮さ
れ、その回転によつて分配ポート4cから各々の
分配通路へ燃料が分配圧送される。この時、ポン
ププランジヤ4は、その吸入行程においてそのス
ピルポート4bをスピルリング11に塞がれてい
るが、噴射行程に入りプランジヤが右方向に移動
し噴射行程の終りに達すると、スピルリング11
の横からスピルポート4bが露出してポンププラ
ンジヤ4内の高圧燃料が溢流燃料としてポンプ室
に戻される。従つてこの時のスピルリング1の位
置によつて燃料の溢流量が決まり、燃料噴射行程
の終了時が決定できることから、リニアソレノイ
ド12に制御信号を出力し、スピルリング11の
位置を制御することによつて燃料噴射量が制御で
きるのである。
First, when the engine starts, the fuel injection pump 1
The drive shaft 2 rotates, and the cam plate 5
The pump plunger 4, which is pressed against the cam plate 5, also rotates and reciprocates. At this time, the fuel sucked into the plunger from the suction port 4a is compressed by the reciprocating motion of the pump plunger 4, and the fuel is distributed under pressure from the distribution port 4c to each distribution passage by its rotation. At this time, the spill port 4b of the pump plunger 4 is blocked by the spill ring 11 during the suction stroke, but when the plunger enters the injection stroke and moves to the right and reaches the end of the injection stroke, the spill ring 11
The spill port 4b is exposed from the side of the pump plunger 4, and the high pressure fuel in the pump plunger 4 is returned to the pump chamber as overflow fuel. Therefore, the overflow amount of fuel is determined by the position of the spill ring 1 at this time, and since the end of the fuel injection stroke can be determined, a control signal is output to the linear solenoid 12 to control the position of the spill ring 11. The amount of fuel injection can be controlled by

以上説明した如く、制御回路30においては上
記各センサから出力された検出信号に基づき、当
該エンジンの運転状態に応じた燃料噴射量、燃料
噴射時期等を算出し、その制御量に応じた制御信
号を入出力ポート51や駆動回路等を介してリニ
アソレノイド12、タイミングコントロールバル
ブ9a等に出力する制御を実行することとなるの
であるが、次に本発明にかかわる主要な処理であ
る、スタータモータ33の停止信号、つまりスタ
ータ信号がOFF状態となつてから所定時間だけ
燃料噴射量等の制御量をマスクし、スタータ信号
がOFF状態とされる前の値に保持するといつた
制御量の保持制御処理について第5図及び第6図
に示すフローチヤートに沿つて説明する。
As explained above, the control circuit 30 calculates the fuel injection amount, fuel injection timing, etc. according to the operating state of the engine based on the detection signals output from each of the above-mentioned sensors, and outputs a control signal according to the control amount. Control is executed to output the signal to the linear solenoid 12, timing control valve 9a, etc. via the input/output port 51, drive circuit, etc. Next, the main process related to the present invention is to control the starter motor 33. A control process for holding control variables that masks control variables such as fuel injection amount for a predetermined period of time after the stop signal, that is, the starter signal, is turned OFF and holds it at the value it had before the starter signal was turned OFF. This will be explained along the flowcharts shown in FIGS. 5 and 6.

第5図に示すフローチヤートは、従来から実行
されている燃料噴射量、燃料噴射時期等の算出処
理、及びその制御量に応じた制御信号の出力処理
等を実行する一連の処理である、いわゆるメイン
ルーチンの一つとして実行される制御プログラム
であつて、後述の第6図に示すエンジン回転数算
出処理実行の際にエンジン回転数のマスク処理を
するよう指示するための制御プログラムである。
The flowchart shown in FIG. 5 is a series of conventionally executed processes for calculating fuel injection amount, fuel injection timing, etc., and outputting a control signal according to the control amount. This control program is executed as one of the main routines, and is a control program for instructing to mask the engine speed when executing the engine speed calculation process shown in FIG. 6, which will be described later.

この処理が実行されると先ずステツプ101にて
イグニツシヨンスイツチ35がスタート位置
STAに操作され、スタータ信号がON状態となつ
ているか否かを判定する。ここでスタータ信号が
ON状態である場合には本ステツプ101にて
「YES」と判定し、続くステツプ102に移行して
フラグFstaをセツトする。そして次ステツプ103
が実行され、フラグFmskをセツトしてこの処理
をそのまま抜ける。
When this process is executed, first, in step 101, the ignition switch 35 is moved to the starting position.
It is operated by STA and determines whether the starter signal is in the ON state. Here the starter signal
If it is in the ON state, it is determined as ``YES'' in this step 101, and the process moves to the following step 102, where the flag Fsta is set. And next step 103
is executed, sets the flag Fmsk, and exits from this process.

一方スタータ信号がOFF状態である場合には
上記ステツプ101にて「NO」と判定され、次ス
テツプ104に移行して、フラグFstaがセツト状態
であるか否かの判定を実行する。ここでフラグ
Fstaがセツト状態であれば、本ステツプ104にて
「YES」と判定して続くステツプ105に移行し、
一方フラグFstaがクリア状態であればこの処理
をそのまま抜ける。
On the other hand, if the starter signal is in the OFF state, the determination in step 101 is "NO", and the process proceeds to the next step 104, where it is determined whether the flag Fsta is in the set state. flag here
If Fsta is in the set state, it is judged as "YES" in this step 104 and the process moves to the following step 105.
On the other hand, if the flag Fsta is in a clear state, this process is exited as is.

ステツプ105においては現時点Tsをフリーラン
ニングタイマ等から読み取る処理を実行すること
となるのであるが、このステツプ105の処理は上
記ステツプ101ないしステツプ104の処理により、
イグニツシヨンスイツチ35がスタート位置
STAからイグニツシヨン位置I/Gに操作され、
スタータ信号がOFF状態とされた時点で始めて
実行されることから、ここで読み取られる時刻
Tsは、スタータ信号がOFF状態とされ、始めて
この処理が実行された時点を表わす時刻であるこ
とがわかる。
In step 105, a process is executed to read the current Ts from a free running timer, etc., but the process in step 105 is performed by the processes in steps 101 to 104 described above.
Ignition switch 35 is in the starting position
Operated from STA to ignition position I/G,
The time read here is executed for the first time when the starter signal is turned off.
It can be seen that Ts represents the time when the starter signal is turned off and this process is executed for the first time.

ステツプ105にて時刻Tsが読み取られると続く
ステツプ106に移行して、後述のエンジン回転数
のマスク処理をこの時刻Tsより所定時間実行す
る為に、予め定められたマスク処理時間ΔTmを
上記時刻Tsに加算してマスク処理の終了予定時
刻Tmを設定し、ステツプ107に移行する。ステ
ツプ107においては上記設定されたマスク処理の
終了予定時刻TmをRAM43の所定のエリア内
に格納し、続くステツプ108にてフラグstaをクリ
アして、この処理を抜ける。
When the time Ts is read in step 105, the process moves to the following step 106, and in order to perform engine rotation speed masking processing to be described later for a predetermined time from this time Ts, a predetermined masking processing time ΔTm is set at the above-mentioned time Ts. The scheduled end time Tm of the masking process is set by adding the value to Tm, and the process moves to step 107. In step 107, the scheduled end time Tm of the masking process set above is stored in a predetermined area of the RAM 43, and in the following step 108, the flag sta is cleared and the process exits.

次に第6図に示すフローチヤートは、波形整形
回路52を介して入力された回転数センサ14か
らの検出信号に応じて、例えばクランク角45°毎
のエンジン回転に同期して実行される割込みルー
チンを示し、エンジン回転数を算出すると共に、
前述しと如く、スタータ信号がOFF状態とされ
た後、所定時間ΔTmだけその回転数の算出処理
を一時停止し、エンジン回転数を停止前に求めら
れたエンジン回転数とするマスク処理を実行する
ための制御プログラムを表わしている。
Next, the flowchart shown in FIG. 6 shows an interrupt that is executed in synchronization with engine rotation at every 45° crank angle in response to a detection signal from the rotation speed sensor 14 inputted via the waveform shaping circuit 52. It shows the routine, calculates the engine speed, and
As mentioned above, after the starter signal is turned off, the rotation speed calculation process is temporarily stopped for a predetermined time ΔTm, and a masking process is performed to set the engine rotation speed to the engine rotation speed calculated before stopping. represents the control program for

この処理が開始されるとまずステツプ201にて
フラグFstaがセツトされているか否かの判定が
実行され、フラグFstaがセツト状態の場合には
本ステツプ201にて「YES」と判定して続くステ
ツプ202に移行し、一方フラグFstaがクリア状態
である場合には本ステツプ201にて「NO」と判
定し、ステツプ203に移行する。
When this process is started, first, in step 201, it is determined whether or not the flag Fsta is set. If the flag Fsta is set, it is determined as "YES" in this step 201, and the next step is executed. The process moves to step 202, and if the flag Fsta is in a clear state, it is determined as "NO" in this step 201, and the process moves to step 203.

ここで前記第5図のステツプ102にてフラグ
Fstaがセツトされ、ステツプ108にてフラグFsta
がクリアされていないとすると、つまりスタータ
信号がON状態でありスタータモータ33が駆動
されているとすると、上記ステツプ201にて
「YES」と判定されステツプ202が実行されるこ
ととなる。そしてステツプ202においては回転数
センサ14からの検出信号によりこの割り込みル
ーチンが開始された時点の時刻TNe(n)を読み取
り処理が実行され、続くステツプ204に移行する。
Here, in step 102 of Fig. 5, the flag is
Fsta is set and flag Fsta is set in step 108.
If it is not cleared, that is, if the starter signal is in the ON state and the starter motor 33 is being driven, the determination in step 201 will be ``YES'' and step 202 will be executed. Then, in step 202, the time TNe(n) at the time when this interrupt routine was started is read based on the detection signal from the rotational speed sensor 14, and the process proceeds to step 204.

ステツプ204においては、前回割り込みルーチ
ンにて読み取られ、RAM43内に書き込まれた
前回の割り込み開始時刻TNe(n−1)を読み出
す処理を実行し、続くステツプ205にてこの時刻
TNe(n−1)と今回読み取られた時刻TNe(n)と
の差、つまりエンジンがクランク角45°回転する
間の時間ΔTNeを次式 ΔTNe←TNe(n)−TNe(n−1) より算出する。
In step 204, a process is executed to read the previous interrupt start time TNe (n-1) read in the previous interrupt routine and written in the RAM 43, and in the following step 205, this time is read out.
The difference between TNe(n-1) and the currently read time TNe(n), that is, the time during which the engine rotates at a crank angle of 45 degrees, ΔTNe, is calculated using the following formula: ΔTNe←TNe(n)−TNe(n-1) calculate.

ステツプ205にて時間ΔTNeが求められると、
次ステツプ206が実行されこの時間ΔTNeと定数
Kとからエンジン回転数NEを次式 NE=K/ΔTNe より算出し、続くステツプ207へ移行してこの求
められたエンジン回転数NEをRAM43の所定
のエリア内に書き込む。ここで定数Kはエンジン
回転数がクランク角45°回転するのに要した時間
ΔTNeから所定時間内のエンジン回転数を算出す
るための定数であつて、この割り込みルーチンが
クランク角30°毎に実行されるとすればその値も
当然変更されることとなる。
When the time ΔTNe is determined in step 205,
The next step 206 is executed and the engine speed NE is calculated from the time ΔTNe and the constant K using the following formula NE=K/ΔTNe. Write within the area. Here, the constant K is a constant for calculating the engine speed within a predetermined time from the time ΔTNe required for the engine speed to rotate by 45 degrees of crank angle, and this interrupt routine is executed every 30 degrees of crank angle. If so, the value will naturally be changed.

このようにしてエンジン回転数NEが求めら
れ、RAM43の所定エリア内に格納されると続
くステツプ208が実行され、上記ステツプ202にて
読み取つた時刻TNe(n)を、次回の割り込み処理
のために、時刻TNe(n−1)に置き換える。そ
してステツプ209にてこの時刻TNe(n−1)を
RAM43の所定のエリア内に格納し、処理を終
える。
When the engine speed NE is determined in this way and stored in a predetermined area of the RAM 43, the following step 208 is executed, and the time TNe(n) read in the above step 202 is used for the next interrupt processing. , replaced by time TNe(n-1). Then, in step 209, this time TNe(n-1) is
The data is stored in a predetermined area of the RAM 43, and the processing is completed.

次にイグニツシヨンスイツチ35がスタート位
置STAからイグニツシヨン位置I/Gに操作さ
れ、スタータ信号がOFF状態となつてフラグ
Fstaがクリアされた場合には上記ステツプ201に
て「NO」と判定され、ステツプ203が実行され
ることとなるのであるが、このステツプ203に置
いてはフラグFmskがセツト状態であるか否かの
判定が実行される。この時点では前記第5図にお
けるステツプ103にてフラグFmskがセツトされ、
その後クリアされていないことから、本ステツプ
203においては「YES」と判定され続くステツプ
210に移行する。
Next, the ignition switch 35 is operated from the start position STA to the ignition position I/G, the starter signal turns OFF, and the flag is
If Fsta is cleared, the determination in step 201 is "NO" and step 203 is executed, but in step 203 it is determined whether the flag Fmsk is set or not. A determination is made. At this point, the flag Fmsk is set in step 103 in FIG.
This step has not been cleared since then.
In 203, the step that is determined as “YES” and continues
Move to 210.

ステツプ210においては前記ステツプ202と同様
に現時刻TNe(n)を読み取り、次ステツプ211に移
行して、前記第5図におけるステツプ107にて
RAM43内に書き込んだマスク処理の終了予定
時刻Tmを読み出し、続くステツプ212に移行す
る。そしてステツプ212においてはこの時刻Tm
と上記ステツプ210にて読み取つた時刻TNe(n)を
大小比較して、時刻TNe(n)がマスク処理の修了
予定時刻Tmを経過しているか否かの判定を行な
う。この時点で本割り込みルーチンが前記第5図
の処理にて終了予定時刻が設定された直後の処理
であることから、時刻TNe(n)は未だ終了予定時
刻Tmを経過しておらず、本ステツプ212にて
「NO」と判定されて上記ステツプ204ないしステ
ツプ207のエンジン回転数NEを算出処理を実行
せずにそのままステツプ208及びステツプ209の処
理に移行し、上記ステツプ210にて読み込まれた
時刻TNe(n)を次回の処理のための時刻TNe(n−
1)としてRAM43の所定のエリア内に格納
し、ルーチンの処理を終える。
In step 210, the current time TNe(n) is read in the same manner as in step 202, and the process moves to the next step 211.
The scheduled end time Tm of the mask processing written in the RAM 43 is read out, and the process moves to the following step 212. Then, in step 212, this time Tm
The time TNe(n) read in step 210 is compared in magnitude to determine whether or not the time TNe(n) has passed the scheduled completion time Tm of the mask processing. At this point, since this interrupt routine is the process immediately after the scheduled end time was set in the process shown in FIG. 5, the time TNe(n) has not yet passed the scheduled end time Tm, and this step If the result in step 212 is "NO", the process directly proceeds to steps 208 and 209 without executing the engine rotation speed NE calculation process in steps 204 to 207, and calculates the time read in step 210. TNe(n) is the time TNe(n−
1) is stored in a predetermined area of the RAM 43, and the routine processing is completed.

一方、スタータ信号がOFF状態とされてから
この割り込みルーチンが繰返し実行され、ステツ
プ210にて読み取られた時刻TNe(n)が終了予定時
刻Tmを経過すると上記ステツプ212にて「YES」
と判定されて次ステツプ213が実行され、フラグ
Fmskがクリアされる。そして上記ステツプ204
ないしステツプ207のエンジン回転数NEを算出
するための一連の処理が実行され、ステツプ208
及びステツプ209にて上記ステツプ210の処理によ
り読み取とつた時刻TNe(n)を時刻TNe(n−1)
としてRAM43の所定のエリア内に格納し、本
ルーチンの処理を終えることとなる。
On the other hand, this interrupt routine is repeatedly executed after the starter signal is turned OFF, and when the time TNe(n) read in step 210 passes the scheduled end time Tm, "YES" is returned in step 212.
It is determined that the next step 213 is executed and the flag is set.
Fmsk is cleared. And step 204 above
A series of processes for calculating the engine speed NE in step 207 is executed, and step 208
And in step 209, the time TNe(n) read through the process of step 210 above is set as time TNe(n-1).
The data is stored in a predetermined area of the RAM 43, and the processing of this routine is completed.

その後本ルーチンの処理が実行されると、前回
の処理の際にステツプ213にてフラグFmskがク
リアされたことから、ステツプ203にて「NO」
と判定され、ステツプ202及びステツプ204ないし
ステツプ208の一連の処理を実行するようになり、
再度本ルーチンが実行されてもこの処理をくり返
し実行するようになる。
After that, when the process of this routine is executed, the flag Fmsk was cleared in step 213 during the previous process, so "NO" is returned in step 203.
It is determined that this is the case, and a series of processes from step 202 and steps 204 to 208 are executed.
Even if this routine is executed again, this process will be repeated.

次に上述の制御処理による動作について、第7
図に示すタイムチヤートに沿つて説明する。なお
第7図において、イは回転数センサ14から出力
される検出信号SNeを、ロはその検出信号SNeが
波形整形回路52によりパルス信号に波形整形さ
れた後の検出信号PNeを、ハはイグニツシヨン
スイツチ35からのスタータ信号を、ニはフラグ
Fstaを、ホはフラグFmskを、ヘはスタータモー
タ33の駆動電圧を、トはRAM43内に格納さ
れるエンジン回転数NEを夫々表わしている。
Next, regarding the operation by the above-mentioned control process, the seventh
This will be explained along the time chart shown in the figure. In FIG. 7, A indicates the detection signal SNe output from the rotation speed sensor 14, B indicates the detection signal PNe after the detection signal SNe has been waveform-shaped into a pulse signal by the waveform shaping circuit 52, and C indicates the ignition signal. Starter signal from switch 35, d is flag
Fsta, E represents the flag Fmsk, F represents the driving voltage of the starter motor 33, and G represents the engine rotational speed NE stored in the RAM 43, respectively.

図に示す如く、エンジンが始動され、イグニツ
シヨンスイツチ35から得られるスタータ信号が
ON状態の場合にはフラグFsta及びフラグFmsk
が共にセツト状態となり、その後スタータ信号が
OFF状態となるとそれを検知した時点でフラグ
Fstaがクリア状態とされる。そしてその時点の
時刻Tsに所定のマスク処理時間ΔTmを加算した
時刻Tmを設定し、時刻Ts経過後の割り込み処理
から時刻Tm経過後の割り込み処理までの間、つ
まり図に示すMSKの間、エンジン回転数NEは算
出せず、それ以前の割り込み処理にて求められた
エンジン回転数NEに保持するようになる。そし
て時刻Tmを経過した後の割り込み処理において
フラグFmskがクリアされ、割り込み毎にエンジ
ン回転数NEを算出するようになる。
As shown in the figure, the engine is started and the starter signal obtained from the ignition switch 35 is
Flag Fsta and flag Fmsk in ON state
both are set, and then the starter signal is
When it is in the OFF state, a flag is set as soon as it is detected.
Fsta is cleared. Then, the time Tm is set by adding a predetermined mask processing time ΔTm to the current time Ts, and the engine The engine speed NE is not calculated and is kept at the engine speed NE determined in the previous interrupt process. Then, in the interrupt processing after time Tm has elapsed, the flag Fmsk is cleared, and the engine rotation speed NE is calculated for each interrupt.

一方、スタータモーター33が停止され、その
停止時にノイズを発生するのは、図から分るよう
に、スタータ信号がOFF状態となり、リレース
イツチ34がOFF状態とされ、駆動電圧が0と
なつた時点T0であつて、スタータ信号がOFF状
態となつてから時間ΔTd経過した後となる。従
つてスタータモータ33からのノイズが回転数セ
ンサ15の検出信号に重畳された時点では既にエ
ンジン回転数NEのマスク処理が実行されている
ことから、エンジン回転数NEは、トにおいて破
線で示す従来のマスク処理を実行しないで求めら
れるエンジン回転数のように異常に高い値となる
ことなく、実際のエンジン回転数により近似した
値となる。
On the other hand, the starter motor 33 stops and generates noise when it stops, as can be seen from the figure, when the starter signal turns OFF, the relay switch 34 turns OFF, and the drive voltage becomes 0. This occurs at T0, after a time ΔTd has elapsed since the starter signal was turned off. Therefore, at the time when the noise from the starter motor 33 is superimposed on the detection signal of the rotation speed sensor 15, the engine rotation speed NE has already been masked. Unlike the engine rotation speed obtained without performing the mask processing, the engine rotation speed does not become an abnormally high value, but becomes a value that is closer to the actual engine rotation speed.

以上説明したように、本実施例の電子制御装置
においては、回転数センサ14から出力される検
出信号に基づき求められるエンジン回転数を、ス
タータ信号入力後、所定時間経過するまでの間、
それ以前に求められたエンジン回転数とするマス
ク処理を実行し、燃料噴射量等、エンジンの制御
量を求める際に用いられるエンジン回転数として
いる。従つて従来のようにスタータモータ33停
止時にノイズが発生した場合、そのノイズによつ
てエンジン回転数が急上昇したかの如く誤算出さ
れ、エンジン始動時であるにもかかわらず定常運
転に入つたと判断して燃料噴射量を減少するとい
つた、エンジンの始動性を低下してしまう誤制御
を行なうことなく、エンジン制御を良好に実行す
ることができ、良好な始動性を確保することがで
きる。なお本実施例において前述のアクチユエー
タに相当するものとしてはスタータモータ33
が、制御量停止手段に相当するものとしては第5
図及び第6図に示した制御プログラムを夫々挙げ
ることができる。
As explained above, in the electronic control device of this embodiment, the engine rotation speed determined based on the detection signal output from the rotation speed sensor 14 is controlled until a predetermined period of time elapses after inputting the starter signal.
A masking process is performed to use the previously determined engine speed, and the engine speed is used to determine engine control variables such as the fuel injection amount. Therefore, if noise occurs when the starter motor 33 stops as in the past, the engine speed will be incorrectly calculated as if it had suddenly increased due to the noise, and the engine would have entered steady operation even though it was starting. Engine control can be favorably executed and good startability can be ensured without performing erroneous control that degrades engine startability, such as reducing the fuel injection amount based on judgment. In this embodiment, the starter motor 33 corresponds to the actuator described above.
However, the fifth one corresponds to the controlled variable stopping means.
The control programs shown in FIG. 6 and FIG. 6 can be mentioned.

次に上記実施例における第5図及び第6図に示
した制御処理の他の例として、燃料噴射量、燃料
噴射時期等の算出、及びその制御量に応じた各種
駆動装置の駆動制御等を実行するメインルーチン
のうちの一つとして、スタータ信号入力後所定時
間だけ、前記第5図に示したようなエンジン回転
数算出のための割り込みルーチンの処理を停止す
るようにしたその制御処理を設けたものについ
て、第8図及び第9図に示すフローチヤートに沿
つて説明する。
Next, as another example of the control process shown in FIGS. 5 and 6 in the above embodiment, calculation of fuel injection amount, fuel injection timing, etc., and drive control of various drive devices according to the control amount, etc. As one of the main routines to be executed, a control process is provided for stopping the processing of the interrupt routine for calculating the engine rotation speed as shown in FIG. 5 for a predetermined period of time after input of the starter signal. This will be explained along the flowcharts shown in FIGS. 8 and 9.

第8図は上述した如く、前記第5図の制御プロ
グラムと同様に、燃料噴射量、燃料噴射時期等を
制御するための一連の処理のうちの一つとして処
理されるものであつて、この処理が実行されると
まずステツプ301にてスタータ信号がON状態で
あるか否かの判定を実行する。そしてスタータ信
号がON状態の場合にはステツプ302に移行して
フラグFstaをセツトし、続くステツプ303にてフ
ラグFmskをセツトしてこの処理を抜ける。一方
スタータ信号がOFF状態である場合にはステツ
プ304に移行し、今度はフラグFstaがセツト状態
か否かの判定を行なう。そしてフラグFstaがセ
ツト状態である場合には次のステツプ305に移行
して現時刻Tsを読み出し、続くステツプ306にて
この時刻Tsに予め設定された所定のマスク処理
時間ΔTmを加算してマスク処理の終了予定時刻
Tmを算出する。続くステツプ307においては上
記算出されたマスク処理終了予定時刻Tmを
RAM43の所定のエリア内に書き込み、次のス
テツプ308にてフラグFstaをクリアする。
As mentioned above, like the control program shown in FIG. 5, FIG. 8 is processed as one of a series of processes for controlling the fuel injection amount, fuel injection timing, etc. When the process is executed, first in step 301 it is determined whether or not the starter signal is in the ON state. If the starter signal is in the ON state, the process moves to step 302 to set the flag Fsta, and in the subsequent step 303 the flag Fmsk is set, and the process exits. On the other hand, if the starter signal is in the OFF state, the process moves to step 304, and it is then determined whether the flag Fsta is in the set state. If the flag Fsta is set, the process moves to the next step 305 to read the current time Ts, and in the following step 306, a predetermined mask processing time ΔTm set in advance is added to this time Ts to perform mask processing. Scheduled end time of
Calculate Tm. In the following step 307, the scheduled mask processing end time Tm calculated above is calculated.
The data is written in a predetermined area of the RAM 43, and the flag Fsta is cleared in the next step 308.

ここまでの処理は前記第1実施例の第5図に示
した制御プログラムと同様であるが、続くステツ
プ309において、回転数センサ14からの検出信
号に応じてエンジン回転と同期して実行される割
り込みルーチンの処理を禁止すべく、割り込み禁
止フラグFxをクリアし、この処理を終える。
The processing up to this point is the same as the control program shown in FIG. In order to prohibit the processing of the interrupt routine, the interrupt prohibition flag Fx is cleared, and this processing ends.

次にフラグFstaがクリア状態の場合にはステ
ツプ304からステツプ310に移行し、フラグFmsk
がセツト状態であるか否かの判定を行なう。そし
てフラグFmskがセツト状態であればステツプ
312に移行して現時刻Tを読み出し、続くステツ
プ312においてこの現時刻Tと前記ステツプ306に
て算出されたマスク処理の終了予定時刻Tmとの
大小比較を実行し、その終了時刻Tmを経過した
か否かの判定を行なう。
Next, if the flag Fsta is clear, the process moves from step 304 to step 310, and the flag Fmsk is cleared.
It is determined whether or not the is in the set state. If the flag Fmsk is set, step
312, the current time T is read out, and in the following step 312, a comparison is made between the current time T and the scheduled end time Tm of the mask processing calculated in the step 306, and it is determined that the end time Tm has passed. It is determined whether or not.

ここで未だ終了予定時刻Tmを経過しておら
ず、Tm≧Tであればこの処理をそのまま抜けだ
し、一方終了予定時刻Tmを経過しTm<Tとな
れば、ステツプ313にて割り込み許可フラグFxを
セツトすると共に続くステツプ314にてフラグFy
をセツトし、更にステツプ315にてフラグFmsk
をクリアして本制御処理を抜ける。
Here, if the scheduled end time Tm has not yet elapsed and Tm≧T, this process is exited as is.On the other hand, if the scheduled end time Tm has passed and Tm<T, then in step 313 the interrupt permission flag Fx In step 314, the flag Fy is set.
and then set the flag Fmsk in step 315.
is cleared and exits from this control process.

次に回転数14からの検出信号に応じて、例え
ばエンジンのクランク角45°CA毎に実行され、エ
ンジン回転数を算出するための割り込みルーチン
は、第9図に示す如き制御プログラムに従つて実
行される。
Next, in response to the detection signal from the rotation speed 14, an interrupt routine is executed, for example, every 45° CA of the engine crank angle, and an interrupt routine for calculating the engine rotation speed is executed according to a control program as shown in FIG. be done.

この処理においては、まずステツプ401にて割
り込み許可フラグFxがセツト状態であるか否か
の判定を行ない、このフラグFxがクリア状態の
場合、つまり割り込み処理が許可されていない場
合には本ルーチンの処理をそのまま終え、一方フ
ラグFxがセツトされていれば割り込み処理が許
可されていることから、後述の処理に移る。
In this process, first, in step 401, it is determined whether or not the interrupt permission flag Fx is set. If this flag Fx is cleared, that is, if interrupt processing is not permitted, this routine is executed. The process ends as is, and if the flag Fx is set, it means that interrupt processing is permitted, and the process moves on to the process described later.

ステツプ402においてはこの割り込み処理の開
始時刻TNe(n)を読み出し、続くステツプ403に移
行する。そしてステツプ403においては、この割
り込み処理が許可されてからの最初の処理である
か否かをフラグFyによつて判定し、フラグFyが
セツト状態であれば今回の処理が許可になつてか
らの最初の処理であると判断してステツプ404に
移行する。ステツプ404においてはフラグFyをク
リアし、続くステツプ405にて上記ステツプ402に
て読み出し他今回の割り込み開始時刻TNe(n)を
次回の割り込み処理のために時刻TNe(n−1)
に置き換え、次のステツプ406にてこの時刻TNe
(n−1)をRAM43の所定のエリア内に格納
して本ルーチンの処理を終える。
In step 402, the start time TNe(n) of this interrupt processing is read, and the process moves to the following step 403. Then, in step 403, it is determined by flag Fy whether this interrupt processing is the first processing after being enabled, and if flag Fy is set, the current processing is the first processing after being enabled. It is determined that this is the first process, and the process moves to step 404. In step 404, the flag Fy is cleared, and in the subsequent step 405, the current interrupt start time TNe(n), which is read in step 402, is set to time TNe(n-1) for the next interrupt processing.
In the next step 406, this time TNe
(n-1) is stored in a predetermined area of the RAM 43, and the processing of this routine ends.

次にフラグFyがクリアされるとステツプ403に
てこの割り込み処理が許可されてから最初の処理
ではないと判断し、前記第6図に示したステツプ
204ないしステツプ207の処理と同様に、まずステ
ツプ407にて前回の割り込み処理の開始時刻TNe
(n−1)をRAM43より読み出し、次のステ
ツプ408にて今回読み出した時刻TNe(n)と前回の
時刻TNe(n−1)との差ΔTNeを算出し、続く
ステツプ409にてこの時間ΔTNeと定数Kとから
エンジン回転数NEを求める。そしてステツプ
410にてこの求められたエンジン回転数NEを
RAM43の所定のエリア内に書き込み、上記ス
テツプ405及び406の処理を実行し、本ルーチンの
処理をそのまま終える。
Next, when the flag Fy is cleared, it is determined in step 403 that this interrupt processing is not the first processing after being permitted, and the step shown in FIG.
Similar to the processing in steps 204 to 207, first, in step 407, the start time TNe of the previous interrupt processing is determined.
(n-1) is read from the RAM 43, and in the next step 408, the difference ΔTNe between the currently read time TNe(n) and the previous time TNe(n-1) is calculated, and in the following step 409, this time ΔTNe is calculated. The engine speed NE is determined from the constant K. and step
410, this obtained engine speed NE is
The data is written in a predetermined area of the RAM 43, the processing of steps 405 and 406 is executed, and the processing of this routine is completed.

このように本実施例においては燃料噴射量や燃
料噴射時期等を制御するメインルーチンにてエン
ジン回転数を算出するための割り込み処理を許
可、あるいは禁止するようにしているが、このよ
うにした場合においても前記実施例のようにスタ
ータ信号入力後所定時間の間、燃料噴射量等を算
出するためのエンジン回転数をスタータ信号入力
前の値にマスクすることができ、前記実施例と同
様に、スタータモータ33停止時に発生されるノ
イズに影響されることなく良好なエンジン制御を
実行することができるようになる。尚本実施例に
おいては、スタータ信号入力後マスク処理時間
ΔT経過した後の最初の割り込み処理に置いて、
単にその時刻をRAM内に格納するだけで回転数
の算出を実行しないようにしているが、これは最
初からエンジン回転数を算出すると、前回読み込
まれた割り込み処理の開始時刻がマスク処理開始
以前の時刻となり、求められるエンジン回転数が
極端に低い値となつてしまうからである。従つて
本実施例はマスク処理終了予定時刻Tmを経過し
た後回転数センサ14から2回目の検出信号が入
力されてからエンジン回転数NEの算出処理が再
開されることとなる。
In this way, in this embodiment, the interrupt processing for calculating the engine speed is permitted or prohibited in the main routine that controls the fuel injection amount, fuel injection timing, etc. Also, as in the embodiment described above, the engine rotation speed for calculating the fuel injection amount etc. can be masked to the value before input of the starter signal for a predetermined period of time after input of the starter signal, and as in the embodiment described above, Good engine control can be performed without being affected by noise generated when the starter motor 33 is stopped. In this embodiment, in the first interrupt processing after the mask processing time ΔT has elapsed after inputting the starter signal,
This time is simply stored in RAM to avoid calculating the engine speed, but this means that if the engine speed is calculated from the beginning, the start time of the interrupt process that was last read will be before the start of the mask process. This is because the required engine rotational speed will be an extremely low value. Therefore, in this embodiment, the calculation process of the engine rotation speed NE is restarted after the second detection signal is input from the rotation speed sensor 14 after the scheduled mask processing end time Tm has elapsed.

以上説明したように、上記実施例においては、
制・動時にノイズを発生するものとしてスタータ
モータを挙げ、その停止時に発生するノイズによ
るエンジン回転数への影響を防止するようにして
いるが、例えばエアコンの制・動時に発生するノ
イズの影響がある場合には、その制・動時より所
定時間だけ上記のようなマスク処理を実行するよ
うにしてもよい。また上記実施例においては、マ
スク処理の対象として、その検出信号により直接
算出するエンジン回転数を挙げ説明しているが、
回転数センサからの検出信号を1つのパラメータ
として求められるものであれば何でもよく、最終
的に求められる制御量が実際の運転状態に対応し
た値となるよう制御できればよいことから、例え
ば、上記メインルーチンにおいて燃料噴射量を算
出する際に、スタータ信号入力後所定時間だけそ
の算出処理を停止し、スタータ信号入力前の燃料
噴射量に設定するようにしてもよい。
As explained above, in the above embodiment,
The starter motor is cited as an element that generates noise during braking and operation, and attempts are made to prevent the noise generated when it stops from affecting the engine speed, but for example, the effect of noise generated during braking and operation of an air conditioner is In some cases, the above-described masking process may be executed for a predetermined period of time from the time of braking/operation. Furthermore, in the above embodiment, the engine rotation speed directly calculated from the detection signal is used as the object of mask processing, but
Any control can be used as long as the detection signal from the rotation speed sensor can be determined as one parameter, and it is sufficient if the control amount ultimately determined corresponds to the value corresponding to the actual operating condition. When calculating the fuel injection amount in the routine, the calculation process may be stopped for a predetermined time after the starter signal is input, and the fuel injection amount may be set to the fuel injection amount before the starter signal was input.

[発明の効果] 以上詳述したように、本発明のデイーゼルエン
ジンの電子制御装置においては、回転数センサか
らの検出信号を1つのパラメータとして求められ
るエンジンの制御量が、当該エンジンの周辺に設
けられたアクチユエータの作動信号及び/又は停
止信号を受けた後所定時間経過するまでの間、そ
の信号の入力前の制御量となるよう構成されてい
る。従つてアクチユエータの駆動時や停止時にノ
イズが発生し、回転数センサからの検出信号にそ
のノイズが重畳されるような場合であつても、求
められる制御量を運転状態に対応した値とするこ
とができ、エンジンを常時良好に制御することが
できるようになる。
[Effects of the Invention] As detailed above, in the diesel engine electronic control device of the present invention, the control amount of the engine, which is determined using the detection signal from the rotation speed sensor as one parameter, is controlled by the control amount provided around the engine. The control amount is configured such that the control amount remains the same as before the input of the signal until a predetermined period of time elapses after receiving the actuator activation signal and/or stop signal. Therefore, even if noise is generated when the actuator is driven or stopped, and the noise is superimposed on the detection signal from the rotation speed sensor, the required control amount should be a value that corresponds to the operating state. This allows the engine to be well controlled at all times.

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

第1図は本発明の構成を示すブロツク図、第2
図は従来の問題点を示すタイムチヤート、第3図
は実施例のデイーゼルエンジン及びその周辺装置
を示す該略構成図、第4図は制御回路30の構成
を示すブロツク図、第5図及び第6図は制御回路
30にて演算処理される制御プログラムを示すフ
ローチヤート、第7図は本実施例の動作を説明す
るタイムチヤート、第8図及び第9図は制御回路
30にて演算処理される制御プログラムの他の実
施例を示すフローチヤートである。 ……デイーゼルエンジン、,14……回転
数センサ、,30……制御回路、……アクチ
ユエータ、……制御量停止手段、1……燃料噴
射ポンプ、20……エンジン本体、33……スタ
ータモータ、41……CPU、43……RAM。
Figure 1 is a block diagram showing the configuration of the present invention, Figure 2 is a block diagram showing the configuration of the present invention.
3 is a schematic diagram showing the diesel engine and its peripheral equipment according to the embodiment, FIG. 4 is a block diagram showing the configuration of the control circuit 30, and FIGS. 6 is a flow chart showing a control program that is processed by the control circuit 30, FIG. 7 is a time chart that explains the operation of this embodiment, and FIGS. 7 is a flowchart showing another embodiment of the control program. ... Diesel engine, 14 ... Rotation speed sensor, 30 ... Control circuit, ... Actuator, ... Controlled amount stopping means, 1 ... Fuel injection pump, 20 ... Engine body, 33 ... Starter motor, 41...CPU, 43...RAM.

Claims (1)

【特許請求の範囲】 1 デイーゼルエンジンの回転に応じた検出信号
を出力する回転数センサと、該センサから出力さ
れた検出信号を1つのパラメータとして当該エン
ジンの制御量を算出する制御回路とを備え、該算
出された制御量に基づき当該エンジンを制御する
よう構成されたデイーゼルエンジンの電子制御装
置において、 上記制御回路に、 当該エンジンの周辺に設けられたアクチユエー
タの作動信号及び/又は停止信号を受け、該信号
入力以後所定時間だけ、上記算出される制御量
が、上記信号入力前に求められた制御量となるよ
う制御する制御量停止手段を、 設けたことを特徴とするデイーゼルエンジンの
電子制御装置。
[Scope of Claims] 1. A rotation speed sensor that outputs a detection signal according to the rotation of a diesel engine, and a control circuit that calculates a control amount of the engine using the detection signal output from the sensor as one parameter. , in an electronic control device for a diesel engine configured to control the engine based on the calculated control amount, the control circuit receives an activation signal and/or a stop signal of an actuator installed around the engine. , a control amount stopping means for controlling the calculated control amount to become the control amount determined before the signal input for a predetermined time after the signal input; Device.
JP10223284A 1984-05-21 1984-05-21 Electronic controller for diesel engine Granted JPS60247034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10223284A JPS60247034A (en) 1984-05-21 1984-05-21 Electronic controller for diesel engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10223284A JPS60247034A (en) 1984-05-21 1984-05-21 Electronic controller for diesel engine

Publications (2)

Publication Number Publication Date
JPS60247034A JPS60247034A (en) 1985-12-06
JPH0563623B2 true JPH0563623B2 (en) 1993-09-10

Family

ID=14321897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10223284A Granted JPS60247034A (en) 1984-05-21 1984-05-21 Electronic controller for diesel engine

Country Status (1)

Country Link
JP (1) JPS60247034A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8885688B2 (en) 2002-10-01 2014-11-11 Qualcomm Incorporated Control message management in physical layer repeater

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5971211B2 (en) * 2013-08-06 2016-08-17 株式会社デンソー Electronic control unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8885688B2 (en) 2002-10-01 2014-11-11 Qualcomm Incorporated Control message management in physical layer repeater

Also Published As

Publication number Publication date
JPS60247034A (en) 1985-12-06

Similar Documents

Publication Publication Date Title
KR20000076485A (en) Valve timing control system for internal combustion engine
JPS61294139A (en) Fuel injection device for internal-combustion engine
JPS6315468B2 (en)
US4450680A (en) Air/fuel ratio control system for internal combustion engines, having secondary air supply control
US20100018189A1 (en) Control system of internal combustion engine
JPH0563623B2 (en)
EP2184470A2 (en) Controller of vehicle internal combustion engine
US4364359A (en) Control system for internal combustion engines, having function of detecting abnormalities in engine speed signal detecting system
JPS6067740A (en) Suction air quantity controller for internal-combustion engine
JPH0563622B2 (en)
JPH048619B2 (en)
JPH0355800Y2 (en)
JPH07113346B2 (en) Diesel engine controller
JP3512932B2 (en) Fuel supply control device for internal combustion engine
JPS59115442A (en) Control of fuel injection timing of diesel-engine
JPH0615829B2 (en) Electronically controlled fuel injection device for internal combustion engine
JPH05187300A (en) Abnormality cause judgement device for fuel device
JP2023135352A (en) Throttle opening detector
JPH051376B2 (en)
JPH0320583B2 (en)
JPH0447128B2 (en)
JPH051378B2 (en)
JPS61126351A (en) Control device of fuel injection quantity in fuel-injection engine
JPS6176735A (en) Idle rotating number control method of engine
JPH0351909B2 (en)