JPH05216776A - Control unit for vehicle - Google Patents

Control unit for vehicle

Info

Publication number
JPH05216776A
JPH05216776A JP1871792A JP1871792A JPH05216776A JP H05216776 A JPH05216776 A JP H05216776A JP 1871792 A JP1871792 A JP 1871792A JP 1871792 A JP1871792 A JP 1871792A JP H05216776 A JPH05216776 A JP H05216776A
Authority
JP
Japan
Prior art keywords
data
sum
area
eeprom
areas
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
JP1871792A
Other languages
Japanese (ja)
Inventor
Yasuhito Nagai
康仁 永井
Akito Numata
明人 沼田
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.)
Hitachi Ltd
Hitachi Automotive Systems Engineering Co Ltd
Original Assignee
Hitachi Automotive Engineering Co Ltd
Hitachi Ltd
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 Hitachi Automotive Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Automotive Engineering Co Ltd
Priority to JP1871792A priority Critical patent/JPH05216776A/en
Publication of JPH05216776A publication Critical patent/JPH05216776A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the reliability of data by judging the quality of data stored in an EEPROM. CONSTITUTION:The EEPROM of 256 bytes is used, the data area is divided into four areas, SUM areas 1-4 and SUM write check areas SUMF 1-4 are provided in the respective data areas 1-4, the low-order two bytes of the total added value of data excepting for the SUM areas in the respective areas are written and stored in the SUM areas 1-4, and data showing the execution of SUM write are written and stored in the SUM write check area SUMF 1-4. Even when any area is judged as NG, for example, the other areas can be used as storage areas.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は自動車に装着された制御
装置でマイコンを使用しEEPROMを内蔵するコントロール
ユニットに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control unit mounted on an automobile, which uses a microcomputer and incorporates an EEPROM.

【0002】[0002]

【従来の技術】エリア分けしないSUMでチェックす
る。
2. Description of the Related Art A SUM that does not divide an area is used for checking.

【0003】[0003]

【発明が解決しようとする課題】EEPROMはデータ保持に
電源を使用しない読み書きができるメモリであるが、書
き込みの回数の補償に制限がある。この為記憶されてい
るデータの良否を判定する必要がある。
The EEPROM is a readable / writable memory that does not use a power source for holding data, but has a limitation in compensation of the number of times of writing. Therefore, it is necessary to judge the quality of the stored data.

【0004】[0004]

【課題を解決するための手段】EEPROMのデータを分割し
たエリアごとのサムによりチェックする。
[Means for Solving the Problems] The data of the EEPROM is checked by a sum for each divided area.

【0005】[0005]

【作用】EEPROMに保持されたデータの長期保存がはかれ
る。
[Function] The data held in the EEPROM can be stored for a long period of time.

【0006】[0006]

【実施例】以下、本発明の一実施例を図面により説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0007】図1に4サイクルエンジンのエンジン制御
システムの構成を示す。4サイクルエンジンにおいて、
エンジンへ吸入される空気(以下、吸入空気量と表記)
は、エアクリーナ18を通り、給気管30内の絞り弁1
6にて吸入空気量を制限され、インジェクタ8から噴射
・供給される燃料と混合し、ピストン20が下降する吸
気行程時に下がった吸気バルブ19とシリンダヘッド2
9との隙間を通ってシリンダ内へ吸入される。吸入・混
合された空気/燃料は、圧縮行程においてピストン20
の上昇により圧縮され、点火プラグ15により点火され
爆発(燃焼)し、ピストン20を押し下げる(膨張行
程)。燃焼後のシリンダ内の排気ガスは、排気行程時に
下がった排気バルブ21とシリンダヘッド29との隙間
を通り、排気管31へ導かれ、触媒22によって排気ガ
ス中の有害成分が除去されたのち大気へ排出される。
FIG. 1 shows the configuration of an engine control system for a 4-cycle engine. In a 4-cycle engine,
Air taken into the engine (hereinafter referred to as intake air volume)
Passes through the air cleaner 18 and the throttle valve 1 in the air supply pipe 30.
6, the intake air amount is limited, the fuel is mixed with the fuel injected and supplied from the injector 8, and the intake valve 19 and the cylinder head 2 are lowered during the intake stroke in which the piston 20 descends.
It is sucked into the cylinder through the gap with the cylinder 9. The intake / mixed air / fuel is transferred to the piston 20 during the compression stroke.
Is compressed by the rise of the ignition plug 15 and ignited by the ignition plug 15 to explode (combust) and push down the piston 20 (expansion stroke). The exhaust gas in the cylinder after combustion passes through the gap between the exhaust valve 21 and the cylinder head 29, which have dropped during the exhaust stroke, is guided to the exhaust pipe 31, and the harmful components in the exhaust gas are removed by the catalyst 22 and then the atmosphere. Is discharged to.

【0008】2はエンジンに吸入される空気量(以下、
吸入空気量と記す)を電気信号変換するエアフローメー
タ、3はエンジンの冷却水温に応じた信号を出力する水
温センサ、4はエンジンのクランク角が所定の位置を示
した時に信号を出力するクランク角センサ、5は吸入空
気量を調整する絞り弁19の開度に応じた信号を出力す
るスロットルセンサ5である。6は酸素濃度センサ(以
下O2 センサという)であり、酸素濃度が高い場合は低
い電圧(LOW信号)を、低い場合は高い電圧(HI信
号)を出力する。シリンダ内の燃焼は空燃比(空気AI
Rと燃料FUELの質量比 以下A/Fと言う)が14.7
付近が燃料と空気がもっともよく燃焼し、A/Fがこれ
より小さいときは酸素が不足し、これより大きいときは
酸素が過剰となる。O2 センサは酸素濃度により出力が
変化するため、実際の燃焼時の空燃比を知る事ができ
る。7はセンサ群,アクチュエータ群,コントロールユ
ニットに給電するバッテリである。
2 is the amount of air taken into the engine (hereinafter,
An air flow meter for converting an intake air amount) into an electric signal, 3 is a water temperature sensor for outputting a signal according to the cooling water temperature of the engine, and 4 is a crank angle for outputting a signal when the crank angle of the engine indicates a predetermined position. The sensor 5 is a throttle sensor 5 that outputs a signal according to the opening degree of the throttle valve 19 that adjusts the intake air amount. An oxygen concentration sensor (hereinafter referred to as an O 2 sensor) 6 outputs a low voltage (LOW signal) when the oxygen concentration is high and a high voltage (HI signal) when the oxygen concentration is low. Combustion in the cylinder depends on the air-fuel ratio (air AI
Mass ratio of R and fuel FUEL (hereinafter referred to as A / F) is 14.7.
In the vicinity, fuel and air burn best, and when the A / F is smaller than this, oxygen is insufficient, and when it is larger than this, oxygen is excessive. Since the output of the O 2 sensor changes depending on the oxygen concentration, it is possible to know the air-fuel ratio during actual combustion. A battery 7 supplies power to the sensor group, the actuator group, and the control unit.

【0009】この他にもスタータSW23,エアコンS
W24,N/L SW(ギヤのニュートラル/非ニュー
トラルの検出やクラッチのON/OFF状態を検出)2
5,パワステSW26,電気負荷SW(ヘッドライトや
ラジエータファンのON/OFF)27,車速センサ2
8、などがコントロールユニット1に接続されている。
Besides this, the starter SW 23 and the air conditioner S
W24, N / L SW (gear neutral / non-neutral detection and clutch ON / OFF state detection) 2
5, power steering SW 26, electric load SW (ON / OFF of headlights and radiator fan) 27, vehicle speed sensor 2
8, etc. are connected to the control unit 1.

【0010】1はコントロールユニットであり、上記セ
ンサ群,SW群等からの信号を基にエンジンの運転状態
を検出し、これらの情報により予め定められた手順に基
づき、燃料噴射信号をインジェクタ8へ、点火信号を点
火装置13へ、アイドル回転数制御信号をISCバルブ
12へ出力することでエンジンを快適にコントロールし
ている。
Reference numeral 1 denotes a control unit, which detects an operating state of the engine based on signals from the above-mentioned sensor group, SW group, etc., and sends a fuel injection signal to the injector 8 based on a predetermined procedure based on these information. The engine is comfortably controlled by outputting an ignition signal to the ignition device 13 and an idle speed control signal to the ISC valve 12.

【0011】タンク11の燃料は、ポンプ10によって
加圧され、インジェクタ8及びプレッシャーレギュレー
タ9に送られる。プレッシャーレギュレータ9は、イン
ジェクタ8に供給される燃料圧力(以下、燃圧と記す)
が所定値となるよう調整(調圧)する。インジェクタ8
はコントロールユニット1からの(駆動)信号によって
開弁(ON)/閉弁(OFF)し機関に所定の燃料を供
給する。
The fuel in the tank 11 is pressurized by the pump 10 and sent to the injector 8 and the pressure regulator 9. The pressure regulator 9 supplies fuel pressure to the injector 8 (hereinafter referred to as fuel pressure).
Is adjusted (adjusted) so that is a predetermined value. Injector 8
Is opened (ON) / closed (OFF) by a (driving) signal from the control unit 1 to supply a predetermined fuel to the engine.

【0012】点火コイル13は1次側コイルと2次側コ
イルの2つのコイルと1次側コイルへの通電をON/O
FFするためのパワースイッチを内蔵する構成となって
いる。1次側コイルはパワースイッチを介してコントロ
ールユニット1につながっている。2次側コイルは点火
信号を配電するディストリビュータ14を経由してエン
ジンの各シリンダの点火プラグ15に接続されている。
また、2次側コイルは1次側コイルよりコイルも巻数が
多い構造となっており、パワースイッチによって1次側
コイルへの通電がON→OFFすると2次側コイルに高
電圧が発生し、接続されている点火プラグ15に火花が
飛ぶことにより、シリンダ内の空気/燃料が着火(燃
焼)する。
The ignition coil 13 turns on / off two coils, a primary coil and a secondary coil, and energization to the primary coil.
The power switch for FF is built in. The primary coil is connected to the control unit 1 via a power switch. The secondary coil is connected to a spark plug 15 of each cylinder of the engine via a distributor 14 that distributes an ignition signal.
Also, the secondary coil has a structure in which the number of turns is larger than that of the primary coil, and when the power switch turns ON / OFF the primary coil, a high voltage is generated in the secondary coil and the secondary coil is connected. Sparks fly to the spark plug 15 that is being ignited, so that the air / fuel in the cylinder is ignited (combusted).

【0013】アイドル・スピード・コントロール・バル
ブ(以下、ISCバルブと表記)12は、吸入空気量を
制限する絞り弁9をバイパスする通路の開口面積をコン
トロールユニット1の信号に応じて変化させる。
An idle speed control valve (hereinafter referred to as an ISC valve) 12 changes the opening area of a passage bypassing the throttle valve 9 that limits the intake air amount according to a signal from the control unit 1.

【0014】エンジンに供給する燃料を調量する燃料噴
射制御では、コントロールユニットは計量された吸入空
気量よりエンジンに必要な基本燃料噴射量を演算する。
また、水温センサ3から検出されるエンジンの温度状態
(暖気〜暖気後〜高水温)やクランク角センサから計算
されるエンジン回転数・スロットルセンサ5・各SW群
状態から検出されるエンジンの加減速(所定時間内の信
号の変化量),アイドル(絞り弁が全閉),負荷変動等
のエンジンの運転状態により、基本燃料噴射量を増・減
量補正しインジェクタ8に噴射パルスを出力する。これ
によりエンジンを負荷や回転に応じた適正な運転状態に
する。
In the fuel injection control for adjusting the amount of fuel supplied to the engine, the control unit calculates the basic fuel injection amount required for the engine from the measured intake air amount.
Further, the engine temperature state detected by the water temperature sensor 3 (warm air-after warm-up to high water temperature), the engine speed calculated from the crank angle sensor, the throttle sensor 5, and the acceleration / deceleration of the engine detected from each SW group state. The basic fuel injection amount is increased / decreased and corrected according to the engine operating conditions such as (amount of change in signal within a predetermined time), idle (throttle valve is fully closed), load fluctuation, etc., and an injection pulse is output to the injector 8. This brings the engine into an appropriate operating state according to the load and rotation.

【0015】さらに、燃料噴射量をO2 センサ6の信号
から検出されるA/Fにより、A/Fがリーン(燃料が
薄い)状態では増量し、A/Fがリッチ(燃料が濃い)
状態では減量するよう調整することでA/Fを常に理論
空燃比14.7 の近傍に制御し、排気ガス中の有害成分
を抑える。
Further, the fuel injection amount is increased by the A / F detected from the signal of the O 2 sensor 6 when the A / F is lean (the fuel is thin), and the A / F is rich (the fuel is rich).
In the state, the A / F is always controlled to be close to the theoretical air-fuel ratio of 14.7 by adjusting so as to reduce the amount, and the harmful components in the exhaust gas are suppressed.

【0016】エンジンの点火タイミング及び点火コイル
への通電時間を制御する点火制御では、コントロールユ
ニット1は、エンジン回転数・吸入空気量・エンジン水
温・各SW群状態から認知されるエンジンの運転状態や
エンジンの温度状態に応じて最適な点火時期(クランク
角度位置)を演算・決定する。また、バッテリ7の電圧
状態やエンジンの運転状態から、点火に必要なエネルギ
ーを得るための通電時間を演算する。そして、クランク
角センサ4の信号を基に求められるクランク角度位置に
よりの最適なクランク角度位置で点火コイル13への通
電をON/OFFし最適なタイミングで点火を行う。これ
により、エンジンを負荷や回転に応じた適正な運転状態
にする。
In the ignition control for controlling the ignition timing of the engine and the energization time to the ignition coil, the control unit 1 controls the engine rotation speed, the intake air amount, the engine water temperature, the operating state of the engine recognized from each SW group state and the operating state of the engine. The optimum ignition timing (crank angle position) is calculated and determined according to the engine temperature condition. Further, the energization time for obtaining the energy required for ignition is calculated from the voltage state of the battery 7 and the operating state of the engine. Then, the energization to the ignition coil 13 is turned on / off at the optimum crank angle position based on the crank angle position obtained based on the signal of the crank angle sensor 4, and ignition is performed at the optimum timing. This brings the engine into an appropriate operating state according to the load and rotation.

【0017】絞り弁からバイパスされる空気量を制御す
るISC制御では、コントロールユニット1は、アイド
ル(絞り弁9全閉)時、エンジン回転数の変動をみて、
回転上昇時は吸入空気量を減じ、回転下降時は増加する
ようにISCバルブ12を制御することでアイドル回転
変動を抑えたり、走行中の急減速時に吸入空気量が増加
するようISCバルブ13を制御することで吸入空気量
が急に変化(減少)することによって起こる減速ショッ
クを抑え、エンジンの急な変動を緩和する。
In the ISC control for controlling the amount of air bypassed from the throttle valve, the control unit 1 observes the fluctuation of the engine speed when the engine is idle (throttle valve 9 is fully closed).
By controlling the ISC valve 12 so that the intake air amount is decreased when the rotation speed is increased and is increased when the rotation speed is decreased, the idle rotation fluctuation is suppressed, or the ISC valve 13 is increased so that the intake air amount is increased when the vehicle is suddenly decelerated. By controlling, the deceleration shock caused by the sudden change (decrease) in the intake air amount is suppressed, and the sudden fluctuation of the engine is mitigated.

【0018】図2はコントロールユニット1の構成図で
ある。コントロールユニット1は、信号処理,演算を行
うマイクロコンピュータ37,センサ群32のクランク
角センサ4や車速センサ28,SW類等の信号レベルが
離散的にディジタル信号を信号変換やノイズ除去等の処
理を行うディジタル信号入力回路35,水温センサ3や
スロットルセンサ5等の信号レベルが連続的に変化する
アナログ信号のノイズを除去するアナログ信号入力回路
36,マイクロコンピュータ37の出力信号を、外部の
アクチュエータ45を駆動する信号に変換する出力回路
44で構成されている。マイクロコンピュータ37は演
算を行うCPU43,プログラムや制御データを記憶す
るROM42,動作中の一時的なデータを記憶するRA
M41,計数を行うカウンタ40,ディジタル信号を入
力し、演算結果により出力回路に制御信号を出力するI
/O38,アナログ信号をディジタル信号変換するA/
D変換器39で構成されており、さらに、電気的に書き
込みが可能なEPROM(以下EEPROMという)46がマ
イクロコンピュータに接続されている(内部にあっても
良い)。学習記憶値や仕向地,調整データ等、書換が必
要で、コントロールユニットの電源が切れても保持して
置く必要のあるデータはEEPROM46に記憶される。CPU
43はROM42のプログラムによりセンサ入力信号か
ら所望の出力信号をカウンタ等を用いて生成しI/O3
8を介して出力回路44に出力する。出力回路44はマ
イクロコンピュータ37からの出力信号をインジェクタ
やイグニッション等のアクチュエータ45を動作できる
出力に変換し該当アクチュエータに出力する。アクチュ
エータは出力信号により動作しエンジンが制御される。
FIG. 2 is a block diagram of the control unit 1. The control unit 1 performs processing such as signal conversion and noise removal of a digital signal in which the signal levels of the microcomputer 37 that performs signal processing and calculation, the crank angle sensor 4 of the sensor group 32, the vehicle speed sensor 28, SWs, etc. are discrete. The digital signal input circuit 35, the analog signal input circuit 36 for removing noise of the analog signal whose signal level of the water temperature sensor 3, the throttle sensor 5, etc. continuously changes, the output signal of the microcomputer 37, the external actuator 45. It is composed of an output circuit 44 for converting into a driving signal. The microcomputer 37 includes a CPU 43 for performing calculations, a ROM 42 for storing programs and control data, and an RA for storing temporary data during operation.
M41, a counter 40 for counting, a digital signal is input, and a control signal is output to the output circuit according to the calculation result.
/ O38, A / for converting analog signals to digital signals
An electrically writable EPROM (hereinafter referred to as "EEPROM") 46, which is composed of the D converter 39, is connected to the microcomputer (may be inside). Data that needs to be rewritten, such as learned memory values, destinations, and adjustment data, and that must be retained even when the control unit is powered off is stored in the EEPROM 46. CPU
43 is a program of the ROM 42 to generate a desired output signal from the sensor input signal by using a counter or the like, and I / O 3
8 to the output circuit 44. The output circuit 44 converts an output signal from the microcomputer 37 into an output capable of operating an actuator 45 such as an injector or an ignition and outputs the output to the corresponding actuator. The actuator operates according to the output signal to control the engine.

【0019】図3に本発明のEEPROMの内部データのエリ
ア分けと構成を示す。本例では、256バイトのEEPROM
を用い、このデータエリアを4分割している。それぞれ
のデータエリア1〜4には、SUMエリア1〜4とSU
M書き込みチェックエリアSUMF1〜4が設けられて
おり、それぞれのエリアのSUMエリア以外のデータの
加算合計値の下位2バイトがSUM1〜4に、SUM書
き込みが行われ事を示すデータがSUM書き込みチェッ
クエリアSUMF1〜4に書き込み記憶される。本発明
ではEEPROMの内部を4分割する事により例えばエリア1
がNGと判断されても、他のエリアを記憶エリアとして
使用する事が出来るのでEEPROMを有効に利用する事が出
来る。
FIG. 3 shows the area division and structure of the internal data of the EEPROM of the present invention. In this example, 256 bytes of EEPROM
Is used to divide this data area into four. SUM areas 1 to 4 and SU are included in the respective data areas 1 to 4.
M write check areas SUMF1 to 4 are provided, and the lower 2 bytes of the sum total value of the data of each area other than the SUM area are SUM1 to 4 and the data indicating that the SUM write is performed is the SUM write check area. It is written and stored in SUMF1 to SUMF4. In the present invention, by dividing the inside of the EEPROM into four, for example, area 1
Even if is judged to be NG, the other area can be used as a storage area, so that the EEPROM can be effectively used.

【0020】以下、EEPROMへのSUM書き込み,SUM
計算,データチェックのシーケンス図4を用いて説明す
る。コントロールユニットが起動されると、まず予め定
められた手順によって、ROMのプログラムによりマイ
クロコンピュータがイニシャライズ(初期化)される。
次に、マイクロコンピュータは、101でEEPROMのエリ
ア1のSUM書き込みチェックエリアをチェックし、S
UMが書き込まれている場合は、102でエリア1のデ
ータエリア1のSUMを計算し、103でSUMエリアに
記憶されているSUMデータと照合し照合結果によりO
K,NGの判断をする事が出来る。ここで例えば照合の
判定がNGの時には、エリア1が使用できるかどうかを
書き込みによりチェックする。書き込み照合するデータ
は任意であるが、104でNGと判定されたエリア1す
べてに$00(1バイトデータのすべてが1)を書き込
み、105でエリア1のSUMを計算し、106で$0
0と照合する。ここで、OKの時は、更に、107でエ
リア1すべてに$FF(1バイトデータのすべてが1)
を書き込み、108でSUMを計算し、109で例えば
図3のエリア1ではSUMは$3FC0となるため$3
FC0と照合する。106や103で結果がNGの場合
はEEPROMの該当エリアはNGと判断し、そのエリアは使
用しない。OKの場合は、110で記憶を再開許可を行
い、次のエリアのSUMチェックのルーチンへ移行す
る。以上によりEEPROM内のエリア1のチェックが行われ
る。101でEEPROMにSUMが書き込まれていない場合
は、112でエリア1のSUMを計算し113でSUM1
にSUM値を書き込み、114でSUMF1をセット
し、次のエリアチェックのルーチンへ移行する。以上に
より、分割された1つのエリアのチェックが終了する。
これを分割の数だけ行い、EEPROMの記憶データのチェッ
クを終了する。全エリアがチェック終了後、マイクロコ
ンピュータは制御を開始する。このときマイクロコンピ
ュータは使用できるエリア学習値等のデータを書き込
む。
Below, SUM writing to EEPROM, SUM
Sequence of calculation and data check will be described with reference to FIG. When the control unit is activated, first, the microcomputer is initialized (initialized) by the ROM program according to a predetermined procedure.
Next, the microcomputer checks the SUM write check area in the area 1 of the EEPROM at 101, and
If the UM is written, the SUM of the data area 1 of the area 1 is calculated in 102, the SUM data stored in the SUM area is checked in 103, and the result of the check is 0.
You can judge K and NG. Here, for example, when the collation determination is NG, whether or not the area 1 can be used is checked by writing. The data to be written and collated is arbitrary, but $ 00 (all 1-byte data is 1) is written in all areas 1 judged as NG in 104, the SUM of area 1 is calculated in 105, and $ 0 is calculated in 106.
Match with 0. Here, if OK, further, at 107, $ FF is added to all area 1 (all 1-byte data is 1).
Is written, 108 is used to calculate the SUM, and 109 is, for example, in area 1 of FIG.
Match with FC0. If the result of 106 or 103 is NG, the corresponding area of the EEPROM is determined to be NG and that area is not used. In the case of OK, the memory is permitted to restart at 110, and the routine proceeds to the SUM check routine of the next area. Area 1 in the EEPROM is checked as described above. If the SUM is not written in the EEPROM in 101, the SUM of area 1 is calculated in 112, and SUM1 is calculated in 113.
The SUM value is written in, the SUMF1 is set in 114, and the routine proceeds to the next area check routine. With the above, checking of one divided area is completed.
This is done for the number of divisions, and the check of the data stored in the EEPROM is completed. After checking all areas, the microcomputer starts control. At this time, the microcomputer writes data such as usable area learning values.

【0021】図5はマイクロコンピュータがエンジン制
御中にEEPROM記憶データの更新が発生した場合のシーケ
ンスをしめす。制御中はデータ更新毎にSUMチェック
を行いSUM値を更新する事により、次回の起動時に支
障の内容にする。201でデータの更新を行い、202
でSUMの計算を行い、203でSUMをEEPROMに書き
込み、204で図4で示した手順でSUMのチェックを
行う。
FIG. 5 shows the sequence when the update of the EEPROM storage data occurs while the microcomputer is controlling the engine. During control, a SUM check is performed each time data is updated, and the SUM value is updated, so that the content of the trouble will occur at the next startup. The data is updated in 201 and 202
The SUM is calculated in step 3, the SUM is written in the EEPROM in step 203, and the SUM is checked in step 204 in the procedure shown in FIG.

【0022】本発明では、例えばどこかのエリアがNG
となっても他のエリアを使用できるため、EEPROMが部分
的に壊れた場合でも再学習等が可能となる。
In the present invention, for example, some area is NG
However, since other areas can be used, re-learning etc. is possible even if the EEPROM is partially broken.

【0023】また、分割したエリアのすべてに同様のデ
ータを記憶させた場合は、EEPROMが部分的に壊れて1つ
のエリアがNGとなっても他のエリアが使用できるため
当初の学習値が長期間保持できる。
When the same data is stored in all of the divided areas, the initial learning value is long because the other areas can be used even if the EEPROM is partially broken and one area becomes NG. Can be held for a period.

【0024】[0024]

【発明の効果】EEPROMのデータエリアを分割する事によ
り保持されるデータの信頼性向上が計れる。
The reliability of the data held can be improved by dividing the data area of the EEPROM.

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

【図1】エンジン制御システム図である。FIG. 1 is an engine control system diagram.

【図2】コントロールユニット構成図である。FIG. 2 is a configuration diagram of a control unit.

【図3】EEPROMエリア分割図である。FIG. 3 is an EEPROM area division diagram.

【図4】EEPROMデータチェックフローチャートである。FIG. 4 is an EEPROM data check flowchart.

【図5】EEPROMデータ書換フローチャートである。FIG. 5 is an EEPROM data rewriting flowchart.

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

1…コントロールユニット、37…マイクロコンピュー
タ、41…RAM、42…ROM、43…CPU、46
…EEPROM。
1 ... Control unit, 37 ... Microcomputer, 41 ... RAM, 42 ... ROM, 43 ... CPU, 46
… EEPROM.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 沼田 明人 茨城県勝田市大字高場字鹿島谷津2477番地 3 日立オートモティブエンジニアリング 株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Akito Numata 2477 Kashima Yatsu Kashima, Katsuta City, Ibaraki Prefecture 3 Hitachi Automotive Engineering Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】自動車の電子制御を行うコントロールユニ
ットにおいてEEPROMを内蔵し、所定のタイミングでEEPR
OMの診断を行うコントロールユニットにおいて、EEPROM
のデータエリアを複数に分割し、それぞれのデータエリ
アのデータの加算合計値(以下SUMと言う)をその対
応するエリアに格納し、コントロールユニットの動作中
または動作時に、各データエリアのSUMと既に格納さ
れているSUMとを比較しEEPROMのデータの良否を判定
することを特徴とする自動車用コントロールユニット。
1. A control unit for electronically controlling an automobile, which has an EEPROM built-in, and has an EEPR at a predetermined timing.
EEPROM in the control unit that diagnoses OM
The data area of each data area is divided into a plurality of data areas, and the sum total value of data in each data area (hereinafter referred to as SUM) is stored in the corresponding area. An automobile control unit characterized by comparing the stored SUM with the quality of the EEPROM data.
【請求項2】請求項1のEEPROM分割を3以上の複数に分
割し、各エリア毎に同一データを書き込み、それぞれの
SUMを比較し、どれかが異常なときは多数決により使
用するデータを決定する事を特徴とする自動車用コント
ロールユニット。
2. The EEPROM division according to claim 1 is divided into a plurality of three or more, the same data is written in each area, each SUM is compared, and when any one is abnormal, the data to be used is decided by majority decision. A control unit for automobiles that is characterized by:
JP1871792A 1992-02-04 1992-02-04 Control unit for vehicle Pending JPH05216776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1871792A JPH05216776A (en) 1992-02-04 1992-02-04 Control unit for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1871792A JPH05216776A (en) 1992-02-04 1992-02-04 Control unit for vehicle

Publications (1)

Publication Number Publication Date
JPH05216776A true JPH05216776A (en) 1993-08-27

Family

ID=11979414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1871792A Pending JPH05216776A (en) 1992-02-04 1992-02-04 Control unit for vehicle

Country Status (1)

Country Link
JP (1) JPH05216776A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6957135B2 (en) 2002-10-25 2005-10-18 Denso Corporation Electronic control system
JP2005309580A (en) * 2004-04-19 2005-11-04 Hitachi Ltd Storage control system and boot control system
JP2012226674A (en) * 2011-04-22 2012-11-15 Hitachi Automotive Systems Ltd Electronic controller for automobile

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6957135B2 (en) 2002-10-25 2005-10-18 Denso Corporation Electronic control system
JP2005309580A (en) * 2004-04-19 2005-11-04 Hitachi Ltd Storage control system and boot control system
JP2012226674A (en) * 2011-04-22 2012-11-15 Hitachi Automotive Systems Ltd Electronic controller for automobile

Similar Documents

Publication Publication Date Title
US20030145837A1 (en) Method for operating an internal combustion engine
US8170776B2 (en) Method and device for controlling an internal combustion engine
US6758034B1 (en) Method for operating an internal combustion engine
US6216664B1 (en) Method for starting an internal combustion engine
JP2000291468A (en) Controller for internal combustion engine
JPH05216776A (en) Control unit for vehicle
US6725836B1 (en) Method of operating an internal combustion engine
US7013862B2 (en) Method for operating an internal combustion engine
HU225751B1 (en) Control unit
JP2591008B2 (en) Electronic distribution ignition system with fail-safe function
EP0161611B1 (en) Method and apparatus for controlling air-fuel ratio in internal combustion engine
US6394065B1 (en) Method for operating an internal combustion engine
JP6275790B2 (en) Electronic control unit for automobile
US7201123B2 (en) Method and device for operating an internal combustion engine of a vehicle
KR100749591B1 (en) Method for operating an internal combustion engine
JPH06101559A (en) Synchronization identification device of internal combustion engine
JP2590823B2 (en) Air-fuel ratio control device for internal combustion engine
JP2581033B2 (en) Fuel injection amount control method for internal combustion engine
JPH0710059Y2 (en) Engine ignition timing control device
JPS63100244A (en) Suction air amount control device
KR19990025462A (en) How to reduce exhaust gas of a car
Son et al. The Development of Exhaust Gas Storage and Recombustion System for Reducing Total Hydrocarbon Emissions in SI Engine at Cold Start (Ⅰ)
JPH06350450A (en) Data collection device with a/d converter
JPH05180035A (en) Fuel control apparatus of internal-combustion engine
JPS61118544A (en) Fuel injection control for internal-combustion engine