JP5628142B2 - Electronic control unit - Google Patents
Electronic control unit Download PDFInfo
- Publication number
- JP5628142B2 JP5628142B2 JP2011274089A JP2011274089A JP5628142B2 JP 5628142 B2 JP5628142 B2 JP 5628142B2 JP 2011274089 A JP2011274089 A JP 2011274089A JP 2011274089 A JP2011274089 A JP 2011274089A JP 5628142 B2 JP5628142 B2 JP 5628142B2
- Authority
- JP
- Japan
- Prior art keywords
- timer
- time
- wakeup
- speed clock
- low
- 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
Links
- 238000005259 measurement Methods 0.000 claims description 134
- 230000002159 abnormal effect Effects 0.000 claims description 30
- 238000003745 diagnosis Methods 0.000 description 71
- 238000000034 method Methods 0.000 description 60
- 230000005856 abnormality Effects 0.000 description 41
- 230000015654 memory Effects 0.000 description 31
- 230000008569 process Effects 0.000 description 30
- 230000004913 activation Effects 0.000 description 15
- 239000000446 fuel Substances 0.000 description 11
- 238000004891 communication Methods 0.000 description 6
- 238000002347 injection Methods 0.000 description 6
- 239000007924 injection Substances 0.000 description 6
- 239000002828 fuel tank Substances 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000004092 self-diagnosis Methods 0.000 description 1
Images
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
Description
本発明は、ウエイクアップ(WakeUP)タイマを備えた電子制御装置に関する。 The present invention relates to an electronic control device including a wakeup timer.
WakeUPタイマを備えた電子制御装置は、自動車等の車両に搭載されている。車両には、エンジンシステムや燃料電池システムのように稼働時に昇温するものがあり、これらのものを故障診断しようとすると、故障診断の内容、例えば、エンジンシステムの燃料タンク周りのリーク診断等においては、エンジンシステム等が停止して、その温度が下がってシステム内雰囲気が安定した状態で行う必要がある。そこで、イグニッションスイッチをオフして、エンジンシステム等を停止した後、その温度が下がった頃に、WakeUPタイマで電子制御装置を起動し、リーク診断を行うことが提案されている(特許文献1、2等参照)。そして、WakeUPタイマの故障診断を行うことも提案されている。
An electronic control device having a WakeUP timer is mounted on a vehicle such as an automobile. Some vehicles, such as engine systems and fuel cell systems, rise in temperature during operation. When trying to diagnose failures of these items, the contents of the failure diagnosis, for example, leak diagnosis around the fuel tank of the engine system, etc. It is necessary to stop the engine system and the like, and the temperature is lowered and the atmosphere in the system is stable. Then, after turning off the ignition switch and stopping the engine system etc., when the temperature falls, it is proposed to start the electronic control device with the WakeUP timer and perform a leak diagnosis (
しかし、特許文献1では、イグニッションスイッチのオフ中に所定時間が経過してCPUが起動したことを示すフラグをセットする手法では、このフラグをセットするためのRAMの容量が増えてしまう場合やRAMに先のフラグをセットするためバッテリ容量が低下し後のフラグをセットできない場合がある。他にも、イグニッションスイッチのオフ中に所定時間が経過する毎にタイマをリセットさせると、例えばイグニッションスイッチのオフ中に1回しか起動させる必要が無い場合にも所定時間が経過する毎にリセットさせるのでタイマが正常であるにもかかわらず、WakeUPタイマの異常と判定してしまう場合があると考えられた。また、特許文献2では、WakeUPタイマが所定時間だと思ってCPUを起動させたとしても、このWakeUpタイマ自体のずれ(タイマの進みや遅れ)を異常として検出することはできないと考えられた。
However, in
そこで、本発明の課題は、確実にWakeUPタイマの故障診断を行える電子制御装置を提供することにある。 Therefore, an object of the present invention is to provide an electronic control device that can reliably perform failure diagnosis of a WakeUP timer.
本発明は、車両のイグニッションスイッチのオフ中の時間を計測する第1タイマと、前記イグニッションスイッチのオフ中に前記第1タイマが設定時間に等しい時間を計測した場合又は前記イグニッションスイッチがオフからオンにされた場合に、起動するマイコンと、を備えた電子制御装置において、
前記イグニッションスイッチのオフ中の時間を計測する第2タイマを有し、
前記第1タイマは、前記設定時間に等しい時間を計測した場合に、計測した時間をリセットし、このリセット後も時間の計測をし続け、
前記イグニッションスイッチがオンされたときに、前記第1タイマと前記第2タイマとが計測した時間の差が前記設定時間と異なる場合、又は、前記第1タイマが計測した時間に前記設定時間を加算した時間が、前記第2タイマが計測した時間と異なる場合、又は、前記第2タイマが計測した時間から前記設定時間を減算した時間が、前記第1タイマが計測した時間と異なる場合に、異常と判定することを特徴としている。
The present invention relates to a first timer for measuring a time during which an ignition switch of a vehicle is turned off, and when the first timer measures a time equal to a set time while the ignition switch is turned off, or when the ignition switch is turned on from off In an electronic control device equipped with a microcomputer that starts when
A second timer for measuring a time during which the ignition switch is off;
The first timer, when measuring a time equal to the set time, resets the measured time, continues to measure the time after the reset,
When the ignition switch is turned on, if the difference in time measured by the first timer and the second timer is different from the set time, or the set time is added to the time measured by the first timer If the measured time is different from the time measured by the second timer, or the time obtained by subtracting the set time from the time measured by the second timer is different from the time measured by the first timer. It is characterized by judging.
これによれば、第1タイマの時間の計測を再スタートした後は、正常であれば、第1タイマと第2タイマとが計測した時間の差が、それぞれが計測した時間の長短に関わらず、前記設定時間に一致する。同様に、第1タイマが計測した時間に前記設定時間を加算した時間は、第2タイマが計測した時間に一致し、第2タイマが計測した時間から前記設定時間を減算した時間は、第1タイマが計測した時間に一致する。すなわち、計測した時間が長くなった場合でも、第1タイマと第2タイマとが計測した時間の差が前記設定時間と異なったり、第1タイマが計測した時間に前記設定時間を加算した時間が第2タイマが計測した時間と異なったり、第2タイマが計測した時間から前記設定時間を減算した時間が、第1タイマが計測した時間と異なったりすれば、異常と判定することができる。そして、この判定は、第1タイマと第2タイマとがイグニッションスイッチがオンされたときに計測した時間に基づいて、行えばよいので、当然に、その判定は、イグニッションスイッチがオンされた後に行われ、判定結果をフラグとしてイグニッションスイッチがオンされる前に記憶する必要は無く、計測した時間の長短に関わらずRAMの容量を増やすことなく異常の判定ができる。 According to this, after restarting the measurement of the time of the first timer, if the time is normal, the difference between the times measured by the first timer and the second timer is the same regardless of the length of the time measured by each. , Which coincides with the set time. Similarly, the time obtained by adding the set time to the time measured by the first timer coincides with the time measured by the second timer, and the time obtained by subtracting the set time from the time measured by the second timer is the first time. Matches the time measured by the timer. That is, even when the measured time becomes longer, the difference between the times measured by the first timer and the second timer is different from the set time, or the time obtained by adding the set time to the time measured by the first timer. If the time is different from the time measured by the second timer or the time obtained by subtracting the set time from the time measured by the second timer is different from the time measured by the first timer, it can be determined that there is an abnormality. Then, this determination may be made based on the time measured when the first timer and the second timer are turned on, so that the determination is made after the ignition switch is turned on. Therefore, it is not necessary to store the determination result as a flag before the ignition switch is turned on, and an abnormality can be determined without increasing the capacity of the RAM regardless of the length of the measured time.
また、本発明によれば、第1タイマと第2タイマとで同時に時間を計測していることになっている。第1タイマと第2タイマとの両方に、同時に、自体のずれ(タイマ自身の時間の進みや遅れ)が生じることはまれであると考えられるので、ずれが生じた場合は、どちらか一方にずれが生じていると考えられる。そして、例えば、第1タイマと第2タイマのどちらか一方にずれが生じた場合には、そのずれが第1タイマと第2タイマとが計測した時間の差に反映されて前記設定時間と異なる等の結果となり、異常判定をすることができる。第1タイマさらに第2タイマの故障診断を確実に行うことができる。 Further, according to the present invention, the time is simultaneously measured by the first timer and the second timer. Since it is considered rare that both the first timer and the second timer are shifted at the same time (time advance or delay of the timer itself), if there is a shift, either It is considered that a deviation has occurred. For example, when a deviation occurs in one of the first timer and the second timer, the deviation is reflected in a difference in time measured by the first timer and the second timer and is different from the set time. As a result, abnormality determination can be made. The failure diagnosis of the first timer and the second timer can be performed reliably.
なお、第1タイマは、これが前記設定時間に等しい時間を計測した場合に、マイコンが起動されることになり、マイコンを、いわゆる、WakeUP(目覚まし)しているので、WakeUPタイマとして機能しているといえる。また、第1タイマと第2タイマは、イグニッションスイッチがオフされてからの時間を計測しているので、SOAK(ソーク)タイマとして機能しているといえる。 The first timer functions as a WakeUP timer because the microcomputer is activated when a time equal to the set time is measured, and the microcomputer is so-called WakeUP (wakes up). It can be said. Further, since the first timer and the second timer measure the time from when the ignition switch is turned off, it can be said that they function as a SOAK (soak) timer.
また、本発明では、前記第1タイマが前記設定時間に等しい時間を計測した場合に、
前記第1タイマの計測最大時間を前記設定時間に等しい時間分短くすることを特徴とすることが好ましい。
In the present invention, when the first timer measures a time equal to the set time,
It is preferable that the maximum measurement time of the first timer is shortened by a time equal to the set time.
通常、タイマは無限の時間を計測するわけではなく、計測する時間の上限値(計測最大時間)が存在する。これにより、計測最大時間を超えて時間を計測しようとすると、計測時間は計測最大時間のまま一定になる。本発明によれば、第1タイマと第2タイマがそれぞれ、計測最大時間(第1タイマと第2タイマとで等しくても異なってもよい。)を超えて時間を計測しようとすると、第1タイマの計測時間は第1タイマの計測最大時間より前記設定時間分短く、第2タイマの計測時間は第2タイマの計測最大時間となるので、第1タイマと第2タイマの計測時間の差は、前記設定時間に第1タイマと第2タイマの計測最大時間の差を考慮した時間に等しくなり異常と判定されない。単に、計測時間が長いというだけで、不用意に異常判定をするのを防止することができる。逆に、第1タイマと第2タイマとで、計測時間が前記最大時間に達しているのに、異常判定された場合には、WakeUP(目覚まし)せずに、第1タイマの前記最大時間が前記設定時間分短く再設定されなかった等の異常を検出できたことになる。 Usually, the timer does not measure an infinite time, but there is an upper limit value (maximum measurement time) of the time to be measured. Thereby, when it is going to measure time exceeding measurement maximum time, measurement time becomes fixed with measurement maximum time. According to the present invention, if the first timer and the second timer try to measure the time exceeding the maximum measurement time (the first timer and the second timer may be equal or different), The measurement time of the timer is shorter than the maximum measurement time of the first timer by the set time, and the measurement time of the second timer is the maximum measurement time of the second timer. Therefore, the difference between the measurement times of the first timer and the second timer is The set time is equal to the time considering the difference between the maximum measurement times of the first timer and the second timer, and is not determined to be abnormal. It is possible to prevent the abnormality from being inadvertently determined simply because the measurement time is long. On the contrary, when the measurement time has reached the maximum time in the first timer and the second timer, but the abnormality is determined, the maximum time of the first timer is not performed without wakeup (wake-up). Abnormalities such as not being reset again shortly by the set time can be detected.
また、本発明では、前記第1タイマが前記設定時間に等しい時間を計測したときに、前記第1タイマと前記第2タイマとが計測した時間とを比較して、前記第1タイマと前記第2タイマとの計測時間が所定時間以上異なる場合に異常と判定することが好ましい。 In the present invention, when the first timer measures a time equal to the set time, the time measured by the first timer and the second timer is compared, and the first timer and the second timer are compared. It is preferable to determine that there is an abnormality when the measurement time of the two timers differs by a predetermined time or more.
これによれば、第1タイマが前記設定時間に等しい時間を計測した時点において、異常フラグを立てておけば、イグニッションスイッチがオンされたときに異常判定ができるので、例えば、前記した第1タイマと第2タイマの計測時間が前記最大時間に達しているような場合でも、異常判定をすることができる。 According to this, if the abnormality flag is set at the time when the first timer measures the time equal to the set time, the abnormality can be determined when the ignition switch is turned on. Even when the measurement time of the second timer reaches the maximum time, the abnormality can be determined.
本発明によれば、第1タイマ(WakeUPタイマ)の故障診断を確実に行える電子制御装置を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the electronic control apparatus which can perform the failure diagnosis of a 1st timer (WakeUP timer) reliably can be provided.
次に、本発明を実施するための形態(「実施形態」という)について、適宜図面を参照しながら詳細に説明する。 Next, modes for carrying out the present invention (referred to as “embodiments”) will be described in detail with reference to the drawings as appropriate.
図1に、本発明の実施形態に係る電子制御装置の例として、燃料噴射用の電子制御装置(FIECU)1の構成図を示す。自動車等の車両には、様々な電子制御装置1が搭載されて、それぞれの電子制御装置1に本発明を適用できるのであるが、本実施形態では、エンジン内に燃料を噴射させる燃料噴射(FI)システムを制御するFIECU(電子制御装置)1を例に説明する。なお、車両には、エンジンシステム(燃料電池車の場合はFCシステム)、操舵システム等のような複数のシステムが搭載され、それぞれのシステムは、自身のシステムを制御する電子制御装置1を有している。例えば、エンジンシステムでは、そのシステム内に燃料噴射(FI)システムを更に有しており、その燃料噴射(FI)システムが、FIECU(電子制御装置)1を有している。
FIG. 1 shows a configuration diagram of an electronic control unit (FIECU) 1 for fuel injection as an example of an electronic control unit according to an embodiment of the present invention. Various
また、車両は、イグニッションスイッチ(IGSW)9と、メインリレー(MAIN RLY)8と、バッテリ(+B)を有している。車両の運転者が、イグニッションスイッチ9をオンすることによって、メインリレー8がオンし、バッテリ(+B)から、メインリレー8を介して、電力が、FIECU(電子制御装置)1を含めた燃料噴射(FI)システム全体に供給され、更には、車両を構成する複数のシステム全体に供給される。そして、車両、その車両の複数のシステム、そのシステムの電子制御装置1が、始動する。また、運転者が、イグニッションスイッチ9をオフすると、メインリレー8がオフし、バッテリ(+B)からの電力供給がストップする。そして、FIECU(電子制御装置)1を含めた複数のシステム、更には、車両を、停止することができる。
The vehicle also has an ignition switch (IGSW) 9, a main relay (MAIN RLY) 8, and a battery (+ B). When the driver of the vehicle turns on the
車両に搭載されている燃料噴射(FI)システム等のシステムは、自己診断機能を有しており、自動で故障診断を実施することができる。大半の故障診断は、イグニッションスイッチ9がオンしているとき、特に、オンした直後に行われるが、一部の故障診断には、イグニッションスイッチ9がオフしているときに実施されるものがある。具体的には、燃料タンク周りのリーク診断等である。このリーク診断等は、エンジンシステム等が停止して、その温度が下がってシステム内雰囲気が安定した状態で行う必要がある。そこで、イグニッションスイッチ9をオフして、車両(エンジンシステム等を含んだ複数のシステム全体)を停止した後、燃料タンク周りの温度が下がる数時間程度の設定時間に等しい時間を、WakeUPタイマ(低速クロックタイマ、第1タイマ)3aで計測してから、燃料噴射(FI)システム、特に、FIECU(電子制御装置)1のメインCPU(MainCPU、マイコン)2を起動し、リーク診断を行い、更に、WakeUPタイマ3aの故障診断(の一部)を行う。リーク診断とWakeUPタイマ3aの故障診断(の一部)が終了すると、メインCPU(MainCPU、マイコン)2等は停止する。
A system such as a fuel injection (FI) system mounted on a vehicle has a self-diagnosis function and can automatically perform a failure diagnosis. Most failure diagnosis is performed when the
FIECU(電子制御装置)1は、メインCPU(MainCPU、マイコン)2と、サブCPU(SubCPU)3と、カスタムIC4と、第1電源回路5と、メインリレー(MRLY)制御回路6と、第2電源回路7とを有している。
The FI ECU (electronic control unit) 1 includes a main CPU (Main CPU) 2, a sub CPU (Sub CPU) 3, a
第2電源回路7は、バッテリ(+B)に直接接続されている。このため、第2電源回路7は、サブCPU(SubCPU)3とカスタムIC4に、常時、電力を供給(通電)している。第2電源回路7は、常時、バッテリ(+B)から電圧VBUの電力が供給され、定電圧VCC_Sの電力を出力する定電圧源になっている。
The second
サブCPU(SubCPU)3は、常時、通電され、オン状態になっている。サブCPU3は、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aと、高速クロックタイマ(故障検知用)3bとを有している。後記では、WakeUPタイマを、低速クロックタイマ3aと呼ぶ。サブCPU3は、イグニッションスイッチ9がオン状態とオフ状態とで、クロックモードを、高速クロックモードと低速クロックモードとで切替え、電力消費を抑えている。イグニッションスイッチ9のオン状態では、メインCPU2において、様々なアプリケーションを高速(例えば、20MHz)に実行するため、高速クロックタイマ3bで、高速にカウントを行っている(高速クロックモード)。このため、時間当たりの消費電力は大きくなる傾向にある。イグニッションスイッチ9のオフ状態では、イグニッションスイッチ9がオフされてからの時間、例えば、WakeUPするまでの時間(設定時間に達するまでの時間)が、計測できればよいので、時間当たりのカウント数が少なく低速な(例えば、30kHz)低速クロックタイマ(WakeUPタイマ、第1タイマ)3aを用いることができる(低速クロックモード)。そして、時間当たりの消費電力を小さくすることができる。なお、イグニッションスイッチ9のオフ状態で、WakeUPにより、メインCPU2において、リーク診断等のアプリケーションが実行される際には、高速クロックタイマ3bで、高速なカウントが行われる(高速クロックモード)。そして、WakeUPしたとき(まで)と、イグニッションスイッチ9がオンしたとき(まで)の、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aの計測時間は、シリアル通信等の通信によりメインCPU2に送信される。
The sub CPU (SubCPU) 3 is always energized and turned on. The
なお、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aは、前記のとおり、イグニッションスイッチ9がオフされてからの時間を計測する。低速クロックタイマ3aは、WakeUP設定時間(設定時間)に等しい時間を計測した場合に、それまで計測した計測時間をリセットして時間の計測を再スタートする。この計測時間は、メインCPU2において、WakeUPタイマ受信値として、SOAK時間受信値との差がとられる。この差が、WakeUP設定時間(設定時間)や所定時間と比較されることで、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aの異常を判定することができる。なお、WakeUPにおける処理が終了した後は、再び、低速クロックモードに戻る。
The low-speed clock timer (WakeUP timer, first timer) 3a measures the time from when the
また、詳細は後記するが、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aと、高速クロックタイマ3bとで、同時に時間計測をすることで、クロックずれ(時計の進みや遅れ)といった故障を検知することができる。これによれば、高速クロックタイマ3bは、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aの故障検知用タイマとして機能すると考えることができる。
Although details will be described later, a failure such as clock deviation (clock advance or delay) is detected by measuring time simultaneously with the low-speed clock timer (WakeUP timer, first timer) 3a and the high-
サブCPU(SubCPU)3は、メモリ3cを有している。メモリ3cは、WakeUP起動要求フラグ、最大時間、WakeUP設定時間(設定時間)などを記憶することができる。WakeUP設定時間(設定時間)は、メインCPUで設定され、WakeUP設定時間送信値として、シリアル通信等の通信によりサブCPU3のメモリ3cに送信され、記憶される。低速クロックタイマ(WakeUPタイマ、第1タイマ)3aの計測時間が、WakeUP設定時間(設定時間)に達すると、サブCPU3は、MRLY ON(メインリレーオン)要求を、メインリレー(MRLY)制御回路6に送信する。これにより、メインCPU2がWakeUPとして起動することになる。WakeUP起動要求フラグは、これが立っている(オンしている)ときに限って、サブCPU3によるMRLY ON(メインリレーオン)要求の送信を許可するようになっている。
The sub CPU (SubCPU) 3 has a memory 3c. The memory 3c can store a WakeUP activation request flag, a maximum time, a WakeUP set time (set time), and the like. The WakeUP set time (set time) is set by the main CPU, and is transmitted and stored as a WakeUP set time transmission value to the memory 3c of the
リーク診断等の診断は、車両の1回の停車時に、1回行えばよい。そこで、WakeUPする回数も1回でよい。そこで、最初にWakeUPの(計測時間がWakeUP設定時間に達する)前にWakeUP起動要求フラグを立てておき、WakeUPの直後にWakeUP起動要求フラグをオフする。これによれば、WakeUPの後に、再度、計測時間がWakeUP設定時間に達しても、MRLY ON要求は送信されず、メインCPU2がWakeUP起動することはない。低速クロックタイマ3aは、WakeUP設定時間(設定時間)に等しい時間を計測した場合(最初のWakeUPの後)に、それまで計測した計測時間をリセットして時間の計測を再スタートするので、WakeUPをしてからの時間を計測することができる。
Diagnosis such as leak diagnosis may be performed once when the vehicle stops once. Therefore, the number of WakeUPs may be one. Therefore, first, a WakeUP activation request flag is set before WakeUP (measurement time reaches the WakeUP setting time), and the WakeUP activation request flag is turned off immediately after WakeUP. According to this, even if the measurement time reaches the WakeUP setting time again after WakeUP, the MRLY ON request is not transmitted, and the
メモリ3cが記憶している最大時間は、低速クロックタイマ3aが計測できる最大時間であり、サブCPU3はその変更が可能である。詳細は後記するが、サブCPU3は、低速クロックタイマ3aがWakeUP設定時間に等しい時間を計測した場合(WakeUPの際)に、最大時間を、WakeUP設定時間分だけ小さくしている。なお、低速クロックタイマ3aの計測時間が、最大時間に達した場合、サブCPU3は、それ以降、その最大時間を、記憶し、WakeUPタイマ受信値として、メインCPU2へ送信する。
The maximum time stored in the memory 3c is the maximum time that can be measured by the low-
カスタムIC4は、サブCPU3と同様に、常時、通電され、オン状態になっている。カスタムIC4は、SOAK時間計測回路(SOAKタイマ、第2タイマ)4aと、メモリ4bとを有している。SOAK時間計測回路(SOAKタイマ、第2タイマ)4aは、イグニッションスイッチ9がオフされてからオンされるまでの時間を計測する。このため、カスタムIC4(SOAK時間計測回路4a)は、必ずしも、常時オンしている必要はなく、イグニッションスイッチ9がオフされてからオンされるまでの間、すなわち、イグニッションスイッチ9がオフ時のみオンしていればよい。そして、WakeUPしたとき(まで)と、イグニッションスイッチ9がオンしたとき(まで)の、SOAK時間計測回路(SOAKタイマ、第2タイマ)4aの計測時間は、シリアル通信等の通信により、SOAK時間受信値として、メインCPU2に送信される。
As with the
なお、SOAK時間計測回路(SOAKタイマ、第2タイマ)4aを、サブCPU3が有していてもよい。この場合、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aは、カスタムIC4が有していてもよい。また、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aと、SOAK時間計測回路(SOAKタイマ、第2タイマ)4aの役割を入れ替えてもよい。
The
メモリ4bは、SOAK時間計測回路4aが計測できる最大時間を記憶している。この最大時間は、WakeUPの前にメモリ3cに記憶されている最大時間と等しくなるように設定されている。なお、SOAK時間計測回路4aの計測時間が、最大時間に達した場合、カスタムIC4は、それ以降、その最大時間を記憶し、SOAK時間受信値として、メインCPU2へ送信する。
The
メインCPU2は、メモリ2aを有している。メモリ2aは、仮正常フラグのオン又はオフの状態と、異常フラグのオン又はオフの状態を記憶している。メインCPU2は、イグニッションスイッチ9がオンされ起動したときに、メモリ2aに記憶されている仮正常フラグと異常フラグの状態に基づいて、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aの異常を判定することができる。仮正常フラグや異常フラグは、イグニッションスイッチ9がオフされた後のメインCPU2がオフするわずかな時間や、メインCPU2のWakeUP起動中に、行った故障診断に基づいて、オン・オフを設定することができる。なお、メモリ2aには、メインCPU2に電力が供給されていないときでも、記憶が保持されるように、不揮発性のメモリであることが望ましい。
The
メインCPU2は、第1電源回路5と、メインリレー(MRLY)制御回路6とに接続している。MRLY制御回路6は、イグニッションスイッチ9がオン状態のときに出力される信号IG1、又は、サブCPU3から出力されるMRLY ON要求を受信した場合に、配線MRLYを介して接続するメインリレー(MAIN RLY)8をオンする。これにより、バッテリ(+B)から配線IGPを介して、第1電源回路5に電力が供給される。第1電源回路5は、メインリレー8のオンのタイミングで、メインCPU2に、電力を供給(通電)している。第1電源回路5は、バッテリ(+B)から電圧VBUの電力が供給され、定電圧VCC_Mの電力を出力する定電圧源になっている。メインリレー8は、MRLY制御回路6によって、イグニッションスイッチ9がオン状態のときオンし、オフ状態のときにオフする。ただ、メインリレー8は、MRLY制御回路6により、イグニッションスイッチ9がオンになると直後にオンするが、イグニッションスイッチ9がオフになった場合は、そのオフから遅れてオフする。この遅れ時間の間に、後記する図2のステップS1〜S6が実施されることになる。
The
また、メインリレー8は、MRLY制御回路6によって、サブCPU3から出力されるMRLY ON要求を受信した場合において、一時的にオンする。MRLY ON要求は、メインCPU2がWakeUP起動してからリーク診断の実施期間中にわたって出力される必要はなく、MRLY制御回路6にMRLY ON要求がいったん入力されると、メインリレー8のオン状態は継続される。メインCPU2は、WakeUP起動すると、メインリレー8をオン状態に保持することを要求するSSD要求(MRLY保持要求)を出力し、この出力をリーク診断が終了するまで行い、リーク診断の終了の後にSSD要求をオフする。このオフによりメインリレー8はオフ状態に転じ、メインCPU2は、第1電源回路5からの電力供給がカットされ停止する。
The main relay 8 is temporarily turned on when the
図2に、本発明の実施形態に係る電子制御装置(FIECU)1による低速クロックタイマ(WakeUPタイマ、第1タイマ)3aの故障診断方法のフローチャートを示す。また、図3は、タイマクロックずれチェック(低速クロックタイマ3aの故障診断方法の初期チェック)の方法を説明するためのタイミングチャートであり、図4は、WakeUP時間ずれ判定方法(低速クロックタイマ3aの故障診断方法の主要部)を説明するためタイミングチャートである。この故障診断方法は、図4に示すようにイグニッションスイッチ(IGSW)9が運転者によってオフされることによってスタートする。
FIG. 2 shows a flowchart of a failure diagnosis method for the low-speed clock timer (WakeUP timer, first timer) 3a by the electronic control unit (FIECU) 1 according to the embodiment of the present invention. FIG. 3 is a timing chart for explaining a method of timer clock deviation check (initial check of the failure diagnosis method of the low-
まず、ステップS1で、サブCPU3は、メモリ3cにおいて、WakeUP起動要求フラグをオンにする。
First, in step S1, the
次に、ステップS2で、サブCPU3は、初期チェックを実施する。図3を用いて、タイマ初期チェック(タイマクロックずれチェック)の方法を説明する。図3は、低速クロック(タイマ)3aと高速クロック(タイマ)3bのカウント値波形のタイミングチャートである。低速クロック(タイマ)3aに、(1)リセット、(2)カウントスタート、(3)カウント値がタイマレジスタMax値に達したらカウントストップ、のような、(1)〜(3)の一連の動作を、1回もしくは複数回(図3の例では6回)繰り返す。低速クロック(タイマ)3aが正常であれば、(1)のリセットから(3)のカウントストップまでの時間(又は(3)のカウント値がタイマレジスタMax値に達するまでの時間)は、回毎に等しく、一定時間を示すと考えられる。(1)と(3)のカウントストップのタイミングで、高速クロック(タイマ)3bのカウント値を検出する。(1)のリセットのタイミングでの高速クロック(タイマ)3bのカウント値から、(3)のカウントストップのタイミングでの高速クロック(タイマ)3bのカウント値を引いたカウント値の差は、低速クロック(タイマ)3aで計測した(1)のリセットから(3)のカウントストップまでの一定時間(計測時間)に相当する。したがって、このカウント値の差も低速クロック(タイマ)3aが正常であれば、一定値になると考えられる。このカウント値の差が、この一定値に誤差を加味した範囲内であれば、低速クロックタイマ3aは正常であり、範囲外であれば異常であると判定することができる。そして、タイマレジスタMax値を、WakeUP設定時間とみなしてメインリレー8を擬似的にオンさせる「WakeUP処理の割り込み」を行えば、メインリレー制御回路6とメインリレー8を含めた故障診断を行うことができる。
Next, in step S2, the
次に、ステップS3で、サブCPU3は、前記にしたがい、低速クロックタイマ3aが正常か否か判定する。低速クロックタイマ3aが正常と判定されれば(ステップS3、Yes)、ステップS5へ進み、低速クロックタイマ3aが正常でない(異常)と判定されれば(ステップS3、No)、ステップS4へ進む。
Next, in step S3, the
ステップS4で、メインCPU2は、メモリ2aにおいて、異常フラグをオンにする。また、サブCPU3は、メモリ3cにおいて、WakeUP起動要求フラグをオフにする。
In step S4, the
ステップS5で、メインCPU2は、メモリ2aにおいて、仮正常フラグをオンにする。
In step S5, the
ステップS6で、メインCPU2は、WakeUP設定時間(設定時間)を、図4の例では5hrに設定し、サブCPU3へ送信する。サブCPU3は、メモリ3cに、WakeUP設定時間を記憶する。サブCPU3は、メモリ3cに、最大時間を記憶させることで、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aにガード値を設定する。カスタムIC4は、メモリ4bに、最大時間を記憶させることで、SOAK時間計測回路(SOAKタイマ、第2タイマ)4aにガード値を設定する。サブCPU3は、低速クロックタイマ(WakeUPタイマ、第1タイマ)3aを、リセットし、図4のS6に示すように、カウント(時間計測)をスタートさせる。カスタムIC4は、SOAK時間計測回路(24hタイマ、SOAKタイマ、第2タイマ)4aを、リセットし、図4のS6に示すように、カウント(時間計測)をスタートさせる。
In step S <b> 6, the
ステップS7で、メインリレー制御回路6は、メインリレー8をオフする。図4のS7に示すように、配線IGPの電位が低下し、メインCPU(マイコン)2がオフされる。
In step S7, the main
ステップS8で、サブCPU3は、低速クロックタイマ(WakeUPタイマ)3aの計測時間が、WakeUP設定時間(設定時間、図4の例では5hr)に達したか否か判定する。低速クロックタイマ3aの計測時間が、設定時間に達していれば(ステップS8、Yes)、ステップS8aへ進み、設定時間に達していなければ(ステップS8、No)、ステップS13へ進む。図4の低速クロックタイマ(WakeUPタイマ)3aの計測時間の波形として、設定時間通りWakeUPしているケースC0(正常)と、設定時間より早くWakeUPしているケースC1(故障、異常)と、設定時間より遅くWakeUPしているケースC2(故障、異常)とが描かれている。どのケースC0、C1、C2でも、達した時刻に差はあるものの、設定時刻に達している。
In step S8, the
ステップS8aで、サブCPU3は、メモリ3cに記憶されているWakeUP起動要求フラグが、オン状態か否か判定する。オン状態であれば(ステップS8a、Yes)、ステップS9へ進み、オン状態でなければ(ステップS8a、No)、ステップS13へ進む。
In step S8a, the
ステップS9で、サブCPU3は、図4に示すどのケースC0、C1、C2でも、低速クロックタイマ(WakeUPタイマ)3aの計測時間をリセットし、時間計測を再スタートさせる。サブCPU3は、メモリ3cに記憶されている最大時間を、設定時間分小さくして記憶させることで、低速クロックタイマ(WakeUPタイマ)3aのガード値を下げる。サブCPU3は、メモリ3cに記憶されたWakeUP起動要求フラグがオン状態であることを条件に、MRLY ON要求を、メインリレー制御回路6へ送信する。これにより、メインリレー制御回路6は、メインリレー8をオンする。図4のS9に示すように、配線IGPの電位が上昇し、メインCPU(マイコン)2がオン(起動)する。メインCPU(マイコン)2は、SSD要求を出力し、オン状態を保持しながら、リーク診断(燃料タンクの漏れ診断)を実施する。
In step S9, the
ステップS10で、メインCPU(マイコン)2は、リーク診断が終了するのを待って、SSD要求の出力を停止する。これにより、メインリレー制御回路6は、メインリレー8をオフする。図4のS10に示すように、配線IGPの電位が低下し、メインCPU(マイコン)2がオフされる。サブCPU3は、メモリ3cに記憶されているWakeUP起動要求フラグをオンからオフに変更して記憶する。
In step S10, the main CPU (microcomputer) 2 waits for the leak diagnosis to end and stops outputting the SSD request. As a result, the main
ステップS11で、メインCPU2は、低速クロックタイマ(WakeUPタイマ)3aの計測時間が(WakeUP)設定時間に達した時刻における、SOAK時間計測回路(SOAKタイマ、第2タイマ)4aの計測時間(Sカウント値)が、(WakeUP)設定時間、又は、低速クロックタイマ(WakeUPタイマ)3aの計測時間に等しい(SOAK時間計測回路4aの計測時間(Sカウント値)=(WakeUP)設定時間=低速クロックタイマ3aの計測時間)か否か判定する。同じ時間を計測しているので、正常であれば、等しくなる。具体的には、所定時間の計測誤差を加味して、SOAK時間計測回路4aの計測時間(Sカウント値)と(WakeUP)設定時間との差、又は、SOAK時間計測回路4aの計測時間(Sカウント値)と低速クロックタイマ3aの計測時間との差が、前記所定時間より小さいか否か判定する。設定時間に等しい(所定時間より小さい)と判定されれば(ステップS11、Yes)、正常であるとして、ステップS13へ進み、設定時間に等しくない(所定時間より小さくない)と判定されれば(ステップS11、No)、異常であるとして、ステップS12へ進む。
In step S11, the
ステップS12で、メインCPU2は、メモリ2aにおいて、異常フラグをオンにし、仮正常フラグをオフにする。
In step S12, the
ステップS13で、サブCPU3は、イグニッションスイッチ(IGSW)9が運転者によってオンされたか否か判定する。オンされたと判定されれば(ステップS13、Yes)、ステップS14へ進み、オンされていないと判定されれば(ステップS13、No)、ステップS8へ戻る。
In step S13, the
ステップS14では、図4のS13に示すように、イグニッションスイッチ(IGSW)9はオンしているので、メインリレー制御回路6は、メインリレー8をオンする。図4のS14に示すように、配線IGPの電位が上昇し、メインCPU(マイコン)2がオン(起動)する。
In step S14, as shown in S13 of FIG. 4, since the ignition switch (IGSW) 9 is on, the main
ステップS15で、メインCPU2は、メモリ2aに記憶された異常フラグがオン状態か否か判定する。異常フラグがオン状態であると判定されれば(ステップS15、Yes)、ステップS18へ進み、異常フラグがオン状態でないと判定されれば(ステップS15、No)、ステップS16へ進む。
In step S15, the
ステップS16で、メインCPU2は、低速クロックタイマ(WakeUPタイマ)3aの計測時間(Wカウント値)に、(WakeUP)設定時間を加算し加算値を算出する。SOAK時間計測回路(SOAKタイマ、第2タイマ)4aの計測時間(Sカウント値)から(WakeUP)設定時間を減算し減算値を算出してもよい。SOAK時間計測回路(SOAKタイマ、第2タイマ)4aの計測時間(Sカウント値)と低速クロックタイマ(WakeUPタイマ)3aの計測時間(Wカウント値)との差分を算出してもよい。
In step S16, the
具体的に図4に実線で示すケースC0(正常)の例では、低速クロックタイマ(WakeUPタイマ)3aの計測時間である8hrに、設定時間の5hrを加算し加算値13hr(=8+5)を算出する。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrから設定時間の5hrを減算し減算値8hr(=13−8)を算出する。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrと低速クロックタイマ(WakeUPタイマ)3aの計測時間8hrとの差分5hr(13−8)を算出する。
Specifically, in the case C0 (normal) shown by a solid line in FIG. 4, the set time 5hr is added to 8hr which is the measurement time of the low-speed clock timer (WakeUP timer) 3a to calculate the added value 13hr (= 8 + 5). To do. Alternatively, the subtraction value 8 hr (= 13−8) is calculated by subtracting 5 hr of the set time from the
具体的に図4に一点鎖線で示すケースC1(異常)の例では、低速クロックタイマ(WakeUPタイマ)3aの計測時間16hrに、設定時間5hrを加算し加算値21hr(=16+5)を算出する。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrから設定時間の5hrを減算し減算値8hr(=13−8)を算出する。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrと低速クロックタイマ(WakeUPタイマ)3aの計測時間16hrとの差分−3hr(13−16)を算出する。
Specifically, in the case C1 (abnormal) example indicated by the one-dot chain line in FIG. 4, the set time 5hr is added to the measurement time 16hr of the low-speed clock timer (WakeUP timer) 3a to calculate the added value 21hr (= 16 + 5). Alternatively, the subtraction value 8 hr (= 13−8) is calculated by subtracting 5 hr of the set time from the
具体的に図4に二点鎖線で示すケースC2(異常)の例では、低速クロックタイマ(WakeUPタイマ)3aの計測時間4hrに、設定時間5hrを加算し加算値9hr(=4+5)を算出する。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrから設定時間の5hrを減算し減算値8hr(=13−8)を算出する。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrと低速クロックタイマ(WakeUPタイマ)3aの計測時間4hrとの差分9hr(13−4)を算出する。
Specifically, in the case C2 (abnormal) shown by a two-dot chain line in FIG. 4, the set time 5hr is added to the measurement time 4hr of the low-speed clock timer (WakeUP timer) 3a to calculate the added value 9hr (= 4 + 5). . Alternatively, the subtraction value 8 hr (= 13−8) is calculated by subtracting 5 hr of the set time from the
ステップS17で、メインCPU2は、加算値がSOAK時間計測回路(SOAKタイマ、第2タイマ)4aの計測時間(Sカウント値)に等しいか否か判定する。減算値が、低速クロックタイマ(WakeUPタイマ)3aの計測時間(Wカウント値)に等しいか否か判定してもよい。Sカウント値とWカウント値の差分が、(WakeUP)設定時間に等しいか否か判定してもよい。これらが等しいと判定されれば(ステップS17、Yes)、低速クロックタイマ3aの故障診断結果が正常であるとして、故障診断方法のフロー(チャート)を終了する。これらが等しくないと判定されれば(ステップS17、No)、低速クロックタイマ3aの故障診断結果が異常であるとして、ステップS18へ進み、運転者に異常を警告するために車両のインパネ等に異常を知らせる表示等を行う。
In step S17, the
具体的に図4に実線で示すケースC0(正常)の例では、低速クロックタイマ(WakeUPタイマ)3aの計測時間8hrに設定時間5hrを加算した加算値13hr(=8+5)は、SOAK時間計測回路(SOAKタイマ4aの計測時間13hrに等しいので(ステップS17、Yes)、低速クロックタイマ3aの故障診断結果は正常となる。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrから設定時間の5hrを減算した減算値8hr(=13−8)は、低速クロックタイマ(WakeUPタイマ)3aの計測時間8hrに等しいので(ステップS17、Yes)、低速クロックタイマ3aの故障診断結果は正常となる。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrと低速クロックタイマ(WakeUPタイマ)3aの計測時間8hrとの差分5hr(13−8)は、設定時間5hrに等しいので(ステップS17、Yes)、低速クロックタイマ3aの故障診断結果は正常となる。
Specifically, in the example of the case C0 (normal) shown by a solid line in FIG. 4, the added value 13hr (= 8 + 5) obtained by adding the set time 5hr to the measurement time 8hr of the low-speed clock timer (WakeUP timer) 3a is the SOAK time measuring circuit. (Because it is equal to the measurement time 13hr of the SOAK timer 4a (step S17, Yes), the failure diagnosis result of the low-
具体的に図4に示すケースC1(異常)の例では、低速クロックタイマ(WakeUPタイマ)3aの計測時間16hrに設定時間5hrを加算した加算値21hr(=16+5)は、SOAK時間計測回路(SOAKタイマ4aの計測時間13hrに等しくないので(ステップS17、No)、低速クロックタイマ3aの故障診断結果は異常となる。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrから設定時間5hrを減算した減算値8hr(=13−8)は、低速クロックタイマ(WakeUPタイマ)3aの計測時間16hrに等しくないので(ステップS17、No)、低速クロックタイマ3aの故障診断結果は異常となる。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrと低速クロックタイマ(WakeUPタイマ)3aの計測時間16hrとの差分−3hr(13−16)は、設定時間5hrに等しくないので(ステップS17、No)、低速クロックタイマ3aの故障診断結果は異常となる。
Specifically, in the case C1 (abnormal) example shown in FIG. 4, an added value 21hr (= 16 + 5) obtained by adding the set time 5hr to the measurement time 16hr of the low-speed clock timer (WakeUP timer) 3a is the SOAK time measuring circuit (SOAK). Since it is not equal to the measurement time 13hr of the timer 4a (step S17, No), the failure diagnosis result of the low-
具体的に図4に示すケースC2(異常)の例では、低速クロックタイマ(WakeUPタイマ)3aの計測時間4hrに設定時間5hrを加算した加算値9hr(=4+5)は、SOAK時間計測回路(SOAKタイマ4aの計測時間13hrに等しくないので(ステップS17、No)、低速クロックタイマ3aの故障診断結果は異常となる。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrから設定時間5hrを減算した減算値8hr(=13−8)は、低速クロックタイマ(WakeUPタイマ)3aの計測時間4hrに等しくないので(ステップS17、No)、低速クロックタイマ3aの故障診断結果は異常となる。あるいは、SOAK時間計測回路(SOAKタイマ)4aの計測時間13hrと低速クロックタイマ(WakeUPタイマ)3aの計測時間4hrとの差分9hr(13−4)は、設定時間5hrに等しくないので(ステップS17、No)、低速クロックタイマ3aの故障診断結果は異常となる。
Specifically, in the case C2 (abnormal) example shown in FIG. 4, an addition value 9hr (= 4 + 5) obtained by adding the set time 5hr to the measurement time 4hr of the low-speed clock timer (WakeUP timer) 3a is the SOAK time measurement circuit (SOAK). Since it is not equal to the measurement time 13hr of the timer 4a (step S17, No), the failure diagnosis result of the low-
図5に、故障診断方法を実施して、低速クロックタイマ3aの正常時(SOAKタイマまたはWakeUpタイマの計測可能最大時間:100時間未満)におけるタイミングチャートを示す。まず、イグニッションスイッチ(IGSW)9が運転者によってオフされることによってスタートする。次に、ステップS1で、WakeUP起動要求フラグをオンにする。次に、ステップS2で、タイマ初期チェックを実施する。次に、ステップS3で、タイマ初期チェックにおいて、低速クロックタイマ3aが正常か否か判定する。低速クロックタイマ3aが正常と判定され(ステップS3、Yes)、ステップS5へ進み、仮正常フラグをオンにする。ステップS6で、WakeUP設定時間(設定時間)を、5hrに設定し、カウントUPガード値として、メモリ3c、4bに、計測可能最大時間100H(hr)を設定する。低速クロックタイマ(WakeUPタイマ、第1タイマ)3aと、SOAK時間計測回路(24hタイマ、SOAKタイマ、第2タイマ)4aを、リセットし、カウント(時間計測)を同時にスタートさせる。ステップS7で、メインリレー8をオフし、配線IGPの電位が低下し、メインCPU(マイコン)2がオフされる。
FIG. 5 shows a timing chart when the failure diagnosis method is performed and the low-
ステップS8で、低速クロックタイマ(WakeUPタイマ)3aの計測時間が、WakeUP設定時間の5hrに達したか否か判定する。低速クロックタイマ3aの計測時間が、WakeUP設定時間の5hrに達すると(ステップS8、Yes)、ステップS8aへ進み、WakeUP起動要求フラグが、オン状態か否か判定する。オン状態であるので(ステップS8a、Yes)、ステップS9へ進み、低速クロックタイマ(WakeUPタイマ)3aの計測時間をリセットし、時間計測を再スタートさせる。サブCPU3は、MRLY ON要求を、メインリレー制御回路6へ送信し、メインリレー制御回路6は、メインリレー8をオンする。配線IGPの電位が上昇し、メインCPU(マイコン)2がオン(起動)する。メインリレーがオン(起動)して、メモリ3cに記憶されている最大時間(低速クロックタイマ(WakeUPタイマ)3aのカウントUPガード値の100hrを、WakeUP設定時間の5hr分下げ、95hr(=100−5)に設定する。また、メインCPU(マイコン)2は、リーク診断(燃料タンクの漏れ診断)を実施する。
なお、ガード値を下げる指令を出力するのはメインCPUもしくはサブCPUでも良い。
In step S8, it is determined whether or not the measurement time of the low-speed clock timer (WakeUP timer) 3a has reached 5 hours of the WakeUP set time. When the measurement time of the low-
Note that the main CPU or the sub CPU may output the command for lowering the guard value.
ステップS10で、リーク診断終了後に、メインリレー制御回路6は、メインリレー8をオフする。配線IGPの電位が低下し、メインCPU(マイコン)2がオフされる。WakeUP起動要求フラグはオンからオフに変更される。
In step S10, after the leak diagnosis is completed, the main
ステップS11で、低速クロックタイマ(WakeUPタイマ)3aの計測時間が(WakeUP)設定時間の5hrに達した時刻における、SOAK時間計測回路(SOAKタイマ)4aの計測時間が、(WakeUP)設定時間の5hr、又は、低速クロックタイマ(WakeUPタイマ)3aの計測時間に等しく(同等)、正常であるので(ステップS11、Yes)、仮正常フラグはオンのまま維持される。 In step S11, the measurement time of the SOAK time measurement circuit (SOAK timer) 4a at the time when the measurement time of the low-speed clock timer (WakeUP timer) 3a reaches 5 hours of the (WakeUP) setting time is 5 hours of the (WakeUP) setting time. Or, since it is equal (equivalent) to the measurement time of the low-speed clock timer (WakeUP timer) 3a and is normal (step S11, Yes), the temporary normal flag is kept on.
ステップS13で、イグニッションスイッチ(IGSW)9が運転者によってオンされたと判定されると(ステップS13、Yes)、ステップS14へ進み、イグニッションスイッチ(IGSW)9はオンしているので、メインリレー制御回路6は、メインリレー8をオンする。配線IGPの電位が上昇し、メインCPU(マイコン)2がオン(起動)する。ステップS15で、異常フラグがオン状態でないと判定され(ステップS15、No)、ステップS16へ進む。
If it is determined in step S13 that the ignition switch (IGSW) 9 is turned on by the driver (step S13, Yes), the process proceeds to step S14, and the ignition switch (IGSW) 9 is turned on, so that the main
ステップS16で、低速クロックタイマ(WakeUPタイマ)3aの計測時間の7H(hr)に、WakeUP設定時間の5hrを加算し加算値12H(hr)を算出する。ステップS17で、加算値12hrがSOAK時間計測回路(SOAKタイマ、第2タイマ)4aの計測時間の12H(hr)に等しいか否か判定する。これは等しいと判定されるので(ステップS17、Yes)、低速クロックタイマ3aの故障診断結果が正常であるとして、故障診断方法のフロー(チャート)を終了する。
In step S16, 5 hours of the WakeUP set time is added to 7H (hr) of the measurement time of the low-speed clock timer (WakeUP timer) 3a to calculate an added
図6に、故障診断方法を実施して、低速クロックタイマ3aの正常時(SOAKタイマの計測時間:100時間以上)におけるタイミングチャートを示す。図5のようにWakeUpタイマまたはSOAKタイマに計測可能最大時間があり、例えば上記のように100時間であった場合に、イグニッションのオフ時間が100時間を超えた場合にはメインCPUが正しく起動されたか否かに関わらずWakeUpタイマとSOAKタイマのカウント値が100時間となってしまう。このようにイグニッションスイッチのオフ時間が長い場合での故障診断手法が図6のタイミングチャートである。図6のタイミングチャートは、図5のタイミングチャートと比較して、ステップS16前後の処理が異なっている。すなわち、ステップS13でイグニッションスイッチ(IGSW)9がオンされたと判定される前に(ステップS13、Yes)、低速クロックタイマ(WakeUPタイマ)3aの計測時間は、最大時間のカウントUPガード値95H(hr)に達し、SOAK時間計測回路(SOAKタイマ)4aの計測時間は、最大時間のカウントUPガード値100H(hr)に達している。
FIG. 6 shows a timing chart when the failure diagnosis method is implemented and the low-
ステップS16で、低速クロックタイマ(WakeUPタイマ)3aの計測時間の95H(hr)に、WakeUP設定時間の5hrを加算し加算値100H(hr)を算出する。ステップS17で、加算値100hrがSOAK時間計測回路(SOAKタイマ、第2タイマ)4aの計測時間の100H(hr)に等しいか否か判定する。これは等しいと判定されるので(ステップS17、Yes)、低速クロックタイマ3aの故障診断結果が正常であるとして、故障診断方法のフロー(チャート)を終了する。
In step S16, 5 hours of the WakeUP setting time is added to 95H (hr) of the measurement time of the low-speed clock timer (WakeUP timer) 3a to calculate an added
図7に、故障診断方法を実施して、低速クロックタイマ3aの異常時(その1:初期チェックエラー)におけるタイミングチャートを示す。まず、イグニッションスイッチ(IGSW)9が運転者によってオフされることによってスタートする。次に、ステップS1で、WakeUP起動要求フラグをオンにする。次に、ステップS2で、タイマ初期チェックを実施する。次に、ステップS3で、タイマ初期チェックにおいて、低速クロックタイマ3aが正常か否か判定する。低速クロックタイマ3aが正常でないと判定され(ステップS3、No)、ステップS4へ進み、異常フラグをオンし、WakeUP起動要求フラグをオフする。ステップS6で、WakeUP設定時間(設定時間)とカウントUPガード値(最大時間)を設定する。低速クロックタイマ(WakeUPタイマ、第1タイマ)3aは、仮正常フラグがオン状態でないので、カウント(時間計測)をスタートさせない。SOAK時間計測回路(24hタイマ、SOAKタイマ、第2タイマ)4aは、リセットし、カウント(時間計測)をスタートさせる。ステップS7で、メインリレー8をオフし、配線IGPの電位が低下し、メインCPU(マイコン)2がオフされる。
FIG. 7 shows a timing chart when the failure diagnosis method is implemented and the low-
ステップS8で、低速クロックタイマ(WakeUPタイマ)3aの計測時間が、WakeUP設定時間の5hrに達したか否か判定する。低速クロックタイマ3aの計測時間は、設定時間に達しないので(ステップS8、No)、ステップS13へ進む。
In step S8, it is determined whether or not the measurement time of the low-speed clock timer (WakeUP timer) 3a has reached 5 hours of the WakeUP set time. Since the measurement time of the low-
ステップS13で、イグニッションスイッチ(IGSW)9が運転者によってオンされたと判定されると(ステップS13、Yes)、ステップS14へ進み、イグニッションスイッチ(IGSW)9はオンしているので、メインリレー制御回路6は、メインリレー8をオンする。配線IGPの電位が上昇し、メインCPU(マイコン)2がオン(起動)する。ステップS15で、異常フラグがオン状態であると判定され(ステップS15、Yes)、ステップS18へ進む。ステップS18で、低速クロックタイマ3aの故障診断結果が異常であるとして、運転者に異常を警告するために車両のインパネ等に異常を知らせる表示等を行う。故障診断方法のフロー(チャート)を終了する。
If it is determined in step S13 that the ignition switch (IGSW) 9 is turned on by the driver (step S13, Yes), the process proceeds to step S14, and the ignition switch (IGSW) 9 is turned on, so that the main
図8に、故障診断方法を実施して、低速クロックタイマ3aの異常時(その2:WakeUP時エラー)におけるタイミングチャートを示す。図8のタイミングチャートは、図5のタイミングチャートと比較して、ステップS11以降の処理が異なっている。すなわち、ステップS11で、低速クロックタイマ(WakeUPタイマ)3aの計測時間が(WakeUP)設定時間の5hrに達した時刻における、SOAK時間計測回路(SOAKタイマ)4aの計測時間が、(WakeUP)設定時間の5hr、又は、低速クロックタイマ(WakeUPタイマ)3aの計測時間に等しくなく(異なり)、異常であるので(ステップS11、No)、ステップS12へ進み、異常フラグをオンにし、仮正常フラグをオフにする。
FIG. 8 shows a timing chart when the failure diagnosis method is implemented and the low-
ステップS13で、イグニッションスイッチ(IGSW)9が運転者によってオンされたと判定されると(ステップS13、Yes)、ステップS14へ進み、イグニッションスイッチ(IGSW)9はオンしているので、メインリレー制御回路6は、メインリレー8をオンする。配線IGPの電位が上昇し、メインCPU(マイコン)2がオン(起動)する。ステップS15で、異常フラグがオン状態であると判定され(ステップS15、Yes)、ステップS18へ進む。ステップS18で、低速クロックタイマ3aの故障診断結果が異常であるとして、運転者に異常を警告するために車両のインパネ等に異常を知らせる表示等を行う。故障診断方法のフロー(チャート)を終了する。
If it is determined in step S13 that the ignition switch (IGSW) 9 is turned on by the driver (step S13, Yes), the process proceeds to step S14, and the ignition switch (IGSW) 9 is turned on, so that the main
図9に、故障診断方法を実施して、低速クロックタイマ3aの異常時(その3:WakeUPしないエラー:100時間未満)におけるタイミングチャートを示す。図9のタイミングチャートは、図5のタイミングチャートと比較して、ステップS8〜S12の処理が欠落し、WakeUPしていない。このため、ステップS13以降の処理が異なっている。すなわち、ステップS13で、イグニッションスイッチ(IGSW)9が運転者によってオンされたと判定されると(ステップS13、Yes)、ステップS14へ進み、イグニッションスイッチ(IGSW)9はオンしているので、メインリレー制御回路6は、メインリレー8をオンする。配線IGPの電位が上昇し、メインCPU(マイコン)2がオン(起動)する。ステップS15で、異常フラグがオン状態でないと判定され(ステップS15、No)、ステップS16へ進む。
FIG. 9 shows a timing chart when the failure diagnosis method is implemented and the low-
ステップS16で、低速クロックタイマ(WakeUPタイマ)3aの計測時間の12H(hr)に、WakeUP設定時間の5hrを加算し加算値17hr(=12+5)を算出する。ステップS17で、加算値17hrがSOAK時間計測回路(SOAKタイマ、第2タイマ)4aの計測時間の12H(hr)に等しいか否か判定する。これは等しくないと判定されるので(ステップS17、No)、低速クロックタイマ3aの故障診断結果は異常であるとして、ステップS18で、運転者に異常を警告するために車両のインパネ等に異常を知らせる表示等を行う。また、異常フラグをセットする。故障診断方法のフロー(チャート)を終了する。
In step S16, 5 hours of the WakeUP set time is added to 12H (hr) of the measurement time of the low-speed clock timer (WakeUP timer) 3a to calculate an added value 17hr (= 12 + 5). In step S17, it is determined whether or not the added value 17hr is equal to 12H (hr) of the measurement time of the SOAK time measurement circuit (SOAK timer, second timer) 4a. Since it is determined that they are not equal (No in step S17), it is determined that the failure diagnosis result of the low-
図10に、故障診断方法を実施して、低速クロックタイマ3aの異常時(その4:WakeUPしないエラー:100時間以上)におけるタイミングチャートを示す。図10のタイミングチャートは、図9のタイミングチャートと比較して、ステップS16前後の処理が異なっている。すなわち、ステップS13でイグニッションスイッチ(IGSW)9がオンされたと判定される前に(ステップS13、Yes)、低速クロックタイマ(WakeUPタイマ)3aの計測時間とSOAK時間計測回路(SOAKタイマ)4aの計測時間は、最大時間のカウントUPガード値100H(hr)に達している。
FIG. 10 shows a timing chart when the failure diagnosis method is carried out and the low-
ステップS16で、低速クロックタイマ(WakeUPタイマ)3aの計測時間の100H(hr)に、WakeUP設定時間の5hrを加算し加算値105hr(=100+5)を算出する。ステップS17で、加算値105hrがSOAK時間計測回路(SOAKタイマ、第2タイマ)4aの計測時間の100H(hr)に等しいか否か判定する。これは等しくないと判定されるので(ステップS17、No)、低速クロックタイマ3aの故障診断結果は異常であるとして、ステップS18で、運転者に異常を警告するために車両のインパネ等に異常を知らせる表示等を行う。また、異常フラグをセットする。故障診断方法のフロー(チャート)を終了する。
In step S16, 5 hours of the WakeUP set time is added to 100H (hr) of the measurement time of the low-speed clock timer (WakeUP timer) 3a to calculate an added value 105hr (= 100 + 5). In step S17, it is determined whether or not the added value 105hr is equal to 100H (hr) of the measurement time of the SOAK time measurement circuit (SOAK timer, second timer) 4a. Since it is determined that they are not equal (No in step S17), it is determined that the failure diagnosis result of the low-
図5、図6などに示した手法でガード値を設定時間分だけ下げたが、WakeUpタイマ3aまたはSOAKタイマ4aが設定時間だと認識してMainCPU2が起動した時間だけガード値を下げても良い。このようにすることで、WakeUpタイマ3aまたはSOAKタイマ4aの計測値を用いてガード値を下げることができるので、ガード値の精度を向上させることができる。この設定時間に等しいMainCPU2が起動した時間には、MainCPU2が起動して現在の計測時間を読み取るまでの間にWakeUpタイマ3aやSOAKタイマ4aが計測し続けた時間などを含めることができる。
Although the guard value is lowered by the set time by the method shown in FIG. 5, FIG. 6, etc., the guard value may be lowered by the time when the
1 FIECU(電子制御装置)
2 メインCPU(MainCPU、マイコン)
2a メモリ
3 サブCPU(SubCPU)
3a 低速クロックタイマ(WakeUPタイマ、第1タイマ)
3b 高速クロックタイマ(故障検知用)
3c メモリ
4 カスタムIC
4a SOAK時間計測回路(SOAKタイマ、第2タイマ)
4b メモリ
5 第1電源回路
6 メインリレー(MRLY)制御回路
7 第2電源回路
8 メインリレー(MAIN RLY)
9 イグニッションスイッチ(IGSW)
1 FIECU (electronic control unit)
2 Main CPU (Main CPU, microcomputer)
3a Low-speed clock timer (WakeUP timer, first timer)
3b High-speed clock timer (for failure detection)
4a SOAK time measuring circuit (SOAK timer, second timer)
4b Memory 5
9 Ignition switch (IGSW)
Claims (3)
前記イグニッションスイッチのオフ中の時間を計測する第2タイマを有し、
前記第1タイマは、前記設定時間に等しい時間を計測した場合に、計測した時間をリセットし、このリセット後も時間の計測をし続け、
前記イグニッションスイッチがオンされたときに、前記第1タイマと前記第2タイマとが計測した時間の差が前記設定時間と異なる場合、又は、前記第1タイマが計測した時間に前記設定時間を加算した時間が、前記第2タイマが計測した時間と異なる場合、又は、前記第2タイマが計測した時間から前記設定時間を減算した時間が、前記第1タイマが計測した時間と異なる場合に、異常と判定することを特徴とする電子制御装置。 A first timer for measuring a time during which the ignition switch of the vehicle is off, and a case where the first timer measures a time equal to a set time while the ignition switch is off, or when the ignition switch is turned on from off In addition, in an electronic control device provided with a starting microcomputer,
A second timer for measuring a time during which the ignition switch is off;
The first timer, when measuring a time equal to the set time, resets the measured time, continues to measure the time after the reset,
When the ignition switch is turned on, if the difference in time measured by the first timer and the second timer is different from the set time, or the set time is added to the time measured by the first timer If the measured time is different from the time measured by the second timer, or the time obtained by subtracting the set time from the time measured by the second timer is different from the time measured by the first timer. An electronic control device characterized in that
前記第1タイマの計測最大時間を前記設定時間に等しい時間分短くすることを特徴とする請求項1に記載の電子制御装置。 When the first timer measures a time equal to the set time,
2. The electronic control device according to claim 1, wherein the maximum measurement time of the first timer is shortened by a time equal to the set time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011274089A JP5628142B2 (en) | 2011-12-15 | 2011-12-15 | Electronic control unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011274089A JP5628142B2 (en) | 2011-12-15 | 2011-12-15 | Electronic control unit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013124604A JP2013124604A (en) | 2013-06-24 |
JP5628142B2 true JP5628142B2 (en) | 2014-11-19 |
Family
ID=48776028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011274089A Expired - Fee Related JP5628142B2 (en) | 2011-12-15 | 2011-12-15 | Electronic control unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5628142B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102420666B1 (en) | 2017-12-21 | 2022-07-14 | 현대자동차주식회사 | Vehicle and engine off timer diagnosis method thereof |
CN115539207A (en) * | 2022-09-13 | 2022-12-30 | 东风汽车集团股份有限公司 | Diagnosis method of shutdown timer |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3489548B2 (en) * | 2000-06-29 | 2004-01-19 | 株式会社デンソー | Electronic control unit for engine control |
JP3870751B2 (en) * | 2001-10-30 | 2007-01-24 | 株式会社デンソー | Electronic control unit |
JP4239884B2 (en) * | 2004-04-09 | 2009-03-18 | 株式会社デンソー | Electronic controller with soak timer |
JP4211848B2 (en) * | 2007-01-24 | 2009-01-21 | 株式会社デンソー | Electronic control unit |
JP5223630B2 (en) * | 2008-11-28 | 2013-06-26 | 株式会社デンソー | Electronic control unit |
JP2010176541A (en) * | 2009-01-30 | 2010-08-12 | Hitachi Automotive Systems Ltd | Electronic control device for vehicle |
-
2011
- 2011-12-15 JP JP2011274089A patent/JP5628142B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2013124604A (en) | 2013-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1950398B1 (en) | Electronic control apparatus | |
WO2012176549A1 (en) | Electrical power supply control system, electrical power supply control device, and electrical power supply control method | |
US7210055B2 (en) | Electronic control apparatus | |
JP3596433B2 (en) | Automotive electronic control unit | |
JP6860830B2 (en) | Vehicle display device | |
US7305283B2 (en) | On-vehicle electronic control device | |
JP5628142B2 (en) | Electronic control unit | |
JP2006307721A (en) | Electronic control unit for vehicle | |
JP2011093389A (en) | Control system, electronic devices, control device, and method for starting devices | |
JP6376006B2 (en) | Electronic control unit | |
JP3870974B2 (en) | Electronic control unit | |
JP2011098593A (en) | Vehicular electronic control system | |
JP4875640B2 (en) | Vehicle control device, electric vehicle, and failure detection method for vehicle control device | |
JP2006002715A (en) | Engine control circuit | |
JP2014238021A (en) | Electronic controller | |
JP2013091365A (en) | Electronic control device | |
JP2012218656A (en) | Control unit for vehicle | |
JP2005023843A (en) | Abnormality diagnosis device for automatic start timer circuit | |
JP6227945B2 (en) | Electronic control unit for automobile | |
JP2010176541A (en) | Electronic control device for vehicle | |
KR102739167B1 (en) | Apparatus for diagnosis normal part of vehicle, system having the same and method thereof | |
JP6583718B2 (en) | Battery deterioration judgment device | |
JP5664926B2 (en) | Start control device for internal combustion engine | |
US20160185342A1 (en) | Electronic control unit | |
JP2015074322A (en) | Vehicle travel control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131128 |
|
TRDD | Decision of grant or rejection written | ||
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140828 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140902 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141001 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5628142 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |