JPS61118562A - Method of controlling internal combustion engine - Google Patents
Method of controlling internal combustion engineInfo
- Publication number
- JPS61118562A JPS61118562A JP24109584A JP24109584A JPS61118562A JP S61118562 A JPS61118562 A JP S61118562A JP 24109584 A JP24109584 A JP 24109584A JP 24109584 A JP24109584 A JP 24109584A JP S61118562 A JPS61118562 A JP S61118562A
- Authority
- JP
- Japan
- Prior art keywords
- current supply
- leading
- ignition
- time
- timer
- 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
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02P—IGNITION, OTHER THAN COMPRESSION IGNITION, FOR INTERNAL-COMBUSTION ENGINES; TESTING OF IGNITION TIMING IN COMPRESSION-IGNITION ENGINES
- F02P15/00—Electric spark ignition having characteristics not provided for in, or of interest apart from, groups F02P1/00 - F02P13/00 and combined with layout of ignition circuits
- F02P15/001—Ignition installations adapted to specific engine types
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Ignition Installations For Internal Combustion Engines (AREA)
- Electrical Control Of Ignition Timing (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は内燃機関の点火時期制御に関し、特に点火時期
演算のリアルタイム処理の改良に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to ignition timing control for an internal combustion engine, and particularly to improvement of real-time processing of ignition timing calculation.
(従来技術)
エンジンの点火時期制御は、直前のクランク角度に同期
して点火時期をセットするのが周知であるが、ロータリ
ーエンジンの点火制御は、第3図に示すように1つの気
筒に対しリーディング、トレーリングの2系統の制御が
必要であり、ディジタル制御の場合には、2系統のリア
ルタイム処理が要求される。このため、プログラムのリ
アルタイム処理も、レシプロエンジンと比べて2倍の負
担となる。リアルタイム処理は、通常割込みルーチンで
実行されるため、高回転では次のクランク角度割込ある
いは他の割込みが待たされる可能性が出てくる。次のク
ランク割込や、出力のための割込が待たされてしまうと
エンジン制御は正常には作動しな(なるという問題があ
った。(Prior art) It is well known that engine ignition timing control sets the ignition timing in synchronization with the previous crank angle, but rotary engine ignition control is performed for one cylinder as shown in Figure 3. Two systems of control, leading and trailing, are required, and in the case of digital control, two systems of real-time processing are required. Therefore, the real-time processing of the program is twice as burdensome as that of a reciprocating engine. Real-time processing is normally executed by an interrupt routine, so at high engine speeds there is a possibility that the next crank angle interrupt or other interrupt will have to wait. There was a problem in that if the next crank interrupt or output interrupt was forced to wait, the engine control would not operate normally.
(発明の目的)
本発明は前記問題点、即ち、クランク角度に同期して発
生する割込みルーチンを点火制御の負担を少なくするこ
とを目的とする。(Object of the Invention) An object of the present invention is to solve the above-mentioned problem, that is, to reduce the burden on ignition control of the interrupt routine that occurs in synchronization with the crank angle.
(発明の概要)
本発明は、マイクロコンピュータを用い、クランク角度
信号によりマイクロコンピュータに?J込みを掛け、こ
のクランク角度信号から求まるエンジン回転数と、他の
入力情報を基に点火時期を演算し、点火信号を出力する
エンジンの点火時期制御装置において、クランク角に対
応したカウンタを備え、そのカンウタ値によりリーディ
ング側かトレーリング側かを判別し、その判別結果に応
じて前記2系統の処理を交互に行なうものである。(Summary of the Invention) The present invention uses a microcomputer and uses a crank angle signal to control the microcomputer. In an engine ignition timing control device that calculates ignition timing based on the engine rotation speed obtained from this crank angle signal and other input information and outputs an ignition signal, it is equipped with a counter corresponding to the crank angle. Based on the counter value, it is determined whether the system is on the leading side or the trailing side, and the above-mentioned two systems of processing are performed alternately according to the result of the determination.
(実施例)
以下図面に基づいて、本発明の実施例について説明する
。(Example) Examples of the present invention will be described below based on the drawings.
第1図に示すように、中央処理装置(以下cpUと称す
る)1は、ROMZ内に記憶されているプログラムに従
って、入力バッファ5を介して入力した各種信号により
演算処理を行ない、出力ドライハロを介して、燃料噴射
量、点火時期等の制御を行なう。入カバソファ5を介し
て入力される信号の内、クラレフ角度信号(以下Ne信
号と称する)は、CPUIに割込み信号として入力され
、スロットル開度、冷却水温等は、A/D変換器4を介
してCPU1に入力される。As shown in FIG. 1, a central processing unit (hereinafter referred to as cpu) 1 performs arithmetic processing on various signals input via an input buffer 5 according to a program stored in the ROMZ, and outputs the signals via an output dry harrow. It controls the fuel injection amount, ignition timing, etc. Among the signals input via the input cover sofa 5, the Kurarev angle signal (hereinafter referred to as the Ne signal) is input to the CPUI as an interrupt signal, and the throttle opening, cooling water temperature, etc. are input via the A/D converter 4. and is input to the CPU1.
ところで、2つ以上の点火サイクルが重なる様な内燃機
関、例えばロークリエンジンの点火時期を制御するため
には、2系統のリアルタイム処理が必要である。以下そ
の方法について説明する。By the way, in order to control the ignition timing of an internal combustion engine in which two or more ignition cycles overlap, such as a low-return engine, two systems of real-time processing are required. The method will be explained below.
CPUIはpJe信号により起動される割込みルーチン
の中で、Neカウンタを更新し、第4図のようにエンジ
ン1回転中の現在のNe位置が2系統の点火信号の内、
どちらかの通電開始時期をプログラマブルタイマにセッ
トするタイミングかどうかを判定する。判定の結果そう
であれば、現在のNe位置から通電開始時期までの時間
を、プログラマブルタイマにセットする。例えば、第2
図に示すよう、Neカウンターnの位置では、リーディ
ングの通電開始時期を判定し、もしそうであれば、そこ
までの時間をタイマしにセットする。また、Neカウン
タ=n+1の位置では、トレーリングの通電開始時期を
判定し、もしそうであれば、そこまでの時間をタイマT
にセットする。すなわち、ある1つのNeのタイミング
では、リーディングかトレーリングかどちらかの通電制
御のみを行ない、しかも、それを交互に実行する。セッ
トされたタイマLまたはタイマTは所定時間経過後、リ
ーディング側の通電点火信号IGT−Lまたはトレーリ
ング側の通電点火信号I G T−Tのレベー ルを
反転させると共に、内部割込みを発生させる。The CPU updates the Ne counter in the interrupt routine activated by the pJe signal, and as shown in Figure 4, the current Ne position during one engine revolution is determined by the ignition signal of the two systems.
Determine whether it is the timing to set either of the energization start timings in the programmable timer. If the result of the determination is yes, the time from the current Ne position to the time to start energization is set in a programmable timer. For example, the second
As shown in the figure, at the position of the Ne counter n, the time to start energization for reading is determined, and if so, the time up to that point is set in the timer. Also, at the position of Ne counter = n+1, the time to start energization of the trailing is determined, and if so, the timer T
Set to . That is, at a certain timing of Ne, only leading or trailing energization control is performed, and moreover, these are performed alternately. After a predetermined period of time has elapsed, the set timer L or timer T inverts the level of the leading side energization ignition signal IGT-L or the trailing side energization ignition signal IGT-T and generates an internal interrupt.
本割込みルーチンの中では、必要な通電時間を前述のタ
イマLまたはタイマTに再びセットすることにより、同
様に所定時間経過後、IGT−LまたはIGT−Lのレ
ベルが反転する。In this interrupt routine, the level of IGT-L or IGT-L is similarly inverted after a predetermined time has elapsed by resetting the above-mentioned timer L or timer T for the necessary energization time.
つまり、このタイミングで点火が実行される。In other words, ignition is executed at this timing.
以上のような点火サイクルが繰り返されるわけであるが
、リーディング側とトレーリング側の通電制御を同じN
e位置では両方同時に行なわないため、プログラムのリ
アタイム処理負担はレシプロエンジンと同等となる。The ignition cycle as described above is repeated, but the energization control on the leading and trailing sides is set to the same N.
Since both operations are not performed at the e position at the same time, the real-time processing load of the program is equivalent to that of a reciprocating engine.
以下この手順について第4図の実施例のフローチャート
を用いて詳細に説明する。This procedure will be explained in detail below using the flowchart of the embodiment shown in FIG.
Neカウンタの値は本実施例では1 (Gの次のNe
)から12までの値をとりうる。例えばNeカウンター
1,3.5ではリーディング側の点火制御、Neカウン
タ=2,4ではトレーリング側の点火制御(Neカウン
ター6はガードである)を行なうと仮定する。Ne割込
みルーチンの中で現在の位置を確認し、例えばNeカウ
ンタ=1であれば、リーディング側要求点火時期の判定
をする。In this example, the value of the Ne counter is 1 (Next Ne of G)
) to 12. For example, it is assumed that leading-side ignition control is performed with Ne counters 1 and 3.5, and trailing-side ignition control is performed with Ne counters =2 and 4 (Ne counter 6 is a guard). The current position is confirmed in the Ne interrupt routine, and if the Ne counter=1, for example, the leading side required ignition timing is determined.
つまり、リーディング側の通電開始タイミングがNeカ
ウンタの1から3までの範囲内にあるかどうか判定する
。(実際にはNe割込みルーチンの処理時間の増加時間
+αもある)
もし、その範囲内であれば、現在のNe位置から通電開
始時期までの角度を時間に変換してタイマしにセットす
る。That is, it is determined whether or not the leading-side energization start timing is within the range of 1 to 3 of the Ne counter. (Actually, there is also an increase in the processing time of the Ne interrupt routine +α.) If it is within this range, convert the angle from the current Ne position to the energization start time into a time and set it in a timer.
Neカウンター2であれば同様にトレーリング側を行な
う。If it is Ne counter 2, do the trailing side in the same way.
前記の実施例では、すべての回転数において、リーディ
ング側とトレーリング側の通電制御を交互に実行するわ
けであるが、第2の実施例として、回転数により切替る
ことも可能である。つまり、高回転時には、前記実施例
の如くリーディング側とトレーリング側の通電制御を交
互に行ない、リアルタイム処理の負担を軽くする。低回
転時には、リアルタイム処理の割合は少ないため、リー
ディング側とトレーリング側の通電制御を同時に行ない
、低回転特有の回転変動にも対応できるようにする。こ
の方法により、低回転から高回転まで、プログラムの処
理遅れなくリアルタイム処理が良好に行なえる。In the embodiment described above, the leading side and trailing side energization control is performed alternately at all rotational speeds, but as a second embodiment, it is also possible to switch depending on the rotational speed. That is, during high rotation, the leading side and trailing side energization control is performed alternately as in the embodiment described above, thereby lightening the burden of real-time processing. At low speeds, the proportion of real-time processing is low, so power supply control is performed on the leading and trailing sides at the same time, making it possible to respond to rotational fluctuations unique to low speeds. With this method, real-time processing can be performed satisfactorily from low to high rotation speeds without any delay in program processing.
(発明の効果)
以上述べたように、リーディング側の通電点火時期制御
とトレーリング側の通電点火時期制御をクランク角によ
って交互に切り替えて行なうのでプログラムの負担が軽
くなり、高回転域まで制御可能になるという優れた効果
がある。(Effects of the invention) As described above, since the leading side energized ignition timing control and the trailing side energized ignition timing control are alternately switched depending on the crank angle, the load on the program is lightened and control is possible up to a high rotation range. It has the excellent effect of becoming
第1図は、本発明の実施例で用いられている制御回路を
示すブロック図、第2図は、本発明の動作を発明するた
めの波形図、第3図はロータリエンジンの点火系模式図
、第4図は判別制御を行なう流れ図である。
1・・・中央処理装置、2・・・ROM、3・・・RA
M、4・・・A/D変換器、5・・・入カバソファ、6
・・・出力ドライバ。Fig. 1 is a block diagram showing a control circuit used in an embodiment of the present invention, Fig. 2 is a waveform diagram for inventing the operation of the present invention, and Fig. 3 is a schematic diagram of an ignition system of a rotary engine. , FIG. 4 is a flowchart for performing discrimination control. 1...Central processing unit, 2...ROM, 3...RA
M, 4... A/D converter, 5... Inlet cover sofa, 6
...output driver.
Claims (1)
間演算処理する制御方法において、回転角検出装置から
の信号に基づいてクランク角に対応する位置を判別し、
その判別結果に応じて前記2系統の点火時期演算を交互
に行なうことを特徴とする内燃機関の制御方法。In a control method for a spark ignition internal combustion engine, in which ignition advance angles of two systems are processed in real time, a position corresponding to a crank angle is determined based on a signal from a rotation angle detection device,
A method for controlling an internal combustion engine, characterized in that ignition timing calculations for the two systems are performed alternately in accordance with the determination result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24109584A JPS61118562A (en) | 1984-11-14 | 1984-11-14 | Method of controlling internal combustion engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24109584A JPS61118562A (en) | 1984-11-14 | 1984-11-14 | Method of controlling internal combustion engine |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS61118562A true JPS61118562A (en) | 1986-06-05 |
JPH0263110B2 JPH0263110B2 (en) | 1990-12-27 |
Family
ID=17069208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24109584A Granted JPS61118562A (en) | 1984-11-14 | 1984-11-14 | Method of controlling internal combustion engine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61118562A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5413837A (en) * | 1977-07-02 | 1979-02-01 | Nippon Soken Inc | Electronic control system for internal combustion engine |
-
1984
- 1984-11-14 JP JP24109584A patent/JPS61118562A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5413837A (en) * | 1977-07-02 | 1979-02-01 | Nippon Soken Inc | Electronic control system for internal combustion engine |
Also Published As
Publication number | Publication date |
---|---|
JPH0263110B2 (en) | 1990-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2577210B2 (en) | Electronically controlled fuel injection device for internal combustion engine | |
JPS6248066B2 (en) | ||
JPS62147039A (en) | Arithmetic processing method for engine control device | |
JPS61118562A (en) | Method of controlling internal combustion engine | |
JPS58138262A (en) | Method and device of controlling ignition timing of internal-combustion engine | |
JP3556682B2 (en) | Engine ignition timing control device | |
JPS5968530A (en) | Control method of internal-combustion engine | |
JP3572635B2 (en) | Control method of ignition device for internal combustion engine | |
JPH06137242A (en) | Air-fuel ratio control device of engine | |
JPH04362275A (en) | Ignition controller for internal combustion engine | |
JPS6022072A (en) | Ignition device for internal-combustion engine | |
JPH0122946Y2 (en) | ||
JPS6013982A (en) | Ignition timing control device for internal-combustion engine | |
JPH0480219B2 (en) | ||
JP2705188B2 (en) | Cylinder discriminator for internal combustion engines | |
JPH0237170A (en) | Ignition timing controller for engine | |
JPH0236788B2 (en) | ||
KR940004472Y1 (en) | Engine controller | |
JPS6217341A (en) | Air fuel ratio controller | |
JPH0472442A (en) | Fuel injection device | |
JPH0323738B2 (en) | ||
JPS63129168A (en) | Ignition timing controller for internal combustion engine | |
JPS62157260A (en) | Fuel feed device | |
JPH01285661A (en) | Ignition device for internal combustion engine | |
JPS58158371A (en) | Electronically controlled ignition timing controlling apparatus |