JPH0286943A - エンジン制御装置 - Google Patents

エンジン制御装置

Info

Publication number
JPH0286943A
JPH0286943A JP63236951A JP23695188A JPH0286943A JP H0286943 A JPH0286943 A JP H0286943A JP 63236951 A JP63236951 A JP 63236951A JP 23695188 A JP23695188 A JP 23695188A JP H0286943 A JPH0286943 A JP H0286943A
Authority
JP
Japan
Prior art keywords
interrupt
execution time
interrupt processing
processing
interrupt handling
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
JP63236951A
Other languages
English (en)
Other versions
JPH0765540B2 (ja
Inventor
Akito Shibata
明人 柴田
Hidetoshi Sakurai
桜井 英利
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
Panasonic Holdings Corp
Original Assignee
Honda Motor Co Ltd
Matsushita Electric Industrial 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, Matsushita Electric Industrial Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP63236951A priority Critical patent/JPH0765540B2/ja
Priority to US07/407,751 priority patent/US5095437A/en
Priority to DE8989309447T priority patent/DE68901075D1/de
Priority to EP89309447A priority patent/EP0360528B1/en
Publication of JPH0286943A publication Critical patent/JPH0286943A/ja
Publication of JPH0765540B2 publication Critical patent/JPH0765540B2/ja
Anticipated expiration legal-status Critical
Expired - Fee Related 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/26Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
    • F02D41/263Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor the program execution being modifiable by physical parameters
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02PIGNITION, OTHER THAN COMPRESSION IGNITION, FOR INTERNAL-COMBUSTION ENGINES; TESTING OF IGNITION TIMING IN COMPRESSION-IGNITION ENGINES
    • F02P5/00Advancing or retarding ignition; Control therefor
    • F02P5/04Advancing or retarding ignition; Control therefor automatically, as a function of the working conditions of the engine or vehicle or of the atmospheric conditions
    • F02P5/145Advancing or retarding ignition; Control therefor automatically, as a function of the working conditions of the engine or vehicle or of the atmospheric conditions using electrical means
    • F02P5/15Digital data processing
    • F02P5/1502Digital data processing using one central computing unit
    • F02P5/1514Digital data processing using one central computing unit with means for optimising the use of registers or of memories, e.g. interpolation
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02BINTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
    • F02B1/00Engines characterised by fuel-air mixture compression
    • F02B1/02Engines characterised by fuel-air mixture compression with positive ignition
    • F02B1/04Engines characterised by fuel-air mixture compression with positive ignition with fuel-air mixture admission into cylinder
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D2250/00Engine control related to specific problems or objectives
    • F02D2250/12Timing of calculation, i.e. specific timing aspects when calculation or updating of engine parameter is performed
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)
  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、エンジンの燃料噴射量や点火時期環?制御す
るエンジン制御装置に関する。
従来の技術 一般に、この種のエンジン制御装置は、マイク2 ・ ロコンピュータが自動車用エンジンの吸気管内の圧力等
の入力データをサンプリングして燃料噴射弁が開く時間
な計算したり、クランク軸角度等の入力データにより点
火時期や通電開始時期等を算出し、この算出をエンジン
の回転に同期した割込ルーチンな処理することにより行
うように構成されている。
第4図(A)、(B)、(C)は、エンジン制御装置の
割込処理と他の処理(バックグラウンド処理等)の実行
頻度を示し、割込処理の実行頻度が高くなるにつれて他
の処理の実行時間が短くなり、予め設定された「単位時
間当たりの他の処理の最低実行時間」な満たさなくなる
(第4図(C))。
そこで、従来のエンジン制御装置は、「単位時間当たり
の割込処理の最低実行時間」と「単位時間当たりの他の
処理の最低実行時間」の両方の条件を満たすように割込
処理な省略し、例えば割込処理の起動頻度をタイマ等に
より割込起動周期の計測値から算出し、起動頻度が高く
なるにつれて省略頻度が高くなるように構成されている
3 ヘーン 第5図、第6図は、割込処理の起動頻度が高くなるにつ
れてその省略頻度が高くなる場合の説明図であり、この
例では、割込処理の起動頻度が所定の頻度毎に高くなる
場合に1/2.1/4に段階的に省略されている。
そして、゛第6図に示すように、割込処理の起動頻度な
変更する段階の領域には、実行頻度の安定化を計るだめ
にヒステリシス特性を有するように構成することが知ら
れている。
発明が解決しようとする課題 しかしながら、上記従来のエンジン制御装置では、割込
処理の起動周期によりその実行頻度な決定し、他の処理
の実行時間が実際に規定値以上確保されているかどうか
な配慮していないので、例えば割込処理の内容が変更さ
れてその実行時間が増加し、他の処理の実行時間が確保
されない場合には、割込処理の起動頻度な変更する段階
の領域等を再設定しなければならないという問題点があ
る。
本発明は上記従来例の問題点に鑑み、割込処理の内容が
変更されてその実行時間が増加しても他の処理の実行時
間を自動的に確保することができるエンジン制御装置を
提供することを目的とする。
課題な解決するだめの手段 本発明は上記目的を達成するために、1割込周期に占め
る割込処理の実行時間の割合を算出し、この算出された
割合が所定の値を超えた場合に次の割込処理を禁止する
ようにしたものである。
作用 本発明は上記構成により、割込処理の内容が変更されて
その実行時間が増加しても、1割込周期に占める割込処
理の実行時間の割合が所定の値を超えた場合に次の割込
処理を禁止するので、割込処理以外の他の処理の実行時
間を自動的に確保することができる。
実施例 以下、図面な参照して本発明の詳細な説明する。第1図
は、本発明に係るエンジン制御装置の一実施例な示す機
能ブロック図、第2図は、第1図のエンジン制御装置の
動作を説明するだめのフ5 ヘ−ノ ローチャート、第3図は、第1図のエンジン制御装置の
動作説明図である。
第1図において、1は、エンジンの回転に同期した割込
処理により、自動車用エンジンの吸気管内の圧力等の入
力データをサンプリングして燃料噴射弁が開く時間を計
算したり、クランク軸角度等の入力データにより点火時
期や通電開始時期等(エンジン制御データ)を算出し、
また割込処理以外のバンクグラウンド処理を実行する第
1の算出手段である。
2は、第1の算出手段1の1割込周期に占める割込処理
の実行時間の割合な算出する第2の算出手段、3は、第
2の算出手段2により算出された割合が所定の値を超え
た場合に、第1の算出手段10次の割込処理を禁止する
手段であり、これら算出手段1.2、禁止手段3はマイ
クロコンビエータにより構成され、このマイクロコンビ
エータは、第2図、第3図に示す処理を実行する。
次に、第2図、第3図を参照して上記実施例の動作な説
明する。
6 ・・−・ 第2図(A)は、エンジンの上死点検出信号(TDC信
号)等のエンジンの回転に同期した信号により起動され
、燃料噴射量や点火時期等ン算出する割込ルーチンな示
し、第2図(B)は、第2図(A)に示す割込ルーチン
より割込の優先順位が高く、かつ割込頻度が高いクラン
ク割込等の上位割込ルーチンな示す。
第2図(A)において割込が発生すると、ステップ11
において上位割込な禁止し、続くステップ12において
、1割込周期に占める割込処理の実行時間の割合R を求め、Rが所定値R,より大きいか否か?判別する。
ステップ12において、R>R・である場合にはステッ
プ13に分岐し、周期カウンタをクリアし、続くステッ
プ14において実行中カウンタをクリアし、割込から復
帰する。
他方、ステップ12において、R>R,でない場合7 
八−ン にはステップ15に進み、周期カウンタと実行中カウノ
タ?クリアした後(ステップ15.16)、ステップ1
7において、割込処理を現在実行中である旨な示すフラ
グをセットする。このフラグは、4この割込処理の実行
中に上位割込が発生した場合に、上位割込ルーチンにお
いてこの割込処理が実行中であるか否かな検出するだめ
のものである。
ステップ18において上位割込を許可した後、続くステ
ップ19では燃料噴射量や点火時期等な算出する処理な
実行1−、ステップ20において上位割込す禁止し、ス
テップ21において上記フラグをクリ°アし、割込から
復帰する。
第2図(B)において上位割込か発生すると、ステップ
31において周期カウンタをインクリメントし、続くス
テップ32において、第2図(A)に示す割込処理が現
在実行中である旨を示すフラグがセットされているか否
かを判別する。
フラグがセットされている場合にはステップ33に進み
、実行中カウンタをインクリメントして割込から復帰し
、フラグがセットされていない場合には直接割込から復
帰する。
すなわち、第2図(B)に示す上位割込処理ルーチンと
第2図(A)に示す割込処理ルーチンのステップ12に
おいて、■割込周期に占める割込処理の実行時間の割合
Rk算出しく第2の算出手段2)、この割合RがRoす
超えた場合に割込処理な行わない(禁止手段3)。
第3図は、1割込周期中に7回の上位割込が発生した場
合の割込処理の実行時間と他の処理の実行時間の関係を
示す。
第3図(A)は、割込処理を実行中に3回の上位割込が
発生した場合(R=3/7)を示し、第3図(B)は、
割込処理を実行中に4回の上位割込が発生した場合(R
=4/7)を示し、第3図(B)では次の割込処理が省
略されている。
従って、上記実施例によれば、1割込周期に占める割込
処理の実行時間の割合Rが所定値R,(例えば1/2)
より大きくなると、次の割込処理の実行を省略するので
、割込処理の内容が変更されてその実行時間が増加して
も他の処理の実行時間9ヘーノ を自動的に確保することができる。
発明の詳細 な説明したように、本発明は、1割込周期に占める割込
処理の実行時間の割合を算出し、この算出された割合が
所定の値を超えた場合に次の割込処理な禁止するように
したので、割込処理の内容が変更されてその実行時間が
増加しても、1割込周期に占める割込処理の実行時間の
割合が所定の値を超えた場合に次の割込処理を禁止する
ので、割込処理以外の他の処理の実行時間な自動的に確
保することができる。
【図面の簡単な説明】
第1図は、本発明に係るエンジン制御装置の一実施例を
示す機能ブロック図、第2図は、第1図のエンジン制御
装置の動作を説明するだめのフローチャート、第3図は
、第1図のエンジン制御装置の動作説明図、第4図は、
エンジンの回転速度に応じた割込処理の実行頻度を示す
説明図、第5図及び第6図はそれぞれ、割込処理の起動
頻度が高くなるにつれてその省略頻度が高くなる場合の
説明図である。 1・・・第1の算出手段、2・・・第2の算出手段、3
・・・禁止手段。

Claims (1)

    【特許請求の範囲】
  1. エンジンの回転に同期した割込処理によりエンジンの制
    御データを算出する第1の算出手段と、前記割込処理よ
    りも上位の処理として割込周期、割込実行時間等を計数
    するための上位割込処理手段と、前記第1の算出手段の
    1割込周期に占める割込処理の実行時間の割合を算出す
    る第2の算出手段と、前記第2の算出手段により算出さ
    れた割合が所定の値を超えた場合に、前記第1の算出手
    段の次の割込を禁止する割込禁止手段とを有するエンジ
    ン制御装置。
JP63236951A 1988-09-21 1988-09-21 エンジン制御装置 Expired - Fee Related JPH0765540B2 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP63236951A JPH0765540B2 (ja) 1988-09-21 1988-09-21 エンジン制御装置
US07/407,751 US5095437A (en) 1988-09-21 1989-09-15 Engine controller with interrupt processing
DE8989309447T DE68901075D1 (de) 1988-09-21 1989-09-18 Motorsteuereinrichtung.
EP89309447A EP0360528B1 (en) 1988-09-21 1989-09-18 Engine controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63236951A JPH0765540B2 (ja) 1988-09-21 1988-09-21 エンジン制御装置

Publications (2)

Publication Number Publication Date
JPH0286943A true JPH0286943A (ja) 1990-03-27
JPH0765540B2 JPH0765540B2 (ja) 1995-07-19

Family

ID=17008177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63236951A Expired - Fee Related JPH0765540B2 (ja) 1988-09-21 1988-09-21 エンジン制御装置

Country Status (4)

Country Link
US (1) US5095437A (ja)
EP (1) EP0360528B1 (ja)
JP (1) JPH0765540B2 (ja)
DE (1) DE68901075D1 (ja)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4241790B4 (de) * 1992-12-11 2016-06-09 Robert Bosch Gmbh Verfahren und Vorrichtung zum Betreiben von Steuereinrichtungen insbesondere für Fahrzeuge
EP0639705B1 (de) * 1993-04-29 1997-06-25 Siemens Aktiengesellschaft Elektronische Steuerung
US6173692B1 (en) 1997-06-20 2001-01-16 Outboard Marine Corporation Time delay ignition circuit for an internal combustion engine
DE19757875C2 (de) * 1997-12-24 2001-11-29 Bosch Gmbh Robert Verfahren zum Betreiben einer Brennkraftmaschine insbesondere eines Kraftfahrzeugs
EP1022452B1 (en) * 1999-01-25 2003-10-01 Toyota Jidosha Kabushiki Kaisha Accumulator fuel injection control apparatus and method
US6144914A (en) * 1999-03-25 2000-11-07 Caterpillar Inc. Configurable speed timing interrupts
DE10139518A1 (de) * 2001-08-10 2003-03-06 Bosch Gmbh Robert Verfahren, Computerprogramm und Steuer- und/oder Regelgerät zum Betreiben einer Brennkraftmaschine
JP2003288237A (ja) * 2002-03-27 2003-10-10 Hitachi Ltd 制御装置における実行時間測定装置及び実行時間測定方法
DE10226903A1 (de) * 2002-06-17 2004-01-15 Siemens Ag Betriebsverfahren für eine Recheneinheit

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5340105A (en) * 1976-09-24 1978-04-12 Nippon Denso Co Ltd Automobile control unit
JPS6060024B2 (ja) * 1977-10-19 1985-12-27 株式会社日立製作所 エンジン制御方法
JPS5584858A (en) * 1978-12-18 1980-06-26 Nippon Denso Co Ltd Engine control
DE3072043D1 (en) * 1979-04-06 1987-11-19 Hitachi Ltd Electronic type engine control method and apparatus
JPS55137358A (en) * 1979-04-16 1980-10-27 Nissan Motor Co Ltd Controller for automobile
JPS5738642A (en) * 1980-08-19 1982-03-03 Nippon Denso Co Ltd Method of internal-combustion engine control
DE3224030A1 (de) * 1982-06-28 1983-12-29 Robert Bosch Gmbh, 7000 Stuttgart Verfahren zur steuerung eines mikrorechners
JPS59215930A (ja) * 1983-05-24 1984-12-05 Diesel Kiki Co Ltd 電子式内燃機関制御装置
DE3346368A1 (de) * 1983-12-22 1985-08-22 Robert Bosch Gmbh, 7000 Stuttgart Leerlaufdrehzahlregeleinrichtung fuer brennkraftmaschinen
JPH06100155B2 (ja) * 1985-12-20 1994-12-12 本田技研工業株式会社 エンジン制御装置の演算処理方法
WO1988006236A1 (en) * 1987-02-13 1988-08-25 Mitsubishi Denki Kabushiki Kaisha Method for controlling the operation of an engine for a vehicle

Also Published As

Publication number Publication date
EP0360528A3 (en) 1990-12-27
EP0360528A2 (en) 1990-03-28
JPH0765540B2 (ja) 1995-07-19
DE68901075D1 (de) 1992-04-30
US5095437A (en) 1992-03-10
EP0360528B1 (en) 1992-03-25

Similar Documents

Publication Publication Date Title
JPH0552707A (ja) 多気筒内燃機関の失火検出装置
JPS58143169A (ja) 点火時期制御方法
KR970066019A (ko) 엔진의 연소상태판별방법, 엔진의 제어방법 및 동 장치
JPH0286943A (ja) エンジン制御装置
JPH0823333B2 (ja) 内燃機関の点火時期制御装置
US5638278A (en) Apparatus for detecting an occurence of misfiring in an engine cylinder
JPH0526721A (ja) ノツキング検出装置
JP3326866B2 (ja) 内燃機関の回転位置検出装置
JP3961745B2 (ja) 内燃機関の失火検出装置
JPH0320592B2 (ja)
JPH0318639A (ja) エンジンの吸入空気量制御装置
JPH02233837A (ja) 内燃機関用逆転防止装置
JPH01294941A (ja) エンジンの制御装置
JP2850691B2 (ja) エンジンのディジタル制御装置
JP2749138B2 (ja) 内燃機関の燃焼異常検出装置
JPH0476250A (ja) 内燃機関の失火検出装置
JP2850583B2 (ja) 内燃機関の回転速度低下検出装置
JPS6168533A (ja) 内燃機関の最高燃焼圧力発生時期検出方法
JPS6013982A (ja) 内燃機関用点火時期制御装置
JPH0763108A (ja) 内燃機関の電子制御装置
JPS6187974A (ja) エンジンの点火時期制御装置
JPH0544525Y2 (ja)
JPH0230962A (ja) エンジンの制御装置
JPS63272933A (ja) 燃料噴射制御装置
JPS61145342A (ja) 燃料噴射時期制御装置

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees