Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4134477B2 - Electronic control unit - Google Patents
[go: Go Back, main page]

JP4134477B2 - Electronic control unit - Google Patents

Electronic control unit Download PDF

Info

Publication number
JP4134477B2
JP4134477B2 JP2000022583A JP2000022583A JP4134477B2 JP 4134477 B2 JP4134477 B2 JP 4134477B2 JP 2000022583 A JP2000022583 A JP 2000022583A JP 2000022583 A JP2000022583 A JP 2000022583A JP 4134477 B2 JP4134477 B2 JP 4134477B2
Authority
JP
Japan
Prior art keywords
starter
electronic control
memory
control device
stored
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 - Fee Related
Application number
JP2000022583A
Other languages
Japanese (ja)
Other versions
JP2001216789A (en
Inventor
聡 榊原
潤一 細川
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 JP2000022583A priority Critical patent/JP4134477B2/en
Publication of JP2001216789A publication Critical patent/JP2001216789A/en
Application granted granted Critical
Publication of JP4134477B2 publication Critical patent/JP4134477B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)
  • Read Only Memory (AREA)
  • Control Of Vehicle Engines Or Engines For Specific Uses (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えば自動車のエンジンのスタータ駆動回数を、不揮発性メモリに確実に記憶することができる電子制御装置に関する。
【0002】
【従来の技術】
従来より、例えば自動車のエンジン制御を行うために、マイクロコンピュータを中心とする電子制御装置が使用されている。
この電子制御装置では、各種のデータを記憶するために、RAM(ノーマルRAM)、EEPROMなどが採用されている。このうち、RAMはイグニッションキーのオフ時にはデータが保障されないメモリであり、EEPROMは電源が切られた場合でもデータの保持が可能な(書き込み可能な)不揮発性メモリである。
【0003】
また、記憶されるデータとして、カウンタデータの例えばスタータの駆動回数(始動回数)の場合を考えると、スタータにはその始動回数による寿命がある。よって、特にアイドルストップ&スタータ制御(エンジンの自動停止や自動始動の制御)を行う場合の様に、通常より始動回数が多くなるときには、始動回数がスタータの駆動保障回数を上回るか否かをチェックすることが重要である。しかも、この始動回数は、イグニッションスイッチがオフの場合やバッテリの交換時にも保持する必要があるので、始動回数はEEPROMなどの不揮発性メモリに記憶する必要がある。
【0004】
ところが、EEPROMには、書込保障回数があり、それを超えるとデータを正しく書き込むことができないことがあるため、データの記憶手段として、例えば特開平10−247165号公報に記載の技術が提案されている。
この技術は、複数のメモリアドレス(A〜C)を一組とし、その内容をアクセス情報部と実データ部に区分し、実データ部へのデータの書き込みが行われる毎に、アクセス情報部のアクセス情報をカウントアップし、そのアクセス情報に基づいて、複数のメモリアドレスを循環的に指定するものである。
【0005】
【発明が解決しようとする課題】
しかしながら、上述した技術では、メモリに循環的にデータを書き込むためには、アドレスを指定する必要があるので、メモリ内にデータを記憶する実データ部以外に、アクセス情報を記憶するアクセス情報部等の記憶領域を設けなければならない。
【0006】
つまり、この技術では、データ以外に情報用のメモリを必要とするので、メモリ効率が悪いという問題があった。
本発明は、前記課題を解決するためになされたものであり、その目的は、不揮発性メモリにおけるメモリ効率の高い電子制御装置を提供することにある。
【0007】
【課題を解決するための手段及び発明の効果】
(1)請求項1の発明は、
電源によりバックアップされたRAMと、電源遮断時にも記憶内容を保持することができる書き込み可能な不揮発性メモリ(例えばEEPROM)と、を備え、前記不揮発性メモリに、所定の事象が発生する回数を計数するカウンタデータを記憶する複数の記憶領域を設定した電子制御装置であって、前記カウンタデータのうち、所定の期間における期間データを求めて前記RAMに記憶する記憶手段と、所定の書き込み条件が満たされた場合には、前記不揮発性メモリの複数の記憶領域に記憶された前記カウンタデータのうちの最小値と、前記RAMに記憶された期間データとを合計した合計データを、前記不揮発性メモリの最小値が記憶されている記憶領域に書き込む書込手段と、を備えたことを特徴とする電子制御装置を要旨とする。
【0008】
本発明では、不揮発性メモリに、所定のカウンタデータ(例えばスタータ駆動回数のようなカウンタデータ)をそれぞれ記憶するために、複数の記憶領域を設け、所定の条件(例えばイグニッションスイッチのオフ時のような条件)が満たされた場合に、特定の記憶領域のカウンタデータを変更する。
【0009】
具体的には、所定の書き込み条件が満たされた場合には、不揮発性メモリの複数の記憶領域に記憶されたカウンタデータのうちの最小値と、RAMに記憶された(カウンタデータである)期間データとを合計した(カウンタデータである)合計データを、不揮発性メモリの最小値が記憶されている記憶領域に書き込む。尚、最小値の検出や、最小値と期間データの合計は、所定の書き込み条件が満たされたタイミングで実施することが望ましい。
【0010】
これにより、最小値が記憶されていた記憶領域には、その最小値に期間データ分だけ増加した値が記憶されることになる。
従って、カウンタデータが書き込まれる記憶領域は常に変更されることになるので、同じ記憶領域における書込回数が低減し、各記憶領域における書込回数が平均化する。そのため、不揮発性メモリの各記憶領域において、書込回数が書込保障回数を超えにくいという利点がある。
【0011】
また、従来の様に、実際にカウンタデータを記憶するためのメモリ以外にアドレスを指定するためのメモリ情報部等のメモリが不要であるので、メモリ効率が向上するという効果がある。
尚、最小値の記憶領域が複数ある場合には、予め書き込む順番を決めておいて、その順番に従って書き込みを行えばよい。
【0012】
(2)請求項2の発明は、
前記カウンタデータとは、エンジンのスタータ駆動回数であることを特徴とする前記請求項1に記載の電子制御装置を要旨とする。
本発明は、カウンタデータを例示したものである。ここでは、不揮発性メモリに、エンジンのスタータ駆動回数を正確に記憶できるので、スタータ駆動回数が過度に増加した場合(スタータ駆動保障回数以上となった場合)には、例えば運転者に対して警告を行うことができる。
【0013】
(3)請求項3の発明は、
前記所定の期間とは、イグニッションスイッチのオンとされている期間であることを特徴とする前記請求項1又は2に記載の電子制御装置を要旨とする。
本発明は、所定の期間を例示したものである。ここで、イグニッションスイッチのオンの期間とは、イグニッションスイッチがオフの状態から次のオフの状態に至るオンの期間である。
【0014】
このイグニッションスイッチのオンの期間では、通常は、エンジンが作動しているが、エンジンの自動停止制御(例えばアイドルストップ&スタータ制御)が行われている場合には、イグニッションスイッチがオンでもエンジンは停止することがある。従って、スタータ駆動回数のチェックには、このイグニッションスイッチのオンの期間におけるスタータ駆動回数を記憶することが重要となる。
【0015】
(4)請求項4の発明は、
所定の読み出し条件が満たされた場合に、前記不揮発性メモリの複数の記憶領域に記憶された各カウンタデータを読み出して前記RAMに記憶することを特徴とする前記請求項1〜3のいずれかに記載の電子制御装置を要旨とする。
【0016】
本発明では、所定の読み出し条件が満たされた場合に、不揮発性メモリの複数の記憶領域に記憶された各カウンタデータを読み出してRAMに記憶するので、その後に、RAMのカウンタデータに基づいて、カウンタデータの最小値(従ってEEPROMの各記憶領域の最小値)を検出することが可能となる。
【0017】
(5)請求項5の発明は、
前記所定の読み出し条件とは、イグニッションスイッチがオンとなったタイミングであることを特徴とする前記請求項4に記載の電子制御装置を要旨とする。
本発明は、所定の読み出し条件を例示したものである。
【0018】
(6)請求項6の発明は、
前記所定の書き込み条件が満たされた場合に、前記RAMに記憶された各カウンタデータのうちの最小値を検出し、その最小値に対して前記期間データを加算して合計データを算出することを特徴とする前記請求項4又は5に記載の電子制御装置を要旨とする。
【0019】
本発明は、所定の書き込み条件が満たされた場合の処理を例示したものである。ここでは、所定の書き込み条件が満たされた場合には、RAMに記憶された各カウンタデータのうちの最小値を検出し、その最小値に対して期間データを加算して合計データを求め、この合計データを不揮発性メモリに書き込む。
【0020】
尚、この処理以外に、前記条件が満たされる前に予め最小値を算出しておき、前記条件が満たされた場合に、以降の合計データの算出及び書き込みの処理を行ってもよい。
(7)請求項7の発明は、
前記所定の書き込み条件とは、イグニッションスイッチがオフとなったタイミングであることを特徴とする前記請求項6に記載の電子制御装置を要旨とする。
【0021】
本発明は、カウンタデータ(即ち合計データ)を書き込む条件を例示したものである。ここでは、イグニッションスイッチがオフとなった場合に、その書き込み条件が満たされたとしている。
尚、通常、イグニッションスイッチがオフとなった場合には、電子制御装置に供給する電圧も低下するが、例えば周知のメインリレー制御により、所定時間にわたり所定の書き込み可能電圧以上に保つことにより、上述したカウンタデータの書き込みが可能である。
【0022】
(8)請求項9の発明は、
前記電子制御装置は、エンジンの自動停止及び/又はスタータによるエンジンの自動始動(例えばアイドルストップ&スタータ制御)を行うことができる装置であることを特徴とする前記請求項1〜7のいずれかに記載の電子制御装置を要旨とする。
【0023】
本発明の電子制御装置は、エンジンの自動停止やスタータによってエンジンの自動始動を行う装置である。従って、その様な制御を行わない場合と比べて、スタータ駆動回数が増加する傾向がある。特に、エンジンの自動始動を行う場合には、運転者のイグニッションキーによるスタータ駆動回数に自動始動によるスタータ駆動回数が加わるので、一層スタータ駆動回数が増加する傾向がある。
【0024】
従って、このようなエンジンの自動停止や自動始動の制御を行う場合には、スタータ駆動回数がスタータ駆動保障回数以上か否かをチェックすることが非常に重要になるが、本発明では、そのような制御を実施する場合に、確実にスタータ駆動回数のチェックを行うことができる。
【0025】
よって、スタータ駆動回数がスタータ駆動保障回数以上となった場合には、警告ランプ等により運転者に報知して、スタータの交換を促すことができる。又は、スタータ駆動回数がスタータ駆動保障回数以上となった場合には、必要に応じて、エンジンの自動始動を制限することにより、スタータの寿命を伸ばすことができる。
【0026】
尚、前記アイドルストップ&スタータ制御とは、所定の条件が満たされた場合に、自動的にエンジンを停止したり始動する制御である。
具体的には、燃費や排ガスの低減のために、例えば信号停止時にはエンジンを自動停止させ、信号発進時にはエンジンを自動始動するものである。又は、例えば車速が0であり、且つドアが開かれた場合に、エンジンを自動停止するものなどである。尚、その他、制御を実行するための各種の条件が考えられる。
【0027】
このアイドルストップ&スタータ制御を行う電子制御装置としては、「アイドルストップ&スタータ制御は、車両のエンジンを停止させてよい状態であるか否かを判定する停止可能状態判定手段と、停止可能状態判定手段によって肯定判断された場合には、エンジンを自動停止させる自動停止手段と、自動停止手段の実行時に、車両のエンジンを始動させてよい状態であるか否かを判定する始動可能状態判定手段と、始動可能状態判定手段によって肯定判断された場合には、エンジンを自動始動させる自動始動手段と、を備えたことを特徴とする電子制御装置。」が挙げられる。
【0028】
【発明の実施の形態】
次に、本発明の電子制御装置の実施の形態の例(実施例)について、図面に基づいて説明する。
(実施例)
a)まず、本実施例のエンジン制御用の電子制御装置の基本構成について説明する。
【0029】
図1に示す様に、本実施例のエンジン制御用の電子制御装置(以下単にエンジンECUと記す)1は、マイクロコンピュータ(図1ではCPUで示す)3を中心に構成された装置であり、アイドルストップ&スタータ制御とともに、スタータ駆動回数(始動回数)をチェックすることが可能なものである。
【0030】
このエンジンECU1は、マイクロコンピュータ3に加え、電源系として、メイン電源回路5を備え、入力系として、入力回路9及び波形整形回路11を備え、出力系として、第1〜第3出力回路13、15、17を備えている。また、各種のデータの記憶手段として、EEPROM19などを備えている。以下詳細に説明する。
【0031】
前記メイン電源回路5は、イグニッションスイッチ(IGスイッチ)21がオンの場合に、バッテリ23から電圧(+B)の供給を受け、所定の電圧(Vom)を、入力回路9及びマイクロコンピュータ3に供給するものである。
前記マイクロコンピュータ3は、ROM25、RAM(ノーマルRAM)27、を備えている。このうち、RAM27は、IGスイッチ21がオンの間は、メイン電源回路5からの電圧供給により、内容(データ)を保持するメモリである。
【0032】
前記EEPROM19は、メイン電源がダウンしても、内容(例えばスタータ駆動回数のカウンタデータ)を保持することができる不揮発性メモリであり、しかも、所定電圧(例えば2V以上)が供給されている場合には、データの書き込みが可能なメモリである。
【0033】
尚、このEEPROM19には、後に詳述する様に、スタータ駆動回数がスタータ駆動保障回数(スタータ33の動作が保障される保障値;例えば15万回)以上となったことを判定するために、スタータ駆動回数の合計値(合計データ)を記憶している。
【0034】
従って、マイクロコンピュータ3は、メイン電源からの電圧(Vom)を受け、EEPROM19は、メイン電源からの電圧(Vom)を受け、RAM27とEEPROM19の間で、データのやりとりが可能である。例えば、RAM27に記憶されたスタータ駆動回数のデータ(カウンタデータ)に基づいて、そのカウンタデータをEEPROM19に書き込むことができる。
【0035】
そして、上述した図1の構成において、バッテリ23に接続されたIGスイッチ21が、図示しないイグニッションキー(IGキー)の操作によりオンとされることで、エンジンECU1が起動する。更に、IGキーが、IGスイッチ21のSTの位置まで回されると、スタータ33のモータ33aが駆動されて、エンジンが始動する。
【0036】
また、エンジンの作動中においては、エンジンECU1は、エンジン回転数信号NE、車速信号SPD等の車両の作動信号、スロットル開度信号TA、冷却水温信号THW等のセンサ信号を取り込んで、電磁弁37による燃料噴射制御等のための制御信号を出力する。
【0037】
b)次に、前記エンジンECU1の構成のうち、RAM27及びEEPROM19の構成を、更に詳しく説明する。
図2に示す様に、エンジンECU1のうち、EEPROM19には、スタータ総駆動回数(即ちエンジンECU1の初期時(新品)からの総始動回数)を書き込む記憶領域(以下メモリとも記す)として、メモリEM1が設けられ、このメモリEM1には、EM1a〜EM1eの5つの記憶領域が設定されている。
【0038】
この5つの記憶領域を設ける理由は、EEPROM19の同じ記憶領域におけるデータ書込回数には、所定の制限(EEPROM19の書込保障回数;例えば10万回)があるからである。
つまり、1つの記憶領域に対して書き込みできる回数は10万回であるので、5つのメモリEM1a〜EM1eを利用すれば、5×10の最大50万回の書き込みが可能であり、よって、例えば15万回のスタータ駆動保障回数を上回る50万回のスタータ駆動回数を記憶することが可能であるからである。尚、各メモリEM1a〜EM1eの大きさは、50万回の数値を記憶できるように、それぞれ4バイトの大きさに設定されている。
【0039】
このメモリEM1a〜EM1eに記憶されている各値は、それぞれのメモリEM1a〜EM1eに記憶される際に演算された総始動回数であり、各メモリEM1a〜EM1e間における回数の差は、数回程度のオーダで(総始動回数の大きさと比べると)僅かである。
【0040】
また、EEPROM19には、メモリEM1とは別に、スタータ駆動回数を記憶するメモリEM2が設けられている。このメモリEM2には、スタータ33の交換時に、その時点におけるスタータ総駆動回数(スタータ交換時の総始動回数)が書き込まれる。従って、このメモリEM2の値は、スタータ33が適正に交換される場合には、通常は、ほぼ15万回づつ増加することになる。
【0041】
一方、CPU3のRAM27には、STA信号に基づいて検出された期間データである今回の始動回数(今回のIGスイッチ21のオンの期間における始動回数)を記憶するメモリRM1と、EEPROM19のメモリEM1a〜EMeから読み出したスタータ駆動回数を一旦記憶するメモリRM2(詳しくは各メモリEM1a〜EM1eに対応したメモリRM2a〜RM2e)と、EEPROM19のメモリEM2から読み出したスタータ交換時の総始動回数を一旦記憶するメモリRM3と、スタータ交換後の始動回数(スタータ交換時を0としてカウントした始動回数)を記憶するメモリRM4と、を備えている。
【0042】
c)次に、エンジンECU1にて行われる前記アイドルストップ&スタータ制御(ISS制御)について簡単に説明する。
このISS制御とは、エンジンの不要な作動期間を低減して、燃料の節約や排ガスの低減を図る制御である。
【0043】
例えば赤信号での停止時にエンジンを自動停止させ、青信号での発進時にエンジンの自動始動を行うことにより、エンジンの不要な作動期間を低減して、燃料の節約や排ガスの低減を図る制御などである。また、エンジンを自動始動することなく、例えば車速が0で、車両のドアが開かれた場合に、エンジンを自動停止する制御を行ってもよい。
【0044】
従って、ISS制御の場合には、そうでない場合と比べて、スタータ駆動回数が多くなるが、スタータ駆動回数には上述したスタータ駆動保障回数による制限がある。
そのため、本実施例では、以下に述べる様に、スタータ駆動回数をカウントし、スタータ駆動回数がスタータ駆動保障回数以上であるか否かを常にチェックして、その値以上になると、スタータ交換要求として、警告ランプ35を点灯させる等の運転者に対する警告を行う。
【0045】
d)次に、エンジンECU1にて行われる上述したスタータ駆動回数のチェック等の処理について説明する。
▲1▼始動回数記憶処理
本処理は、マニュアルでの始動及び自動始動によるスタータ駆動回数(始動回数)をカウントし、その総始動回数をEEPROM19に書き込む処理であり、所定期間毎に実行される。
【0046】
図3のフローチャートに示す様に、まず、ステップ100にて、IGスイッチ21がオン(ON)か否かを判定する。ここで肯定判断されるとステップ110に進み、一方否定判断されるとステップ140に進む。
ステップ110では、EEPROM19の各メモリEM1a〜EM1eに記憶されている総始動回数を読み出して、それぞれRAM27の各メモリRM2a〜RAM2eに記憶する。
【0047】
続くステップ120では、STA信号が入力したか否かによって、スタータ33が駆動された否かを判定する。ここで肯定判断されるとステップ130に進み、一方否定判断されると一旦本処理を終了する。
尚、マニュアルにてIGスイッチ21が操作されてスタータ33が駆動された場合でも、第2出力回路15からの信号によって自動始動された場合でも、エンジンECU1にはSTA信号が入力するので、同様にスタータ33が駆動されたことを検出することができる。
【0048】
ステップ130では、スタータ33が駆動されたので、今回の始動回数のカウンタKKをカウントアップし、その値をRAM27のメモリRM1に記憶し、一旦本処理を終了する。
一方、前記ステップ100にて否定判断されて進むステップ140では、IGスイッチ21がオンからオフ(OFF)に切り替えられたか否かを判定する。ここで肯定判断されるとステップ150に進み、一方否定判断されると一旦本処理を終了する。
【0049】
ステップ150では、IGスイッチ21がオフに切り替えられたので、RAM27のメモリRM2a〜RM2eに記憶されている値(総始動回数)の最小値を検出する。
続くステップ160では、前記RAM27のメモリRM2a〜RM2eの最小値に、RAM27のメモリRM1に記憶されている今回の始動回数(カウンタKKの値)を加算し、合計データである総始動回数を算出する。
【0050】
尚、ここでは、今までの総始動回数の最小値に今回の始動回数を加算するので、その合計データは正確には総始動回数ではないかも知れないが、各メモリRM2a〜RM2e間の始動回数のその差はわずかであるので、実質的に総始動回数と見なすことができる。
【0051】
続くステップ170では、前記ステップ160にて算出した総始動回数を、EEPROM19の各メモリEM1a〜EM1eのうち、最小値を有するメモリに書き込み(即ち書き換え)、一旦本処理を終了する。
▲2▼ここで、前記図3の処理によりEEPROM19に始動回数が書き込まれる様子を、下記表1に基づいて説明する。
【0052】
【表1】

Figure 0004134477
【0053】
尚、表1の*は、IGスイッチ21のオフ時に、新たに書き込みされたことを示している。また、表1の「今回の始動回数」は、IGスイッチ21のオフされた時点のRAM29のメモリRM1に記憶されている値を示している。
この表1に示す様に、EEPROM19の各メモリEM1a〜EM1eの初期値(No.1)は0である。
【0054】
次に、IGスイッチ21が最初にオンとなってから初めてオフ(No.2)となるまでに、スタータ33が2回駆動されている。このとき、EEPROM19のメモリEM1a〜EM1eの値は全て初期値の0で同じであるから、その様な値が同じ場合は、予め設定された添字のアルファベット順(左側のメモリから順番)に書き込むようにする。
【0055】
今回は、初期値の0と今回の2回のスタータ駆動回数の合計は2回となるので、その値を、EEPROM19のメモリEM1aに書き込む。
同様に、No.3〜6の場合には、EEPROM19のメモリEM1b〜EM1eに、順次スタータ駆動回数を書き込んでゆく。
【0056】
次に、No.7の場合には、今回の始動回数は4であり、また、前回のNo.6までのEEPROM19のメモリEM1の最小値は、メモリEM1cの1であるので、今回の始動回数の4と最小値の1とを合計した5の値を、総始動回数として最小値のメモリEM1cに書き込む。
【0057】
以下同様にして、今回の始動回数とEEPROM19のメモリEM1の最小値とを合計し、その合計値を最小値のメモリに書き込む。尚、この場合も、最小値が複数ある場合には、添字のアルファベットの順に各メモリに書き込む。
▲3▼スタータ劣化判定処理
本処理は、スタータ33の劣化を判定するための処理であり、所定期間毎に実行される。
【0058】
尚、本処理に先だって、IGスイッチ21のオン時には、EEPROM19のメモリEM2のスタータ交換時の総始動回数が読み出され、RAM27のメモリRM3に、スタータ交換時の総始動回数として記憶される。このEEPROM19のメモリEM2及びRAM27のメモリRM3は、初期時(新品)はクリアされている。
【0059】
図4のフローチャートに示す様に、ステップ200では、スタータ交換後の始動回数を算出し、これをRAM27のメモリRM4に記憶する。
具体的には、RAM27のメモリRM2に記憶しているスタータ33の総始動回数から、RAM27のメモリRM3に記憶しているスタータ交換時の総始動回数を引いて、スタータ交換後の始動回数を算出する。
【0060】
尚、RAM27のメモリRM2に記憶しているスタータ33の総始動回数としては、5つのメモリRM2a〜RM2eに記憶している値のうちの例えば最大値を用いる。また、RAM27のメモリRM3に記憶しているスタータ交換時の総始動回数とは、IGスイッチ21のオン時に、EEPROM19のメモリEM2から読み出した値(例えば15万回や30万回)である。
【0061】
続くステップ210では、スタータ交換後の始動回数が、例えば15万回のスタータ駆動保障回数以上となったか否かを判定する。ここで肯定判断されるとステップ220に進み、一方否定判断されると、まだスタータ33は正常に作動できる少ない始動回数であるので、一旦本処理を終了する。
【0062】
ステップ220では、スタータ駆動回数がスタータ駆動保障回数以上となり、その後のスタータ33の駆動が保障されないので、そのことを運転者等に報知するために、警告ランプ35を点灯し、一旦本処理を終了する。
本処理により、スタータ33の寿命が来たこと、運転者等に正確に知らせることができる。
【0063】
尚、警告ランプ35の点灯だけでなく、ISS制御を行っている場合には、そのISS制御を中止することが望ましい。
▲4▼スタータ交換時処理
本処理は、スタータ33の交換時に行われる処理であり、ダイアグツールからの指示により実行される。
【0064】
図5のフローチャートに示す様に、ステップ300にて、ダイアグツール37から、スタータ33の交換が完了したことを報知する信号の入力があったか否かを判定する。ここで肯定判断されるとステップ310に進み、一方否定判断されると一旦本処理を終了する。
【0065】
ステップ310では、RAM27のメモリRM2に記憶している総始動回数を、スタータ交換時の総始動回数として、RAM27のメモリRM3に記憶する。
これにより、メモリRM2及びメモリRM3の値は同じになるので、上述したメモリRM4のスタータ交換後の始動回数は、(メモリRM2の値−メモリRM3の値)=0となり、新しいスタータ33の始動回数のカウントの準備が完了する。
【0066】
尚、RAM27のメモリRM2に記憶しているスタータ33の総始動回数としては、5つのメモリRM2a〜RM2eに記憶している値のうちの例えば最大値を用いる。
続くステップ320では、IGスイッチ21がオンからオフに切り換えられたか否かを判定し、ここで肯定判断されるとステップ330に進み、一方否定判断されると一旦本処理を終了する。
【0067】
ステップ330では、RAM27のメモリRM3に記憶しているスタータ交換時の総始動回数を、EEPROM19のメモリEM2に書き込み、一旦本処理を終了する。
これにより、例えば始動回数の15万回ごとにスタータ33が交換される場合には、スタータ交換時に、スタータ交換時の総始動回数として、EEPROM19のメモリEM2に、15万回、30万回、45万回と順次書き込まれることになる。
【0068】
e)上述した構成により、本実施例は、下記の効果を奏する。
・本実施例の始動回数記憶処理では、スタータ33が駆動される毎に今回の始動回数をカウントアップし、IGスイッチ21がオフになると、RAM27のメモリRM2a〜RM2eの最小値に今回の始動回数を加算して総始動回数を求め、その値をEEPROM19の最小値のメモリに書き込んでいる。
【0069】
それによって、EEPROM19のメモリEM1a〜EM1eのうち、総始動回数が書き込まれるメモリが毎回変更されるので、各メモリEM1a〜EM1eにおける書込回数が平均化する。よって、EEPROM19の書込回数をEEPROM19の書込保障回数より少なくできるので、確実にスタータ駆動回数を記憶できるという効果がある。具体的には、各記憶領域では、書き込みタイミングの5回に1回の書き込みになり、書込保障回数以内で、50万回をカウントすることができる。
【0070】
また、従来と比べて、記憶するメモリのアドレスを設定するための記憶領域を必要としないので、メモリ効率がよいという利点がある。
常に正確なスタータ駆動回数を記憶できる。
尚、本実施例では、EEPROM19の書込保障回数が例えば10万回の場合に、50万回のスタータ駆動回数を記憶するときには、50÷10の5つの記憶領域に区分しているが、このように、書込保障回数と記憶すべきスタータ駆動回数に応じて、適宜記憶領域の数を設定することが望ましい。
【0071】
例えば、書込保障回数がA回で、B回のスタータ駆動回数を記憶する場合には、B÷Aとした整数の商の個数の記憶領域とすれば、最小の記憶領域で済む。また、割り切れない場合は、(商+1)の個数の記憶領域を設定すれば、最小の記憶領域ですみ、メモリ効率を向上できる。尚、1つの記憶領域の大きさは、スタータ駆動総回数を記憶できる大きさとする。
【0072】
・また、本実施例では、スタータの初期時(又はスタータの交換後)からの始動回数がスタータ駆動保障回数以上となった場合には、警告ランプ35を点灯して、運転者にスタータ33の交換を促しているので、突然の始動不良が発生し難く、常に安全な運転が可能となる。
【0073】
・更に、スタータの初期時(又はスタータの交換後)からの始動回数がスタータ駆動保障回数以上となった場合に、ISS制御を中止することにより、それ以降のスタータ駆動回数の増加の程度を低減することができる。つまり、スタータ始動回数がスタータ駆動保障回数を上回るにつれて、始動動作が好適に行えない可能性が増加するので、スタータ始動回数の多くなるISS制御を中止するのである。これにより、ISS制御中止以降は、IGキーによるエンジンの始動のみとするので、スタータ33の信頼性を確保することができる。
【0074】
尚、本発明は前記実施例になんら限定されるものではなく、本発明を逸脱しない範囲において種々の態様で実施しうることはいうまでもない。
【図面の簡単な説明】
【図1】 実施例の電子制御装置の概略構成を示す説明図である。
【図2】 実施例のRAMやEEPROMのメモリを示す説明図である。
【図3】 実施例の始動回数記憶処理を示すフローチャートである。
【図4】 実施例のスタータ劣化判定処理を示すフローチャートである。
【図5】 実施例のスタータ交換時処理を示すフローチャートである。
【符号の説明】
1…電子制御装置
3…マイクロコンピュータ
5…メイン電源回路
19…EEPROM
21…イグニッションスイッチ(IGスイッチ)
23…バッテリ
27…ノーマルRAM(RAM)
33…スタータ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic control device that can reliably store, for example, the number of starters of an automobile engine in a nonvolatile memory.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, for example, an electronic control device centered on a microcomputer has been used to control an engine of an automobile.
In this electronic control device, RAM (normal RAM), EEPROM, etc. are employed to store various data. Among these, the RAM is a memory whose data is not guaranteed when the ignition key is turned off, and the EEPROM is a non-volatile memory capable of holding data even when the power is turned off.
[0003]
Further, considering the case of counter data, for example, the number of starter driving times (starting frequency) as stored data, the starter has a life due to the starting frequency. Therefore, check whether the start count exceeds the starter drive guarantee count when the start count increases more than usual, especially when performing idle stop & starter control (control of automatic engine stop and automatic start). It is important to. In addition, since the number of times of starting needs to be maintained even when the ignition switch is off or when the battery is replaced, the number of times of starting needs to be stored in a nonvolatile memory such as an EEPROM.
[0004]
However, the EEPROM has a guaranteed number of times of writing, and if it exceeds that, data may not be written correctly. For example, a technique described in Japanese Patent Laid-Open No. 10-247165 has been proposed as a data storage means. ing.
This technique sets a plurality of memory addresses (A to C) as a set, divides the contents into an access information part and an actual data part, and every time data is written to the actual data part, the access information part The access information is counted up, and a plurality of memory addresses are specified cyclically based on the access information.
[0005]
[Problems to be solved by the invention]
However, in the above-described technique, in order to write data cyclically in the memory, it is necessary to specify an address. Therefore, in addition to the actual data part for storing data in the memory, an access information part for storing access information, etc. Storage area must be provided.
[0006]
In other words, this technique requires a memory for information in addition to data, and thus has a problem of poor memory efficiency.
The present invention has been made to solve the above-described problems, and an object thereof is to provide an electronic control device having high memory efficiency in a nonvolatile memory.
[0007]
[Means for Solving the Problems and Effects of the Invention]
(1) The invention of claim 1
A RAM backed up by a power source and a writable non-volatile memory (for example, EEPROM) capable of retaining stored contents even when the power is shut off, and counting the number of times a predetermined event occurs in the non-volatile memory An electronic control device in which a plurality of storage areas for storing counter data to be stored is set, and among the counter data, a storage means for obtaining period data in a predetermined period and storing it in the RAM, and a predetermined write condition are satisfied In this case, the total data obtained by summing the minimum value of the counter data stored in the plurality of storage areas of the nonvolatile memory and the period data stored in the RAM is stored in the nonvolatile memory. A gist of the electronic control device is provided with a writing means for writing in a storage area in which the minimum value is stored.
[0008]
In the present invention, a plurality of storage areas are provided to store predetermined counter data (for example, counter data such as the number of times the starter is driven) in the nonvolatile memory, and a predetermined condition (for example, when the ignition switch is turned off). If the condition is satisfied, the counter data of the specific storage area is changed.
[0009]
Specifically, when a predetermined write condition is satisfied, the minimum value of the counter data stored in the plurality of storage areas of the nonvolatile memory and the period (which is the counter data) stored in the RAM The total data (counter data) summed with the data is written into the storage area in which the minimum value of the nonvolatile memory is stored. The detection of the minimum value and the sum of the minimum value and the period data are preferably performed at a timing when a predetermined write condition is satisfied.
[0010]
Thereby, in the storage area in which the minimum value is stored, a value increased by the period data is stored in the minimum value.
Therefore, since the storage area to which the counter data is written is always changed, the number of writes in the same storage area is reduced, and the number of writes in each storage area is averaged. Therefore, there is an advantage that the number of writings does not easily exceed the number of write guarantees in each storage area of the nonvolatile memory.
[0011]
Further, unlike the conventional case, there is no need for a memory such as a memory information unit for designating an address other than the memory for actually storing the counter data, so that the memory efficiency is improved.
When there are a plurality of minimum value storage areas, the order of writing may be determined in advance, and writing may be performed in accordance with the order.
[0012]
(2) The invention of claim 2
The gist of the electronic control device according to claim 1, wherein the counter data is an engine starter driving frequency.
The present invention exemplifies counter data. Here, since the starter driving frequency of the engine can be accurately stored in the non-volatile memory, when the starter driving frequency increases excessively (when it exceeds the starter driving guaranteed frequency), for example, a warning is given to the driver. It can be performed.
[0013]
(3) The invention of claim 3
The gist of the electronic control device according to claim 1, wherein the predetermined period is a period in which an ignition switch is turned on.
The present invention exemplifies a predetermined period. Here, the ignition switch ON period is an ON period from the ignition switch OFF state to the next OFF state.
[0014]
While the ignition switch is on, the engine is normally operating. However, when automatic engine stop control (for example, idle stop & starter control) is being performed, the engine stops even if the ignition switch is on. There are things to do. Therefore, it is important to store the number of times the starter is driven during the ignition switch ON period for checking the number of times the starter is driven.
[0015]
(4) The invention of claim 4
The counter data stored in a plurality of storage areas of the non-volatile memory is read and stored in the RAM when a predetermined read condition is satisfied. The gist of the electronic control device described.
[0016]
In the present invention, when a predetermined read condition is satisfied, each counter data stored in the plurality of storage areas of the nonvolatile memory is read and stored in the RAM. Thereafter, based on the counter data in the RAM, It is possible to detect the minimum value of the counter data (and therefore the minimum value of each storage area of the EEPROM).
[0017]
(5) The invention of claim 5
The gist of the electronic control device according to claim 4, wherein the predetermined read condition is a timing at which an ignition switch is turned on.
The present invention exemplifies predetermined read conditions.
[0018]
(6) The invention of claim 6
When the predetermined write condition is satisfied, a minimum value of each counter data stored in the RAM is detected, and the total data is calculated by adding the period data to the minimum value. The gist of the electronic control device according to claim 4 or 5 is characterized.
[0019]
The present invention exemplifies processing when a predetermined write condition is satisfied. Here, when a predetermined write condition is satisfied, the minimum value of each counter data stored in the RAM is detected, and period data is added to the minimum value to obtain total data. Write total data to non-volatile memory.
[0020]
In addition to this process, a minimum value may be calculated in advance before the condition is satisfied, and when the condition is satisfied, the subsequent total data calculation and writing process may be performed.
(7) The invention of claim 7
The gist of the electronic control device according to claim 6, wherein the predetermined write condition is a timing when the ignition switch is turned off.
[0021]
The present invention exemplifies conditions for writing counter data (that is, total data). Here, it is assumed that the write condition is satisfied when the ignition switch is turned off.
Normally, when the ignition switch is turned off, the voltage supplied to the electronic control device also decreases. However, for example, by maintaining the voltage higher than a predetermined writable voltage for a predetermined time by well-known main relay control, Counter data can be written.
[0022]
(8) The invention of claim 9
The electronic control device is a device capable of performing automatic engine stop and / or automatic engine start (for example, idle stop & starter control) by a starter. The gist of the electronic control device described.
[0023]
The electronic control device of the present invention is a device that automatically starts the engine by an automatic stop of the engine or a starter. Accordingly, the number of starter drives tends to increase as compared with the case where such control is not performed. In particular, when the engine is automatically started, the starter drive count by the automatic start is added to the starter drive count by the driver's ignition key, so that the starter drive count tends to further increase.
[0024]
Therefore, when performing such an engine automatic stop or automatic start control, it is very important to check whether the starter drive count is equal to or greater than the starter drive guarantee count. When the control is executed, it is possible to surely check the starter driving frequency.
[0025]
Therefore, when the starter drive count becomes equal to or greater than the starter drive guarantee count, it is possible to notify the driver by a warning lamp or the like, thereby prompting replacement of the starter. Alternatively, when the starter drive count becomes equal to or greater than the starter drive guarantee count, it is possible to extend the life of the starter by limiting the automatic start of the engine as necessary.
[0026]
The idle stop & starter control is a control for automatically stopping or starting the engine when a predetermined condition is satisfied.
Specifically, in order to reduce fuel consumption and exhaust gas, for example, the engine is automatically stopped when the signal is stopped, and the engine is automatically started when the signal is started. Or, for example, when the vehicle speed is 0 and the door is opened, the engine is automatically stopped. In addition, various conditions for executing the control are conceivable.
[0027]
As an electronic control device that performs the idle stop & starter control, “the idle stop & starter control is a stoppable state determination unit that determines whether or not the vehicle engine may be stopped, and a stoppable state determination. An affirmative determination by the means, an automatic stop means for automatically stopping the engine, and a startable state determination means for determining whether or not the vehicle engine may be started when the automatic stop means is executed. An electronic control device comprising an automatic start means for automatically starting the engine when an affirmative determination is made by the startable state determination means.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
Next, an example (example) of an embodiment of the electronic control device of the present invention will be described based on the drawings.
(Example)
a) First, the basic configuration of the engine control electronic control device of this embodiment will be described.
[0029]
As shown in FIG. 1, an electronic control device (hereinafter simply referred to as an engine ECU) 1 for engine control according to the present embodiment is a device mainly composed of a microcomputer (shown as CPU in FIG. 1). Along with the idling stop & starter control, it is possible to check the starter driving frequency (starting frequency).
[0030]
The engine ECU 1 includes a main power supply circuit 5 as a power supply system in addition to the microcomputer 3, an input circuit 9 and a waveform shaping circuit 11 as an input system, and first to third output circuits 13 as output systems. 15 and 17 are provided. Also, an EEPROM 19 and the like are provided as various data storage means. This will be described in detail below.
[0031]
When the ignition switch (IG switch) 21 is on, the main power supply circuit 5 is supplied with a voltage (+ B) from the battery 23 and supplies a predetermined voltage (Vom) to the input circuit 9 and the microcomputer 3. Is.
The microcomputer 3 includes a ROM 25 and a RAM (normal RAM) 27. Among these, the RAM 27 is a memory that holds contents (data) by supplying voltage from the main power supply circuit 5 while the IG switch 21 is on.
[0032]
The EEPROM 19 is a non-volatile memory that can retain the contents (for example, counter data of the number of times the starter is driven) even when the main power is down, and when a predetermined voltage (for example, 2 V or more) is supplied. Is a memory in which data can be written.
[0033]
As will be described in detail later, this EEPROM 19 is used to determine that the starter drive count is equal to or greater than the starter drive guarantee count (a guaranteed value for guaranteeing the operation of the starter 33; for example, 150,000 times). The total value (total data) of the starter driving times is stored.
[0034]
Accordingly, the microcomputer 3 receives the voltage (Vom) from the main power supply, and the EEPROM 19 receives the voltage (Vom) from the main power supply, and data can be exchanged between the RAM 27 and the EEPROM 19. For example, the counter data can be written into the EEPROM 19 based on the starter driving frequency data (counter data) stored in the RAM 27.
[0035]
In the configuration of FIG. 1 described above, the engine ECU 1 is activated when the IG switch 21 connected to the battery 23 is turned on by operating an ignition key (IG key) (not shown). Further, when the IG key is turned to the ST position of the IG switch 21, the motor 33a of the starter 33 is driven to start the engine.
[0036]
Further, during operation of the engine, the engine ECU 1 takes in the vehicle operation signals such as the engine speed signal NE and the vehicle speed signal SPD, and sensor signals such as the throttle opening signal TA and the cooling water temperature signal THW, and the solenoid valve 37. Outputs a control signal for fuel injection control or the like.
[0037]
b) Next, the configuration of the RAM 27 and the EEPROM 19 in the configuration of the engine ECU 1 will be described in more detail.
As shown in FIG. 2, in the engine ECU1, the EEPROM 19 includes a memory EM1 as a storage area (hereinafter also referred to as a memory) in which the starter total drive count (that is, the total start count from the initial time (new) of the engine ECU1) is written. In the memory EM1, five storage areas EM1a to EM1e are set.
[0038]
The reason for providing these five storage areas is that the number of times of data writing in the same storage area of the EEPROM 19 has a predetermined limit (the number of times the EEPROM 19 is guaranteed to be written; for example, 100,000 times).
That is, since the number of times that data can be written to one storage area is 100,000 times, if 5 memories EM1a to EM1e are used, a maximum of 500,000 times of 5 × 10 can be written. This is because it is possible to store 500,000 starter drive times exceeding the 10,000 starter drive guarantee times. Note that the size of each of the memories EM1a to EM1e is set to a size of 4 bytes so that a numerical value of 500,000 times can be stored.
[0039]
Each value stored in the memories EM1a to EM1e is the total number of start times calculated when stored in the respective memories EM1a to EM1e, and the difference in the number of times between the memories EM1a to EM1e is about several times. In the order of a few (compared to the total number of starts).
[0040]
In addition to the memory EM1, the EEPROM 19 is provided with a memory EM2 for storing the starter driving frequency. In the memory EM2, when the starter 33 is replaced, the total number of times the starter is driven (the total number of start times when the starter is replaced) is written. Therefore, the value of the memory EM2 normally increases approximately every 150,000 times when the starter 33 is properly replaced.
[0041]
On the other hand, in the RAM 27 of the CPU 3, a memory RM1 for storing the current start count (start count in the ON period of the current IG switch 21), which is period data detected based on the STA signal, and memories EM1a to EEP1 of the EEPROM 19 are stored. A memory RM2 for temporarily storing the starter driving times read from EMe (specifically, memories RM2a to RM2e corresponding to the respective memories EM1a to EM1e), and a memory for temporarily storing the total number of times of starter replacement read from the memory EM2 of the EEPROM 19 RM3 and a memory RM4 that stores the number of times of start after replacement of the starter (the number of times of start that is counted when the starter is replaced).
[0042]
c) Next, the idle stop & starter control (ISS control) performed by the engine ECU 1 will be briefly described.
This ISS control is a control for reducing the unnecessary operating period of the engine to save fuel and reduce exhaust gas.
[0043]
For example, by automatically stopping the engine when it stops at a red light and automatically starting the engine when starting at a green light, it is possible to reduce the unnecessary operation period of the engine and save fuel and reduce exhaust gas. is there. Further, for example, when the vehicle speed is 0 and the vehicle door is opened, the engine may be automatically stopped without automatically starting the engine.
[0044]
Therefore, in the case of ISS control, the number of starter driving operations is increased compared to the case where it is not, but the number of starter driving operations is limited by the number of starter driving guarantees described above.
Therefore, in this embodiment, as described below, the starter drive count is counted, and it is always checked whether or not the starter drive count is equal to or greater than the starter drive guarantee count. The driver is warned such as turning on the warning lamp 35.
[0045]
d) Next, processes such as the above-described check of the starter driving frequency performed by the engine ECU 1 will be described.
(1) Start count storage process
This process is a process of counting the number of starter driving (starting frequency) by manual starting and automatic starting, and writing the total number of starting times in the EEPROM 19, and is executed every predetermined period.
[0046]
As shown in the flowchart of FIG. 3, first, in step 100, it is determined whether or not the IG switch 21 is on. If an affirmative determination is made here, the process proceeds to step 110, while if a negative determination is made, the process proceeds to step 140.
In step 110, the total number of start times stored in the memories EM1a to EM1e of the EEPROM 19 is read out and stored in the memories RM2a to RAM2e of the RAM 27, respectively.
[0047]
In the following step 120, it is determined whether or not the starter 33 is driven depending on whether or not the STA signal is input. If an affirmative determination is made here, the process proceeds to step 130, whereas if a negative determination is made, the present process is temporarily terminated.
Even when the IG switch 21 is operated manually and the starter 33 is driven, or when the starter 33 is automatically started by a signal from the second output circuit 15, the STA signal is input to the engine ECU 1. It can be detected that the starter 33 is driven.
[0048]
In step 130, since the starter 33 has been driven, the current start counter KK is counted up, the value is stored in the memory RM1 of the RAM 27, and this process is temporarily terminated.
On the other hand, in step 140 that proceeds with a negative determination in step 100, it is determined whether or not the IG switch 21 has been switched from on to off. If an affirmative determination is made here, the process proceeds to step 150, whereas if a negative determination is made, the present process is temporarily terminated.
[0049]
In step 150, since the IG switch 21 is turned off, the minimum value of the values (total start count) stored in the memories RM2a to RM2e of the RAM 27 is detected.
In the following step 160, the current start count (the value of the counter KK) stored in the memory RM1 of the RAM 27 is added to the minimum value of the memories RM2a to RM2e of the RAM 27 to calculate the total start count that is total data. .
[0050]
Here, since the current number of starts is added to the minimum value of the total number of starts so far, the total data may not be the total number of starts, but the number of starts between the memories RM2a to RM2e. Since the difference is small, it can be regarded substantially as the total number of start-ups.
[0051]
In the subsequent step 170, the total number of start times calculated in step 160 is written (that is, rewritten) in the memory having the minimum value among the memories EM1a to EM1e of the EEPROM 19, and the present process is temporarily terminated.
{Circle around (2)} Here, the manner in which the start count is written in the EEPROM 19 by the processing of FIG. 3 will be described with reference to Table 1 below.
[0052]
[Table 1]
Figure 0004134477
[0053]
Note that * in Table 1 indicates that new writing was performed when the IG switch 21 was turned off. In addition, “current start count” in Table 1 indicates a value stored in the memory RM1 of the RAM 29 when the IG switch 21 is turned off.
As shown in Table 1, the initial values (No. 1) of the memories EM1a to EM1e of the EEPROM 19 are zero.
[0054]
Next, the starter 33 is driven twice from when the IG switch 21 is first turned on until it is turned off (No. 2) for the first time. At this time, since the values of the memories EM1a to EM1e of the EEPROM 19 are all the same with an initial value of 0, when such values are the same, the values are written in alphabetical order of preset subscripts (in order from the left memory). To.
[0055]
In this case, the total of the initial value 0 and the current two starter driving times is two times, and the value is written in the memory EM1a of the EEPROM 19.
Similarly, in the case of Nos. 3 to 6, the starter drive count is sequentially written in the memories EM1b to EM1e of the EEPROM 19.
[0056]
Next, in the case of No. 7, the current start count is 4, and the minimum value of the memory EM1 of the EEPROM 19 up to the previous No. 6 is 1 in the memory EM1c. A value of 5 that is the sum of 4 and 1 of the minimum value is written in the memory EM1c of the minimum value as the total number of start times.
[0057]
In the same manner, the current start count and the minimum value of the memory EM1 of the EEPROM 19 are summed, and the sum is written in the minimum value memory. In this case as well, if there are a plurality of minimum values, they are written in each memory in the order of subscript alphabets.
(3) Starter deterioration judgment process
This process is a process for determining the deterioration of the starter 33, and is executed every predetermined period.
[0058]
Prior to this processing, when the IG switch 21 is turned on, the total number of start times when the starter of the memory EM2 of the EEPROM 19 is replaced is read and stored in the memory RM3 of the RAM 27 as the total number of start times when the starter is replaced. The memory EM2 of the EEPROM 19 and the memory RM3 of the RAM 27 are cleared at the initial time (new).
[0059]
As shown in the flowchart of FIG. 4, in step 200, the number of start times after starter replacement is calculated and stored in the memory RM <b> 4 of the RAM 27.
Specifically, the total number of starts at the starter replacement stored in the memory RM3 of the RAM 27 is subtracted from the total number of starters 33 stored in the memory RM2 of the RAM 27 to calculate the number of starts after the starter replacement. To do.
[0060]
For example, the maximum value among the values stored in the five memories RM2a to RM2e is used as the total number of times the starter 33 is stored in the memory RM2 of the RAM 27. Further, the total number of times of start-up when replacing the starter stored in the memory RM3 of the RAM 27 is a value (for example, 150,000 times or 300,000 times) read from the memory EM2 of the EEPROM 19 when the IG switch 21 is turned on.
[0061]
In the subsequent step 210, it is determined whether or not the number of start-ups after the starter replacement is equal to or greater than, for example, 150,000 starter driving guarantee times. If an affirmative determination is made here, the process proceeds to step 220. On the other hand, if a negative determination is made, the starter 33 is still a small number of start times that can be normally operated, and thus this process is temporarily terminated.
[0062]
In step 220, the starter drive count becomes equal to or greater than the starter drive guarantee count, and the subsequent starter 33 drive is not guaranteed. Therefore, the warning lamp 35 is turned on to notify the driver and the like, and the process is temporarily terminated. To do.
By this processing, it is possible to accurately notify the driver that the starter 33 has reached the end of its life.
[0063]
In addition to lighting of the warning lamp 35, it is desirable to stop the ISS control when the ISS control is performed.
(4) Starter replacement process
This process is performed when the starter 33 is replaced, and is executed by an instruction from the diagnosis tool.
[0064]
As shown in the flowchart of FIG. 5, in step 300, it is determined whether or not a signal for notifying that the replacement of the starter 33 is completed is received from the diagnosis tool 37. If a positive determination is made here, the process proceeds to step 310, whereas if a negative determination is made, the present process is temporarily terminated.
[0065]
In step 310, the total number of starts stored in the memory RM2 of the RAM 27 is stored in the memory RM3 of the RAM 27 as the total number of starts at the time of starter replacement.
As a result, the values of the memory RM2 and the memory RM3 become the same, so that the number of start times after the starter replacement of the memory RM4 is (value of the memory RM2−value of the memory RM3) = 0, Preparation for counting is completed.
[0066]
For example, the maximum value among the values stored in the five memories RM2a to RM2e is used as the total number of times the starter 33 is stored in the memory RM2 of the RAM 27.
In the following step 320, it is determined whether or not the IG switch 21 has been switched from on to off. If an affirmative determination is made here, the process proceeds to step 330, whereas if a negative determination is made, the present process is temporarily terminated.
[0067]
In step 330, the total number of times of starter replacement stored in the memory RM3 of the RAM 27 is written in the memory EM2 of the EEPROM 19, and this process is temporarily terminated.
Thus, for example, when the starter 33 is replaced every 150,000 start times, the total number of start times at the starter replacement at the starter replacement is stored in the memory EM2 of the EEPROM 19 at 150,000, 300,000, 45 It will be written sequentially with 10,000 times.
[0068]
e) With the above-described configuration, this example has the following effects.
In the start count storage processing of this embodiment, the current start count is counted up every time the starter 33 is driven, and when the IG switch 21 is turned off, the current start count is reduced to the minimum value of the memories RM2a to RM2e of the RAM 27. Is added to obtain the total number of start times, and the value is written in the minimum value memory of the EEPROM 19.
[0069]
As a result, among the memories EM1a to EM1e of the EEPROM 19, the memory to which the total number of starts is written is changed each time, so the number of writes in each of the memories EM1a to EM1e is averaged. Therefore, since the number of times of writing in the EEPROM 19 can be made smaller than the number of times of guaranteed writing in the EEPROM 19, there is an effect that the number of starter driving times can be surely stored. Specifically, in each storage area, writing is performed once every five writing timings, and 500,000 times can be counted within the guaranteed number of times of writing.
[0070]
Further, as compared with the conventional case, there is an advantage that the memory efficiency is good because a storage area for setting the memory address to be stored is not required.
Accurate starter drive count can always be stored.
In this embodiment, when the number of write guarantees of the EEPROM 19 is 100,000, for example, when storing the number of starter driving of 500,000, it is divided into five storage areas of 50 ÷ 10. As described above, it is desirable to appropriately set the number of storage areas in accordance with the number of write guarantees and the number of starter drives to be stored.
[0071]
For example, when the write guarantee count is A times and B starter drive counts are stored, the minimum storage area is sufficient if the storage area is an integer quotient number B ÷ A. If it is not divisible, setting (quotient + 1) number of storage areas requires only the minimum storage area, and the memory efficiency can be improved. Note that the size of one storage area is a size that can store the total number of starter drives.
[0072]
In addition, in this embodiment, when the starter count from the initial starter (or after the starter replacement) exceeds the starter drive guarantee count, the warning lamp 35 is turned on to inform the driver of the starter 33. Since replacement is promoted, sudden start-up failure is unlikely to occur, and safe operation is always possible.
[0073]
・ Furthermore, when the number of starters from the initial starter (or after starter replacement) exceeds the starter drive guarantee count, the ISS control is stopped to reduce the degree of increase in the subsequent starter drive count. can do. In other words, as the starter start count exceeds the starter drive guarantee count, the possibility that the start operation cannot be suitably performed increases, so the ISS control in which the starter start count increases is stopped. Thereby, after the ISS control is stopped, only the engine is started by the IG key, so that the reliability of the starter 33 can be ensured.
[0074]
Needless to say, the present invention is not limited to the above-described embodiments, and can be implemented in various modes without departing from the scope of the present invention.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram illustrating a schematic configuration of an electronic control device according to an embodiment.
FIG. 2 is an explanatory diagram illustrating a RAM or an EEPROM memory according to an embodiment.
FIG. 3 is a flowchart illustrating a start count storage process according to the embodiment.
FIG. 4 is a flowchart illustrating starter deterioration determination processing according to the embodiment.
FIG. 5 is a flowchart illustrating a starter replacement process according to the embodiment.
[Explanation of symbols]
1 ... Electronic control unit
3 ... Microcomputer
5 ... Main power circuit
19… EEPROM
21 ... Ignition switch (IG switch)
23 ... Battery
27 ... Normal RAM (RAM)
33 ... Starter

Claims (8)

電源によりバックアップされたRAMと、
電源遮断時にも記憶内容を保持することができる書き込み可能な不揮発性メモリと、
を備え、
前記不揮発性メモリに、所定の事象が発生する回数を計数するカウンタデータを記憶する複数の記憶領域を設定した電子制御装置であって、
前記カウンタデータのうち、所定の期間における期間データを求めて前記RAMに記憶する記憶手段と、
所定の書き込み条件が満たされた場合には、前記不揮発性メモリの複数の記憶領域に記憶された前記カウンタデータのうちの最小値と、前記RAMに記憶された期間データとを合計した合計データを、前記不揮発性メモリの最小値が記憶されている記憶領域に書き込む書込手段と、
を備えたことを特徴とする電子制御装置。
RAM backed up by a power supply,
Writable non-volatile memory that can retain stored contents even when the power is turned off,
With
An electronic control device in which a plurality of storage areas for storing counter data for counting the number of times a predetermined event occurs is set in the nonvolatile memory,
Storage means for obtaining period data in a predetermined period out of the counter data and storing it in the RAM;
When a predetermined write condition is satisfied, total data obtained by summing the minimum value of the counter data stored in the plurality of storage areas of the nonvolatile memory and the period data stored in the RAM is calculated. Writing means for writing in a storage area in which the minimum value of the nonvolatile memory is stored;
An electronic control device comprising:
前記カウンタデータとは、エンジンのスタータ駆動回数であることを特徴とする前記請求項1に記載の電子制御装置。The electronic control device according to claim 1, wherein the counter data is an engine starter driving count. 前記所定の期間とは、イグニッションスイッチのオンとされている期間であることを特徴とする前記請求項1又は2に記載の電子制御装置。The electronic control apparatus according to claim 1, wherein the predetermined period is a period in which an ignition switch is turned on. 所定の読み出し条件が満たされた場合に、前記不揮発性メモリの複数の記憶領域に記憶された各カウンタデータを読み出して前記RAMに記憶することを特徴とする前記請求項1〜3のいずれかに記載の電子制御装置。The counter data stored in a plurality of storage areas of the non-volatile memory is read and stored in the RAM when a predetermined read condition is satisfied. The electronic control device described. 前記所定の読み出し条件とは、イグニッションスイッチがオンとなったタイミングであることを特徴とする前記請求項4に記載の電子制御装置。5. The electronic control device according to claim 4, wherein the predetermined read condition is a timing when an ignition switch is turned on. 前記所定の書き込み条件が満たされた場合に、前記RAMに記憶された各カウンタデータのうちの最小値を検出し、その最小値に対して前記期間データを加算して合計データを算出することを特徴とする前記請求項4又は5に記載の電子制御装置。When the predetermined write condition is satisfied, a minimum value of each counter data stored in the RAM is detected, and the total data is calculated by adding the period data to the minimum value. 6. The electronic control device according to claim 4, wherein the electronic control device is characterized. 前記所定の書き込み条件とは、イグニッションスイッチがオフとなったタイミングであることを特徴とする前記請求項6に記載の電子制御装置。The electronic control apparatus according to claim 6, wherein the predetermined write condition is a timing at which an ignition switch is turned off. 前記電子制御装置は、エンジンの自動停止及び/又はスタータによるエンジンの自動始動を行うことができる装置であることを特徴とする前記請求項1〜7のいずれかに記載の電子制御装置。The electronic control device according to claim 1, wherein the electronic control device is a device capable of automatically stopping the engine and / or automatically starting the engine with a starter.
JP2000022583A 2000-01-31 2000-01-31 Electronic control unit Expired - Fee Related JP4134477B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000022583A JP4134477B2 (en) 2000-01-31 2000-01-31 Electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000022583A JP4134477B2 (en) 2000-01-31 2000-01-31 Electronic control unit

Publications (2)

Publication Number Publication Date
JP2001216789A JP2001216789A (en) 2001-08-10
JP4134477B2 true JP4134477B2 (en) 2008-08-20

Family

ID=18548870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000022583A Expired - Fee Related JP4134477B2 (en) 2000-01-31 2000-01-31 Electronic control unit

Country Status (1)

Country Link
JP (1) JP4134477B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5429199B2 (en) * 2011-01-14 2014-02-26 株式会社デンソー Engine stop / start control device

Also Published As

Publication number Publication date
JP2001216789A (en) 2001-08-10

Similar Documents

Publication Publication Date Title
JP4420944B2 (en) In-vehicle engine controller
JP4365647B2 (en) In-vehicle electronic control unit power supply circuit
JP5176728B2 (en) Electronic control device for vehicle
US20090271063A1 (en) Electronic control unit and vehicle control system
JP2006347441A (en) Electronic control device
TW555934B (en) Engine start control method and device
JP5664454B2 (en) Electronic control device for vehicle
JP2006322332A (en) Failure detection method for starter drive circuit and economical running control device
JP2006307721A (en) Electronic control device for vehicle
JP2004285856A (en) Engine intake air amount control device and engine intake air amount control method
JP2008051014A (en) Automatic start control device for internal combustion engine
JP4134477B2 (en) Electronic control unit
JP2001263210A (en) Electronic control device and recording medium
JP3546791B2 (en) Electronic control unit
JP4135269B2 (en) Electronic control device and recording medium
JP2002266674A (en) Automatic start and stop device for internal combustion engine
JP2001265617A (en) VEHICLE CONTROL DEVICE HAVING DIAGNOSIS FUNCTION AND RECORDING MEDIUM
JP2001189083A (en) Electronic control unit
JP2001184265A (en) Electronic control unit
JPH05289949A (en) Vehicle control device
JP3991963B2 (en) Vehicle control device
JP2011100416A (en) In-vehicle electronic controller and memory control method
JP2001210083A (en) Electronic control unit
JPH0689709B2 (en) Engine controller
JP5516509B2 (en) Program writing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060316

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080507

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080520

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140613

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees