JP2001099678A - Electronic control apparatus - Google Patents

Electronic control apparatus

Info

Publication number
JP2001099678A
JP2001099678A JP27449699A JP27449699A JP2001099678A JP 2001099678 A JP2001099678 A JP 2001099678A JP 27449699 A JP27449699 A JP 27449699A JP 27449699 A JP27449699 A JP 27449699A JP 2001099678 A JP2001099678 A JP 2001099678A
Authority
JP
Japan
Prior art keywords
value
smoothed
floating
raw
control
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.)
Pending
Application number
JP27449699A
Other languages
Japanese (ja)
Inventor
Keiko Koyama
桂子 小山
Tetsuya Otaki
哲也 大瀧
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP27449699A priority Critical patent/JP2001099678A/en
Publication of JP2001099678A publication Critical patent/JP2001099678A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control apparatus whose controllability is enhanced by shortening the time up to a conversion operation when floating point-type data is smoothed and computed. SOLUTION: An engine control ECU 10 fetches the detection value (the actual value) of a sensor 2 which is installed at an engine 1, and it executes the control of the injection of a fuel and the control of the purge of a fuel gas. A floating point computing processor (FPU) 15 inside the ECU 10 executes a floating point-type computing operation. When the ECU 10 smoothes and computes floating point-type data on the detection value of the sensor, it finds the inclination of a smoothed and computed result. When the absolute value of the inclination becomes a prescribed value or lower, a smoothed value is made to agree forcibly with the actual value.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、浮動小数点型デー
タを演算する電子制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control unit for calculating floating point data.

【0002】[0002]

【従来の技術】自動車用エンジン制御などに適用される
電子制御装置(ECU)においては、急激な生値の変化
を避ける方法としてなまし演算が実施される。すなわ
ち、例えば吸入空気量やスロットル開度など、運転状態
に応じて絶えず変化する入力の実際の値(生値)は変動
が激しく、この値をそのまま制御に使うと制御系が不安
定になり、制御性が悪くなる。そのため、例えば下記の
式を用いてなまし演算を実施し、制御性を向上させるよ
うにしていた。 今回のなまし値=(前回のなまし値−生値)×なまし率
+生値 かかる場合、なまし値と生値との差になまし率を乗算
し、その積と生値との和により今回のなまし値を決定し
ていた。しかしながら、従来既存のECUでは整数型
(固定小数点型)演算にてなまし値を扱うため、「(前
回のなまし値−生値)×なまし率」の値が小数点以下と
なる場合、桁落ちによりなまし値が生値に収束してい
た。
2. Description of the Related Art In an electronic control unit (ECU) applied to the control of an engine for a vehicle, a smoothing operation is performed as a method for avoiding a sudden change in raw value. That is, for example, the actual value (raw value) of the input that constantly changes according to the operating state, such as the intake air amount and the throttle opening, fluctuates greatly. If this value is used for control as it is, the control system becomes unstable, Poor controllability. Therefore, for example, a smoothing operation is performed using the following equation to improve controllability. In this case, the average value = (previous average value-raw value) x average rate + raw value In this case, the difference between the average value and the raw value is multiplied by the average rate, and the product of the product and the raw value is calculated. The average value was determined by the sum. However, since the existing ECU treats the smoothed value by the integer type (fixed point type) operation, if the value of “(previous smoothed value−raw value) × smoothing rate” is smaller than the decimal point, The average value converged to the raw value due to the drop.

【0003】これに対し近年では、浮動小数点演算プロ
セッサ(FPU:Floating−PointUnit)を導入し、浮
動小数点型データによりエンジン制御を実施することが
検討されている。浮動小数点型データは、符号部、指数
部及び仮数部により構成され、例えば4バイトからなる
浮動小数点型データの場合、23ビットの仮数部を有す
ることで、常に7桁の精度(1/2^23 ≒0.0000001 の
精度)で演算が実施されるようになり、従来の整数型デ
ータに比べて非常に細かい精度が得られる。
On the other hand, in recent years, it has been studied to introduce a floating point arithmetic processor (FPU: Floating-Point Unit) and to execute engine control using floating point type data. Floating-point data is composed of a sign part, an exponent part, and a mantissa part. For example, in the case of floating-point data consisting of four bytes, by having a 23-bit mantissa part, seven-digit precision (1/2 ^) is always obtained. The calculation is performed with 23 (the precision of 0.0000001), and very fine precision can be obtained compared to the conventional integer type data.

【0004】例えば、検出範囲125°のスロットル開
度を、14ビット相当の精度で演算する場合、実値の整
数型では分解能(LSB)が(125deg/16384≒0.00762
9 )となるのに対し、浮動小数点型データでは整数型に
比べて76290倍(0.007629/0.0000001 ≒76290 )
の精度を持つことになる。
For example, when calculating the throttle opening in the detection range of 125 ° with an accuracy equivalent to 14 bits, the resolution (LSB) of the actual integer type is (125 deg / 16384 ≒ 0.00762).
9), whereas floating point type data is 76290 times (0.007629 / 0.0000001 ≒ 76290) compared to integer type
Will have the accuracy of

【0005】[0005]

【発明が解決しようとする課題】浮動小数点型データを
用いてなまし演算を行う場合、演算結果の精度が良くな
る分、従来の整数型でのなまし演算のような桁落ちは少
なくなる。ところが、なまし値が生値に近づくにつれて
なまし値が緩やかになり過ぎてしまい、なまし値の収束
に時間がかかるという問題がある。従って、なまし値が
収束してから起動するような処理が遅れたり、収束する
まで継続する処理が必要以上に長引いたりし、制御性が
悪化する可能性が考えられる。
In the case where an averaging operation is performed using floating-point data, the precision of the operation result is improved, and the number of lost digits in the conventional averaging operation is reduced. However, there is a problem that the smoothed value becomes too gentle as the smoothed value approaches the raw value, and it takes time to converge the smoothed value. Therefore, it is conceivable that the process of starting after the smoothed value converges is delayed, or the process that continues until the converges converges is unnecessarily prolonged, and controllability may deteriorate.

【0006】つまり、浮動小数点型データはその値によ
りキザミ(整数型のLSBのようなもの)が変化すると
いう性質がある。そのキザミは、浮動小数点型のデータ
が0に近づくほど細くなり、演算時の桁落ちが少ない。
一方、データの絶対値が大きくなるのに従いそのキザミ
も粗くなり、演算時の桁落ちの度合いも大きくなる。従
来の整数型演算では、LSB未満の端数を切り捨てるこ
とで早く収束するが、桁落ちは大きい。浮動小数点演算
はLSBという概念がないので、桁落ちは少ないが、演
算可能な精度まで演算が続きなかなか収束しない。
In other words, floating-point data has the property that a bit (such as an integer LSB) changes depending on its value. The cracks become thinner as the floating point type data approaches 0, and the digit loss at the time of calculation is small.
On the other hand, as the absolute value of the data increases, the roughness of the data also increases, and the degree of loss of digits during the calculation increases. In conventional integer arithmetic, convergence is achieved quickly by truncating fractions smaller than LSB, but significant digit loss occurs. Since the floating-point operation does not have the concept of LSB, the number of cancellations is small, but the operation does not easily converge to the operable precision.

【0007】本発明は、上記問題に着目してなされたも
のであって、浮動小数点型データのなまし演算時におい
て、収束までの時間を短縮することができる電子制御装
置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has as its object to provide an electronic control unit capable of shortening the time required for convergence in smoothing operation of floating-point data. And

【0008】[0008]

【課題を解決するための手段】請求項1に記載の電子制
御装置では、生値の浮動小数点型データをなまし演算す
る際、なまし演算結果の傾きを求め、その傾きの絶対値
が所定値以下になるとなまし値を強制的に生値に一致さ
せる。従って、なまし値の収束が遅れ、それに起因して
制御性が悪化するといった問題が解消される。つまり、
浮動小数点型データのなまし演算時において収束までの
時間を短縮し、制御性を向上させることができる。
In the electronic control device according to the present invention, when performing a smoothing operation on raw value floating-point data, a slope of a smoothing calculation result is obtained, and an absolute value of the slope is determined by a predetermined value. If the value is less than or equal to the value, the smoothed value is forced to match the raw value. Therefore, the problem that the convergence of the smoothed value is delayed and the controllability deteriorates due to the delay is solved. That is,
It is possible to reduce the time required for convergence during the smoothing operation of floating-point data and improve controllability.

【0009】なお本明細書において、「生値」とは各種
センサの実際の検出値や各種制御の制御指令値など、な
まし前の値を指し、本電子制御装置はその生値に対して
なまし演算を行い、なまし値を取得する。
In this specification, the term "raw value" refers to a value before smoothing, such as an actual detection value of various sensors or a control command value for various controls, and the present electronic control unit applies the raw value to the raw value. Performs an averaging operation and obtains an averaging value.

【0010】請求項2に記載の発明では、なまし演算結
果の傾きを判定するための前記所定値を、生値の要求精
度に応じて設定する。例えば、要求精度が比較的低い生
値の場合、前記所定値を大きくすれば、精度が落ちる反
面、収束の速いなまし演算が可能となる。また、要求精
度が比較的高い生値の場合、前記所定値を小さくすれ
ば、収束若干遅れるが、その分精度が向上する。
According to the second aspect of the present invention, the predetermined value for determining the slope of the smoothing operation result is set according to the required accuracy of the raw value. For example, in the case of a raw value for which the required accuracy is relatively low, if the predetermined value is increased, the accuracy decreases, but a smoothing operation with fast convergence becomes possible. In the case of a raw value requiring a relatively high accuracy, if the predetermined value is reduced, the convergence is slightly delayed, but the accuracy is improved accordingly.

【0011】また、請求項3に記載の発明では、なまし
演算結果の傾きを判定するための前記所定値を、生値の
変化量に応じて設定する。例えば、生値の変化量が大き
い場合、同変化量が小さい場合に比べ、前記所定値を大
きくする。これにより、生値の変化量が変わってもなま
し値の収束時間を均一化することが可能となる。
According to the third aspect of the present invention, the predetermined value for determining the inclination of the result of the smoothing operation is set in accordance with the amount of change in the raw value. For example, when the change amount of the raw value is large, the predetermined value is made larger than when the change amount is small. This makes it possible to equalize the convergence time of the average value even if the amount of change in the raw value changes.

【0012】こうして、請求項2又は3の如く、なまし
演算結果の傾きを判定するための所定値を適宜変更する
ことで、なまし値の精度と収束時間とを任意に管理調整
することができる。
In this way, by appropriately changing the predetermined value for judging the slope of the smoothing operation result, it is possible to arbitrarily manage and adjust the accuracy of the smoothing value and the convergence time. it can.

【0013】[0013]

【発明の実施の形態】以下、この発明を具体化した一実
施の形態を図面に従って説明する。図1は、エンジン制
御システムの概略を示すブロック図である。本システム
において、車載エンジン1は、例えばガソリン噴射式多
気筒内燃機関として構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram schematically showing an engine control system. In the present system, the on-vehicle engine 1 is configured as, for example, a gasoline injection type multi-cylinder internal combustion engine.

【0014】エンジン制御ECU10はマイクロコンピ
ュータ(以下、マイコンという)11を備え、同マイコ
ン11はCPU12、RAM13、ROM14、FPU
(浮動小数点演算プロセッサ)15、I/O(入出力装
置)16を備える。ここで、FPU15は浮動小数点形
式の演算を実施し、CPU12は浮動小数点形式以外の
演算を実施する。
The engine control ECU 10 includes a microcomputer (hereinafter, referred to as a microcomputer) 11, which includes a CPU 12, a RAM 13, a ROM 14, an FPU
(Floating point arithmetic processor) 15 and I / O (input / output device) 16. Here, the FPU 15 performs a calculation in a floating-point format, and the CPU 12 performs a calculation in a format other than the floating-point format.

【0015】ECU10には、エンジン1に設けられた
センサ2から、エンジン運転状態を表す各種情報が入力
される。センサ2は、例えば吸入空気量を検出するため
のエアフロメータ、冷却水温を検出するための水温セン
サ、スロットル開度を検出するためのスロットル開度セ
ンサなどからなる。そして、ECU10は、前記入力さ
れるセンサ信号を基に、図示しないインジェクタによる
燃料噴射の制御や燃料ガスのパージ制御などを実施す
る。
Various information indicating the operating state of the engine is input to the ECU 10 from a sensor 2 provided in the engine 1. The sensor 2 includes, for example, an air flow meter for detecting an intake air amount, a water temperature sensor for detecting a cooling water temperature, a throttle opening sensor for detecting a throttle opening, and the like. Then, the ECU 10 controls fuel injection by an injector (not shown), purge control of fuel gas, and the like based on the input sensor signal.

【0016】上記センサ2により検出された実際の値
(以下、実値という)はノイズ等を含み、そのままでは
制御に使えない。つまり、実値は変動が激しく、この値
をそのまま制御に使うと、誤動作のおそれがある。その
ため、ECU10は、前記入力した実値に対してなまし
演算を施してノイズを除去した後、そのなまし値を制御
に使用する。
The actual value detected by the sensor 2 (hereinafter referred to as the actual value) includes noise and the like and cannot be used for control as it is. That is, the actual value fluctuates greatly, and if this value is used as it is for control, there is a risk of malfunction. Therefore, the ECU 10 performs a smoothing operation on the input actual value to remove noise, and then uses the smoothed value for control.

【0017】FPU15により演算される浮動小数点型
データは例えばIEEE754規格に従い構成され、図
2に示されるようにその内訳として、1ビットの符号部
と、8ビットの指数部と、23ビットの仮数部とを有す
る。仮数部が23ビットで構成される4バイトの浮動小
数点型データの場合、7桁の分解能(0.0000001 の分解
能)を持つ。
The floating-point data calculated by the FPU 15 is formed, for example, in accordance with the IEEE754 standard. As shown in FIG. 2, the data consists of a 1-bit sign, an 8-bit exponent, and a 23-bit mantissa. And In the case of 4-byte floating point data in which the mantissa part is composed of 23 bits, it has a resolution of 7 digits (resolution of 0.0000001).

【0018】次に、本実施の形態における作用を説明す
る。図3は、センサ検出値を取り込むための時間割込み
処理を示すフローチャートであり、同処理はエンジン制
御ECU10内のCPU12により例えば8ms周期で
実行される。図3の処理では、センサ検出値(実値a)
を所定周期でなまし演算し、その都度、実値a又はなま
し値bの何れかを制御値として出力する。こうした処理
の過程において、FPU15により実値a及びなまし値
bを浮動小数点演算する。
Next, the operation of the present embodiment will be described. FIG. 3 is a flowchart showing a time interruption process for taking in a sensor detection value. This process is executed by the CPU 12 in the engine control ECU 10 at a cycle of, for example, 8 ms. In the process of FIG. 3, the sensor detection value (actual value a)
Is calculated at predetermined intervals, and each time, either the actual value a or the average value b is output as a control value. In the course of such processing, the FPU 15 performs a floating-point operation on the real value a and the smoothed value b.

【0019】図3において、先ずステップ110では、
センサ2から実値aを読み込み、続くステップ120で
は、実値aをなまし演算する。すなわち、 今回のなまし値=(前回のなまし値−実値)×なまし率
+実値 としてなまし値bを算出する。この際、a,bの各値
は、FPU15により浮動小数点型で高速演算されるよ
うになっている。
In FIG. 3, first, at step 110,
The actual value a is read from the sensor 2, and in the subsequent step 120, the actual value a is smoothed. That is, the averaging value b is calculated as the averaging value of this time = (the previous averaging value−the actual value) × the averaging rate + the actual value. At this time, the values of a and b are calculated by the FPU 15 in a floating-point type at high speed.

【0020】その後、ステップ130では、前記a,b
の各値を用いて、なまし演算結果の傾きcを求める。す
なわち、 なまし演算結果の傾き=今回のなまし値−前回のなまし
値 として傾きcを算出する。
Thereafter, in step 130, the a, b
Is used to determine the slope c of the result of the smoothing operation. That is, the slope c is calculated as the slope of the smoothed calculation result = the current smoothed value−the previous smoothed value.

【0021】その後、ステップ140では、傾きcの絶
対値が所定値kc以下であるか否かを判別する。そし
て、|c|>kcであれば、ステップ150でなまし値
bを制御値として出力し、その後本ルーチンを一旦終了
する。|c|≦kcであれば、ステップ160で実値a
を制御値として出力し、その後本ルーチンを一旦終了す
る。
Thereafter, in step 140, it is determined whether or not the absolute value of the gradient c is equal to or smaller than a predetermined value kc. If | c |> kc, the average value b is output as the control value in step 150, and then the present routine is terminated. If | c | ≦ kc, the actual value a
Is output as a control value, and then this routine is temporarily terminated.

【0022】図4は、なまし値の変化を示すタイムチャ
ートである。図4では、同図(a)のように実値がa1
からa2に変化したとする。このとき、従来の整数型演
算を例示する(b)では、図示の如くなまし値が変化
し、なまし値の更新量がLSB未満になる時刻t1で、
なまし演算を中止し、実値a2を制御値とする。すなわ
ち、時刻t1でなまし値が実値a2に収束する。また、
従来の浮動小数点演算(FPU演算)を例示する(c)
では、上記(b)でなまし演算が中止される時刻t1を
過ぎてもなまし演算が継続される。つまり、上記
(b),(c)を比べると、(b)の整数型演算では、
LSB未満の端数を切り捨てることで早く収束するが、
桁落ちが大きい。また(c)のFPU演算では、LSB
という概念がないので、演算可能な精度までなまし演算
を実施する。そのため、桁落ちは少ないが、なかなか収
束しない。
FIG. 4 is a time chart showing changes in the smoothed value. In FIG. 4, the actual value is a1 as shown in FIG.
From a to a2. At this time, in (b) exemplifying the conventional integer type operation, at time t1 when the smoothed value changes as shown in the figure and the update amount of the smoothed value becomes less than the LSB,
The smoothing operation is stopped, and the actual value a2 is set as the control value. That is, at time t1, the smoothed value converges to the actual value a2. Also,
Illustrates a conventional floating point operation (FPU operation) (c)
Then, the smoothing operation is continued even after the time t1 at which the smoothing operation is stopped in the above (b). That is, comparing the above (b) and (c), in the integer type operation of (b),
It converges quickly by truncating fractions less than LSB,
Digit drop is large. In the FPU calculation of (c), the LSB
Since there is no concept, the smoothing operation is performed up to the operable accuracy. For this reason, the number of digits lost is small, but it does not easily converge.

【0023】これに対し、本案の浮動小数点演算(FP
U演算)を例示する(d)では、なまし値の傾きcを求
め、その傾きcの絶対値が所定値kcより小さくなる
と、強制的になまし演算を中止し、実値a2を制御値と
する。従って、整数型演算でのなまし演算と同じ時刻t
1で実値が収束し、上記(c)に比べてなまし値の収束
時間が短縮される。
On the other hand, the floating point operation (FP
In (d) exemplifying U operation), the slope c of the smoothing value is obtained, and when the absolute value of the slope c becomes smaller than the predetermined value kc, the smoothing operation is forcibly stopped and the actual value a2 is changed to the control value. And Therefore, the same time t as the smoothing operation in the integer type operation
At 1, the actual value converges, and the convergence time of the smoothed value is shortened as compared with the above (c).

【0024】以上詳述した本実施の形態によれば、実値
(生値)の浮動小数点型データをなまし演算する際に、
なまし値の収束が遅れ、それに起因して制御性が悪化す
るといった問題が解消される。つまり、従来の整数型を
使った演算にて築き上げられた制御仕様をそのまま浮動
小数点に適用しても、整数型演算時に比べ収束時間が長
引くことはなく、なまし値が収束してから起動するよう
な処理が遅れたり、収束するまで継続する処理が必要以
上に長引いたりし、制御性が悪化するといった問題が回
避される。それ故、整数型データでのなまし演算と同等
の制御性が確保できる。
According to the embodiment described above, when smoothing floating-point data of real values (raw values),
The problem that the convergence of the averaging value is delayed and the controllability deteriorates due to the delay is eliminated. In other words, even if the control specification built by the conventional operation using the integer type is directly applied to the floating point, the convergence time is not prolonged compared to the case of the integer type operation, and the operation is started after the smoothed value converges. It is possible to avoid such a problem that such processing is delayed or processing that continues until convergence is unnecessarily prolonged, thereby deteriorating controllability. Therefore, controllability equivalent to smoothing operation with integer data can be secured.

【0025】なお本発明は、上記以外に次の形態にて具
体化できる。なまし値の傾きcを判定するための所定値
kcを、センサ検出値(実値)の要求精度に応じて設定
する。例えば、水温など、要求精度が比較的低いセンサ
検出値の場合は所定値kcを大きくしてなまし値の精度
よりも収束性を優先し、吸入空気量など、要求精度が比
較的高いセンサ検出値の場合は所定値kcを小さくして
なまし値の収束性よりも精度向上を優先する。
The present invention can be embodied in the following forms other than the above. A predetermined value kc for determining the slope c of the smoothed value is set according to the required accuracy of the sensor detection value (actual value). For example, in the case of a sensor detection value with a relatively low required accuracy, such as a water temperature, the predetermined value kc is increased to give priority to convergence over the accuracy of the smoothed value, and a sensor detection value with a relatively high required accuracy, such as an intake air amount, is detected. In the case of a value, the predetermined value kc is made smaller to give higher priority to the accuracy improvement than the convergence of the smoothed value.

【0026】また、なまし値の傾きcを判定するための
所定値kcを、センサ検出値(実値)の変化量に応じて
設定する。例えば、センサ検出値の変化量が大きい場
合、同変化量が小さい場合に比べ、所定値kcを大きく
する。これにより、センサ検出値の変化量が変わっても
なまし値の収束時間を均一化することが可能となる。
Further, a predetermined value kc for determining the slope c of the smoothed value is set according to the amount of change in the sensor detection value (actual value). For example, when the amount of change in the sensor detection value is large, the predetermined value kc is made larger than when the amount of change is small. As a result, even if the amount of change in the sensor detection value changes, the convergence time of the smoothed value can be made uniform.

【0027】こうして、センサ検出値の要求精度や変化
量に応じて所定値kcを適宜変更することにより、なま
し値の精度と収束時間とを任意に管理調整することがで
きる。
In this way, by appropriately changing the predetermined value kc according to the required accuracy and the amount of change in the sensor detection value, the accuracy of the smoothed value and the convergence time can be arbitrarily managed and adjusted.

【0028】上記実施の形態では、センサ検出値をなま
し演算する事例を具体化したが、これに代えて、各種ア
クチュエータ(ドライバ回路)に対する制御指令値のな
まし演算で具体化してもよい。この場合、例えば、燃料
蒸発ガスのパージ制御など、要求精度が比較的低い制御
指令値の場合は、なまし値の傾きcを判定するための所
定値kcを大きくしてなまし値の精度よりも収束性を優
先し、燃料噴射制御や電子スロットル制御など、要求精
度が比較的高い制御指令値の場合は所定値kcを小さく
してなまし値の収束性よりも精度向上を優先するとよ
い。また、所定値kcを、制御指令値の変化量に応じて
可変に設定してもよい。
In the above-described embodiment, the case where the sensor detection value is smoothed is specified. Alternatively, the control command value for various actuators (driver circuits) may be smoothed. In this case, for example, in the case of a control command value having a relatively low required accuracy, such as a purge control of fuel evaporative gas, the predetermined value kc for determining the slope c of the smoothed value is set to be larger than the accuracy of the smoothed value. In the case of a control command value with relatively high required accuracy, such as fuel injection control or electronic throttle control, it is preferable to reduce the predetermined value kc and give priority to improving accuracy over convergence of the smoothed value. Further, the predetermined value kc may be set variably according to the amount of change in the control command value.

【図面の簡単な説明】[Brief description of the drawings]

【図1】発明の実施の形態におけるエンジン制御システ
ムの概略を示すブロック図。
FIG. 1 is a block diagram schematically showing an engine control system according to an embodiment of the present invention.

【図2】浮動小数点型データの構成を示す図。FIG. 2 is a diagram showing a configuration of floating-point type data.

【図3】CPUによる時間割込みルーチンを示すフロー
チャート。
FIG. 3 is a flowchart showing a time interruption routine by a CPU.

【図4】なまし値の推移を示すタイムチャート。FIG. 4 is a time chart showing transition of an average value.

【符号の説明】[Explanation of symbols]

1…エンジン、10…エンジン制御ECU(電子制御装
置)、11…マイコン、12…CPU、15…FPU
(浮動小数点演算プロセッサ)。
DESCRIPTION OF SYMBOLS 1 ... Engine, 10 ... Engine control ECU (electronic control device), 11 ... Microcomputer, 12 ... CPU, 15 ... FPU
(Floating point processor).

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2F024 AA02 AF01 3G084 BA13 BA15 BA27 DA06 EA08 EA11 EB02 EB07 EB25 EC04 FA07 FA10 FA20 5B022 AA00 BA01 EA07 FA01 FA07 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2F024 AA02 AF01 3G084 BA13 BA15 BA27 DA06 EA08 EA11 EB02 EB07 EB25 EC04 FA07 FA10 FA20 5B022 AA00 BA01 EA07 FA01 FA07

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】浮動小数点型データを演算する電子制御装
置において、 生値の浮動小数点型データをなまし演算する際、なまし
演算結果の傾きを求め、その傾きの絶対値が所定値以下
になるとなまし値を強制的に生値に一致させることを特
徴とする電子制御装置。
An electronic control unit for calculating floating-point data, wherein, when smoothing raw-valued floating-point data, a slope of a smoothing calculation result is obtained, and an absolute value of the slope is set to a predetermined value or less. An electronic control unit forcing an annealed value to coincide with a raw value.
【請求項2】なまし演算結果の傾きを判定するための前
記所定値を、生値の要求精度に応じて設定する請求項1
に記載の電子制御装置。
2. The method according to claim 1, wherein the predetermined value for determining the slope of the result of the smoothing operation is set in accordance with a required accuracy of the raw value.
An electronic control unit according to claim 1.
【請求項3】なまし演算結果の傾きを判定するための前
記所定値を、生値の変化量に応じて設定する請求項1又
は2に記載の電子制御装置。
3. The electronic control device according to claim 1, wherein the predetermined value for determining the inclination of the result of the smoothing operation is set according to a change amount of the raw value.
JP27449699A 1999-09-28 1999-09-28 Electronic control apparatus Pending JP2001099678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27449699A JP2001099678A (en) 1999-09-28 1999-09-28 Electronic control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27449699A JP2001099678A (en) 1999-09-28 1999-09-28 Electronic control apparatus

Publications (1)

Publication Number Publication Date
JP2001099678A true JP2001099678A (en) 2001-04-13

Family

ID=17542506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27449699A Pending JP2001099678A (en) 1999-09-28 1999-09-28 Electronic control apparatus

Country Status (1)

Country Link
JP (1) JP2001099678A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009275613A (en) * 2008-05-15 2009-11-26 Denso Corp Control device of internal combustion engine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009275613A (en) * 2008-05-15 2009-11-26 Denso Corp Control device of internal combustion engine

Similar Documents

Publication Publication Date Title
US5070846A (en) Method for estimating and correcting bias errors in a software air meter
JP2918624B2 (en) Engine fuel injection control method
KR0158880B1 (en) Fuel injection control method in an engine
JP2877953B2 (en) Electronic control unit for fuel metering of internal combustion engines
JP2001099678A (en) Electronic control apparatus
US6816777B2 (en) Electronic control system expediting floating point processing
JP3131333B2 (en) Engine electronically controlled fuel injection system
JPS5949351A (en) A/d converting method of engine control device
US6318163B1 (en) Method and apparatus for determining the throttle valve angle
JP3666226B2 (en) Electronic control unit
JP3690365B2 (en) Method for determining convergence of smoothing calculation by floating point arithmetic and electronic control unit
JP4645519B2 (en) Arithmetic processing device, control device and program
JP2000130247A (en) Knocking judging device for engine, judging method, and ignition timing control device
US4552110A (en) Electronic ignition control system
JP2001196933A (en) Electronic controller having floating point arithmetic function
US6799554B2 (en) Apparatus for controlling electronic throttle valve
JP2001282505A (en) Electronic controller having floating point computing function
JP2002157004A (en) Electronic control unit
JPH11212763A (en) Electronic controller
JPH09222043A (en) Ambient air temperature calculator of internal combustion engine
JPS63272933A (en) Control device for fuel injection
JP2000120480A (en) Operation state detecting method of engine and engine control method
JP3729133B2 (en) Electronic control device for vehicle and control program
JPH07116962B2 (en) Air-fuel ratio controller for internal combustion engine
JPH0783104A (en) Ignition timing control method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090307

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20100307

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20110307

LAPS Cancellation because of no payment of annual fees