JPH0333915B2 - - Google Patents
Info
- Publication number
- JPH0333915B2 JPH0333915B2 JP57032307A JP3230782A JPH0333915B2 JP H0333915 B2 JPH0333915 B2 JP H0333915B2 JP 57032307 A JP57032307 A JP 57032307A JP 3230782 A JP3230782 A JP 3230782A JP H0333915 B2 JPH0333915 B2 JP H0333915B2
- Authority
- JP
- Japan
- Prior art keywords
- bits
- engine
- predetermined number
- speed data
- rotational speed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/26—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
- F02D41/28—Interface circuits
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
- Control Of Velocity Or Acceleration (AREA)
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は燃料噴射量等を計算するデジタルプロ
セツサを備えた機関制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an engine control device equipped with a digital processor that calculates fuel injection amount and the like.
[従来の技術および発明が解決しようとする課
題]
デジタルプロセツサを備えた従来の機関制御装
置では、機関回転速度は2バイト(16ビツト)デ
ータとしてRAMの記憶部に記憶されている。
RAMあるいはROMからCPUへのデータの読出
しやCPUでの演算は1バイト(8ビツト)単位
で行なつているので、2バイトのデータをCPU
が読出したり演算したりする場合にはプログラム
のステツプ数が増大し、プログラム全体のステツ
プ数が制約されている制御装置には不利であつ
た。また、機関回転速度を1バイトデータとして
記憶する場合には、機関回転速度の精度が低下
し、燃料噴射量の算出に支障が生じる。例えば
6000r.p.m.の機関回転速度を1バイトで表示する
と、最下位のビツト(LSB)は25r.p.m.(≒
6000/28)となるのに対し、燃料噴射量等の算出
にはLSBは3.125r.p.m.程度である必要がある。[Prior Art and Problems to be Solved by the Invention] In a conventional engine control device equipped with a digital processor, the engine rotation speed is stored in a RAM storage section as 2-byte (16-bit) data.
Reading data from RAM or ROM to the CPU and calculations in the CPU are performed in units of 1 byte (8 bits), so 2 bytes of data are sent to the CPU.
When reading or calculating, the number of steps in the program increases, which is disadvantageous for a control device where the number of steps in the entire program is limited. Furthermore, when the engine rotation speed is stored as 1-byte data, the accuracy of the engine rotation speed decreases, causing problems in calculating the fuel injection amount. for example
When the engine speed of 6000r.pm is displayed in 1 byte, the lowest bit (LSB) is 25r.pm (≒
6000/28 ), whereas the LSB needs to be around 3.125 rpm to calculate the fuel injection amount, etc.
本発明の目的は機関回転速度の読出しや演算の
ためのプログラムのステツプ数を制御装置全体と
して大幅に減少でき、かつ機関回転速度に基づい
て算出される制御量の算出精度に支障を生じるこ
とのない機関制御装置を提供することである。 The purpose of the present invention is to significantly reduce the number of program steps for reading and calculating the engine rotation speed as a whole for the control device, and to prevent problems in the calculation accuracy of control variables calculated based on the engine rotation speed. The objective is to provide an engine control device that does not require any engine control equipment.
[課題を解決するための手段]
この目的を達成するために本発明は次なる手段
を採用した。[Means for Solving the Problems] In order to achieve this object, the present invention employs the following means.
即ち、本発明の機関制御装置は、
出力機関から検出された機関回転速度データ
を、所定ビツト数を演算単位とするデジタルプロ
セツサにて演算処理し、その結果を出力すること
により出力機関を制御する機関制御装置であつ
て、
上記検出された機関回転速度データを上記所定
ビツト数および所定ビツト数より大きいビツト数
の両方の精度で記憶する記憶手段と、
出力機関の各種制御に要求される精度に対応し
て、所定ビツト数で記憶されている機関回転速度
データおよび所定ビツト数より大きいビツト数で
記憶されている機関回転速度データの内のいずれ
かを選択して各制御に用いる制御手段と、
を備えたことを特徴とする。 That is, the engine control device of the present invention controls the output engine by processing the engine rotational speed data detected from the output engine using a digital processor that uses a predetermined number of bits as a calculation unit, and outputting the result. An engine control device comprising: storage means for storing the detected engine rotational speed data with an accuracy of both the predetermined number of bits and a number of bits greater than the predetermined number of bits; and an accuracy required for various types of control of the output engine. The control means selects either engine rotational speed data stored with a predetermined number of bits or engine rotational speed data stored with a larger number of bits than the predetermined number of bits, and uses the same for each control. It is characterized by having the following.
[作用]
本発明の機関制御装置は、出力機関の回転速度
を2つの精度で記憶している。即ち、所定ビツト
数での低精度の記憶とその所定ビツト数より大き
いビツト数での高精度の記憶である。[Function] The engine control device of the present invention stores the rotational speed of the output engine with two accuracies. That is, low-precision storage with a predetermined number of bits and high-precision storage with a larger number of bits.
制御手段は、各種制御において、精度が高くな
くてはならない場合は、所定ビツト数より大きい
ビツト数で記憶されている機関回転速度データを
用いる。一方、精度が低くてもよい場合は、所定
ビツト数で記憶されている機関回転速度データを
用いる。 The control means uses engine rotational speed data stored in a number of bits larger than a predetermined number of bits when high accuracy is required in various types of control. On the other hand, if low accuracy is acceptable, engine rotational speed data stored with a predetermined number of bits is used.
このことにより、高精度を要求する制御につい
ては、従来通り、記憶されている機関回転速度デ
ータの内、高精度のデータ(例えば2バイトデー
タ)を用いることになる。 As a result, for control requiring high accuracy, highly accurate data (for example, 2-byte data) out of the stored engine rotational speed data is used as before.
しかし、低精度でもよい制御の場合は、所定ビ
ツト数で表現されている低精度のデータ(例えば
1バイトデータ)を用いることになる。低精度の
データを用いると、高精度のデータ、即ち所定ビ
ツト数(例えば8ビツト)よりビツト数が大きい
データ(例えば11ビツト、16ビツト)を用いた場
合に比較して、所定ビツト数単位で読出しや演算
するデジタルプロセツサ側の処理ステツプ数が極
めて少なくて済む。 However, in the case of control that requires low precision, low precision data (for example, 1-byte data) expressed by a predetermined number of bits is used. When using low-precision data, compared to using high-precision data, that is, data with a larger number of bits (e.g., 11 bits, 16 bits) than a predetermined number of bits (e.g., 8 bits), The number of processing steps on the digital processor side for reading and calculating can be extremely small.
例えば、デジタルプロセツサとして8ビツト型
CPUを用いた場合を考る。このCPUが実行して
いるメインルーチンの内部では、その1回の制御
周期で燃料遮断、加速増量、高負荷増量あるいは
点火時期加速進角等の実行タイミング判断といつ
た低精度の演算処理が多数存在する。 For example, an 8-bit digital processor
Consider the case where a CPU is used. Inside the main routine executed by this CPU, a large number of low-precision calculation processes are performed in one control cycle, such as fuel cutoff, acceleration increase, high load increase, or execution timing judgment such as ignition timing acceleration advance. exist.
この各制御の実行タイミングを判断するため
に、機関回転速度データをCPUに読出し、その
値を他の値(判定値)と単純に比較することを考
える。 In order to determine the execution timing of each control, consider reading the engine rotational speed data to the CPU and simply comparing that value with another value (determination value).
高精度の2バイト機関回転速度データの場合
は、1回の判断において、読出し動作に3バイ
ト、比較動作に3バイトの合計6バイト(ステツ
プ)の命令コードをCPUは処理しなくてはなら
ない。 In the case of highly accurate 2-byte engine speed data, the CPU must process an instruction code of 6 bytes (steps) in total, 3 bytes for read operation and 3 bytes for comparison operation, in one judgment.
ところが低精度の1バイト機関回転速度データ
の場合は、読出し動作に2バイト、比較動作に2
バイトの合計4バイト(ステツプ)の命令コード
となる。 However, in the case of low-accuracy 1-byte engine speed data, 2 bytes are used for the read operation and 2 bytes are used for the comparison operation.
The instruction code consists of a total of 4 bytes (steps).
また、実行タイングの判断処理の内には、上述
の数値比較の他に、吸入空気量(Q)と機関回転
速度(NE)とでQ/NEの計算を実行しなくて
はならない場合がある。このような場合は、Qと
NEとが共に2バイトデータでの計算(2バイ
ト/2バイト)では、70〜100バイト(ステツプ)
程度の処理を要す。しかし、Qが2バイトデータ
でもNEが1バイトデータであれば、ステツプ数
は極めて少なく、2バイトのステツプ数で済む。 In addition to the above-mentioned numerical comparison, during the process of determining the execution timing, it may be necessary to calculate Q/NE using the intake air amount (Q) and engine rotational speed (NE). . In such a case, Q and
When calculating with 2-byte data (2 bytes/2 bytes), 70 to 100 bytes (step)
Some processing is required. However, if Q is 2-byte data but NE is 1-byte data, the number of steps is extremely small, and only 2-byte steps are required.
従つて、1回の制御周期内で、多数出てくる低
精度でもかまわない演算に対して、1バイトデー
タを用いると、2バイトデータを用いた場合に比
較して、通常、数十バイト〜数百バイトのステツ
プ数が減少する。 Therefore, when using 1-byte data for calculations that occur many times within one control cycle and can be performed even with low precision, compared to using 2-byte data, it usually takes several tens of bytes or more. The number of steps is reduced by hundreds of bytes.
[実施例] 図面を参照して本発明の実施例を説明する。[Example] Embodiments of the present invention will be described with reference to the drawings.
第1図において本発明が適用される電子制御燃
料噴射機関全体を概略的に説明すると、エアクリ
ーナ1から吸入された空気は、スロツトルボデー
2に設けられて運転室の加速ペダル3に連動する
絞り弁4により流量を制御され、その後サージタ
ンク5、吸気管6、および吸気弁7を介して機関
本体8の燃焼室9へ供給される。燃焼室9で燃焼
された混合気は排気ガスとして排気弁10、およ
び排気分岐管11を介して放出される。電磁式燃
料噴射弁14は各燃焼室9に対応して吸気管6に
設けられる。電子制御装置15は、絞り弁2の全
閉を検出するスロツトルスイツチ16、機関本体
8のウオータジヤケツト17に取付けられる水温
センサ18、サージタンク5に設けられ吸入空気
流量に関係する吸気管圧力を検出する圧力センサ
19、ピストン21に連接棒22を介して結合し
ているクランク軸の回転角を検出するためにクラ
ンク軸に結合するデイストリビユータシヤフトの
回転角を検出するクランク角センサ23、排気分
岐管11に設けられて排気ガス中の酸素濃度を検
出する空燃比センサ24、および車速センサ25
等から入力信号を受ける。回転角センサ23は、
クランク軸の1回転につき1つのパルスを発生す
る部分26と、所定のクランク角度、例えば30゜
ごとにパルスを発生する部分27とを備える。燃
料噴射弁14へは燃料通路29を介して燃料タン
ク30から燃料ポンプ31により燃料が圧送され
る。 To roughly explain the entire electronically controlled fuel injection engine to which the present invention is applied in FIG. The flow rate is controlled by , and then supplied to the combustion chamber 9 of the engine body 8 via the surge tank 5 , intake pipe 6 , and intake valve 7 . The air-fuel mixture combusted in the combustion chamber 9 is released as exhaust gas through an exhaust valve 10 and an exhaust branch pipe 11. An electromagnetic fuel injection valve 14 is provided in the intake pipe 6 corresponding to each combustion chamber 9. The electronic control device 15 includes a throttle switch 16 that detects when the throttle valve 2 is fully closed, a water temperature sensor 18 that is attached to the water jacket 17 of the engine body 8, and an intake pipe pressure sensor that is installed in the surge tank 5 and that is related to the intake air flow rate. a crank angle sensor 23 that detects the rotation angle of the distributor shaft coupled to the crankshaft to detect the rotation angle of the crankshaft coupled to the piston 21 via the connecting rod 22; An air-fuel ratio sensor 24 that is provided in the exhaust branch pipe 11 and detects the oxygen concentration in exhaust gas, and a vehicle speed sensor 25
Receives input signals from etc. The rotation angle sensor 23 is
It includes a section 26 that generates one pulse per revolution of the crankshaft and a section 27 that generates a pulse every predetermined crank angle, for example every 30 degrees. Fuel is force-fed from a fuel tank 30 to the fuel injection valve 14 via a fuel passage 29 by a fuel pump 31.
電子制御装置15は種々の入力信号に基づいて
燃料噴射量、燃料噴射時期を計算し、燃料噴射パ
ルスを燃料噴射弁14へ送るとともに、点火時期
を計算し、点火コイル32へ信号を送る。点火コ
イル32の二次電流はデイストリビユータ33へ
送られる。なお噴射弁14は、電子制御装置15
からパルスを受信している期間だけ開状態に維持
される。 The electronic control unit 15 calculates the fuel injection amount and fuel injection timing based on various input signals, sends a fuel injection pulse to the fuel injection valve 14, calculates the ignition timing, and sends a signal to the ignition coil 32. The secondary current of the ignition coil 32 is sent to a distributor 33. Note that the injection valve 14 is controlled by an electronic control device 15.
It remains open only while receiving pulses from.
第2図は電子制御装置15の内部のブロツク図
である。8ビツト型デジタルプロセツサとしての
CPU(中央処理装置)35、ROM(読出し専用記
憶装置)36、RAM(直接アクセス記憶装置)
37、C―RAM(相補型RAM)38、入力イン
タフエース39、および入出力インタフエース4
0はバス41を介して互いに接続されている。C
―RAM38は機関の停止中も所定の電力を供給
されて記憶を保持することができる。入力インタ
フエース39は、A/D(アナログ/デジタル)
変換器を内蔵しており、水温センサ18、および
圧力センサ19のアナログ出力は入力インタフエ
ース39へ送られる。スロツトルスイツチ16、
およびクランク角センサ23、空燃比センサ2
4、および車速センサ25の出力は入出力インタ
フエース40へ送られ、燃料噴射弁14および点
火コイル32への電気信号は入出力インタフエー
ス40から送られる。 FIG. 2 is a block diagram of the inside of the electronic control unit 15. As an 8-bit digital processor
CPU (Central Processing Unit) 35, ROM (Read Only Memory) 36, RAM (Direct Access Memory)
37, C-RAM (complementary RAM) 38, input interface 39, and input/output interface 4
0 are connected to each other via a bus 41. C
- The RAM 38 is supplied with a predetermined amount of power and can retain its memory even when the engine is stopped. The input interface 39 is A/D (analog/digital)
It has a built-in converter, and the analog outputs of the water temperature sensor 18 and pressure sensor 19 are sent to the input interface 39. Throttle switch 16,
and crank angle sensor 23, air-fuel ratio sensor 2
4, and the outputs of the vehicle speed sensor 25 are sent to an input/output interface 40, and electrical signals to the fuel injection valve 14 and the ignition coil 32 are sent from the input/output interface 40.
第3図は機関回転速度を検出してRAM37の
第1および第2の記憶部A1,A2に記憶するプ
ログラムのフローチヤートである。このプログラ
ムは30゜クランク角パルスの発生に伴つて実施さ
れる。ステツプ46では現在の時刻tnを検出して
記憶する。ステツプ47では前回の時刻tn―1か
らの経過時間Δtを算出する。ステツプ48では
機関回転速度RをR=C/Δtから算出する。ただし
Cは定数(C=30゜/360゜)である。R=C/Δtは2
バイ
トで計算される。ステツプ49では機関回転速度
Rを2バイトの第1の記憶部A1に記憶する。第
1の記憶部A1は全体で16ビツトであるが、機関
回転速度Nは11ビツトあれば十分高精度に表わす
ことができる。例えば6000r.p.m.の機関回転速度
Nを11ビツトで表わすと、LSBはほぼ3.125r.p.m.
になる。したがつて第1の記憶部A1の全ビツト
を用いなければならない必要はない。ステツプ5
0では第1の記憶部A1の値を右へn回、桁送り
(シフト)した値R/2nを算出する。例えば最大
機関回転速度を第1の記憶部A1において11ビツ
トで表わしている場合にはn=3である。この結
果、第1の記憶部A1に記憶されるすべての機関
回転速度を8ビツト、すなわち1バイトの表示へ
変換できる。nは、最大機関回転速度を表示する
ビツト数−8であり、1ないし8の範囲の自然数
であり、n=3に限定されない。ステツプ51で
はR/2nを1バイトの第2の記憶部A2に記憶す
る。こうして2バイトで表示されている機関回転
速度が第1の記憶部A1に、1バイトで表示され
ている機関回転速度が第2の記憶部A2に記憶さ
れる。こうして本プログラムの処理を終了する。 FIG. 3 is a flowchart of a program that detects the engine rotational speed and stores it in the first and second storage sections A1 and A2 of the RAM 37. This program is executed in conjunction with the generation of a 30° crank angle pulse. In step 46, the current time tn is detected and stored. In step 47, the elapsed time Δt from the previous time tn-1 is calculated. In step 48, the engine rotational speed R is calculated from R=C/Δt. However, C is a constant (C=30°/360°). R=C/Δt is 2
Calculated in bytes. In step 49, the engine rotational speed R is stored in the 2-byte first storage section A1. The first memory section A1 has 16 bits in total, but the engine rotational speed N can be represented with a sufficiently high precision if it has 11 bits. For example, if the engine speed N of 6000 rpm is expressed in 11 bits, the LSB is approximately 3.125 rpm.
become. Therefore, it is not necessary to use all the bits in the first memory section A1. Step 5
0, a value R/2 n is calculated by shifting the value in the first storage unit A1 to the right n times. For example, when the maximum engine rotational speed is represented by 11 bits in the first storage section A1, n=3. As a result, all the engine rotational speeds stored in the first storage section A1 can be converted into 8-bit, ie, 1-byte, representation. n is the number of bits representing the maximum engine rotational speed -8, is a natural number in the range of 1 to 8, and is not limited to n=3. In step 51, R/2 n is stored in the 1-byte second storage section A2. In this way, the engine rotation speed displayed in 2 bytes is stored in the first storage section A1, and the engine rotation speed displayed in 1 byte is stored in the second storage section A2. In this way, the processing of this program ends.
図示しないプログラムにより実行される高い精
度を必要とする燃料噴射量の算出、アイドル回転
数制御のためには高精度の機関回転速度(約
3.125r.p.m.)が必要となる。したがつてこれらの
場合、第1の記憶部A1から機関回転速度のデー
タを読出す。また、図示しないプログラムにより
実行される高い精度を必要としない燃料遮断ある
いは加速増量の制御では低精度の機関回転速度
(約25r.p.m.)で十分であり、したがつてこれら
の場合では第2の記憶部A2から機関回転速度の
データを読込む。このような低精度の機関回転速
度データ(8ビツト)を用いると、高精度の機関
回転速度データ、即ち11ビツトのデータを用いた
場合に比較して、8ビツト単位で演算するCPU
35側の処理ステツプ数が極めて少なくて済む。 In order to calculate the fuel injection amount, which requires high precision, and to control the idle speed, which is executed by a program (not shown), a highly accurate engine speed (approx.
3.125rpm) is required. Therefore, in these cases, the engine rotational speed data is read from the first storage section A1. In addition, for fuel cutoff or acceleration increase control that does not require high precision and is executed by a program (not shown), a low precision engine speed (approximately 25 rpm) is sufficient; therefore, in these cases, the second Read engine rotational speed data from storage section A2. When using such low-precision engine rotation speed data (8 bits), compared to using high-precision engine rotation speed data, that is, 11-bit data, the CPU needs to perform calculations in 8-bit units.
The number of processing steps on the 35 side is extremely small.
即ち、8ビツト型CPU35が実行しているメ
インルーチンの内部では、その1回の制御周期で
燃料遮断、加速増量、高負荷増量あるいは点火時
期加速進角等の実行タイミング判断といつた低精
度の演算処理が多数存在する。 That is, within the main routine executed by the 8-bit CPU 35, low-accuracy judgments such as execution timing judgments such as fuel cutoff, acceleration increase, high load increase, or ignition timing acceleration advance are performed in one control cycle. There are many calculation processes.
この各制御の実行タイミングを判断するため
に、機関回転速度データをCPU35が読出し、
その値を他の値(判定値)と単純に比較する場合
を考る。 In order to determine the execution timing of each control, the CPU 35 reads engine rotation speed data,
Consider a case where that value is simply compared with another value (judgment value).
高精度の11ビツト機関回転速度データの場合
は、そのデータは2バイトデータとして扱われ、
1回の判断において、読出し動作に3バイト(ス
テツプ)、比較動作に3バイト(ステツプ)の合
計6バイト(ステツプ)の処理が必要である。と
ころが低精度の8ビツト機関回転速度データの場
合は、読出し動作に2バイト(ステツプ)、比較
動作に2バイト(ステツプ)の合計4バイト(ス
テツプ)の処理が必要となる。 In the case of highly accurate 11-bit engine speed data, the data is treated as 2-byte data,
One judgment requires processing of a total of 6 bytes (steps), 3 bytes (steps) for the read operation and 3 bytes (steps) for the comparison operation. However, in the case of low-precision 8-bit engine rotational speed data, a total of 4 bytes (steps), 2 bytes (steps) for the read operation and 2 bytes (steps) for the comparison operation, are required.
また、実行タイミングの判断処理の内には、上
述の数値比較の前に、吸入空気量(Q)と機関回
転速度(NE)とでQ/NEの計算を実行しなく
てはならない場合がある。このような場合は、Q
とNEとが共に2バイトデータでの計算(2バイ
ト/2バイト)では、70〜100バイト(ステツプ)
程度の処理を要す。しかし、Qが2バイト(9ビ
ツト〜16ビツト)データでもNEが8ビツトデー
タであれば、ステツプ数は極めて少なく、2バイ
トのステツプ数で済む。 Additionally, in the process of determining execution timing, it may be necessary to calculate Q/NE using the intake air amount (Q) and engine rotational speed (NE) before the numerical comparison described above. . In such a case, Q
and NE are both 70 to 100 bytes (step) when calculating with 2 bytes of data (2 bytes/2 bytes).
Some processing is required. However, if Q is 2 bytes (9 bits to 16 bits) data but NE is 8 bits data, the number of steps is extremely small, and only 2 bytes are sufficient.
従つて、1回の制御周期内で、多数出てくる低
精度でもかまわない演算に対して、8ビツトデー
タを用いると、11ビツトデータを用いた場合に比
較して、通常、数十バイト〜数百バイトのステツ
プ数が減少する。 Therefore, when using 8-bit data for arithmetic operations that occur many times within one control cycle and can be performed with low precision, it usually takes several tens of bytes to 100 bytes compared to when using 11-bit data. The number of steps is reduced by hundreds of bytes.
確かに、ステツプ50,51に示すごとく、11ビツ
トで記憶されている機関回転速度データから8ビ
ツトで記憶されている機関回転速度データを作成
するために、余分なステツプ数(5バイト程度)
が増加する。しかし、この増加ステツプは制御周
期1周期につき1回のみである。上記数十バイト
〜数百バイトのステツプ数の低減に比較して微々
たるものである。 Indeed, as shown in steps 50 and 51, an extra number of steps (approximately 5 bytes) are required to create engine rotation speed data stored in 8 bits from engine rotation speed data stored in 11 bits.
increases. However, this increase step occurs only once per control period. This is insignificant compared to the above reduction in the number of steps of several tens to hundreds of bytes.
この結果、制御全体におけるプログラムのステ
ツプ数が大幅に低減される。 As a result, the number of program steps in the overall control is significantly reduced.
[発明の効果]
このように本発明は、機関回転速度データを所
定ビツト数での記憶と、その所定ビツト数より大
きいビツト数での記憶との両方の記憶を行つてい
る。そして高精度の機関回転速度データを必要と
する場合は所定ビツト数より大きいビツトで記憶
された機関回転速度データを選択して制御に用い
る。低精度の機関回転速度データで十分な場合は
所定ビツト数で記憶された機関回転速度データを
選択して制御に用いる。[Effects of the Invention] As described above, the present invention stores engine rotational speed data both in a predetermined number of bits and in a number of bits larger than the predetermined number of bits. When highly accurate engine rotational speed data is required, engine rotational speed data stored with bits larger than a predetermined number of bits is selected and used for control. If low-accuracy engine rotation speed data is sufficient, engine rotation speed data stored with a predetermined number of bits is selected and used for control.
従つて、高精度の制御では通常のステツプ数で
制御処理が行われるが、低精度でもよい制御では
少ないステツプ数で制御処理が可能となり、デジ
タルプロセツサの処理全体としてはステツプ数が
大きく低減する。 Therefore, in high-precision control, control processing is performed with the usual number of steps, but in control that requires less precision, control processing can be performed with a smaller number of steps, and the overall number of steps in digital processor processing is greatly reduced. .
この結果、節約されたステツプ数は他の制御プ
ログラムに用いることにより、制御装置全体の制
御能力を大幅に向上させることができる。 As a result, the saved number of steps can be used for other control programs, thereby greatly improving the control ability of the entire control device.
第1図は本発明が適用される電子制御機関の全
体の概略図、第2図は第1図の電子制御装置のブ
ロツク図、第3図はそのプログラムのフローチヤ
ートである。
15…電子制御装置、23…クランク角セン
サ、35…CPU、37…RAM。
FIG. 1 is an overall schematic diagram of an electronically controlled engine to which the present invention is applied, FIG. 2 is a block diagram of the electronic control device shown in FIG. 1, and FIG. 3 is a flowchart of its program. 15...Electronic control unit, 23...Crank angle sensor, 35...CPU, 37...RAM.
Claims (1)
を、所定ビツト数を演算単位とするデジタルプロ
セツサにて演算処理し、その結果を出力すること
により出力機関を制御する機関制御装置であつ
て、 上記検出された機関回転速度データを上記所定
ビツト数および所定ビツト数より大きいビツト数
の両方の精度で記憶する記憶手段と、 出力機関の各種制御に要求される精度に対応し
て、所定ビツト数で記憶されている機関回転速度
データおよび所定ビツト数より大きいビツト数で
記憶されている機関回転速度データの内のいずれ
かを選択して各制御に用いる制御手段と、 を備えたことを特徴とする機関制御装置。 2 所定ビツト数で記憶されている機関回転速度
データが、所定ビツト数より大きいビツト数で記
憶されている機関回転速度データを所定数右へシ
フトすることにより得られたデータであることを
特徴とする特許請求の範囲第1項記載の機関制御
装置。 3 所定ビツト数より大きいビツト数で記憶され
ている機関回転速度データを、燃料噴射量の計算
あるいはアイドル回転数制御に用いることを特徴
とする特許請求の範囲第1項あるいは第2項記載
の機関制御装置。 4 所定ビツト数で記憶されている機関回転速度
データを、燃料遮断の制御あるいは加速増量の制
御で用いることを特徴とする特許請求の範囲第1
項ないし第3項のいずれかに記載の機関制御装
置。 5 所定数が3であることを特徴とする特許請求
の範囲第2項記載の機関制御装置。[Scope of Claims] 1. Engine control in which engine rotational speed data detected from an output engine is processed by a digital processor using a predetermined number of bits as a unit of calculation, and the output engine is controlled by outputting the result. The apparatus comprises a storage means for storing the detected engine rotational speed data with an accuracy of both the predetermined number of bits and a number of bits greater than the predetermined number of bits, and a storage means that stores the detected engine rotational speed data with an accuracy of both the predetermined number of bits and a number of bits larger than the predetermined number of bits, and a storage means that stores the detected engine rotation speed data with an accuracy of both the predetermined number of bits and a number of bits larger than the predetermined number of bits, and a storage means that stores the detected engine rotation speed data with an accuracy of both the predetermined number of bits and a number of bits larger than the predetermined number of bits, and the storage means corresponds to the accuracy required for various types of control of the output engine. control means for selecting either engine rotational speed data stored with a predetermined number of bits or engine rotational speed data stored with a larger number of bits than the predetermined number of bits for each control; An engine control device characterized by: 2. The engine rotation speed data stored with a predetermined number of bits is data obtained by shifting the engine rotation speed data stored with a larger number of bits than the predetermined number to the right by a predetermined number. An engine control device according to claim 1. 3. The engine according to claim 1 or 2, wherein the engine rotational speed data stored in a bit number larger than a predetermined number of bits is used for calculating the fuel injection amount or controlling the idle rotational speed. Control device. 4. Claim 1, characterized in that engine rotational speed data stored in a predetermined number of bits is used for fuel cutoff control or acceleration increase control.
The engine control device according to any one of Items 1 to 3. 5. The engine control device according to claim 2, wherein the predetermined number is three.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3230782A JPS58150059A (en) | 1982-03-03 | 1982-03-03 | Memory method of engine speed in electronically controlled engine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3230782A JPS58150059A (en) | 1982-03-03 | 1982-03-03 | Memory method of engine speed in electronically controlled engine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58150059A JPS58150059A (en) | 1983-09-06 |
| JPH0333915B2 true JPH0333915B2 (en) | 1991-05-20 |
Family
ID=12355282
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3230782A Granted JPS58150059A (en) | 1982-03-03 | 1982-03-03 | Memory method of engine speed in electronically controlled engine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58150059A (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5458121A (en) * | 1977-10-19 | 1979-05-10 | Hitachi Ltd | Automobile controller |
| JPS5458118A (en) * | 1977-10-19 | 1979-05-10 | Hitachi Ltd | Automobile controller |
-
1982
- 1982-03-03 JP JP3230782A patent/JPS58150059A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58150059A (en) | 1983-09-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4730256A (en) | Electronic control apparatus including microcomputers for controlling some of the systems found in a vehicle | |
| US4450528A (en) | Method and apparatus for controlling the operation of an internal combustion engine | |
| US4345561A (en) | Air-fuel ratio control method and its apparatus | |
| GB2054212A (en) | Method of controlling air-fuel ratio for internal combustion engine | |
| JP2702741B2 (en) | Fuel injection device | |
| EP0162469A2 (en) | A method for controlling the fuel supply of an internal combustion engine | |
| JPS598656B2 (en) | fuel injector | |
| US4469073A (en) | Electronic fuel injecting method and device for internal combustion engine | |
| US4559915A (en) | Method of controlling air-fuel ratio and ignition timing in internal combustion engine and apparatus therefor | |
| JPH0333915B2 (en) | ||
| US4702213A (en) | Method for controlling air/fuel ratio | |
| JPH0312655B2 (en) | ||
| JPS60101241A (en) | Engine control device | |
| US5503126A (en) | Ignition timing control system for internal combustion engines | |
| US6474309B2 (en) | Fuel injection control apparatus | |
| JPH0316498B2 (en) | ||
| US4658785A (en) | Method of controlling air-fuel ratio and ignition timing in internal combustion engine and apparatus therefor | |
| JPS61116051A (en) | Method for processing engine control signal | |
| JP2543379B2 (en) | Knocking control device for internal combustion engine | |
| JPH067083B2 (en) | Intake air amount detector for internal combustion engine | |
| JPS6217343A (en) | Fuel injection control system | |
| JPS58150864A (en) | Detection of rotational speed of electronically controlled engine | |
| JPH0310962B2 (en) | ||
| JPS6336038A (en) | Fuel feeding quantity control device for internal combustion engine | |
| JP2520693B2 (en) | Engine fuel control device |