JP2015218695A - Electronic controller for vehicle - Google Patents

Electronic controller for vehicle Download PDF

Info

Publication number
JP2015218695A
JP2015218695A JP2014104866A JP2014104866A JP2015218695A JP 2015218695 A JP2015218695 A JP 2015218695A JP 2014104866 A JP2014104866 A JP 2014104866A JP 2014104866 A JP2014104866 A JP 2014104866A JP 2015218695 A JP2015218695 A JP 2015218695A
Authority
JP
Japan
Prior art keywords
interrupt processing
crank angle
time
angle signal
processing time
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
JP2014104866A
Other languages
Japanese (ja)
Other versions
JP5822982B1 (en
Inventor
薫 今中
Kaoru Imanaka
薫 今中
義久 中谷
Yoshihisa Nakatani
義久 中谷
大塚 敏夫
Toshio Otsuka
敏夫 大塚
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2014104866A priority Critical patent/JP5822982B1/en
Application granted granted Critical
Publication of JP5822982B1 publication Critical patent/JP5822982B1/en
Publication of JP2015218695A publication Critical patent/JP2015218695A/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent an engine from being damaged due to a reduction of crank angle signal interval caused by an increase in the number of revolution of the engine, an increased amount of interruption treatment time carried out for every crank angle signal due to addition or improvement of control or occurrence of certain abnormal state at a micro-computer system.SOLUTION: An interruption treatment time carried out for every crank angle signal and an actual period of the crank angle signal are calculated in reference to a starting time and a finishing time of the interruption treatment carried out for every crank angle signal. The measured treatment time is compared with the previous treatment time, and a tolerance degree K is calculated in reference to a degree of increase or decrease of the calculated interruption treatment time. A time in which the tolerance degree K is subtracted from the interruption period is compared with the interruption treatment time and when the interruption treatment time is larger, supplying of fuel is stopped to enable an output of an engine 2 to be restricted.

Description

この発明は、エンジンを制御する車両用電子制御装置に関し、特にクランク角信号に同期した割込み処理が増大した場合でも、エンジンの破損を防止する車両用電子制御装置に関するものである。   The present invention relates to an electronic control device for a vehicle that controls an engine, and more particularly, to an electronic control device for a vehicle that prevents engine damage even when interrupt processing synchronized with a crank angle signal increases.

車両用電子制御装置は、エンジンが適切な状態で運転出来るように、エンジンに供給する燃料の量や燃料噴射のタイミング、点火コイルの通電時間や点火のタイミング、そして、エンジンが吸入する空気量をリアルタイムで制御する必要がある。このことから、車両用電子制御装置内の処理は、外部からの信号に拠らず同じ処理を繰り返し実行しているメイン処理、外部からの信号に同期して行う割込み処理、そして、装置内に装備されたマイクロコンピュータ(以下、マイコンという。)に内蔵されているタイマにより一定時間毎に行う定時間処理から構成されている。特に燃料噴射のタイミングや、点火のタイミングを制御するために、クランク角信号に同期した割込み処理での制御演算が必要となる。以下、これについて説明する。   The electronic control unit for a vehicle controls the amount of fuel supplied to the engine, the timing of fuel injection, the energization time and ignition timing of the ignition coil, and the amount of air taken in by the engine so that the engine can be operated in an appropriate state. It needs to be controlled in real time. From this, the processing in the vehicle electronic control device is the main processing that repeatedly executes the same processing without depending on the signal from the outside, the interrupt processing that is performed in synchronization with the signal from the outside, and in the device It consists of fixed-time processing that is performed at regular intervals by a timer built in an equipped microcomputer (hereinafter referred to as a microcomputer). In particular, in order to control the timing of fuel injection and the timing of ignition, it is necessary to perform a control operation in interrupt processing synchronized with the crank angle signal. This will be described below.

クランク角信号は、エンジンのクランク軸に取り付けられたクランク角信号プレートの出力信号を、クランク角センサで読み取ったもので、この信号が電子制御装置に送られている。クランク軸の回転数(物理的には回転速度というべきだが、慣習に倣い、ここでは回転数という。)のことを、一般的にエンジン回転数というため、以下においてはエンジン回転数という。エンジン回転数が上昇すると、クランク角信号の間隔はエンジン回転数に反比例して短くなるが、クランク角信号に同期した割込み処理の時間は、エンジン回転数に拠らずほぼ一定であるため、該時間がクランク角信号の間隔に占める割合は、相対的に上昇する。このため、エンジンの高回転時においては、該時間がクランク角信号の間隔内に完了するよう割込み処理の量を調整する必要があった。   The crank angle signal is obtained by reading an output signal of a crank angle signal plate attached to the crankshaft of the engine with a crank angle sensor, and this signal is sent to the electronic control unit. The number of rotations of the crankshaft (physically it should be referred to as the rotation speed, but according to convention, here referred to as the rotation speed) is generally referred to as the engine rotation speed, and is hereinafter referred to as the engine rotation speed. When the engine speed increases, the interval of the crank angle signal decreases in inverse proportion to the engine speed, but the interrupt processing time synchronized with the crank angle signal is almost constant regardless of the engine speed. The ratio of time to the crank angle signal interval increases relatively. For this reason, at the time of high engine rotation, it is necessary to adjust the amount of interrupt processing so that the time is completed within the interval of the crank angle signal.

例えば、特開2003−345404号公報(特許文献1)に開示された技術では、割込みが発生した際に、複数の異なる割込みレベルの割込みが同時に発生する。そして、この同時にかけられた割込み(多重割り込み)は、割り込み処理機構により、最も割込みレベルの高い処理から順に実行される。この実行対象の処理は、複数の処理単位から構成されており、制御手段は、各割込みレベルで実行する処理単位を設定する。これにより、各処理単位で設定された割込みレベルが、割り込み制御機構によって実行対象となった際に、その処理単位が実行されることとなる。よって、状況に応じて適切に割込み処理の量を調整することができる。   For example, in the technique disclosed in Japanese Patent Laid-Open No. 2003-345404 (Patent Document 1), when an interrupt occurs, a plurality of interrupts having different interrupt levels are generated simultaneously. The interrupts (multiple interrupts) that are simultaneously issued are executed in order from the process with the highest interrupt level by the interrupt processing mechanism. The processing to be executed is composed of a plurality of processing units, and the control means sets the processing units to be executed at each interrupt level. As a result, when the interrupt level set for each processing unit becomes an execution target by the interrupt control mechanism, that processing unit is executed. Therefore, the amount of interrupt processing can be adjusted appropriately according to the situation.

さらに、本出願人の出願に係る特願2013−126374号に開示された技術について図9により説明する。図9は、エンジン回転数と、クランク角信号に同期した割込み処理時間A及びクランク角信号周期Bの関係を表した図で、縦軸は、時間[μsec]、横軸はエンジン回転数[rpm]である。ここで割込み処理時間Aは割込み処理時間の最大時間を示し、クランク角信号周期Bは4気筒4サイクルエンジンでのクランク角信号周期である。Kはクランク角信号周期Bに対する割込処理時間の余裕度で、あらかじめ設定された一定値である。破線で示すCは、クランク角信号周期Bに対し、余裕度Kを減算した時間を示している。一般的には、クランク角信号周期Bより割込み処理時間Aが長くなる場合は、エンジンの破損の懸念が生じるため、割込み処理時間Aが、クランク角信号周期Bに対し余裕度Kを加味した時間Cより長くなる場合に、燃料カットを行えばよいことになる。   Furthermore, the technique disclosed in Japanese Patent Application No. 2013-126374 related to the application of the present applicant will be described with reference to FIG. FIG. 9 is a graph showing the relationship between the engine speed, the interrupt processing time A synchronized with the crank angle signal, and the crank angle signal period B. The vertical axis represents time [μsec], and the horizontal axis represents engine speed [rpm. ]. Here, the interrupt processing time A indicates the maximum interrupt processing time, and the crank angle signal period B is a crank angle signal period in a 4-cylinder 4-cycle engine. K is a margin of interrupt processing time with respect to the crank angle signal period B, and is a predetermined constant value. C indicated by a broken line indicates a time obtained by subtracting the margin K from the crank angle signal period B. In general, when the interrupt processing time A is longer than the crank angle signal cycle B, there is a fear of engine damage. Therefore, the interrupt processing time A is a time in which a margin K is added to the crank angle signal cycle B. When it becomes longer than C, the fuel cut may be performed.

特開2003−345404号公報JP 2003-345404 A

しかしながら、前記特許文献1の開示技術によれば、クランク角信号に同期した割込み処理中に水温情報を算出する処理があり、適切な水温情報を割込み処理のタイミングで得るためには、割込み処理の中で水温センサからの入力値をA/D変換する必要がある。このため、マイコン内部のA/D変換器に異常が発生し、A/D変換処理時間が延びた場合には、割込み処理が想定した時間に完了できず、クランク角信号の間隔内に完了しなくなる。その結果、クランク角度の判別を誤り、対象気筒ではない気筒に対し燃料制御や点火制御を行い、最悪の場合エンジンを破損する問題があった。   However, according to the technology disclosed in Patent Document 1, there is a process for calculating water temperature information during the interrupt process synchronized with the crank angle signal. In order to obtain appropriate water temperature information at the interrupt process timing, It is necessary to A / D convert the input value from the water temperature sensor. For this reason, when an abnormality occurs in the A / D converter inside the microcomputer and the A / D conversion processing time is extended, the interrupt processing cannot be completed at the expected time, and is completed within the interval of the crank angle signal. Disappear. As a result, there is a problem that the determination of the crank angle is wrong, fuel control or ignition control is performed on a cylinder that is not the target cylinder, and the engine is damaged in the worst case.

また、前記特願2013−126374号の開示技術では、余裕度Kをクランク角信号に同期した割込み処理時間とクランク角信号周期時間から一意的に設定する。例えば排ガス規制対応やドラビリ性能向上など車両の商品性を向上するための制御の追加や改良でクランク角信号に同期した割込み処理時間の増加が発生する場合、クランク角信号周期Bに対し余裕度Kを加味した時間Cより割込み処理時間Aが長くなるエンジン回転数の領域がより低回転側へ移ることとなる。そのため本来運転者がほとんど使用しないエンジン回転数が7000rpm以上の領域で燃料カットしていたものが、実用領域である例えば6500rpmで燃料カットしなければならなくなり、運転者が使用するエンジン回転数の領域が使用できなくなることで商品性を損なうという問題があった。   In the technology disclosed in Japanese Patent Application No. 2013-126374, the margin K is uniquely set from the interrupt processing time synchronized with the crank angle signal and the crank angle signal cycle time. For example, when an increase in interrupt processing time synchronized with the crank angle signal occurs due to the addition or improvement of control for improving the merchantability of the vehicle, such as compliance with exhaust gas regulations and improved drivability performance, the margin K for the crank angle signal period B Thus, the engine speed region in which the interrupt processing time A is longer than the time C in consideration of the above shifts to the lower speed side. Therefore, what was originally cut by the fuel in the region where the engine speed that is rarely used by the driver is 7000 rpm or more must be cut in the practical range, for example, 6500 rpm, and the region of the engine speed used by the driver However, there is a problem that merchantability is impaired due to the inability to use.

この発明は、かかる問題に鑑みてなされたもので、マイコン内部の機能に異常が発生したような場合でもエンジンの破損を防止すると共に、性能向上など車両の商品性を向上するための制御の追加や改良により、クランク角信号に同期した割込み処理時間の増加が発生し、割込み処理時間の最大時が増加した場合でも、運転者のエンジン回転数の実使用領域で燃料カットを行うことなく、車両の商品性を損なわない車両用電子制御装置を得ることを目的とするものである。   The present invention has been made in view of such a problem, and even when an abnormality occurs in the internal function of the microcomputer, the engine is prevented from being damaged, and the control is added to improve the merchantability of the vehicle such as performance improvement. Even if the interruption processing time increases in synchronization with the crank angle signal and the maximum interruption processing time increases, the vehicle does not cut the fuel in the actual use range of the engine speed of the driver. An object of the present invention is to obtain a vehicle electronic control device that does not impair the merchantability.

この発明に係る車両用電子制御装置は、クランク角センサからのクランク角信号に同期した割込みタイミングで、燃料噴射弁を制御する割込み処理部を備えた車両用電子制御装置であって、前記割込み処理部は、前記クランク角センサからのクランク角信号を検出するクランク角検出手段と、前回検出したクランク角信号と今回検出したクランク角信号との間隔を計測し、現在のエンジン回転速度に応じた割込み処理周期を計測する周期計測手段と、前回の割込み処理周期において実際にかかった割込み処理時間を計測する割込み処理時間計測手段と、前記割込み処理時間計測手段で計測された前回の割込み処理周期において実際にかかった割込み処理時間と、前々回の割込み処理周期において実際にかかった割込み処理時間とから割込み処理時間増減度を演算し、前記割込み処理時間増減度から余裕度を演算する余裕度算出手段と、前記割込み処理時間計測手段で計測された前記割込み処理時間が、前記周期計測手段で計測された前記割込み処理周期から前記余裕度算出手段で演算された余裕度を差し引いた時間以上となる場合には、燃料カットを行うと判定する燃料カット判定手段と、前記クランク角検出手段で検出されたクランク角信号に基づいて、今回の割込み処理周期が、燃料噴射タイミングであるか否かを判定する気筒判別手段と、今回の割込み処理周期において、前記気筒判別手段により前記燃料噴射タイミングであると判定され、かつ、前記燃料カット判定手段により前記燃料カットを行うと判定された場合には、前記燃料噴射弁の開弁時間を0に設定して、前記燃料噴射弁を制御する燃料出力手段と、を備えたものである。   The vehicle electronic control device according to the present invention is a vehicle electronic control device including an interrupt processing unit that controls a fuel injection valve at an interrupt timing synchronized with a crank angle signal from a crank angle sensor. The crank angle detection means for detecting the crank angle signal from the crank angle sensor measures the interval between the crank angle signal detected last time and the crank angle signal detected this time, and interrupts according to the current engine speed. A period measuring means for measuring the processing period, an interrupt processing time measuring means for measuring the interrupt processing time actually taken in the previous interrupt processing period, and an actual in the previous interrupt processing period measured by the interrupt processing time measuring means. Interrupt processing time and the actual interrupt processing time in the previous interrupt processing cycle. A margin calculating means for calculating a time increase / decrease degree, and calculating a margin from the interrupt processing time increase / decrease degree, and the interrupt processing time measured by the interrupt processing time measuring means is measured by the period measuring means. A fuel cut determination means for determining that a fuel cut is to be performed and a crank angle detected by the crank angle detection means when the time calculated by subtracting the margin calculated by the margin calculation means from the interrupt processing cycle Based on the signal, the cylinder determining means for determining whether or not the current interrupt processing cycle is a fuel injection timing, and the cylinder determining means in the current interrupt processing cycle is determined to be the fuel injection timing, When the fuel cut determination means determines that the fuel cut is to be performed, the valve opening time of the fuel injection valve is set to 0, and A fuel output unit for controlling the fuel injection valve, in which with a.

この発明によれば、実際の割込み処理時間を計測し、実際の割込み処理時間の増減変化に応じて余裕度Kを設定することにより、性能向上など車両の商品性を向上するための制御の追加や改良により、クランク角信号に同期した割込み処理時間の最大時が増加した場合でも、割込み処理時間の最大時を想定した一意的なエンジン回転数での燃料カットによる車両の商品性を損なうことを防止できる。また、マイコン内部のA/D変換器に異常が発生し、急にA/D変換処理時間が延びた場合でも、クランク角信号に同期した割込み処理をクランク角信号の間隔内に完了させ、クランク角度の判別を誤ることなく、対象気筒への燃料制御や点火制御を適切に行うことができ、燃料カットや点火時期制御を適切に行うことでエンジンの破損を防止することができる。   According to the present invention, the actual interruption processing time is measured, and the margin K is set according to the increase / decrease change of the actual interruption processing time, thereby adding control for improving the merchantability of the vehicle such as performance improvement. Even if the maximum interrupt processing time synchronized with the crank angle signal increases due to improvements or improvements, it will impair the merchantability of the vehicle due to a fuel cut at a unique engine speed that assumes the maximum interrupt processing time. Can be prevented. In addition, even if an abnormality occurs in the A / D converter inside the microcomputer and the A / D conversion processing time suddenly increases, interrupt processing synchronized with the crank angle signal is completed within the interval of the crank angle signal. It is possible to appropriately perform fuel control and ignition control on the target cylinder without erroneously determining the angle, and it is possible to prevent engine damage by appropriately performing fuel cut and ignition timing control.

この発明の実施の形態1に係る車両用電子制御装置が適用されるエンジンの電子制御系のシステム図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a system diagram of an engine electronic control system to which a vehicle electronic control device according to Embodiment 1 of the present invention is applied. 図1に示す制御装置の概要図である。It is a schematic diagram of the control apparatus shown in FIG. この発明の実施の形態1に係る車両用電子制御装置の制御の流れを表すブロック図である。It is a block diagram showing the flow of control of the electronic controller for vehicles concerning Embodiment 1 of this invention. この発明の実施の形態1に係る車両用電子制御装置内のCPUが実行する制御プログラムの初期化処理を示すフローチャートである。It is a flowchart which shows the initialization process of the control program which CPU in the electronic controller for vehicles concerning Embodiment 1 of this invention performs. この発明の実施の形態1に係る車両用電子制御装置内のCPUが実行する制御プログラムのメイン処理を示すフローチャートである。It is a flowchart which shows the main process of the control program which CPU in the electronic controller for vehicles concerning Embodiment 1 of this invention performs. この発明の実施の形態1に係る車両用電子制御装置における一連の割込み処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a series of interruption processes in the vehicle electronic control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る車両用電子制御装置における割込み処理時間増減度と余裕度の関係を表す図である。It is a figure showing the relationship between the interruption process time increase / decrease degree and margin in the vehicle electronic control apparatus which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係る車両用電子制御装置におけるエンジン回転数によるクランク角信号周期と割込み処理時間の関係を表す図である。It is a figure showing the relationship between the crank angle signal period by the engine speed and interruption processing time in the vehicle electronic control apparatus which concerns on Embodiment 1 of this invention. 従来の技術におけるエンジン回転数と、クランク角信号に同期した割込み処理時間と、クランク角信号周期の関係を表した図である。It is a figure showing the relationship between the engine speed in the prior art, the interruption processing time synchronized with the crank angle signal, and the crank angle signal cycle.

以下、この発明に係る車両用電子制御装置の好適な実施の形態について、図面を参照して説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a preferred embodiment of a vehicle electronic control device according to the invention will be described with reference to the drawings.

実施の形態1.
まず、説明の便宜上、この発明の実施の形態1に係る車両用電子制御装置が適用されるエンジンの電子制御系について説明する。図1は、実施の形態1に係る車両用電子制御装置が適用されるエンジンの電子制御系のシステム図である。
図1において、符号1は制御装置を示し、この制御装置1に、エンジン2の冷却水温センサ3、吸気管4に設けられた吸気圧力センサ5、スロットル開度センサ6、アクセル開度センサ7、クランク軸に同期して回転するクランク角信号プレート8から1回転あたり36回の高レベル信号を発生するクランク角センサ9、及び排気管10に設けられた空燃比センサ11等の検出信号が入力される。これらの検出信号に基づいて吸気管4に設けられた燃料噴射弁12、イグナイタ13、電子スロットルモータ14等へ出力信号が発せられてエンジン制御がなされる。なお、イグナイタ13と点火コイル15との間には各気筒の点火プラグ(図示しない)にイグナイタ13で発生した高電圧を順次分配するディストリビュータ16が配設されている。
Embodiment 1 FIG.
First, for convenience of explanation, an engine electronic control system to which the vehicle electronic control apparatus according to Embodiment 1 of the present invention is applied will be described. FIG. 1 is a system diagram of an electronic control system of an engine to which the vehicle electronic control device according to Embodiment 1 is applied.
In FIG. 1, reference numeral 1 denotes a control device. The control device 1 includes a cooling water temperature sensor 3 of the engine 2, an intake pressure sensor 5 provided in the intake pipe 4, a throttle opening sensor 6, an accelerator opening sensor 7, Detection signals from a crank angle sensor 9 that generates 36 high-level signals per rotation and an air-fuel ratio sensor 11 provided in the exhaust pipe 10 are input from a crank angle signal plate 8 that rotates in synchronization with the crankshaft. The Based on these detection signals, output signals are issued to the fuel injection valve 12, the igniter 13, the electronic throttle motor 14 and the like provided in the intake pipe 4, and the engine is controlled. A distributor 16 for sequentially distributing the high voltage generated by the igniter 13 to an ignition plug (not shown) of each cylinder is disposed between the igniter 13 and the ignition coil 15.

図2は、制御装置1の構成を示す図である。制御装置1は、マイコン20、入力インタ
ーフェース回路21、22、23、出力インターフェース24、制御プログラム及びデータを格納するROM25等により構成されている。なお、ROM25は、マイコン20に内蔵してもよく、図2のように外付けにしてもよい。マイコン20は、後述する制御プログラムに従って制御演算を行うCPU26、タイマとして働くカウンタ27、エンジン2の回転周期を計測するタイマ28、A/D変換器29、入力ポート30、ワークメモリ等として機能するRAM31、及び出力ポート32等より構成されている。
FIG. 2 is a diagram illustrating a configuration of the control device 1. The control device 1 includes a microcomputer 20, input interface circuits 21, 22, and 23, an output interface 24, a ROM 25 that stores a control program and data, and the like. The ROM 25 may be built in the microcomputer 20 or may be externally attached as shown in FIG. The microcomputer 20 includes a CPU 26 that performs control calculation according to a control program described later, a counter 27 that functions as a timer, a timer 28 that measures the rotation period of the engine 2, an A / D converter 29, an input port 30, a RAM 31 that functions as a work memory, and the like. And an output port 32 and the like.

入力インターフェース回路21には、クランク角センサ9の検出信号が入力される。この検出信号に基づいてCPU26においてエンジン2の回転数が算出される。このクランク角センサ9の高レベル信号は後述する制御プログラムの割り込み信号としても用いられる。入力インターフェース回路22には、冷却水温センサ3、吸気圧センサ5等の検出信号が入力され、入力インターフェース回路23には、例えばエアコンスイッチ等の各種デジタル信号33が入力されている。出力ポート32からは燃料噴射時間幅パルスが出力され、この燃料噴射時間幅パルスは、出力インターフェース24を介して燃料噴射弁12に出力される。なお、マイコン20には電源回路34を介して電源が供給され、また、RAM31には電源回路35を介してバックアップ電源が供給されている。   A detection signal from the crank angle sensor 9 is input to the input interface circuit 21. Based on this detection signal, the CPU 26 calculates the rotational speed of the engine 2. The high level signal of the crank angle sensor 9 is also used as an interrupt signal for a control program described later. Detection signals from the coolant temperature sensor 3 and the intake pressure sensor 5 are input to the input interface circuit 22, and various digital signals 33 such as an air conditioner switch are input to the input interface circuit 23. A fuel injection time width pulse is output from the output port 32, and this fuel injection time width pulse is output to the fuel injection valve 12 via the output interface 24. The microcomputer 20 is supplied with power through a power circuit 34, and the RAM 31 is supplied with backup power through a power circuit 35.

実施の形態1に係る車両用電子制御装置が適用されるエンジンの電子制御系は前記のように構成されており、次に、実施の形態1に係る車両用電子制御装置について説明する。図3は、実施の形態1に係る車両用電子制御装置の制御の流れを表すブロック図である。   The electronic control system of the engine to which the vehicle electronic control device according to the first embodiment is applied is configured as described above. Next, the vehicle electronic control device according to the first embodiment will be described. FIG. 3 is a block diagram illustrating a control flow of the vehicle electronic control device according to the first embodiment.

図3において、符号40はクランク角センサ9の検出信号を入力し、この検出信号に同期して起動される割込み処理を実行する割込み処理部を示し、符号41はメイン処理を実行するメイン処理部を示している。割込み処理部40は、クランク角検出手段40a、気筒識別手段40b、周期計測手段40c、割込み処理時間計測手段40d、余裕度算出手段40e、燃料カット判定手段40f、及び燃料出力手段40gを備えている。また、メイン処理部41は、エンジン回転数算出手段41a、吸入空気量算出手段41b、及び燃料噴射量算出手段41cを備えている。   In FIG. 3, reference numeral 40 denotes an interrupt processing unit that inputs a detection signal of the crank angle sensor 9 and executes interrupt processing that is started in synchronization with the detection signal, and reference numeral 41 denotes a main processing unit that executes main processing. Is shown. The interrupt processing unit 40 includes a crank angle detection unit 40a, a cylinder identification unit 40b, a cycle measurement unit 40c, an interrupt processing time measurement unit 40d, a margin calculation unit 40e, a fuel cut determination unit 40f, and a fuel output unit 40g. . The main processing unit 41 includes an engine speed calculation unit 41a, an intake air amount calculation unit 41b, and a fuel injection amount calculation unit 41c.

クランク角検出手段40aは、クランク角センサ9からのクランク角信号を検出し、前回の該割込み処理でRAM31に記憶していた処理開始時刻Tsを前回割込み処理開始時刻TsoとしてRAM31に記憶し、今回クランク角信号を検出した時刻を今回割込み処理開始時刻TsとしてRAM31に記憶すると共に、クランク角情報を得る。   The crank angle detection means 40a detects the crank angle signal from the crank angle sensor 9, stores the processing start time Ts stored in the RAM 31 in the previous interrupt processing in the RAM 31 as the previous interrupt processing start time Tso, and this time The time when the crank angle signal is detected is stored in the RAM 31 as the current interrupt processing start time Ts, and the crank angle information is obtained.

気筒識別手段40bは、クランク角検出手段40aで得たクランク角情報から現在圧縮工程である気筒を判別する。周期計測手段40cは、前回の該割込み処理でRAM31に記憶したクランク角信号の周期Ttを前回クランク角信号周期TtoとしてRAM31に記憶し、クランク角検出手段40aでRAM31に記憶した今回割込み処理開始時刻Tsと前回割込み処理開始時刻Tsoから今回クランク角信号周期Ttを演算しRAM31に記憶する。   The cylinder identification unit 40b determines the cylinder that is currently in the compression process from the crank angle information obtained by the crank angle detection unit 40a. The cycle measuring unit 40c stores the crank angle signal cycle Tt stored in the RAM 31 in the previous interrupt processing in the RAM 31 as the previous crank angle signal cycle Tto, and the current interrupt processing start time stored in the RAM 31 by the crank angle detecting unit 40a. The current crank angle signal period Tt is calculated from Ts and the previous interrupt processing start time Tso and stored in the RAM 31.

割込み処理時間計測手段40dは、前回の該割込みでRAM31に記憶した割込み処理時間Twを前回割込み処理時間TwoとしてRAM31に記憶し、クランク角検出手段40aでRAM31に記憶した今回割込み処理開始時刻Tsと、後述する割込み処理終了時刻Teから今回割込み処理時間Twを演算しRAM31に記憶する。余裕度算出手段40eは、割込み処理時間計測手段40dで計測した今回割込み処理時間Twと前回割込み処理時間Twoの差から割込み処理時間の増減度Twuを演算し、RAM31に記憶する。また、演算した割込み処理時間増減度Twuより余裕度Kを算出し、RAM31に記憶する。   The interrupt processing time measuring unit 40d stores the interrupt processing time Tw stored in the RAM 31 in the previous interrupt in the RAM 31 as the previous interrupt processing time Two, and the current interrupt processing start time Ts stored in the RAM 31 by the crank angle detecting unit 40a. The current interrupt processing time Tw is calculated from the interrupt processing end time Te described later, and stored in the RAM 31. The margin calculating means 40e calculates the increase / decrease degree Twu of the interrupt processing time from the difference between the current interrupt processing time Tw measured by the interrupt processing time measuring means 40d and the previous interrupt processing time Two, and stores it in the RAM 31. Further, the margin K is calculated from the calculated interruption processing time increase / decrease degree Twu and stored in the RAM 31.

燃料カット判定手段40fは、周期計測手段40cで求めた今回クランク角信号周期Ttと、余裕度算出手段40eより求めた余裕度Kと、割込み処理時間計測手段40dで求めた今回割込み処理時間Twを比較し、燃料カットを行うかどうかの判定を行う。燃料出力手段40gは、後述の燃料噴射量算出手段41cで求めた燃料噴射量から時間幅パルスに変換し、気筒判別手段40bで求めた気筒情報を元に燃料噴射弁12へ出力する。ただし、燃料カット判定手段40fで燃料カットと判定された場合に、時間幅パルスを0とする。   The fuel cut determination means 40f uses the current crank angle signal period Tt obtained by the period measurement means 40c, the margin K obtained by the margin calculation means 40e, and the current interruption processing time Tw obtained by the interruption processing time measurement means 40d. A comparison is made to determine whether or not to perform a fuel cut. The fuel output means 40g converts the fuel injection amount obtained by the fuel injection amount calculation means 41c, which will be described later, into a time width pulse, and outputs it to the fuel injection valve 12 based on the cylinder information obtained by the cylinder discrimination means 40b. However, the time width pulse is set to 0 when the fuel cut determination means 40f determines that the fuel is cut.

エンジン回転数算出手段41aは、周期計測手段40cで求めたクランク角信号の周期を元に、エンジン回転数を算出する。吸入空気量算出手段41bは、吸気圧センサ5の検出信号を元に、吸入空気量を算出する。燃料噴射量算出手段41cは、エンジン回転数算出手段41aで求めたエンジン回転数と、吸入空気量算出手段41bで求めた吸入空気量等から、燃料噴射量を演算する。   The engine speed calculation means 41a calculates the engine speed based on the cycle of the crank angle signal obtained by the period measurement means 40c. The intake air amount calculation means 41 b calculates the intake air amount based on the detection signal of the intake pressure sensor 5. The fuel injection amount calculating means 41c calculates the fuel injection amount from the engine speed obtained by the engine speed calculating means 41a and the intake air amount obtained by the intake air amount calculating means 41b.

図4は、CPU26が実行する制御プログラムの初期化処理を示す図で、制御装置1の起動時に実行される処理である。本処理が起動されると、まずステップ(以下、単にSという。)100にてマイコン20の動作環境を設定する。次にS101にてRAM31の初期化を行うと、図5に示すメイン処理へ移行する。   FIG. 4 is a diagram illustrating initialization processing of a control program executed by the CPU 26 and is processing executed when the control device 1 is started. When this process is started, first, the operating environment of the microcomputer 20 is set in step (hereinafter simply referred to as S) 100. Next, when the RAM 31 is initialized in S101, the process proceeds to the main process shown in FIG.

図5のメイン処理では、まずS200にて後述する割込み周期(Ts−Tso)からエンジン回転数を計算する。これは、図3のエンジン回転数算出手段41aで処理される。次に、S201にて冷却水温センサ3、吸気圧力センサ5等の検出結果に基づき燃料噴射量の計算を行う。これは、図3の燃料噴射量算出手段41cで処理される。この演算結果に基づいて燃料噴射弁12の開弁時間が制御される。   In the main process of FIG. 5, first, in S200, the engine speed is calculated from an interrupt cycle (Ts-Tso) described later. This is processed by the engine speed calculation means 41a of FIG. Next, in S201, the fuel injection amount is calculated based on the detection results of the cooling water temperature sensor 3, the intake pressure sensor 5, and the like. This is processed by the fuel injection amount calculating means 41c in FIG. Based on the calculation result, the valve opening time of the fuel injection valve 12 is controlled.

次に、冷却水温センサ3、アクセル開度センサ7等の検出結果に基づきS202で目標とする電子スロットル弁開度を計算する。目標とする電子スロットル弁開度の計算結果とスロットル開度センサ6の検出結果より、電子スロットル弁モータ動作量を計算する。この演算結果に基づいて電子スロットルモータ14が制御される。電子スロットル弁モータ動作量が算出されるとS200に戻り、以下、繰り返し実行される。   Next, the target electronic throttle valve opening is calculated in S202 based on the detection results of the coolant temperature sensor 3, the accelerator opening sensor 7, and the like. The electronic throttle valve motor operation amount is calculated from the calculation result of the target electronic throttle valve opening and the detection result of the throttle opening sensor 6. The electronic throttle motor 14 is controlled based on the calculation result. When the electronic throttle valve motor operation amount is calculated, the process returns to S200, and is repeatedly executed thereafter.

図6は、図3に示すブロック図の割込み処理部40での割込み処理をフローチャートで詳細に表したものである。
まず、S300にて前回の該割込み処理でRAM31に記憶していた処理開始時刻Tsを前回割込み処理開始時刻TsoとしてRAM31に記憶し、今回の該割込み処理の開始時刻を今回割込み処理開始時刻TsとしてRAM31に記憶する。これは、クランク角検出手段40aで実行される。
FIG. 6 is a detailed flowchart showing the interrupt processing in the interrupt processing unit 40 in the block diagram shown in FIG.
First, the processing start time Ts stored in the RAM 31 in the previous interrupt processing in S300 is stored in the RAM 31 as the previous interrupt processing start time Tso, and the current interrupt processing start time is set as the current interrupt processing start time Ts. Store in the RAM 31. This is executed by the crank angle detection means 40a.

次に、S301にて前回割込み処理開始時刻Tsoと今回割込み処理開始時刻Tsから割込み周期(Ts−Tso)を演算する。これは、周期計測手段40cで実行される。S302では後述するS313で算出した今回割込み処理時間Twと前回割込み処理時間Twoより割込み処理時間増減度Twu(=Tw−Two)を算出し、RAM31に記憶する。S303ではS302で算出された割込み処理時間増減度Twuより、余裕度Kを算出し、RAM31に記憶する。S302及びS303は、余裕度算出手段40eで実行される。   Next, in S301, the interrupt cycle (Ts-Tso) is calculated from the previous interrupt process start time Tso and the current interrupt process start time Ts. This is executed by the period measuring means 40c. In S302, the interrupt processing time increase / decrease degree Twu (= Tw−Two) is calculated from the current interrupt processing time Tw and the previous interrupt processing time Two calculated in S313, which will be described later, and stored in the RAM 31. In S303, the margin K is calculated from the interrupt processing time increase / decrease Twu calculated in S302 and stored in the RAM 31. S302 and S303 are executed by the margin calculation means 40e.

S304では、S301で算出した割込み周期(クランク角信号の周期)から余裕度Kを引いた時間と、前回の該割込み処理S313で算出しRAM31に記憶しておいた今回割込み処理時間Twを比較し、今回割込み処理時間Twが同等もしくはそれより大きかった場合は、S305で燃料カットフラグに1をセットしてS306に進み、今回割込み処
理時間Twが小さかった場合は、そのままS306に進む。ここで、S304及びS305は、燃料カット判定手段40fで実行される。
In S304, the time obtained by subtracting the margin K from the interrupt cycle (crank angle signal cycle) calculated in S301 is compared with the current interrupt processing time Tw calculated in the previous interrupt processing S313 and stored in the RAM 31. If the current interrupt processing time Tw is equal to or longer than that, the fuel cut flag is set to 1 in S305 and the process proceeds to S306. If the current interrupt processing time Tw is shorter, the process proceeds to S306 as it is. Here, S304 and S305 are executed by the fuel cut determination means 40f.

次に、S306で今回の該割込み処理が燃料噴射タイミングかどうかを判定する。これは、気筒判別手段40bで実行される。S306で燃料噴射タイミングでないと判定された場合は、S312に進み、燃料噴射タイミングであると判定された場合は、S307において図5のS201で求めた燃料噴射量から時間幅パルスへ変換する。そして、S308で燃料カットフラグが1かどうかを判定し、燃料カットフラグが1である場合は、S309にて時間幅パルスを0に置き換えS310に移り、燃料カットフラグが1でない場合はそのままS310に移る。S310ではS309までで設定した時間幅パルスを出力ポート32へ出力する。S311では、次回の該割込み処理に備えて燃料カットフラグを0にクリアしてS312に進む。S307からS311は、燃料出力手段40gで実行される。   Next, in S306, it is determined whether or not the current interrupt process is the fuel injection timing. This is executed by the cylinder discriminating means 40b. If it is determined in S306 that it is not the fuel injection timing, the process proceeds to S312. If it is determined that it is the fuel injection timing, the fuel injection amount obtained in S201 of FIG. 5 is converted into a time width pulse in S307. In S308, it is determined whether or not the fuel cut flag is 1. If the fuel cut flag is 1, the time width pulse is replaced with 0 in S309, and the process proceeds to S310. If the fuel cut flag is not 1, the process proceeds to S310. Move. In S310, the time width pulse set up to S309 is output to the output port 32. In S311, the fuel cut flag is cleared to 0 in preparation for the next interruption process, and the process proceeds to S312. S307 to S311 are executed by the fuel output means 40g.

S312では、タイマ28の値を今回割込み処理終了時刻Teとして、RAM31に記憶する。S313では前回の該割込み処理でRAM31に記憶していた割込み処理時間Twを前回割込み処理時間TwoとしてRAM31に記憶し、S312で記憶した今回割込み処理終了時刻Teと、S300でRAM31に記憶していた今回割込み処理開始時刻Tsとから該割込み処理の時間を計算し、今回割込み処理時間TwとしてRAM31に記憶する。S312及びS313は、割込み処理時間計測手段40dで実行される。割込み処理完了後は、メイン処理に復帰する。   In S312, the value of the timer 28 is stored in the RAM 31 as the current interrupt processing end time Te. In S313, the interrupt processing time Tw stored in the RAM 31 in the previous interrupt processing is stored in the RAM 31 as the previous interrupt processing time Two, and is stored in the RAM 31 in S300 and the current interrupt processing end time Te stored in S312. The interrupt processing time is calculated from the current interrupt processing start time Ts and stored in the RAM 31 as the current interrupt processing time Tw. S312 and S313 are executed by the interrupt processing time measuring means 40d. After completion of the interrupt process, the process returns to the main process.

図7は、実施の形態1に係る車両用電子制御装置における割込み処理時間増減度と余裕度の関係を表す図である。割込み処理時間増減度Twuが大きくなる程、余裕度Kは大きくなる。図中Kaは割込み処理時間増減度Twuがaのときの余裕度Kであり、Kbは割込み処理時間増減度Twuがbのときの余裕度Kを示している。   FIG. 7 is a diagram illustrating the relationship between the degree of increase / decrease in interrupt processing time and the margin in the vehicle electronic control device according to the first embodiment. The margin K increases as the interrupt processing time increase / decrease degree Twu increases. In the figure, Ka is a margin K when the interrupt processing time increase / decrease degree Twu is a, and Kb indicates a margin K when the interrupt processing time increase / decrease Twu is b.

図8は、実施の形態1に係る車両用電子制御装置におけるエンジン回転数によるクランク角信号周期と割込み処理時間の関係を表す図で、縦軸は時間[μsec]、横軸はエンジン回転数[rpm]を示している。
図8中の一点鎖線Dは、制御改良等により処理が増加した状態でのクランク角信号に同期した割込み処理時間を表す。ここで割込み処理時間Dは割込み処理時間の最大時間を示す。実線Bは4気筒4サイクルエンジンでのクランク角信号周期である。EとFはクランク角信号周期Bに対し、余裕度Kを加味した時間を示している。図7における余裕度KがKbの場合に、クランク角信号周期に対し余裕度Kを減算した時間がEとなり、図7における余裕度KがKaの場合に、クランク角信号周期に対し余裕度Kを減算した時間がFとなる。
FIG. 8 is a diagram showing the relationship between the crank angle signal period and the interrupt processing time according to the engine speed in the vehicle electronic control device according to the first embodiment. The vertical axis represents time [μsec], and the horizontal axis represents engine speed [ rpm].
An alternate long and short dash line D in FIG. 8 represents an interrupt processing time synchronized with the crank angle signal in a state in which the processing has increased due to control improvement or the like. Here, the interrupt processing time D indicates the maximum interrupt processing time. A solid line B is a crank angle signal period in a four-cylinder four-cycle engine. E and F indicate the time with the allowance K added to the crank angle signal period B. When the margin K in FIG. 7 is Kb, the time obtained by subtracting the margin K from the crank angle signal period is E, and when the margin K in FIG. 7 is Ka, the margin K with respect to the crank angle signal period. The time obtained by subtracting is F.

以上のように、実施の形態1に係る車両用電子制御装置によれば、割込み処理時間の増減度が小さい場合、余裕度を小さく設定可能となり、エンジン回転数が7000rpmまで燃料カットすることなく回すことが可能となり、その結果商品性を向上させることが可能となる。また、割込み処理時間の増減度が大きい場合、余裕度を大きくすることで、割込み処理時間がクランク角信号周期を超える前に適切に燃料カットを行うことで、エンジンの破損を防止可能となる。   As described above, according to the vehicle electronic control device according to the first embodiment, when the increase / decrease degree of the interrupt processing time is small, the margin can be set small, and the engine speed is rotated to 7000 rpm without cutting the fuel. As a result, the merchantability can be improved. Further, when the degree of increase / decrease in the interrupt processing time is large, it is possible to prevent the engine from being damaged by appropriately cutting the fuel before the interrupt processing time exceeds the crank angle signal period by increasing the margin.

以上においては、この発明の実施の形態1に係る車両用電子制御装置について説明したが、この発明は、その発明の範囲内において、実施の形態を適宜、変形、省略することが可能である。   In the above, the vehicular electronic control apparatus according to the first embodiment of the present invention has been described. However, the present invention can be appropriately modified or omitted within the scope of the present invention.

1 制御装置、2 エンジン、3 冷却水温センサ、4 吸気管、5 吸気圧力センサ、6 スロットル開度センサ、7 アクセル開度センサ、8 クランク角信号プレート、9
クランク角センサ、10 排気管、11 空燃比センサ、12 燃料噴射弁、13 イグナイタ、14 電子スロットルモータ、15 点火コイル、16 ディストリビュータ、20 マイコン、21、22、23 入力インターフェース回路、24 出力インターフェース、25 ROM、26 CPU、27 カウンタ、28 タイマ、29 A/D変換器、30 入力ポート、31 RAM、32 出力ポート、33 各種デジタル信号、34、35 電源回路、40 割込み処理部、40a クランク角検出手段、40b 気筒識別手段、40c 周期計測手段、40d 割込み処理時間計測手段、40e 余裕度算出手段、40f 燃料カット判定手段、40g 燃料出力手段、41 メイン処理部、41a エンジン回転数算出手段、41b 吸入空気量算出手段、41c 燃料噴射量算出手段。
1 control device, 2 engine, 3 coolant temperature sensor, 4 intake pipe, 5 intake pressure sensor, 6 throttle opening sensor, 7 accelerator opening sensor, 8 crank angle signal plate, 9
Crank angle sensor, 10 exhaust pipe, 11 air-fuel ratio sensor, 12 fuel injection valve, 13 igniter, 14 electronic throttle motor, 15 ignition coil, 16 distributor, 20 microcomputer, 21, 22, 23 input interface circuit, 24 output interface, 25 ROM, 26 CPU, 27 counter, 28 timer, 29 A / D converter, 30 input port, 31 RAM, 32 output port, 33 various digital signals, 34, 35 power supply circuit, 40 interrupt processing unit, 40a crank angle detection means 40b cylinder identification means, 40c period measurement means, 40d interrupt processing time measurement means, 40e margin calculation means, 40f fuel cut determination means, 40g fuel output means, 41 main processing section, 41a engine speed calculation means, 41b intake air Quantity calculating means, 41c Fuel injection amount calculating means.

この発明に係る車両用電子制御装置は、クランク角センサからのクランク角信号に同期した割込みタイミングで、燃料噴射弁を制御する割込み処理部を備えた車両用電子制御装置であって、前記割込み処理部は、前記クランク角センサからのクランク角信号を検出するクランク角検出手段と、前回検出したクランク角信号と今回検出したクランク角信号との間隔を計測し、現在のエンジン回転速度に応じた割込み処理周期を計測する周期計測手段と、前回の割込み処理周期において実際にかかった割込み処理時間を計測する割込み処理時間計測手段と、前記割込み処理時間計測手段で計測された前回の割込み処理周期において実際にかかった割込み処理時間と、前々回の割込み処理周期において実際にかかった割込み処理時間とから割込み処理時間増減度を演算し、前記割込み処理時間増減度が大きくなるほど、余裕度を大きくするように余裕度を演算する余裕度算出手段と、前記割込み処理時間計測手段で計測された前記割込み処理時間が、前記周期計測手段で計測された前記割込み処理周期から前記余裕度算出手段で演算された余裕度を差し引いた時間以上となる場合には、燃料カットを行うと判定する燃料カット判定手段と、前記クランク角検出手段で検出されたクランク角信号に基づいて、今回の割込み処理周期が、燃料噴射タイミングであるか否かを判定する気筒判別手段と、今回の割込み処理周期において、前記気筒判別手段により前記燃料噴射タイミングであると判定され、かつ、前記燃料カット判定手段により前記燃料カットを行うと判定された場合には、前記燃料噴射弁の開弁時間をに設定して、前記燃料噴射弁を制御する燃料出力手段と、を備えたものである。 The vehicle electronic control device according to the present invention is a vehicle electronic control device including an interrupt processing unit that controls a fuel injection valve at an interrupt timing synchronized with a crank angle signal from a crank angle sensor. The crank angle detection means for detecting the crank angle signal from the crank angle sensor measures the interval between the crank angle signal detected last time and the crank angle signal detected this time, and interrupts according to the current engine speed. A period measuring means for measuring the processing period, an interrupt processing time measuring means for measuring the interrupt processing time actually taken in the previous interrupt processing period, and an actual in the previous interrupt processing period measured by the interrupt processing time measuring means. Interrupt processing time and the actual interrupt processing time in the previous interrupt processing cycle. Calculates the time increase and decrease degree of the interrupt processing time increase and decrease degree becomes larger, the margin calculation means for calculating a margin to increase the margin, is the interrupt processing time measured by the interrupt processing time measurement means A fuel cut determining means for determining that a fuel cut is to be performed when the time is equal to or longer than a time obtained by subtracting the margin calculated by the margin calculating means from the interrupt processing cycle measured by the period measuring means; Based on the crank angle signal detected by the crank angle detection means, the cylinder discrimination means for determining whether or not the current interrupt processing cycle is the fuel injection timing, and in the current interrupt processing cycle, the cylinder discrimination means When it is determined that it is the fuel injection timing and the fuel cut determination means determines that the fuel cut is to be performed, the fuel injection timing is determined. The opening time of the injection valve is set to zero, the fuel output means for controlling said fuel injection valve, in which with a.

燃料カット判定手段40fは、周期計測手段40cで求めた今回クランク角信号周期Ttと、余裕度算出手段40eより求めた余裕度Kと、割込み処理時間計測手段40dで求めた今回割込み処理時間Twを比較し、燃料カットを行うかどうかの判定を行う。燃料出力手段40gは、後述の燃料噴射量算出手段41cで求めた燃料噴射量から時間幅パルスに変換し、気筒判別手段40bで求めた気筒情報を元に燃料噴射弁12へ出力する。ただし、燃料カット判定手段40fで燃料カットと判定された場合に、時間幅パルスをとする。 The fuel cut determination means 40f uses the current crank angle signal period Tt obtained by the period measurement means 40c, the margin K obtained by the margin calculation means 40e, and the current interruption processing time Tw obtained by the interruption processing time measurement means 40d. A comparison is made to determine whether or not to perform a fuel cut. The fuel output means 40g converts the fuel injection amount obtained by the fuel injection amount calculation means 41c, which will be described later, into a time width pulse, and outputs it to the fuel injection valve 12 based on the cylinder information obtained by the cylinder discrimination means 40b. However, when it is determined that the fuel cut is determined by the fuel cut determination means 40f, the time width pulse is set to zero .

次に、S306で今回の該割込み処理が燃料噴射タイミングかどうかを判定する。これは、気筒判別手段40bで実行される。S306で燃料噴射タイミングでないと判定された場合は、S312に進み、燃料噴射タイミングであると判定された場合は、S307において図5のS201で求めた燃料噴射量から時間幅パルスへ変換する。そして、S308で燃料カットフラグが1かどうかを判定し、燃料カットフラグが1である場合は、S309にて時間幅パルスをに置き換えS310に移り、燃料カットフラグが1でない場合はそのままS310に移る。S310ではS309までで設定した時間幅パルスを出力ポート32へ出力する。S311では、次回の該割込み処理に備えて燃料カットフラグをにクリアしてS312に進む。S307からS311は、燃料出力手段40gで実行される。 Next, in S306, it is determined whether or not the current interrupt process is the fuel injection timing. This is executed by the cylinder discriminating means 40b. If it is determined in S306 that it is not the fuel injection timing, the process proceeds to S312. If it is determined that it is the fuel injection timing, the fuel injection amount obtained in S201 of FIG. 5 is converted into a time width pulse in S307. Then, in S308, it is determined whether or not the fuel cut flag is 1. If the fuel cut flag is 1, the time width pulse is replaced with zero in S309, and the process proceeds to S310. If the fuel cut flag is not 1, the process directly proceeds to S310. Move. In S310, the time width pulse set up to S309 is output to the output port 32. In S311, the fuel cut flag is cleared to zero in preparation for the next interruption process, and the process proceeds to S312. S307 to S311 are executed by the fuel output means 40g.

Claims (1)

クランク角センサからのクランク角信号に同期した割込みタイミングで、燃料噴射弁を制御する割込み処理部を備えた車両用電子制御装置であって、
前記割込み処理部は、
前記クランク角センサからのクランク角信号を検出するクランク角検出手段と、
前回検出したクランク角信号と今回検出したクランク角信号との間隔を計測し、現在のエンジン回転速度に応じた割込み処理周期を計測する周期計測手段と、
前回の割込み処理周期において実際にかかった割込み処理時間を計測する割込み処理時間計測手段と、
前記割込み処理時間計測手段で計測された前回の割込み処理周期において実際にかかった割込み処理時間と、前々回の割込み処理周期において実際にかかった割込み処理時間とから割込み処理時間増減度を演算し、前記割込み処理時間増減度から余裕度を演算する余裕度算出手段と、
前記割込み処理時間計測手段で計測された前記割込み処理時間が、前記周期計測手段で計測された前記割込み処理周期から前記余裕度算出手段で演算された余裕度を差し引いた時間以上となる場合には、燃料カットを行うと判定する燃料カット判定手段と、
前記クランク角検出手段で検出されたクランク角信号に基づいて、今回の割込み処理周期が、燃料噴射タイミングであるか否かを判定する気筒判別手段と、
今回の割込み処理周期において、前記気筒判別手段により前記燃料噴射タイミングであると判定され、かつ、前記燃料カット判定手段により前記燃料カットを行うと判定された場合には、前記燃料噴射弁の開弁時間を0に設定して、前記燃料噴射弁を制御する燃料出力手段と、を備えたことを特徴とする車両用電子制御装置。
An electronic control device for a vehicle including an interrupt processing unit that controls a fuel injection valve at an interrupt timing synchronized with a crank angle signal from a crank angle sensor,
The interrupt processing unit
Crank angle detection means for detecting a crank angle signal from the crank angle sensor;
A cycle measuring means for measuring the interval between the crank angle signal detected last time and the crank angle signal detected this time, and measuring an interrupt processing cycle according to the current engine speed;
Interrupt processing time measuring means for measuring the interrupt processing time actually taken in the previous interrupt processing cycle;
The interrupt processing time increase / decrease degree is calculated from the interrupt processing time actually taken in the previous interrupt processing cycle measured by the interrupt processing time measuring means and the interrupt processing time actually taken in the previous interrupt processing cycle, A margin calculation means for calculating a margin from the degree of increase / decrease in interrupt processing time,
When the interrupt processing time measured by the interrupt processing time measuring unit is equal to or longer than the time obtained by subtracting the margin calculated by the margin calculating unit from the interrupt processing cycle measured by the cycle measuring unit. A fuel cut determination means for determining that a fuel cut is to be performed;
Cylinder determination means for determining whether or not the current interrupt processing cycle is fuel injection timing based on the crank angle signal detected by the crank angle detection means;
In the current interrupt processing cycle, when it is determined by the cylinder determining means that the fuel injection timing is reached and the fuel cut determining means determines that the fuel cut is to be performed, the fuel injection valve is opened. And a fuel output means for controlling the fuel injection valve by setting the time to zero.
JP2014104866A 2014-05-21 2014-05-21 Electronic control device for vehicle Expired - Fee Related JP5822982B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014104866A JP5822982B1 (en) 2014-05-21 2014-05-21 Electronic control device for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014104866A JP5822982B1 (en) 2014-05-21 2014-05-21 Electronic control device for vehicle

Publications (2)

Publication Number Publication Date
JP5822982B1 JP5822982B1 (en) 2015-11-25
JP2015218695A true JP2015218695A (en) 2015-12-07

Family

ID=54696265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014104866A Expired - Fee Related JP5822982B1 (en) 2014-05-21 2014-05-21 Electronic control device for vehicle

Country Status (1)

Country Link
JP (1) JP5822982B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003345404A (en) * 2002-05-24 2003-12-05 Denso Corp Electronic control device and program
JP2015001200A (en) * 2013-06-17 2015-01-05 三菱電機株式会社 Electronic control device for vehicle and electronic control method for vehicle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003345404A (en) * 2002-05-24 2003-12-05 Denso Corp Electronic control device and program
JP2015001200A (en) * 2013-06-17 2015-01-05 三菱電機株式会社 Electronic control device for vehicle and electronic control method for vehicle

Also Published As

Publication number Publication date
JP5822982B1 (en) 2015-11-25

Similar Documents

Publication Publication Date Title
JP4501838B2 (en) Vehicle abnormality diagnosis device
US20020078925A1 (en) Fail-safe system for combustion engine control
JP2007120334A (en) Abnormality diagnostic device of vehicle driving system
JPWO2014064838A1 (en) Automatic stop / restart device for internal combustion engine and automatic stop / restart method for internal combustion engine
US20150192498A1 (en) Engine Misfiring Diagnosis Device
JPH09506954A (en) Function monitoring method for misfire identification in internal combustion engines
US20150240728A1 (en) Output control device for vehicle
JP2009221856A (en) Misfire diagnostic device for engine
JP2011179406A (en) Abnormality determining device of water temperature sensor
JP5550770B1 (en) Vehicle electronic control device and vehicle electronic control method
US10006381B2 (en) Diagnostic system and diagnostic method for internal combustion engine
JP5822982B1 (en) Electronic control device for vehicle
JP2007192139A (en) Control device for engine
JP6264332B2 (en) Engine control device
JP2009197655A (en) Engine diagnosis device
JP6269599B2 (en) Engine control device
JP6485253B2 (en) Engine control device
JP2002004936A (en) Detector for misfire of internal combustion engine
JPH116461A (en) Engine control device and its recording medium
JP4865447B2 (en) Operation check method and operation check device when heavy knock occurs in engine
JP5980112B2 (en) Vehicle information storage processing device and vehicle information storage processing method
JP2007218203A (en) Ignition failure diagnostic device, ignition failure diagnostic system and ignition failure diagnostic method
JP6729114B2 (en) Control device for internal combustion engine
JP6253698B2 (en) Atmospheric pressure estimation device
JP6088209B2 (en) Control device for internal combustion engine

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150908

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151006

R151 Written notification of patent or utility model registration

Ref document number: 5822982

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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