JP2022088860A - Controller for internal combustion engine - Google Patents
Controller for internal combustion engine Download PDFInfo
- Publication number
- JP2022088860A JP2022088860A JP2020200963A JP2020200963A JP2022088860A JP 2022088860 A JP2022088860 A JP 2022088860A JP 2020200963 A JP2020200963 A JP 2020200963A JP 2020200963 A JP2020200963 A JP 2020200963A JP 2022088860 A JP2022088860 A JP 2022088860A
- Authority
- JP
- Japan
- Prior art keywords
- rotation
- internal combustion
- combustion engine
- data
- control device
- 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
Links
- 238000002485 combustion reaction Methods 0.000 title claims abstract description 35
- 238000012545 processing Methods 0.000 claims abstract description 28
- 230000001360 synchronised effect Effects 0.000 claims abstract description 6
- 238000000034 method Methods 0.000 claims description 58
- 239000000446 fuel Substances 0.000 claims description 29
- 238000002347 injection Methods 0.000 claims description 27
- 239000007924 injection Substances 0.000 claims description 27
- 230000004044 response Effects 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 4
- 238000004364 calculation method Methods 0.000 description 18
- MWUXSHHQAYIFBG-UHFFFAOYSA-N Nitric oxide Chemical compound O=[N] MWUXSHHQAYIFBG-UHFFFAOYSA-N 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 239000000498 cooling water Substances 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000004043 responsiveness Effects 0.000 description 2
- 239000004215 Carbon black (E152) Substances 0.000 description 1
- UGFAIRIUMAVXCW-UHFFFAOYSA-N Carbon monoxide Chemical compound [O+]#[C-] UGFAIRIUMAVXCW-UHFFFAOYSA-N 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 229910002091 carbon monoxide Inorganic materials 0.000 description 1
- 239000003054 catalyst Substances 0.000 description 1
- 239000003638 chemical reducing agent Substances 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000007789 gas Substances 0.000 description 1
- 239000000383 hazardous chemical Substances 0.000 description 1
- 229930195733 hydrocarbon Natural products 0.000 description 1
- 150000002430 hydrocarbons Chemical class 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Abstract
Description
本発明は、内燃機関の制御装置に関する。 The present invention relates to a control device for an internal combustion engine.
自動車などの車両に搭載された内燃機関を制御する場合、故障診断など所定時間ごとに実行する時間同期処理(定常処理)に加えて、特開2013-142306号公報(特許文献1)に記載されるように、エンジン回転数に比例するパルス信号に同期して燃料噴射制御や点火制御などの回転同期処理を実行する必要がある。 When controlling an internal combustion engine mounted on a vehicle such as an automobile, it is described in Japanese Patent Application Laid-Open No. 2013-142306 (Patent Document 1) in addition to a time synchronization process (steady process) executed at predetermined time intervals such as failure diagnosis. Therefore, it is necessary to execute rotation synchronization processing such as fuel injection control and ignition control in synchronization with the pulse signal proportional to the engine speed.
ところで、内燃機関の制御では、例えば、応答性やドライバビリティなどを担保するため、所定の制御周期(制御サイクル)内に時間同期処理及び回転同期処理が完了しなければならない。しかしながら、回転同期処理の実行回数はエンジン回転数に比例して増加するため、エンジン回転数が高回転の領域では回転同期処理を実行する演算負荷が増加してしまう。エンジン回転数が高回転の領域において、制御周期内に想定され得る時間同期処理及び回転同期処理が完了するように制御周期を設定すると、エンジン回転数が低回転の領域において、時間同期処理を実行する時間間隔が長くなって所要の機能を発揮できなくなる可能性がある。 By the way, in the control of an internal combustion engine, for example, in order to ensure responsiveness, drivability, etc., the time synchronization process and the rotation synchronization process must be completed within a predetermined control cycle (control cycle). However, since the number of rotation synchronization processes executed increases in proportion to the engine speed, the computational load for executing the rotation synchronization process increases in the region where the engine speed is high. If the control cycle is set so that the time synchronization processing and the rotation synchronization processing that can be expected within the control cycle are completed in the region where the engine speed is high, the time synchronization processing is executed in the region where the engine speed is low. There is a possibility that the required function cannot be achieved due to the long time interval.
そこで、本発明は、時間同期処理及び回転同期処理を実行する演算負荷を低減することができる、内燃機関の制御装置を提供することを目的とする。 Therefore, an object of the present invention is to provide a control device for an internal combustion engine capable of reducing the calculation load for executing the time synchronization process and the rotation synchronization process.
内燃機関の制御装置は、第1の揮発性メモリ、これよりアクセス速度が高速な第2の揮発性メモリを備え、時間に同期した時間同期処理、及び内燃機関の回転に同期した回転同期処理を夫々実行する。そして、回転同期処理において使用されるデータの少なくとも一部が、第2の揮発性メモリに静的に割り当てられている。 The control device of the internal combustion engine includes a first volatile memory and a second volatile memory having a faster access speed, and performs time-synchronized time-synchronized processing and rotation-synchronized processing synchronized with the rotation of the internal combustion engine. Execute each. Then, at least a part of the data used in the rotation synchronization process is statically allocated to the second volatile memory.
本発明によれば、内燃機関の制御装置において、時間同期処理及び回転同期処理を実行する演算負荷を低減することができる。 According to the present invention, it is possible to reduce the calculation load for executing the time synchronization process and the rotation synchronization process in the control device of the internal combustion engine.
以下、添付された図面を参照し、本発明を実施するための実施形態について詳述する。
図1は、本実施形態に係る内燃機関の制御装置が適用され得る、乗用車、トラック、バス及び建設機械などの車両用エンジンのシステム構成を示している。
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 shows a system configuration of an engine for a vehicle such as a passenger car, a truck, a bus, and a construction machine to which a control device for an internal combustion engine according to the present embodiment can be applied.
エンジン100(内燃機関)は、例えば、直列4気筒のガソリンエンジンであって、各気筒の燃焼室110に吸気(吸入空気)を導入する吸気ポート120には、燃焼室110を臨む先端開口を開閉する吸気弁130が配設されている。また、エンジン100の上部の所定箇所には、燃焼室110に燃料を直接噴射する筒内噴射式の燃料噴射弁140、及び燃焼室110に存在する燃料と吸気との混合気を着火燃焼させる点火プラグ150が夫々取り付けられている。
The engine 100 (internal combustion engine) is, for example, an in-line 4-cylinder gasoline engine, and the
燃料噴射弁140は、電磁コイルへの通電によって磁気吸引力が発生すると、スプリングによって閉弁方向に付勢されている弁体がリフトして開弁し、先端のノズル噴孔から燃料を燃焼室110内に噴射供給する。燃料噴射弁140には、弁体の開弁時間に比例した燃料が噴射されるように、所定圧力に調圧された燃料が供給されている。なお、燃料噴射弁140としては、筒内噴射式の燃料噴射弁に限らず、吸気ポート120に燃料を噴射するポート噴射式の燃料噴射弁であってもよい。
When a magnetic attraction force is generated by energizing the electromagnetic coil, the
燃料噴射弁140から燃焼室110内に噴射された燃料は、エンジン100の上部に取り付けられた点火プラグ150の周囲に濃度の濃い層を形成し、点火プラグ150の火花点火によって着火燃焼される。そして、この燃焼圧力がピストン160をクランクシャフト(図示せず)に向けて押し下げることで、クランクシャフトを回転駆動させる。
The fuel injected from the
また、燃焼室110から排気を導出する排気ポート170には、燃焼室110を臨む先端開口を開閉する排気弁180が配設されている。そして、排気弁180が開弁すると、排気ポート170と排気弁180との間の隙間を通って、排気が燃焼室110から排出される。燃焼室110から排出された排気に含まれる有害物質(一酸化炭素CO,炭化水素HC及び窒素酸化物NOx)は、図示しない三元触媒によって無害成分に浄化された後、大気中に放出される。
Further, an
吸気弁130を開閉駆動する吸気カムシャフト190の端部には、出力向上、燃費向上及び排気抑制などを目的として、エンジン運転状態に応じてクランクシャフトに対する吸気カムシャフト190の回転位相を変化させることで、吸気弁130のバルブタイミングを変更する可変バルブタイミング機構(VTC)200が取り付けられている。
At the end of the
VTC200は、図2に示すように、クランクシャフトの回転駆動力を伝達するカムチェーンが巻き回されるカムスプロケット202と一体化され、減速機が内蔵された電動モータなどのアクチュエータ204により、カムスプロケット202に対して吸気カムシャフト190を相対回転させることで、バルブタイミングを進角又は遅角させる。ここで、図2において符号206で示す部材は、アクチュエータ204に駆動信号を供給するハーネスを接続するためのコネクタである。
As shown in FIG. 2, the VTC 200 is integrated with a
なお、VTC200としては、図2に示す構成に限らず、電動モータ、油圧モータなどの各種アクチュエータによりバルブタイミングを変更可能であれば、如何なる構成をなしていてもよい。また、VTC200は、吸気カムシャフト190に限らず、排気弁180を開閉駆動する排気カムシャフト210、又は吸気カムシャフト190及び排気カムシャフト210の両方に備え付けられていてもよい。
The VTC 200 is not limited to the configuration shown in FIG. 2, and may have any configuration as long as the valve timing can be changed by various actuators such as an electric motor and a hydraulic motor. Further, the VTC 200 is not limited to the
エンジン100の制御系として、エンジン100の所定箇所には、クランクシャフトの基準位置(例えば、上死点位置)からの回転角度を表すパルス信号を含んだクランク角信号を出力するクランク角センサ220、並びに各気筒を判別するパルス信号を含んだカム角信号を出力するカム角センサ230が夫々取り付けられている。ここで、クランク角センサ220は、クランクシャフトと一体的に回転するプレートPTの突起(上死点位置では欠歯している)を検知して、所定回転角度ごとにパルス信号を出力する。
As a control system for the
そして、クランク角センサ220のクランク角信号、及びカム角センサ230のカム角信号は、エンジン100を制御する電子制御装置240に夫々入力されている。なお、クランク角センサ220及びカム角センサ230が、回転センサの一例として挙げられ、電子制御装置240が、内燃機関の制御装置の一例として挙げられる。
The crank angle signal of the
電子制御装置240は、図3に示すように、CPU(Central Processing Unit)240Aと、ROM(Read Only Memory)240Bと、グローバルRAM(Random Access Memory)240Cと、入出力回路240Dと、通信回路240Eと、これらを相互通信可能に接続する内部バス240Fと、を備えている。また、電子制御装置240は、CPU240Aに対してチャネル240Gにより直接接続されるローカルRAM240Hを更に備えている。なお、グローバルRAM240Cが、第1の揮発性メモリの一例として挙げられ、ローカルRAM240Hが、第2の揮発性メモリの一例として挙げられる。
As shown in FIG. 3, the
CPU240Aは、アプリケーションプログラムに記述された命令セット(データの転送、演算、加工、制御、管理など)を実行するハードウエアであって、演算装置、命令やデータを格納するレジスタ、周辺回路などから構成されている。ROM240Bは、例えば、電源供給を遮断してもデータを保持可能なフラッシュROMやEEPROM(Electrically Erasable Programmable Read Only Memory)などの不揮発性メモリからなり、本実施形態を実装するアプリケーションプログラム(コンピュータプログラム)、学習値、故障情報などを保持する。グローバルRAM240Cは、例えば、電源供給を遮断するとデータが消失するダイナミックRAMなどの揮発性メモリからなり、CPU240A、入出力回路240D及び通信回路240Eがアクセス可能な記憶領域を提供する。
The
入出力回路240Dは、例えば、A/Dコンバータ、D/Aコンバータ、D/Dコンバータなどからなり、各種のセンサ、スイッチ及びアクチュエータなどに対するアナログ信号及びデジタル信号の入出力機能を提供する。通信回路240Eは、例えば、CAN(Controller Area Network)トランシーバなどからなり、CANなどの車載ネットワーク(図示せず)に接続する機能を提供する。内部バス240Fは、各デバイス間でデータを交換するための経路であって、アドレスを転送するアドレスバス、データを転送するデータバス、アドレスバスやデータバスで実際に入出力を行うタイミングや制御情報を遣り取りするコントロールバスを含んでいる。
The input /
チャネル240Gは、内部バス240Fとは異なるデータ伝送路であって、2つのデバイス間で高速に任意のデータを送受信可能にする。ローカルRAM240Hは、例えば、電源供給を遮断するとデータが消失するダイナミックRAMなどの揮発性メモリからなり、CPU240Aのみがアクセス可能な記憶領域を提供する。ここで、ローカルRAM240Hは、グローバルRAM240Cよりもアクセス速度が高速である反面、グローバルRAM240Cよりも小容量であるという特性を有している。
The
電子制御装置240のCPU240Aには、入出力回路240Dを介して、クランク角センサ220のクランク角信号、及びカム角センサ230のカム角信号に加えて、図示しない各種センサから吸気流量、冷却水温度及びバッテリ電圧などが夫々入力されている。また、電子制御装置240のCPU240Aは、クランク角信号からエンジン回転数を算出するとともに、クランク角信号及びカム角信号から単位角度ごとにパルス信号が現れるエンジン回転信号を生成する。
In addition to the crank angle signal of the
そして、電子制御装置240のCPU240Aは、ROM240Bに格納されたアプリケーションプログラムに従って、以下で説明するように、燃料噴射弁140、点火プラグ150及びVTC200を夫々制御する。ここで、燃料噴射弁140による燃料噴射制御においては、例えば、各気筒の圧縮行程に合わせて個別の燃料噴射を行う、いわゆる「シーケンシャル噴射制御」が行われる。なお、VTC200の制御は、電子制御装置240とは異なる別体の電子制御装置で行うようにしてもよい。
Then, the
電子制御装置240のCPU240Aは、吸気流量及びエンジン回転数に基づいて、エンジン運転状態に応じた基本燃料噴射量、燃料噴射タイミング及び点火タイミングを夫々算出する。また、電子制御装置240のCPU240Aは、冷却水温度及びバッテリ電圧に基づいて、基本燃料噴射量を補正した燃料噴射量を算出する。そして、電子制御装置240のCPU240Aは、エンジン回転信号(単位角度ごとのパルス信号)に同期して、燃料噴射タイミング又は点火タイミングになったか否かを判定し、その判定結果に応じて燃料噴射弁140に噴射信号を出力するか、又は点火プラグ150に点火信号を出力する。このように、電子制御装置240のプロセッサ240Aは、エンジン100の回転に同期した燃料噴射制御及び点火制御などの回転同期処理を実行する。
The
さらに、電子制御装置240のCPU240Aは、所定時間(制御周期)ごとに、吸気流量及びエンジン回転速度に基づいて、エンジン運転状態に応じたVTC200の目標角度を算出する。そして、電子制御装置240のCPU240Aは、クランクシャフトに対する吸気カムシャフト190の実角度が目標角度に近づくように、VTC200のアクチュエータ204をフィードバック制御する。なお、VTC200の制御が、時間に同期して実行される時間同期処理の一例として挙げられる。
Further, the
ここで、エンジン回転数と演算負荷との関連性について説明する。
電子制御装置240においては、例えば、応答性やドライバビリティなどを担保するため、図4に示すように、所定の制御周期内に時間同期処理及び回転同期処理を完了しなければならない。時間同期処理は、例えば、制御周期の始期において実行される。エンジン100の回転によりエンジン回転信号のパルスが出力されると、実行中の時間同期処理が中断されて退避され、割り込みによって回転同期処理が実行される。そして、回転同期処理の実行が完了すると、退避されていた時間同期処理が復帰して再開される。
Here, the relationship between the engine speed and the calculation load will be described.
In the
エンジン回転数が上昇すると、これに比例して制御周期内に出力されるエンジン回転信号のパルスが増加する。このため、エンジン回転信号のパルスが出力されたことを契機として実行される時間同期処理の実行回数が増加し、時間同期処理において使用されるデータのRAMに対する読み書き回数が増加する。この結果、プロセッサ240Aにおける算術演算及び論理演算と比較して時間がかかるRAMへのアクセス回数が増加し、制御周期に占める時間同期処理及び回転同期処理の実行時間が長くなって演算負荷が増加してしまう。このような理由によって、図5に示すように、エンジン回転数の上昇に伴って演算負荷が略線形に増加してしまう。
As the engine speed increases, the pulse of the engine rotation signal output within the control cycle increases in proportion to this. Therefore, the number of executions of the time synchronization process executed when the pulse of the engine rotation signal is output increases, and the number of times of reading / writing the data used in the time synchronization process to the RAM increases. As a result, the number of times of access to the RAM, which takes a long time as compared with the arithmetic operation and the logical operation in the
図4に示す例で説明すると、制御周期における時間同期処理の演算負荷を40%、制御周期における1回の回転同期処理の演算負荷を10%とすると、制御周期内に1回の回転同期処理が実行される場合、制御周期における演算負荷は、40+10=50%になる。エンジン回転数が上昇して制御周期内に2回の回転同期処理が実行されるようになると、制御周期における演算負荷は、40+10×2=60%になる。エンジン回転数が更に上昇して制御周期内に4回の同期処理が実行されるようになると、制御周期における演算負荷は、40+10×4=80%になる。従って、この例からも、エンジン回転数の上昇に伴って演算負荷が略線形に増加してしまうことが理解できるであろう。 Explaining with the example shown in FIG. 4, assuming that the calculation load of the time synchronization processing in the control cycle is 40% and the calculation load of one rotation synchronization processing in the control cycle is 10%, the rotation synchronization processing once in the control cycle. Is executed, the computational load in the control cycle is 40 + 10 = 50%. When the engine speed increases and the rotation synchronization process is executed twice within the control cycle, the calculation load in the control cycle becomes 40 + 10 × 2 = 60%. When the engine speed is further increased and the synchronization processing is executed four times within the control cycle, the calculation load in the control cycle becomes 40 + 10 × 4 = 80%. Therefore, from this example as well, it can be understood that the computational load increases substantially linearly as the engine speed increases.
そこで、エンジン回転に同期して実行される回転同期処理において使用されるデータを、1データ当たりのアクセス速度が高速なローカルRAM240Hに静的に割り当てることで、RAMに対するアクセス時間を短縮し、制御周期における演算負荷を低減する。ローカルRAM240Hに静的に割り当てられるデータは、アプリケーションプログラムにおいて設定することができる。即ち、回転同期処理において使用されるデータは、アプリケーションプログラムの実行中に動的に割り当てられるのではなく、アプリケーションプログラムのコードを記述する際に、設計者や開発者などがローカルRAM240Hのアドレスを直接指定して静的に割り当てる。
Therefore, by statically allocating the data used in the rotation synchronization processing executed in synchronization with the engine rotation to the
回転同期処理において使用されるデータをアクセス速度が低速なグローバルRAM240Cに割り当てた場合、グローバルRAM240Cに対するアクセス時間が、図6において矢印の大きさで示す時間だけかかってしまう。しかしながら、回転同期処理において使用されるデータをアクセス速度が高速なローカルRAM240Hに割り当てると、図7において矢印の大きさで示すように、グローバルRAM240Cに割り当てた場合と比較して、ローカルRAM240Hに対するアクセス時間が短くなる。従って、制御周期に占める時間同期処理及び回転同期処理の実行時間が短くなり、図8に示すように、エンジン回転数の高回転領域における演算負荷を低減することができる。
When the data used in the rotation synchronization process is assigned to the
回転同期処理において使用されるデータをローカルRAM240Hに割り当てた場合、時間同期処理において使用されるデータは、その大部分がアクセス速度の低速なグローバルRAM240Cに割り当てられることとなる。このため、エンジン回転数の低回転領域では、時間同期処理を実行するのに要する時間が増加し、図8に示すように、制御負荷が増加してしまう。しかしながら、エンジン回転数の低回転領域では時間同期処理を実行する回数が比較的少ないため、時間同期処理を実行する演算負荷が多少増加しても、制御周期内に時間同期処理及び回転同期処理を完了することができ、何ら問題が発生しない。
When the data used in the rotation synchronization process is assigned to the
ところで、上述したように、回転同期処理において使用されるデータのすべてを、アクセス速度が高速なローカルRAM240Hに割り当てることが望ましい。しかしながら、ローカルRAM240Hの記憶領域はグローバルRAM240Cの記憶容量と比較して少ないため、すべてのデータをローカルRAM240Hに割り当てることは現実的ではない。そこで、ローカルRAM240Hの記憶容量などを考慮して、回転同期処理において使用されるデータの少なくとも一部をローカルRAM240Hに割り当てるようにすればよい。
By the way, as described above, it is desirable to allocate all the data used in the rotation synchronization process to the
この場合、回転同期処理において使用される複数のデータのうち、データ長の短いデータをローカルRAM240Hに優先して割り当てることが望ましい。また、時間同期処理において使用される複数のデータのうち、データ長の長いデータをグローバルRAM240Cに優先して静的に割り当てることが望ましい。このようにすれば、ローカルRAM240Hに割り当てられるデータの個数が増加する一方、グローバルRAM240Cに割り当てられるデータの個数が減少し、制御周期に占める時間同期処理及び回転同期処理の実行時間を短縮することができる。
In this case, it is desirable to preferentially allocate the data having a short data length to the
制御周期に実行する時間同期処理及び回転同期処理において、16個の1ビット長のデータ、2個の8ビット長のデータ、2個の16ビット長のデータをアクセスする場合を想定する。また、この想定において、時間同期処理及び回転同期処理において使用可能なグローバルRAM240C及びローカルRAM240Hの記憶領域は、夫々、4バイト(32ビット)であると仮定する。さらに、グローバルRAM240Cのアクセス速度が、動作クロック基準で10サイクル、ローカルRAM240Hのアクセス速度が、動作クロック基準で1サイクルであると仮定する。
It is assumed that 16 1-bit length data, 2 8-bit length data, and 2 16-bit length data are accessed in the time synchronization process and the rotation synchronization process executed in the control cycle. Further, in this assumption, it is assumed that the storage areas of the
図9に示すように、グローバルRAM240Cに対して16個の1ビット長データ及び2個の8ビット長のデータを夫々割り当てるとともに、ローカルRAM240Hに対して2個の16ビット長のデータを割り当てた場合を考える。この場合、グローバルRAM240Cに対するアクセス時間は、(16+2)×10=180[サイクル]となる。また、ローカルRAM240Hに対するアクセス時間は、2×1=2[サイクル]となる。従って、RAMに対するアクセス時間は、180+2=182[サイクル]となる。
As shown in FIG. 9, 16 1-bit length data and 2 8-bit length data are assigned to the
一方、図10に示すように、グローバルRAM240Cに対して2個の16ビット長のデータを割り当てるとともに、ローカルRAM240Hに対して16個の1ビット長のデータ及び2個の8ビット長のデータを割り当てた場合を考える。この場合、グローバルRAM240Cに対するアクセス時間は、2×10=20[サイクル]になる。また、ローカルRAM240Hに対するアクセス時間は、(16+2)×1=18[サイクル]になる。従って、RAMに対するアクセス時間は、20+18=38[サイクル]になる。
On the other hand, as shown in FIG. 10, two 16-bit length data are allocated to the
このように、データ長の短いデータをアクセス速度が高速なローカルRAM240Hに優先して割り当て、データ長の長いデータをアクセス速度が低速なグローバルRAM240Cに優先して割り当てることで、図9及び図10から理解できるように、ローカルRAM240Hに多くのデータを割り当てることができる。その結果、上述したように、RAMに対するアクセス時間が182[サイクル]から38[サイクル]に低減し、制御周期に占める時間同期処理及び回転同期処理の実行時間が短くなる。
In this way, by preferentially allocating data with a short data length to the
そして、回転同期処理において使用される複数のデータのうちビット長の短いデータを、アクセス速度が高速なローカルRAM240Hに優先して割り当てることで、図11に示すように、演算負荷の上限を低減することができる。また、時間同期処理において使用される複数のデータのうちビット長の長いデータを、アクセス速度が低速なグローバルRAM240Cに優先して割り当てることで、図11に示すように、演算負荷全体を低減することができる。
Then, by preferentially allocating the data having a short bit length among the plurality of data used in the rotation synchronization process to the
なお、当業者であれば、様々な上記実施形態の技術的思想について、その一部を省略したり、その一部を適宜組み合わせたり、その一部を周知技術に置換したり、周知技術を更に組み合わせることで、新たな実施形態を生み出せることを容易に理解できるであろう。 It should be noted that those skilled in the art may omit some of the technical ideas of the above-mentioned embodiments, combine some of them as appropriate, replace some of them with well-known techniques, and further use well-known techniques. It will be easy to understand that the combination can create new embodiments.
その一例を挙げると、エンジン100は、ガソリンエンジンに限らず、ディーゼルエンジンであってもよい。また、データのビット長は、1ビット、8ビット及び16ビットに限らず、任意のビット数であってもよい。さらに、時間同期処理としては、VTC200の制御に限らず、故障診断などの他の処理であってもよく、回転同期処理としては、燃料噴射処理及び点火制御処理に限らず、他の処理であってもよい。
As an example, the
100 エンジン(内燃機関)
220 クランク角センサ(回転センサ)
230 カム角センサ(回転センサ)
240 電子制御装置(制御装置)
240C グローバルRAM(第1の揮発性メモリ)
240H ローカルRAM(第2の揮発性メモリ)
100 engine (internal combustion engine)
220 Crank angle sensor (rotation sensor)
230 Cam angle sensor (rotation sensor)
240 Electronic control device (control device)
240C global RAM (first volatile memory)
240H local RAM (second volatile memory)
Claims (6)
前記回転同期処理において使用されるデータの少なくとも一部が、前記第2の揮発性メモリに静的に割り当てられた、
内燃機関の制御装置。 It is equipped with a first volatile memory and a second volatile memory whose access speed is faster than that of the first volatile memory, and performs time synchronization processing synchronized with time and rotation synchronization processing synchronized with the rotation of the internal combustion engine, respectively. It is the control device of the internal combustion engine that is executed.
At least a part of the data used in the rotation synchronization process is statically allocated to the second volatile memory.
Internal combustion engine control device.
請求項1に記載の内燃機関の制御装置。 The data statically allocated to the second volatile memory is set in the application program.
The control device for an internal combustion engine according to claim 1.
請求項1又は請求項2に記載の内燃機関の制御装置。 Of the plurality of data used in the rotation synchronization process, the data having a short data length is preferentially allocated to the second volatile memory.
The control device for an internal combustion engine according to claim 1 or 2.
請求項1~請求項3のいずれか1つに記載の内燃機関の制御装置。 Of the plurality of data used in the time synchronization process, the data having a long data length is statically allocated in preference to the first volatile memory.
The control device for an internal combustion engine according to any one of claims 1 to 3.
前記回転センサから出力されるパルス信号に応答して前記回転同期処理が実行される、
請求項1~請求項4のいずれか1つに記載の内燃機関の制御装置。 A rotation sensor that outputs a pulse signal proportional to the rotation speed of the internal combustion engine is further provided.
The rotation synchronization process is executed in response to the pulse signal output from the rotation sensor.
The control device for an internal combustion engine according to any one of claims 1 to 4.
請求項1~請求項5のいずれか1つに記載の内燃機関の制御装置。 The rotation synchronization process is at least one of a fuel injection process and an ignition control process.
The control device for an internal combustion engine according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020200963A JP7449219B2 (en) | 2020-12-03 | 2020-12-03 | Internal combustion engine control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020200963A JP7449219B2 (en) | 2020-12-03 | 2020-12-03 | Internal combustion engine control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2022088860A true JP2022088860A (en) | 2022-06-15 |
JP7449219B2 JP7449219B2 (en) | 2024-03-13 |
Family
ID=81988138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020200963A Active JP7449219B2 (en) | 2020-12-03 | 2020-12-03 | Internal combustion engine control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7449219B2 (en) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3849379B2 (en) | 1999-11-30 | 2006-11-22 | 株式会社デンソー | ENGINE CONTROL DEVICE AND ENGINE CONTROL METHOD |
JP2005215891A (en) | 2004-01-28 | 2005-08-11 | Denso Corp | Engine controller, method for controlling cache for engine controller |
JP2006017054A (en) | 2004-07-02 | 2006-01-19 | Toyota Motor Corp | Internal combustion engine control device |
JP2010059857A (en) | 2008-09-03 | 2010-03-18 | Toyota Motor Corp | Electronic control unit of internal combustion engine |
JP5817505B2 (en) | 2011-12-21 | 2015-11-18 | トヨタ自動車株式会社 | Control device for internal combustion engine |
JP2014009591A (en) | 2012-06-27 | 2014-01-20 | Denso Corp | Combustion state analysis system of engine |
JP6771272B2 (en) | 2015-07-01 | 2020-10-21 | 日立オートモティブシステムズ株式会社 | In-vehicle electronic control device and stack usage |
JP6447442B2 (en) | 2015-10-02 | 2019-01-09 | 株式会社デンソー | Electronic control unit |
JP2018162756A (en) | 2017-03-27 | 2018-10-18 | 日立オートモティブシステムズ株式会社 | Internal combustion engine controller |
JP2020159344A (en) | 2019-03-28 | 2020-10-01 | 株式会社デンソーテン | Control device and control method |
-
2020
- 2020-12-03 JP JP2020200963A patent/JP7449219B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP7449219B2 (en) | 2024-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4756889B2 (en) | Method for starting an engine with an electromechanical valve | |
CN100570142C (en) | Mixed power electric car internal-combustion engine preposition | |
JP2005264946A (en) | Starting method of engine having pausable valve | |
JP2005264947A (en) | Exhaust reducing method of internal combustion engine having electromechanical valve | |
JP4602809B2 (en) | Method for starting an electrically operated valve of an internal combustion engine | |
US10318471B2 (en) | Method to share data between semiconductors chips | |
CN106968821B (en) | Engine control system and method for reducing nitrogen oxides | |
JP2000047883A (en) | Task controlling method and storage medium | |
JP2007200277A (en) | Microcomputer | |
CN101672221A (en) | Eight-stroke engine cycle | |
CN102652216B (en) | Control device of internal combustion engine | |
JP7449219B2 (en) | Internal combustion engine control device | |
JP2014061793A (en) | Automotive electronic control unit | |
US10697418B2 (en) | Hybrid vehicle | |
US7013862B2 (en) | Method for operating an internal combustion engine | |
JP4201708B2 (en) | Torque control method | |
RU2696660C2 (en) | System and method for engine operation | |
JP2003514167A (en) | Method for operating an internal combustion engine | |
US20120101709A1 (en) | Method and apparatus for operating an internal combustion engine | |
JP6275790B2 (en) | Electronic control unit for automobile | |
JP5077179B2 (en) | Control device for internal combustion engine | |
JP2006017054A (en) | Internal combustion engine control device | |
JP7149210B2 (en) | electronic controller | |
US11203954B2 (en) | Pre-lubrication and skip fire operations during engine cranking | |
CN110067662B (en) | Control method for cylinder balancing of internal combustion engine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230705 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240124 |
|
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: 20240206 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240301 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7449219 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |