JP2006211800A - Device for estimating charged state of battery for vehicle - Google Patents

Device for estimating charged state of battery for vehicle Download PDF

Info

Publication number
JP2006211800A
JP2006211800A JP2005019167A JP2005019167A JP2006211800A JP 2006211800 A JP2006211800 A JP 2006211800A JP 2005019167 A JP2005019167 A JP 2005019167A JP 2005019167 A JP2005019167 A JP 2005019167A JP 2006211800 A JP2006211800 A JP 2006211800A
Authority
JP
Japan
Prior art keywords
state
battery
key switch
current
charge
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.)
Granted
Application number
JP2005019167A
Other languages
Japanese (ja)
Other versions
JP4311357B2 (en
Inventor
Yukihiro Yamashita
山下  幸宏
Yoshihiro Majima
摩島  嘉裕
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 JP2005019167A priority Critical patent/JP4311357B2/en
Publication of JP2006211800A publication Critical patent/JP2006211800A/en
Application granted granted Critical
Publication of JP4311357B2 publication Critical patent/JP4311357B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

<P>PROBLEM TO BE SOLVED: To estimate the charged state of a battery when turning a key switch on while reducing discharge amount (power consumption) of the battery during off-period of the key switch. <P>SOLUTION: During the off-period of a key switch, duration T of off-state is measured by a soak timer. When the key switch is switched from the off-state to on-state, the duration T of off state is multiplied by a predetermined dark current KIOPN to calculate the integrated value of charge/discharge current during the off-period of the key switch. The integrated value (minus value) of charge/discharge current during the off-period is added to the integrated value of charge/discharge current of previous time (when switched off) stored in a rewritable nonvolatile memory such as a backup RAM thus obtaining the integrated value of charge/discharge current of this time (when switched on). This integrated value of charge/discharge current is employed as the estimated value of charged state of battery (battery charging ratio SOC). <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、車両に搭載されたバッテリの充電状態を推定する機能を備えた車両のバッテリ充電状態推定装置に関する発明である。   The present invention relates to a vehicle battery charge state estimation device having a function of estimating a charge state of a battery mounted on a vehicle.

例えば、特許文献1(特許第3118871号公報)に記載された車両のバッテリ充電状態推定装置は、キースイッチのオフ期間(エンジン停止期間)中にバッテリの充電状態を監視するために、キースイッチのオフ期間中に間欠的に車載コンピュータを起動してバッテリの放電電流を間欠的に検出し、その放電電流検出値と間欠通電割合とに基づいて実際の放電電流を推定して、バックアップRAMに記憶されている放電電流積算値(バッテリ放電量)を更新し、この放電電流積算値に基づいてバッテリの充電状態を推定するようにしている。
特許第3118871号公報(第2頁等)
For example, a battery charge state estimation device for a vehicle described in Patent Document 1 (Japanese Patent No. 3188871) uses a key switch to monitor the battery charge state during the key switch off period (engine stop period). The in-vehicle computer is intermittently activated during the off period to detect the battery discharge current intermittently, and the actual discharge current is estimated based on the detected discharge current value and the intermittent energization ratio and stored in the backup RAM. The accumulated discharge current value (battery discharge amount) is updated, and the state of charge of the battery is estimated based on this accumulated discharge current value.
Japanese Patent No. 3188871 (second page, etc.)

しかし、上記特許文献1の構成では、キースイッチのオフ期間中に間欠的にバッテリから車載コンピュータや電流検出回路等に通電することになるため、キースイッチのオフ期間が長くなるに従ってバッテリの放電量(消費電力量)が増加してバッテリが過放電状態になる可能性があった。   However, in the configuration of the above-described Patent Document 1, since the vehicle-mounted computer and the current detection circuit are energized intermittently during the key switch off period, the battery discharge amount increases as the key switch off period increases. There is a possibility that the battery will be overdischarged due to an increase in (power consumption).

本発明はこのような事情を考慮してなされたものであり、従ってその目的は、バッテリ充電状態を推定するためのキースイッチのオフ期間中のバッテリの放電量(消費電力量)を少なくすることができ、キースイッチのオフ期間が長くなっても、バッテリが過放電状態になることなく、バッテリ充電状態を推定することができる車両のバッテリ充電状態推定装置を提供することにある。   The present invention has been made in view of such circumstances. Accordingly, the object of the present invention is to reduce the discharge amount (power consumption amount) of the battery during the OFF period of the key switch for estimating the battery charge state. Therefore, an object of the present invention is to provide a battery charge state estimation device for a vehicle that can estimate a battery charge state without causing the battery to become overdischarged even when the key switch is off.

上記目的を達成するために、請求項1に係る発明は、車両に搭載されたバッテリと、前記バッテリから車載電気機器への電源供給をオン・オフするキースイッチと、前記バッテリの充放電電流を検出する電流検出手段と、前記キースイッチのオン期間中に前記電流検出手段で検出した充放電電流に基づいて前記バッテリの充電状態を推定する充電状態推定手段と、前記キースイッチがオフ状態に切り換えられたときに前記充電状態推定手段で推定したバッテリ充電状態の推定値を記憶する書き換え可能な不揮発性メモリとを備えた車両において、前記キースイッチがオフ状態に切り換えられてからオン状態に切り換えられるまでの時間(以下「オフ状態継続時間」という)を判定するオフ状態継続時間判定手段を備え、前記充電状態推定手段は、前記キースイッチがオン状態に切り換えられたときに前記不揮発性メモリに記憶されているオフ切換時のバッテリ充電状態の推定値と前記オフ状態継続時間判定手段で判定したオフ状態継続時間と前記キースイッチのオフ期間中に前記バッテリから流れ出る電流(以下「暗電流」という)とに基づいてオン切換時のバッテリ充電状態を推定するようにしたものである。これにより、キースイッチのオフ期間中のバッテリの放電量(消費電力量)を少なくすることが可能となり、キースイッチのオフ期間が長くなっても、バッテリが過放電状態になることなく、バッテリ充電状態を推定することができる。   In order to achieve the above object, an invention according to claim 1 includes a battery mounted on a vehicle, a key switch for turning on / off power supply from the battery to an in-vehicle electric device, and a charge / discharge current of the battery. Current detection means for detecting; charge state estimation means for estimating a charge state of the battery based on a charge / discharge current detected by the current detection means during an ON period of the key switch; and the key switch is switched to an OFF state. In a vehicle provided with a rewritable nonvolatile memory that stores an estimated value of the battery charge state estimated by the charge state estimation means when the key switch is turned on, the key switch is turned on after the key switch is turned off. Off state continuation time determining means for determining a time until (hereinafter referred to as “off state continuation time”), the charge state estimating means The estimated value of the battery charge state at the time of switching off stored in the nonvolatile memory when the key switch is switched to the on state, the off state duration determined by the off state duration determination means, and the key The battery charge state at the time of switching on is estimated based on the current flowing out of the battery during the switch off period (hereinafter referred to as “dark current”). As a result, the amount of battery discharge (power consumption) during the key switch off period can be reduced, and even if the key switch off period becomes longer, the battery can be charged without being overdischarged. The state can be estimated.

ここで、オフ状態継続時間は、キースイッチのオフ期間中にソークタイマを作動させて計測するようにしても良いが、請求項2のように、時刻の情報を出力する計時手段を備え、前記不揮発性メモリに、キースイッチのオフ切換時の時刻を記憶しておき、キースイッチのオン切換時に前記計時手段から出力されるオン切換時の時刻と不揮発性メモリに記憶されているオフ切換時の時刻とに基づいてオフ状態継続時間を算出するようにすると良い。このようにすれば、キースイッチのオフ期間中にソークタイマを作動させる必要がなく、その分、オフ期間中のバッテリの放電量(消費電力量)を少なくすることができる。   Here, the OFF state duration may be measured by operating a soak timer during the OFF period of the key switch. However, as in claim 2, the OFF state duration is provided with a time measuring unit that outputs time information, The time when the key switch is switched off is stored in the volatile memory, and the time when the key switch is switched on and the time when the key switch is switched on and the time when the key switch is switched off stored in the nonvolatile memory It is preferable to calculate the OFF state duration based on the above. In this way, it is not necessary to operate the soak timer during the OFF period of the key switch, and the discharge amount (power consumption) of the battery during the OFF period can be reduced accordingly.

一般に、キースイッチのオフ期間中にバッテリから流れ出る暗電流は、ほぼ一定の電流値となると推測されることから、請求項3のように、暗電流を予め決められた一定電流値とみなしてオン切換時のバッテリ充電状態を推定するようにしても良い。このようにすれば、キースイッチのオフ期間中に電流検出手段で暗電流を検出する必要がなく、その分、オフ期間中のバッテリの放電量(消費電力量)を少なくすることができる。   In general, it is estimated that the dark current flowing out of the battery during the key switch off period has a substantially constant current value. Therefore, the dark current is regarded as a predetermined constant current value as in the third aspect. The battery charge state at the time of switching may be estimated. In this way, it is not necessary to detect the dark current with the current detecting means during the off period of the key switch, and accordingly, the discharge amount (power consumption amount) of the battery during the off period can be reduced.

或は、請求項4のように、キースイッチがオン状態に切り換えられてからスタータへの通電が開始されるまでの期間に、バッテリから流れ出る電流を電流検出手段で検出してその検出値に基づいて暗電流を推定するようにしても良い。要するに、キースイッチがオン状態に切り換えられてからスタータへの通電が開始されるまでの期間は、まだ車載電気機器の消費電力量が少ないため、この期間にバッテリから流れ出る電流は、暗電流に比較的近い電流値となる。従って、請求項4のように、キースイッチがオン状態に切り換えられてからスタータへの通電が開始されるまでの期間にバッテリから流れ出る電流に基づいて暗電流を推定することが可能となり、これによって、キースイッチのオン切換直後に実際の暗電流を検出することが可能となる。   Alternatively, the current flowing from the battery is detected by the current detecting means during the period from when the key switch is turned on until the start of energization to the starter, and based on the detected value. Thus, the dark current may be estimated. In short, the period from when the key switch is turned on to when the starter is energized is still low in the power consumption of the in-vehicle electrical equipment, so the current flowing from the battery during this period is compared to the dark current. The current value is close to the target. Therefore, as in claim 4, it is possible to estimate the dark current based on the current flowing out from the battery during the period from when the key switch is turned on to when the starter is energized. The actual dark current can be detected immediately after the key switch is turned on.

或は、請求項5のように、キースイッチがオン状態に切り換えられてから車載電気機器への電源供給を開始するまでに遅れ時間を持たせ、その遅れ時間中にバッテリから流れ出る電流を電流検出手段で検出してその検出値に基づいて暗電流を推定するようにしても良い。このようにすれば、キースイッチのオン切換直後に実際の暗電流を精度良く検出することが可能となる。   Alternatively, as in claim 5, there is a delay time from when the key switch is turned on to when the power supply to the vehicle-mounted electric device is started, and the current flowing from the battery during the delay time is detected. The dark current may be estimated based on the detection value detected by the means. In this way, it is possible to accurately detect the actual dark current immediately after the key switch is turned on.

また、本発明は、キースイッチのオフ期間中に1回のみ実際の暗電流を検出するようにしても良いが、キースイッチのオフ切換後も一部の車載電気機器(例えば電子スロットルシステム等)に一時的に通電して後処理を行ったり、キースイッチのオフ期間中に一部の車載電気機器(例えばエバポガスパージシステム等)に一時的に通電して異常診断処理等が行われることがあるため、請求項6のように、キースイッチがオフ状態に切り換えられてから所定時間経過後にバッテリから流れ出る電流を電流検出手段で検出してその検出値に基づいて暗電流を推定するようにしても良い。このようにすれば、キースイッチのオフ期間中に、ほぼ全ての車載電気機器がバッテリから遮断された状態になるまで待機して、実際の暗電流を精度良く検出することが可能となる。   In the present invention, the actual dark current may be detected only once during the off period of the key switch. However, some on-vehicle electric devices (for example, an electronic throttle system) after the key switch is turned off. May be temporarily energized to perform post-processing, or may be temporarily energized to some in-vehicle electrical equipment (for example, an evaporative gas purge system) while the key switch is off to perform abnormality diagnosis processing, etc. Therefore, as in claim 6, the current flowing out from the battery after a predetermined time has elapsed after the key switch is switched to the off state is detected by the current detecting means, and the dark current is estimated based on the detected value. good. In this way, during the OFF period of the key switch, it is possible to wait until almost all the in-vehicle electric devices are disconnected from the battery, and to detect the actual dark current with high accuracy.

或は、請求項7のように、駐車中の車両のドアの開放、ロック解除、運転席への人の着座等のうちの少なくとも1つの運転開始予備動作を検出する運転開始予備動作検出手段を設け、この運転開始予備動作検出手段で運転開始予備動作が検出されてからキースイッチがオン状態に切り換えられるまでの期間にバッテリから流れ出る電流を電流検出手段で検出してその検出値に基づいて暗電流を推定するようにしても良い。要するに、キースイッチをオン状態に切り換える直前は、ほぼ全ての車載電気機器がバッテリから遮断された状態になっているものと推測されるため、この時期にバッテリから流れ出る電流に基づいて暗電流を推定することが可能となり、これによって、キースイッチのオン切換直前に実際の暗電流を精度良く検出することが可能となる。   Alternatively, a driving start preliminary operation detecting means for detecting at least one driving start preliminary operation of opening a door of a parked vehicle, unlocking, seating of a person on the driver's seat, etc. as in claim 7. The current detection means detects the current flowing from the battery during the period from when the operation start preliminary operation is detected by the operation start preliminary operation detection means to when the key switch is switched to the ON state. The current may be estimated. In short, just before the key switch is turned on, it is estimated that almost all on-vehicle electrical devices are disconnected from the battery, so the dark current is estimated based on the current flowing out of the battery at this time. This makes it possible to accurately detect the actual dark current immediately before the key switch is turned on.

また、請求項8のように、キースイッチがオフ状態のときとオン状態のときにそれぞれ上記の方法で暗電流を推定し、推定した2つの暗電流を基に最終的な暗電流を算出するようにしても良い。これにより、暗電流の精度を高めることができる。   Further, as in claim 8, when the key switch is in the off state and in the on state, the dark current is estimated by the above method, and the final dark current is calculated based on the two estimated dark currents. You may do it. Thereby, the precision of dark current can be improved.

また、請求項9のように、充電状態推定手段で推定したバッテリ充電状態に応じて発電機の発電動作を発電制御手段によって制御するようにすると良い。これにより、エンジン始動後にバッテリ充電状態を速やかに目標の状態に回復させることができる。   Further, as in claim 9, the power generation operation of the generator may be controlled by the power generation control means in accordance with the battery charge state estimated by the charge state estimation means. Thereby, the battery charge state can be quickly recovered to the target state after the engine is started.

以下、本発明を実施するための最良の形態を具体化した幾つかの実施例を説明する。   Several embodiments embodying the best mode for carrying out the present invention will be described below.

本発明の実施例1を図1乃至図3に基づいて説明する。まず、図1に基づいてシステム全体の構成を説明する。
制御装置11は、バッテリ12からキースイッチ13を介して電源が供給され、エンジン運転中に点火装置14と噴射装置15の動作を制御すると共に、後述する方法でバッテリ12の充電状態(充放電電流積算値)を推定して、発電機16の制御電流を制御することで、バッテリ12の充電状態を目標値付近に制御する。
A first embodiment of the present invention will be described with reference to FIGS. First, the configuration of the entire system will be described with reference to FIG.
The control device 11 is supplied with power from the battery 12 via the key switch 13, controls the operation of the ignition device 14 and the injection device 15 during engine operation, and charges the battery 12 in a charged state (charge / discharge current) by a method described later. (The integrated value) is estimated and the control current of the generator 16 is controlled to control the state of charge of the battery 12 near the target value.

この制御装置11には、バッテリ12の充放電電流を検出する電流センサ17(電流検出手段)と、キースイッチ13のオフ期間中に計時動作するソークタイマ18(オフ状態継続時間判定手段)とが接続され、このソークタイマ18の計時動作によってキースイッチ13がオフ(OFF)状態に切り換えられてからオン(ON)状態に切り換えられるまでの時間(以下「オフ状態継続時間」という)が計測される。   Connected to the control device 11 is a current sensor 17 (current detection means) that detects the charging / discharging current of the battery 12 and a soak timer 18 (off state duration determination means) that operates while the key switch 13 is off. Then, the time from when the key switch 13 is switched to the OFF state by the time counting operation of the soak timer 18 until it is switched to the ON state (hereinafter referred to as “off state duration”) is measured.

また、制御装置11には、各種のプログラムやマップ等のデータを格納するROMや、演算データやセンサデータ等を一時的に記憶するRAMの他に、書き換え可能な不揮発性メモリとしてバックアップRAM19が設けられている。このバックアップRAM19には、キースイッチ13のオフ期間中に保持し続ける必要のあるデータ(例えばキースイッチ13のオフ切換時のバッテリ充電割合推定値SOC、エンジン制御学習値、異常診断情報等)が記憶される。バックアップRAM19以外の書き換え可能な不揮発性メモリ(例えばEEPROM等)を用いても良い。その他、各種の車載電気機器にも、バッテリ12から電源が供給される。   The control device 11 is provided with a backup RAM 19 as a rewritable nonvolatile memory in addition to a ROM for storing various programs and data such as maps and a RAM for temporarily storing calculation data, sensor data, and the like. It has been. The backup RAM 19 stores data that needs to be retained during the OFF period of the key switch 13 (for example, battery charge ratio estimated value SOC, engine control learning value, abnormality diagnosis information, etc. when the key switch 13 is switched OFF). Is done. A rewritable nonvolatile memory (for example, EEPROM) other than the backup RAM 19 may be used. In addition, power is supplied from the battery 12 to various on-vehicle electric devices.

次に、本実施例1のバッテリ12の充電状態(充放電電流積算値)の推定方法を図2のタイムチャートを用いて説明する。キースイッチ13のオン期間中は、所定のサンプリング周期で電流センサ17によってバッテリ12の充放電電流を検出して、その検出値を積算していく。この際、バッテリ12の充電電流をプラス値とし、バッテリ12の放電電流をマイナス値とすることで、充放電電流積算値をバッテリ12の充電状態(充電割合SOC)に応じて増減させる。これにより、充放電電流積算値をバッテリ充電状態の推定値として用いることが可能となる。   Next, a method for estimating the state of charge (charge / discharge current integrated value) of the battery 12 according to the first embodiment will be described with reference to the time chart of FIG. During the ON period of the key switch 13, the charge / discharge current of the battery 12 is detected by the current sensor 17 at a predetermined sampling period, and the detected values are integrated. At this time, the charging current of the battery 12 is set to a positive value, and the discharging current of the battery 12 is set to a negative value, whereby the charging / discharging current integrated value is increased or decreased according to the charging state (charging ratio SOC) of the battery 12. As a result, the charge / discharge current integrated value can be used as the estimated value of the battery charge state.

そして、キースイッチ13がオン状態からオフ状態に切り換えられたときに、その時点の充放電電流積算値(バッテリ充電状態の推定値)をバックアップRAM19に記憶すると共に、ソークタイマ18の計時動作を開始させる。その後、キースイッチ13がオフ状態からオン状態に切り換えられたときに、ソークタイマ18の計時動作を終了することで、キースイッチ13がオフ状態に切り換えられてからオン状態に切り換えられるまでの時間(オフ状態継続時間)Tが計測される。   When the key switch 13 is switched from the on state to the off state, the charge / discharge current integrated value (estimated value of the battery charge state) at that time is stored in the backup RAM 19 and the time measuring operation of the soak timer 18 is started. . After that, when the key switch 13 is switched from the off state to the on state, the time until the key switch 13 is switched from the off state to the on state by turning off the time counting operation of the soak timer 18 (off State duration) T is measured.

一般に、キースイッチ13のオフ期間中にバッテリ12から流れ出る暗電流は、ほぼ一定の電流値となると推測されることから、本実施例1では、暗電流を予め決められた一定電流値とみなして、キースイッチ13がオン状態に切り換えられたときに、この暗電流とオフ状態継続時間Tとを掛け合わすことで、キースイッチ13のオフ期間中の充放電電流積算値(電流消費量)を算出すると共に、バックアップRAM19に記憶されている前回(オフ切換時)の充放電電流積算値にオフ期間中の充放電電流積算値(マイナス値)を加算することで、今回(オン切換時)の充放電電流積算値を求める。   In general, the dark current flowing out from the battery 12 during the OFF period of the key switch 13 is estimated to have a substantially constant current value. Therefore, in the first embodiment, the dark current is regarded as a predetermined constant current value. When the key switch 13 is switched to the ON state, the charge / discharge current integrated value (current consumption) during the OFF period of the key switch 13 is calculated by multiplying the dark current and the OFF state duration T. At the same time, the charging / discharging current integrated value (negative value) during the OFF period is added to the charging / discharging current integrated value stored in the backup RAM 19 at the previous time (when switching to OFF), so that Obtain the discharge current integrated value.

以上説明した本実施例1の充放電電流積算値(バッテリ充電状態)の推定は、制御装置11によって図3の充放電電流積算値演算ルーチンに従って次のようにして実行される。図3の充放電電流積算値演算ルーチンは、所定周期(例えば5ms周期)で起動され、特許請求の範囲でいう充電状態推定手段としての役割を果たす。本ルーチンが起動されると、まずステップ101で、キースイッチ13がオフ状態に切り換えられているか否かを判定し、オフ状態に切り換えられていれば、ステップ102に進み、前回の本ルーチン起動時にもキースイッチ13がオフ状態であったか否かを判定し、「No」と判定された場合、つまり、前回がオン状態で今回がオフ状態の場合(キースイッチ13がオン状態からオフ状態に切り換えられた直後の最初の本ルーチン起動時)には、ステップ103に進み、ソークタイマ18の計測時間T(I) を初期値(0)にリセットして本ルーチンを終了する。   The estimation of the charge / discharge current integrated value (battery charge state) of the first embodiment described above is executed by the control device 11 according to the charge / discharge current integrated value calculation routine of FIG. The charge / discharge current integrated value calculation routine of FIG. 3 is started at a predetermined cycle (for example, a cycle of 5 ms), and plays a role as a charge state estimating means in the claims. When this routine is started, first, at step 101, it is determined whether or not the key switch 13 is switched to the OFF state. If it is switched to the OFF state, the routine proceeds to step 102, and when the previous routine is started. It is also determined whether or not the key switch 13 is in an off state, and if “No” is determined, that is, if the previous time is on and the current time is off (the key switch 13 is switched from the on state to the off state). At the time of the first activation of this routine immediately after this, the routine proceeds to step 103 where the measurement time T (I) of the soak timer 18 is reset to the initial value (0) and the routine is terminated.

その後、キースイッチ13のオフ期間中は、本ルーチンが起動される毎に、ステップ101とステップ102で共に「Yes」と判定されて、ステップ104に進み、ソークタイマ18の前回のカウント値T(I-1) に本ルーチンの起動周期(5ms)を加算することで、オフ状態継続時間Tを計測する。   Thereafter, during the OFF period of the key switch 13, every time this routine is started, it is determined “Yes” in both step 101 and step 102, and the process proceeds to step 104, where the previous count value T (I -1) is added to the start cycle (5 ms) of this routine to measure the OFF state duration T.

その後、キースイッチ13がオフ状態からオン状態に切り換えられた後は、本ルーチンが起動される毎に、ステップ101で「No」と判定されて、ステップ105に進み、前回の本ルーチン起動時にキースイッチ13がオン状態であったか否かを判定する。キースイッチ13がオフ状態からオン状態に切り換えられた直後の最初の本ルーチン起動時には、ステップ105で「No」と判定されて、ステップ106に進み、ソークタイマ18で計測したオフ状態継続時間Tと暗電流KIOPNとを掛け合わすことで、キースイッチ13のオフ期間中の充放電電流積算値IOPNSUMを算出する。
IOPNSUM=T×KIOPN
この場合、暗電流KIOPNは、予め設定された一定電流値(マイナス値)が用いられる。
Thereafter, after the key switch 13 is switched from the off state to the on state, every time this routine is started, “No” is determined in step 101, and the process proceeds to step 105. It is determined whether or not the switch 13 is on. When the routine is started for the first time immediately after the key switch 13 is switched from the OFF state to the ON state, “No” is determined in Step 105, the process proceeds to Step 106, and the OFF state duration T measured by the soak timer 18 and the dark state are determined. By multiplying by the current KIOPN, the charge / discharge current integrated value IOPNSUM during the OFF period of the key switch 13 is calculated.
IOPNSUM = T × KIOPN
In this case, a constant current value (negative value) set in advance is used as the dark current KIOPN.

この後、ステップ107に進み、バックアップRAM19に記憶されている前回(オフ切換時)の充放電電流積算値ISUM(I-1) にオフ期間中の充放電電流積算値IOPNSUM(マイナス値)を加算することで、今回(オン切換時)の充放電電流積算値ISUM(I) を求める。
ISUM(I) =ISUM(I-1) +IOPNSUM
そして、次のステップ108で、ソークタイマ18の計測時間T(I) を初期値(0)にリセットして本ルーチンを終了する。
After this, the routine proceeds to step 107 where the charge / discharge current integrated value IOPSUM (minus value) during the OFF period is added to the previous charge / discharge current integrated value ISUM (I-1) stored in the backup RAM 19. By doing this, the current charge / discharge current integrated value ISUM (I) is obtained (when switching on).
ISUM (I) = ISUM (I-1) + IOPNSUM
In the next step 108, the measurement time T (I) of the soak timer 18 is reset to the initial value (0), and this routine is terminated.

その後、キースイッチ13のオン期間中は、本ルーチンが起動される毎に、ステップ101で「No」、ステップ105で「Yes」と判定されて、ステップ109に進み、電流センサ17で検出した今回の充放電電流ICLOSEを前回の充放電電流積算値ISUM(I-1) に加算することで、今回の充放電電流積算値ISUM(I) を求め、これをバックアップRAM19に更新記憶して本ルーチンを終了する。
ISUM(I) =ISUM(I-1) +ICLOSE
Thereafter, during the ON period of the key switch 13, every time this routine is started, “No” is determined in step 101, “Yes” is determined in step 105, and the process proceeds to step 109 where the current sensor 17 detects this time. The current charge / discharge current ICLOSE is added to the previous charge / discharge current integrated value ISUM (I-1) to obtain the current charge / discharge current integrated value ISUM (I), which is updated and stored in the backup RAM 19. Exit.
ISUM (I) = ISUM (I-1) + ICLOSE

以上説明した本実施例1によれば、キースイッチ13のオフ期間中にソークタイマ18によりオフ状態継続時間Tを計測し、キースイッチ13がオフ状態からオン状態に切り換えられたときに、オフ状態継続時間Tと予め設定された暗電流KIOPNとを掛け合わすことで、キースイッチ13のオフ期間中の充放電電流積算値IOPNSUMを算出し、バックアップRAM19に記憶されている前回(オフ切換時)の充放電電流積算値ISUM(I-1) にオフ期間中の充放電電流積算値IOPNSUM(マイナス値)を加算することで、今回(オン切換時)の充放電電流積算値ISUM(I) を求めるようにしたので、キースイッチ13のオフ期間中のバッテリ12の放電量(消費電力量)を少なくすることが可能となり、キースイッチ13のオフ期間が長くなっても、バッテリ12が過放電状態になることなく、オン切換時の充放電電流積算値(バッテリ12の充電状態)を推定することができる。   According to the first embodiment described above, the off-state duration T is measured by the soak timer 18 during the off-period of the key switch 13, and the off-state continues when the key switch 13 is switched from the off-state to the on-state. By multiplying the time T and the preset dark current KIOPN, the charge / discharge current integrated value IOPNSUM during the OFF period of the key switch 13 is calculated, and the previous charge (when switching off) stored in the backup RAM 19 is calculated. The current charge / discharge current integrated value ISUM (I) is obtained by adding the charge / discharge current integrated value IOPSUM (negative value) during the OFF period to the discharge current integrated value ISUM (I-1). Therefore, it is possible to reduce the discharge amount (power consumption) of the battery 12 during the off period of the key switch 13, and the off period of the key switch 13 Even if the interval becomes longer, the charge / discharge current integrated value at the time of ON switching (charged state of the battery 12) can be estimated without the battery 12 being in an overdischarged state.

上記実施例1では、キースイッチ13のオフ期間中にソークタイマ18を作動させてオフ状態継続時間Tを計測するようにしたが、図4及び図5に示す本発明の実施例2では、車両に搭載されている計時手段(時計)を利用して、バックアップRAM19に、キースイッチ13のオフ切換時の時刻Topnを記憶しておき、キースイッチ13のオン切換時に前記計時手段から出力されるオン切換時の時刻TclsとバックアップRAM19に記憶されているオフ切換時の時刻Topnとに基づいてオフ状態継続時間T(=Tcls−Topn)を算出するようにしている。   In the first embodiment, the soak timer 18 is operated during the OFF period of the key switch 13 to measure the OFF state duration time T. However, in the second embodiment of the present invention shown in FIGS. Using the timekeeping means (clock) installed, the backup RAM 19 stores the time Topn when the key switch 13 is turned off, and the ON switching output from the timekeeping means when the key switch 13 is turned on. The OFF state duration T (= Tcls−Topn) is calculated based on the time Tcls of the hour and the time Topn at the time of switching off stored in the backup RAM 19.

本実施例2では、図5の充放電電流積算値演算ルーチンを所定周期(例えば5ms周期)で起動して、まずステップ201で、キースイッチ13がオフ状態に切り換えられているか否かを判定し、オフ状態に切り換えられていれば、ステップ202に進み、前回の本ルーチン起動時にもキースイッチ13がオフ状態であったか否かを判定し、「No」と判定された場合、つまり、前回がオン状態で今回がオフ状態の場合(キースイッチ13がオン状態からオフ状態に切り換えられた直後の最初の本ルーチン起動時)には、ステップ203に進み、キースイッチ13のオフ切換時の時刻TopnをバックアップRAM19に記憶して本ルーチンを終了する。   In the second embodiment, the charge / discharge current integrated value calculation routine of FIG. 5 is started at a predetermined cycle (for example, a cycle of 5 ms), and first, at step 201, it is determined whether or not the key switch 13 is switched to the OFF state. If it has been switched to the OFF state, the process proceeds to step 202, where it is determined whether or not the key switch 13 was also in the OFF state at the time of the previous activation of this routine. If the current state is OFF (when the first routine is started immediately after the key switch 13 is switched from the ON state to the OFF state), the routine proceeds to step 203, where the time Topn when the key switch 13 is switched OFF is set. The data is stored in the backup RAM 19 and this routine is terminated.

その後、キースイッチ13のオフ期間中は、本ルーチンが起動される毎に、ステップ201とステップ202で共に「Yes」と判定され、そのまま何もせずに本ルーチンを終了する。   Thereafter, during the OFF period of the key switch 13, every time this routine is started, it is determined as “Yes” in both step 201 and step 202, and this routine is terminated without doing anything.

その後、キースイッチ13がオフ状態からオン状態に切り換えられた後は、本ルーチンが起動される毎に、ステップ201で「No」と判定されて、ステップ204に進み、前回の本ルーチン起動時にキースイッチ13がオン状態であったか否かを判定する。キースイッチ13がオフ状態からオン状態に切り換えられた直後の最初の本ルーチン起動時には、ステップ204で「No」と判定されて、ステップ205に進み、現在(オン切換時)の時刻TclsとバックアップRAM19に記憶されているオフ切換時の時刻Topnとに基づいてオフ状態継続時間T(=Tcls−Topn)を算出する。以上説明したステップ201〜205の処理が特許請求の範囲でいうオフ状態継続時間判定手段としての役割を果たす。   After that, after the key switch 13 is switched from the off state to the on state, every time this routine is started, “No” is determined in step 201, and the process proceeds to step 204. It is determined whether or not the switch 13 is on. When this routine is started for the first time immediately after the key switch 13 is switched from the OFF state to the ON state, “No” is determined in Step 204, the process proceeds to Step 205, the current time Tcls and the backup RAM 19 are switched. The off-state duration T (= Tcls-Topn) is calculated based on the off-switching time Topn stored in FIG. The processing of steps 201 to 205 described above serves as an off state duration determination means in the claims.

この後、ステップ206に進み、オフ状態継続時間Tと予め設定された暗電流KIOPNとを掛け合わすことで、キースイッチ13のオフ期間中の充放電電流積算値IOPNSUMを算出した後、ステップ207に進み、バックアップRAM19に記憶されている前回(オフ切換時)の充放電電流積算値ISUM(I-1) にオフ期間中の充放電電流積算値IOPNSUM(マイナス値)を加算することで、今回(オン切換時)の充放電電流積算値ISUM(I) を求めて本ルーチンを終了する。   Thereafter, the process proceeds to step 206, where the charge / discharge current integrated value IOPNSUM during the OFF period of the key switch 13 is calculated by multiplying the OFF state duration time T by a preset dark current KIOPN. This time (by adding the charge / discharge current integrated value IOPSUM (minus value) during the OFF period to the previous charge charge / discharge current integrated value ISUM (I-1) stored in the backup RAM 19 (currently at the time of switching off). The charge / discharge current integrated value ISUM (I) at the time of on-switching is obtained, and this routine is terminated.

その後、キースイッチ13のオン期間中は、本ルーチンが起動される毎に、ステップ201で「No」、ステップ204で「Yes」と判定されて、ステップ208に進み、電流センサ17で検出した今回の充放電電流ICLOSEを前回の充放電電流積算値ISUM(I-1) に加算することで、今回の充放電電流積算値ISUM(I) を求め、これをバックアップRAM19に更新記憶して本ルーチンを終了する。   Thereafter, during the ON period of the key switch 13, every time this routine is started, “No” is determined in step 201, “Yes” is determined in step 204, the process proceeds to step 208, and this time detected by the current sensor 17. The current charge / discharge current ICLOSE is added to the previous charge / discharge current integrated value ISUM (I-1) to obtain the current charge / discharge current integrated value ISUM (I), which is updated and stored in the backup RAM 19. Exit.

以上説明した本実施例2では、現在(オン切換時)の時刻TclsとバックアップRAM19に記憶されているオフ切換時の時刻Topnとに基づいてオフ状態継続時間Tを算出するようにしたので、キースイッチ13のオフ期間中にソークタイマを作動させる必要がなく、その分、オフ期間中のバッテリ12の放電量(消費電力量)を少なくすることができる。その他、前記実施例1と同様の効果を得ることができる。   In the second embodiment described above, since the OFF state duration T is calculated based on the current time Tcls (at the time of ON switching) and the time Topn at the time of OFF switching stored in the backup RAM 19, the key It is not necessary to operate the soak timer during the off period of the switch 13, and accordingly, the discharge amount (power consumption) of the battery 12 during the off period can be reduced. In addition, the same effects as those of the first embodiment can be obtained.

上記実施例1,2では、暗電流を予め設定された一定電流値としたが、本発明の実施例3では、図6に示すように、キースイッチ13がオン状態に切り換えられてから車載電気機器への電源供給を開始するまでに遅れ時間を持たせ、その遅れ時間中にバッテリ12から流れ出る電流を電流センサ17で検出してその検出値に基づいて暗電流を推定するようにしている。   In the first and second embodiments, the dark current is set to a predetermined constant current value. However, in the third embodiment of the present invention, as shown in FIG. 6, after the key switch 13 is turned on, A delay time is given until the power supply to the apparatus is started, and the current flowing out of the battery 12 during the delay time is detected by the current sensor 17, and the dark current is estimated based on the detected value.

本実施例3では、図7の暗電流検出ルーチンを所定周期(例えば5ms周期)で起動して次のようにして暗電流を検出する。まず、ステップ301で、キースイッチ13がオン状態に切り換えられているか否かを判定し、オン状態に切り換えられていなければ、以降の処理を行うことなく、本ルーチンを終了する。   In the third embodiment, the dark current detection routine of FIG. 7 is activated at a predetermined cycle (for example, a cycle of 5 ms), and dark current is detected as follows. First, in step 301, it is determined whether or not the key switch 13 is switched to the on state. If the key switch 13 is not switched to the on state, this routine is terminated without performing the subsequent processing.

これに対して、キースイッチ13がオン状態に切り換えられていれば、ステップ301からステップ302に進み、暗電流を検出済みか否かを判定し、検出済みであれば、以降の処理を行うことなく、本ルーチンを終了するが、暗電流を検出済みでなければ、ステップ303に進み、遅延時間タイマの前回のカウント値Tcnt(I-1) に本ルーチンの起動周期(5ms)を加算することで、キースイッチ13のオン切換後の経過時間Tcntを計測する。   On the other hand, if the key switch 13 is switched to the on state, the process proceeds from step 301 to step 302, where it is determined whether or not the dark current has been detected. If the dark current has not been detected, the routine proceeds to step 303, and the start cycle (5 ms) of the routine is added to the previous count value Tcnt (I-1) of the delay time timer. Then, the elapsed time Tcnt after the key switch 13 is switched on is measured.

この後、ステップ304に進み、オン切換後の経過時間Tcntが所定の遅延時間KTIOPNTMに達したか否かを判定し、まだ所定の遅延時間KTIOPNTMに達していなければ、ステップ305に進み、バッテリ12から流れ出る電流を電流センサ17で検出してその検出値を今回の電流値IOPN(I) とした後、ステップ306に進み、前回の電流積算値ΣIOPN(I-1) に今回の電流値IOPN(I) を積算して遅延時間中の電流積算値ΣIOPN(I) を更新する。
ΣIOPN(I) =ΣIOPN(I-1) +IOPN(I)
この後、ステップ307に進み、電源供給フラグxsupplyを、電源供給禁止を意味する“0”に維持(又はリセット)して本ルーチンを終了する。
Thereafter, the process proceeds to step 304, where it is determined whether or not the elapsed time Tcnt after the on-switching has reached a predetermined delay time KTIOPNTM. If the predetermined delay time KTIOPNTM has not yet been reached, the process proceeds to step 305 and the battery 12 The current flowing out of the current sensor 17 is detected by the current sensor 17 and the detected value is set to the current value IOPN (I). Then, the process proceeds to step 306, and the current current value IOPN (I-1) is set to the previous current integrated value ΣIOPN (I-1). I) is integrated to update the current integrated value ΣIOPN (I) during the delay time.
ΣIOPN (I) = ΣIOPN (I-1) + IOPN (I)
Thereafter, the process proceeds to step 307, where the power supply flag xsupply is maintained (or reset) to “0” meaning that power supply is prohibited, and this routine is terminated.

この後、オン切換後の経過時間Tcntが所定の遅延時間KTIOPNTMに達した時点で、上記ステップ304で、「Yes」と判定されて、ステップ308に進み、遅延時間中の電流積算値ΣIOPNを遅延時間中の電流値IOPNの検出回数nで割り算して、遅延時間中の電流平均値ΣIOPN/nを求め、これを暗電流KIOPNとする。
KIOPN=ΣIOPN/n
Thereafter, when the elapsed time Tcnt after the on-switching reaches the predetermined delay time KTIOPNTM, it is determined as “Yes” in the above step 304, and the process proceeds to step 308, where the current integrated value ΣIOPN during the delay time is delayed. By dividing by the number n of detections of the current value IOPN during the time, the current average value ΣIOPN / n during the delay time is obtained, and this is set as the dark current KIOPN.
KIOPN = ΣIOPN / n

この後、ステップ309に進み、遅延時間タイマTcntをリセットした後、電源供給フラグxsupplyを、車載電気機器への電源供給許可を意味する“1”にセットする。これにより、キースイッチ13がオン状態に切り換えられてから所定の遅延時間KTIOPNTMが経過した時点で、暗電流KIOPNを算出すると共に、車載電気機器への電源供給が開始される。このようにすれば、キースイッチ13のオン切換直後に実際の暗電流を精度良く検出することが可能となる。   Thereafter, the process proceeds to step 309, and after resetting the delay time timer Tcnt, the power supply flag xsupplily is set to “1” which means permission of power supply to the in-vehicle electric device. Thus, when a predetermined delay time KTIOPNTM has elapsed since the key switch 13 was switched on, the dark current KIOPN is calculated and the power supply to the in-vehicle electric device is started. In this way, it is possible to accurately detect the actual dark current immediately after the key switch 13 is turned on.

以上のようにして、キースイッチ13がオン状態に切り換えられてから所定の遅延時間KTIOPNTMが経過した時点で、暗電流KIOPNを算出した後、前記実施例1又は実施例2と同様にして、オフ状態継続時間Tと暗電流KIOPNとを掛け合わすことで、キースイッチ13のオフ期間中の充放電電流積算値IOPNSUMを算出し、バックアップRAM19に記憶されている前回(オフ切換時)の充放電電流積算値ISUM(I-1) にオフ期間中の充放電電流積算値IOPNSUM(マイナス値)を加算することで、今回(オン切換時)の充放電電流積算値ISUM(I) を求める。   As described above, when the predetermined delay time KTIOPNTM has elapsed since the key switch 13 was switched on, the dark current KIOPN is calculated and then turned off in the same manner as in the first or second embodiment. By multiplying the state duration T and the dark current KIOPN, the charge / discharge current integrated value IOPNSUM during the OFF period of the key switch 13 is calculated, and the previous charge / discharge current stored in the backup RAM 19 (at the time of OFF switching). The current charge / discharge current integrated value ISUM (I) is obtained by adding the charge / discharge current integrated value IOPNSUM (minus value) during the OFF period to the integrated value ISUM (I-1).

本実施例3で用いるオフ状態継続時間Tは、正確には、キースイッチ13のオフ期間と遅延時間KTIOPNTMとを加算した時間であるが、遅延時間KTIOPNTMは、キースイッチ13のオフ期間よりも遥かに小さいため、無視しても良い。   The OFF state duration T used in the third embodiment is precisely the time obtained by adding the OFF period of the key switch 13 and the delay time KTIOPNTM, but the delay time KTIOPNTM is much longer than the OFF period of the key switch 13. Because it is very small, it can be ignored.

また、本実施例3では、暗電流KIOPNの検出精度を高めるために、遅延時間中の電流平均値ΣIOPN/nを算出して暗電流KIOPNを求めるようにしたが、遅延時間中に所定のタイミングで電流センサ17で1回のみ検出した電流値をそのまま暗電流KIOPNとするようにしても良い。或は、遅延時間中の電流センサ17の検出電流値の中から最小の検出電流値を暗電流KIOPNとするようにしても良い。   In the third embodiment, the dark current KIOPN is obtained by calculating the current average value ΣIOPN / n during the delay time in order to increase the detection accuracy of the dark current KIOPN. Thus, the current value detected only once by the current sensor 17 may be used as it is as the dark current KIOPN. Alternatively, the minimum detected current value among the detected current values of the current sensor 17 during the delay time may be set as the dark current KIOPN.

また、キースイッチ13のオン切換後は、遅延時間中でも制御装置11に通電されるため、遅延時間中の電流センサ17の検出電流値から制御装置11の消費電流分を差し引いて暗電流KIOPNを算出するようにしても良い。   Further, since the control device 11 is energized during the delay time after the key switch 13 is switched on, the dark current KIOPN is calculated by subtracting the current consumption of the control device 11 from the detected current value of the current sensor 17 during the delay time. You may make it do.

また、本実施例3では、キースイッチ13がオン状態に切り換えられてから車載電気機器への電源供給を開始するまでに遅れ時間を持たせ、その遅れ時間中に暗電流KIOPNを検出するようにしたが、キースイッチ13がオン状態に切り換えられてからスタータへの通電が開始されるまでの期間にバッテリ12から流れ出る電流を電流センサ17で検出してその検出値に基づいて暗電流を算出するようにしても良い。要するに、キースイッチ13がオン状態に切り換えられてからスタータへの通電が開始されるまでの期間は、まだ車載電気機器の消費電力量が少ないため、この期間に暗電流を検出すれば、本実施例3と同様に、キースイッチ13のオン切換直後に実際の暗電流を精度良く検出することが可能となる。   In the third embodiment, a delay time is given from when the key switch 13 is switched to the on state until the power supply to the vehicle-mounted electrical device is started, and the dark current KIOPN is detected during the delay time. However, the current flowing from the battery 12 is detected by the current sensor 17 during the period from when the key switch 13 is turned on to when the starter is energized, and the dark current is calculated based on the detected value. You may do it. In short, the period from when the key switch 13 is turned on to when the starter is energized is still low in power consumption of the in-vehicle electrical equipment, so if dark current is detected during this period, this implementation As in Example 3, the actual dark current can be accurately detected immediately after the key switch 13 is switched on.

上記実施例3では、キースイッチ13のオン切換直後に暗電流を検出するようにしたが、図8及び図9に示す本発明の実施例4では、キースイッチ13のオフ期間中に暗電流を検出するようにしている。   In the third embodiment, the dark current is detected immediately after the key switch 13 is turned on. However, in the fourth embodiment of the present invention shown in FIGS. 8 and 9, the dark current is detected during the OFF period of the key switch 13. I try to detect it.

この場合、図8に示すように、キースイッチ13のオフ切換後も一部の車載電気機器(例えば電子スロットルシステム等)に一時的に通電して後処理等が行われることがあることを考慮して、本実施例4では、キースイッチ13がオフ状態に切り換えられてからほぼ全ての車載電気機器がバッテリ12から遮断された状態になる所定時間経過後にバッテリ12から流れ出る電流を電流センサ17で検出してその検出値に基づいて暗電流を推定するようにしている。   In this case, as shown in FIG. 8, even after the key switch 13 is switched off, some on-vehicle electric devices (for example, an electronic throttle system) are temporarily energized to perform post-processing or the like. In the fourth embodiment, the current sensor 17 detects the current flowing out from the battery 12 after a predetermined time has elapsed since almost all the on-vehicle electric devices are disconnected from the battery 12 after the key switch 13 is switched off. The dark current is estimated based on the detected value.

本実施例4では、図9の暗電流検出ルーチンを所定周期(例えば5ms周期)で起動して次のようにして暗電流を検出する。まず、ステップ401で、キースイッチ13がオフ状態に切り換えられているか否かを判定し、オフ状態に切り換えられていなければ、以降の処理を行うことなく、本ルーチンを終了する。   In the fourth embodiment, the dark current detection routine of FIG. 9 is activated at a predetermined cycle (for example, a cycle of 5 ms), and dark current is detected as follows. First, in step 401, it is determined whether or not the key switch 13 is switched to the off state. If the key switch 13 is not switched to the off state, this routine is terminated without performing the subsequent processing.

これに対して、キースイッチ13がオフ状態に切り換えられていれば、ステップ401からステップ402に進み、車載電気機器(例えば電子スロットルシステム等)のキースイッチOFF後処理が終了したか否かを判定し、終了していなければ、ステップ403に進み、電源供給フラグxsupplyを“1”に維持して、車載電気機器への電源供給を続行し、他のキースイッチOFF後処理を続行する。   On the other hand, if the key switch 13 is switched to the OFF state, the process proceeds from step 401 to step 402, and it is determined whether or not the processing after the key switch OFF of the in-vehicle electric device (for example, electronic throttle system) is completed. If not completed, the process proceeds to step 403 where the power supply flag xsupply is maintained at “1”, the power supply to the in-vehicle electric device is continued, and the processing after the other key switches are turned off is continued.

その後、キースイッチOFF後処理が終了した時点で、ステップ402からステップ404に進み、電源供給フラグxsupplyを“0”にリセットして、車載電気機器への電源供給を遮断する。この後、ステップ405に進み、暗電流を検出済みか否かを判定し、検出済みであれば、以降の処理を行うことなく、本ルーチンを終了するが、暗電流を検出済みでなければ、ステップ406に進み、タイマの前回のカウント値Tcnt(I-1) に本ルーチンの起動周期(5ms)を加算することで、車載電気機器への電源供給遮断後の経過時間Tcnt(暗電流検出時間)を計測する。   Thereafter, when the processing after the key switch OFF is completed, the process proceeds from step 402 to step 404, where the power supply flag xsupply is reset to “0”, and the power supply to the in-vehicle electric device is cut off. Thereafter, the process proceeds to step 405, where it is determined whether or not the dark current has been detected. If it has been detected, this routine is terminated without performing the subsequent processing. Proceeding to step 406, by adding the start period (5 ms) of this routine to the previous count value Tcnt (I-1) of the timer, the elapsed time Tcnt (dark current detection time after the power supply to the vehicle-mounted electrical device is cut off) ).

この後、ステップ407に進み、電源供給遮断後の経過時間Tcntが所定時間KTIOPNTMに達したか否かを判定し、まだ所定時間KTIOPNTMに達していなければ、ステップ408に進み、バッテリ12から流れ出る電流を電流センサ17で検出してその検出値を今回の電流値IOPN(I) とした後、ステップ409に進み、前回の電流積算値ΣIOPN(I-1) に今回の電流値IOPN(I) を積算して電源供給遮断後の電流積算値ΣIOPN(I) を更新する。
ΣIOPN(I) =ΣIOPN(I-1) +IOPN(I)
Thereafter, the process proceeds to step 407, where it is determined whether or not the elapsed time Tcnt after the power supply cut-off has reached the predetermined time KTIOPNTM. Is detected by the current sensor 17, and the detected value is set as the current value IOPN (I). Then, the process proceeds to step 409, and the current value IOPN (I) is changed to the previous current integrated value ΣIOPN (I-1). Accumulate and update the current integrated value ΣIOPN (I) after the power supply is cut off.
ΣIOPN (I) = ΣIOPN (I-1) + IOPN (I)

この後、電源供給遮断後の経過時間Tcntが所定時間KTIOPNTMに達した時点で、上記ステップ407で、「Yes」と判定されて、ステップ410に進み、電源供給遮断後の電流積算値ΣIOPNを電流値IOPNの検出回数nで割り算して、電源供給遮断後の電流平均値ΣIOPN/nを求め、これを暗電流KIOPNとする。
KIOPN=ΣIOPN/n
この後、ステップ411に進み、遅延時間タイマTcntをリセットして本ルーチンを終了する。
Thereafter, when the elapsed time Tcnt after the power supply cut-off reaches a predetermined time KTIOPNTM, it is determined as “Yes” in the above step 407, and the process proceeds to step 410, where the current integrated value ΣIOPN after the power supply cut-off is obtained The current average value ΣIOPN / n after the power supply is cut off is obtained by dividing the value IOPN by the number of detections n, and this is set as the dark current KIOPN.
KIOPN = ΣIOPN / n
Thereafter, the process proceeds to step 411, the delay time timer Tcnt is reset, and this routine is terminated.

この後は、前記実施例1又は実施例2と同様にして、キースイッチ13がオフ状態からオン状態に切り換えられた時点で、オフ状態継続時間Tと暗電流KIOPNとを掛け合わすことで、キースイッチ13のオフ期間中の充放電電流積算値IOPNSUMを算出し、バックアップRAM19に記憶されている前回(オフ切換時)の充放電電流積算値ISUM(I-1) にオフ期間中の充放電電流積算値IOPNSUM(マイナス値)を加算することで、今回(オン切換時)の充放電電流積算値ISUM(I) を求める。   Thereafter, as in the first embodiment or the second embodiment, when the key switch 13 is switched from the off state to the on state, the off state duration time T and the dark current KIOPN are multiplied to obtain the key. The charge / discharge current integrated value IOPNSUM during the OFF period of the switch 13 is calculated, and the charge / discharge current during the OFF period is stored in the previous charge / discharge current integrated value ISUM (I-1) stored in the backup RAM 19. By adding the integrated value IOPNSUM (minus value), the current charging / discharging current integrated value ISUM (I) is obtained (when switching on).

以上説明した本実施例4では、キースイッチ13のオフ切換後に全ての車載電気機器がバッテリから遮断された状態になるまで待機して暗電流KIOPNを検出するようにしたので、キースイッチ13のオフ期間中に実際の暗電流KIOPNを精度良く検出することが可能となる。   In the fourth embodiment described above, the dark current KIOPN is detected after waiting until all the in-vehicle electrical devices are disconnected from the battery after the key switch 13 is turned off. It is possible to accurately detect the actual dark current KIOPN during the period.

尚、本実施例4では、暗電流KIOPNの検出精度を高めるために、車載電気機器への電源供給遮断後の所定時間の電流平均値ΣIOPN/nを算出して暗電流KIOPNを求めるようにしたが、電源供給遮断後に所定のタイミングで電流センサ17で1回のみ検出した電流値をそのまま暗電流KIOPNとするようにしても良い。或は、電源供給遮断後の所定時間中の電流センサ17の検出電流値の中から最小の検出電流値を暗電流KIOPNとするようにしても良い。   In the fourth embodiment, in order to improve the detection accuracy of the dark current KIOPN, the dark current KIOPN is obtained by calculating the current average value ΣIOPN / n for a predetermined time after the power supply to the vehicle-mounted electrical device is cut off. However, the current value detected only once by the current sensor 17 at a predetermined timing after the power supply is cut off may be used as the dark current KIOPN as it is. Alternatively, the minimum detected current value among the detected current values of the current sensor 17 during a predetermined time after the power supply is cut off may be set as the dark current KIOPN.

また、電流センサ17で電流を検出する期間は、制御装置11に通電されるため、電流センサ17の検出電流値から制御装置11の消費電流分を差し引いて暗電流KIOPNを算出するようにしても良い。   In addition, since the control device 11 is energized during the period in which the current is detected by the current sensor 17, the dark current KIOPN may be calculated by subtracting the current consumption of the control device 11 from the detected current value of the current sensor 17. good.

上記実施例4では、キースイッチ13のオフ切換後も一部の車載電気機器(例えば電子スロットルシステム等)に一時的に通電してキースイッチOFF後処理が行われることがあることを考慮して、キースイッチ13のオフ切換後に車載電気機器のキースイッチOFF後処理が終了したか否かを判定し、キースイッチOFF後処理が終了した時点で、暗電流を検出するようにしたが、図10及び図11に示す本発明の実施例5では、キースイッチ13がオフ状態に切り換えられてから所定時間経過後(例えば6時間経過後)にバッテリ12から流れ出る電流を電流センサ17で検出してその検出値に基づいて暗電流を算出するようにしている。この場合、“所定時間”は、車載電気機器のキースイッチOFF後処理が終了する時間よりも長い時間で、且つ、キースイッチ13のオフ期間中に一部の車載電気機器(例えばエバポガスパージシステム等)の異常診断処理等が行われる場合は、それらの処理が全て終了する時間よりも長い時間に設定されている。   In the fourth embodiment, considering that after the key switch 13 is turned off, some on-vehicle electric devices (for example, an electronic throttle system) are temporarily energized to perform post-key switch OFF processing. 10, after the key switch 13 is switched off, it is determined whether or not the processing after the key switch OFF of the in-vehicle electric device is completed, and the dark current is detected when the processing after the key switch OFF is completed. In the fifth embodiment of the present invention shown in FIG. 11, the current flowing from the battery 12 is detected by the current sensor 17 after a predetermined time has elapsed (for example, after 6 hours have elapsed) after the key switch 13 is switched to the OFF state. The dark current is calculated based on the detected value. In this case, the “predetermined time” is a time longer than the time after the process of turning off the key switch of the in-vehicle electric device, and some of the in-vehicle electric devices (for example, an evaporative gas purge system, etc.) during the off period of the key switch 13 Is set to a time longer than the time at which all the processes are completed.

本実施例5では、図11の暗電流検出ルーチンを所定周期(例えば5ms周期)で起動して次のようにして暗電流を検出する。まず、ステップ501で、キースイッチ13がオフ状態に切り換えられているか否かを判定し、オフ状態に切り換えられていなければ、以降の処理を行うことなく、本ルーチンを終了する。   In the fifth embodiment, the dark current detection routine of FIG. 11 is activated at a predetermined cycle (for example, a cycle of 5 ms), and the dark current is detected as follows. First, in step 501, it is determined whether or not the key switch 13 has been switched to the off state. If the key switch 13 has not been switched to the off state, this routine is terminated without performing the subsequent processing.

これに対して、キースイッチ13がオフ状態に切り換えられていれば、ステップ501からステップ502に進み、前回の本ルーチン起動時にもキースイッチ13がオフ状態であったか否かを判定し、「No」と判定された場合、つまり、前回がオン状態で今回がオフ状態の場合(キースイッチ13がオン状態からオフ状態に切り換えられた直後の最初の本ルーチン起動時)には、ステップ512に進み、ソークタイマ18のカウント値Tclsを初期値KTCLS(キースイッチ13がオフ状態に切り換えられてから暗電流の検出を開始するまでの所定時間)にセットして本ルーチンを終了する。   On the other hand, if the key switch 13 has been switched to the OFF state, the process proceeds from step 501 to step 502, where it is determined whether or not the key switch 13 was in the OFF state at the previous activation of this routine. Is determined, that is, when the previous time is on and this time is off (when the first routine is started immediately after the key switch 13 is switched from the on state to the off state), the process proceeds to step 512. The count value Tcls of the soak timer 18 is set to the initial value KTCLS (predetermined time from when the key switch 13 is switched off until the dark current detection is started), and this routine is terminated.

その後、キースイッチ13のオフ期間中は、本ルーチンが起動される毎に、ステップ501とステップ502で共に「Yes」と判定されて、ステップ503に進み、暗電流を検出済みか否かを判定し、検出済みであれば、以降の処理を行うことなく、本ルーチンを終了するが、暗電流を検出済みでなければ、ステップ504に進み、ソークタイマ18の前回のカウント値Tcnt(I-1) から本ルーチンの起動周期(5ms)を減算することで、暗電流検出開始までの残り時間Tcntを算出する。   Thereafter, during the OFF period of the key switch 13, every time this routine is started, it is determined as “Yes” in both step 501 and step 502, and the process proceeds to step 503 to determine whether or not the dark current has been detected. If it has been detected, this routine is terminated without performing the subsequent processing. If the dark current has not been detected, the routine proceeds to step 504, where the previous count value Tcnt (I-1) of the soak timer 18 is reached. Is subtracted from the start cycle (5 ms) of this routine to calculate the remaining time Tcnt until the start of dark current detection.

この後、ステップ505に進み、暗電流検出開始までの残り時間Tcntが“0”になった否かを判定し、まだ“0”になっていなければ、以降の処理を行うことなく、本ルーチンを終了する。   Thereafter, the process proceeds to step 505, where it is determined whether or not the remaining time Tcnt until the start of dark current detection has become “0”. If not yet “0”, this routine is performed without performing the subsequent processing. Exit.

その後、暗電流検出開始までの残り時間Tcntが“0”になった時点で、上記ステップ505で「Yes」と判定されて、ステップ506に進み、ソークタイマ18の前回のカウント値Tcnt(I-1) に本ルーチンの起動周期(5ms)を加算することで、暗電流検出開始後の経過時間Tcntを計測する。   Thereafter, when the remaining time Tcnt until the start of dark current detection becomes “0”, “Yes” is determined in Step 505, the process proceeds to Step 506, and the previous count value Tcnt (I−1) of the soak timer 18 is determined. ), The elapsed time Tcnt after the start of dark current detection is measured by adding the startup period (5 ms) of this routine.

そして、次のステップ507で、暗電流検出開始後の経過時間Tcntが所定時間KTIOPNTMに達したか否かを判定し、まだ所定時間KTIOPNTMに達していなければ、ステップ508に進み、バッテリ12から流れ出る電流を電流センサ17で検出してその検出値を今回の電流値IOPN(I) とした後、ステップ509に進み、前回の電流積算値ΣIOPN(I-1) に今回の電流値IOPN(I) を積算して暗電流検出開始後の電流積算値ΣIOPN(I) を更新する。
ΣIOPN(I) =ΣIOPN(I-1) +IOPN(I)
Then, in the next step 507, it is determined whether or not the elapsed time Tcnt after the start of dark current detection has reached a predetermined time KTIOPNTM. After the current is detected by the current sensor 17 and the detected value is set to the current value IOPN (I), the process proceeds to step 509, and the current value IOPN (I) is set to the previous current integrated value ΣIOPN (I-1). Is integrated to update the current integrated value ΣIOPN (I) after the start of dark current detection.
ΣIOPN (I) = ΣIOPN (I-1) + IOPN (I)

この後、暗電流検出開始後の経過時間Tcntが所定時間KTIOPNTMに達した時点で、上記ステップ507で、「Yes」と判定されて、ステップ510に進み、暗電流検出開始後の電流積算値ΣIOPNを電流値IOPNの検出回数nで割り算して、暗電流検出開始後の電流平均値ΣIOPN/nを求め、これを暗電流KIOPNとする。
KIOPN=ΣIOPN/n
この後、ステップ511に進み、ソークタイマTcntをリセットして本ルーチンを終了する。その他の事項は、前記実施例4と同じである。
Thereafter, when the elapsed time Tcnt after the start of dark current detection reaches the predetermined time KTIOPNTM, it is determined “Yes” in step 507, and the process proceeds to step 510, where the current integrated value ΣIOPN after the start of dark current detection is determined. Is divided by the number of detections n of the current value IOPN to obtain a current average value ΣIOPN / n after the start of dark current detection, and this is defined as the dark current KIOPN.
KIOPN = ΣIOPN / n
Thereafter, the process proceeds to step 511, the soak timer Tcnt is reset, and this routine is terminated. Other matters are the same as those in the fourth embodiment.

以上説明した本実施例5では、キースイッチ13のオフ期間中に最も暗電流の検出に適した状態になるまで待機して暗電流KIOPNを検出することができるため、キースイッチ13のオフ期間中に実際の暗電流KIOPNを精度良く検出することが可能となる。   In the fifth embodiment described above, the dark current KIOPN can be detected by waiting until the key switch 13 is most suitable for detecting the dark current while the key switch 13 is off. In addition, the actual dark current KIOPN can be accurately detected.

本発明は、駐車中の車両のドアの開放、ロック解除、運転席への人の着座等のうちの少なくとも1つの運転開始予備動作を検出する運転開始予備動作検出手段を設け、この運転開始予備動作検出手段で運転開始予備動作が検出されてからキースイッチ13がオン状態に切り換えられるまでの期間にバッテリ12から流れ出る電流を電流センサ17で検出してその検出値に基づいて暗電流を推定するようにしても良い。要するに、キースイッチ13をオン状態に切り換える直前は、ほぼ全ての車載電気機器がバッテリ12から遮断された状態になっているものと推測されるため、この時期にバッテリ12から流れ出る電流に基づいて暗電流を推定することが可能となり、これによって、キースイッチ13のオン切換直前に実際の暗電流を精度良く検出することが可能となる。   The present invention is provided with a driving start preliminary operation detecting means for detecting at least one driving start preliminary operation among opening of a door of a parked vehicle, unlocking, seating of a person in a driver's seat, and the like. The current flowing from the battery 12 is detected by the current sensor 17 during the period from when the operation start preliminary operation is detected to when the key switch 13 is turned on, and the dark current is estimated based on the detected value. You may do it. In short, immediately before the key switch 13 is turned on, it is estimated that almost all on-vehicle electric devices are disconnected from the battery 12, so that the darkness is based on the current flowing out from the battery 12 at this time. It is possible to estimate the current, which makes it possible to accurately detect the actual dark current immediately before the key switch 13 is switched on.

以下、これを具体化した実施例6を図12及び図13を用いて説明する。本実施例6では、運転開始予備動作検出手段として、車両のドアの開閉に応じてオン・オフするドアスイッチを設け、駐車中にドアスイッチがオンしてドアの開放が検出された時点で暗電流の検出を開始することで、キースイッチ13がオン状態に切り換えられる直前に暗電流を検出するようにしている。   Hereinafter, a sixth embodiment in which this is realized will be described with reference to FIGS. In the sixth embodiment, a door switch that is turned on / off according to the opening / closing of the vehicle door is provided as the operation start preliminary operation detecting means. When the door switch is turned on and the door opening is detected during parking, By starting the detection of the current, the dark current is detected immediately before the key switch 13 is switched to the ON state.

本実施例6では、図13の暗電流検出ルーチンを所定周期(例えば5ms周期)で起動して次のようにして暗電流を検出する。まず、ステップ601で、キースイッチ13がオフ状態に切り換えられているか否かを判定し、オフ状態に切り換えられていなければ、以降の処理を行うことなく、本ルーチンを終了する。   In the sixth embodiment, the dark current detection routine of FIG. 13 is activated at a predetermined cycle (for example, a cycle of 5 ms), and the dark current is detected as follows. First, in step 601, it is determined whether or not the key switch 13 has been switched to the OFF state. If the key switch 13 has not been switched to the OFF state, this routine is terminated without performing the subsequent processing.

これに対して、キースイッチ13がオフ状態に切り換えられていれば、ステップ601からステップ602に進み、暗電流検出処理中であるか否かを判定し、暗電流検出処理中でなければ、ステップ603に進み、ドアスイッチがオン(ドア開)であるか否かを判定し、ドアスイッチがオフ(ドア閉)であれば、以降の処理を行うことなく、本ルーチンを終了する。   On the other hand, if the key switch 13 is switched to the OFF state, the process proceeds from step 601 to step 602 to determine whether or not the dark current detection process is being performed. Proceeding to 603, it is determined whether or not the door switch is on (door open). If the door switch is off (door closed), this routine is terminated without performing the subsequent processing.

その後、ドアスイッチがオン(ドア開)に切り換えられた時点で、上記ステップ603で「Yes」と判定されて、ステップ604に進み、ソークタイマ18の前回のカウント値Tcnt(I-1) に本ルーチンの起動周期(5ms)を加算することで、暗電流検出開始後の経過時間Tcntを計測する。尚、上記ステップ602で、暗電流検出処理中であると判定された場合も、ステップ604に進み、暗電流検出開始後の経過時間Tcntを計測する。   Thereafter, when the door switch is turned on (door open), “Yes” is determined in the above step 603, the process proceeds to step 604, and this routine returns to the previous count value Tcnt (I−1) of the soak timer 18. The elapsed time Tcnt after the start of dark current detection is measured by adding the starting period (5 ms). If it is determined in step 602 that the dark current detection process is in progress, the process proceeds to step 604, and the elapsed time Tcnt after the start of dark current detection is measured.

そして、次のステップ605で、暗電流検出開始後の経過時間Tcntが所定時間KTIOPNTMに達したか否かを判定し、まだ所定時間KTIOPNTMに達していなければ、ステップ606に進み、バッテリ12から流れ出る電流を電流センサ17で検出してその検出値を今回の電流値IOPN(I) とした後、ステップ607に進み、前回の電流積算値ΣIOPN(I-1) に今回の電流値IOPN(I) を積算して暗電流検出開始後の電流積算値ΣIOPN(I) を更新する。
ΣIOPN(I) =ΣIOPN(I-1) +IOPN(I)
Then, in the next step 605, it is determined whether or not the elapsed time Tcnt after the start of dark current detection has reached the predetermined time KTIOPNTM. After the current is detected by the current sensor 17 and the detected value is set to the current value IOPN (I), the process proceeds to step 607, and the current value IOPN (I) is set to the previous current integrated value ΣIOPN (I-1). And the current integrated value ΣIOPN (I) after the start of dark current detection is updated.
ΣIOPN (I) = ΣIOPN (I-1) + IOPN (I)

この後、暗電流検出開始後の経過時間Tcntが所定時間KTIOPNTMに達した時点で、上記ステップ605で、「Yes」と判定されて、ステップ608に進み、暗電流検出開始後の電流積算値ΣIOPNを電流値IOPNの検出回数nで割り算して、暗電流検出開始後の電流平均値ΣIOPN/nを求め、これを暗電流KIOPNとする。
KIOPN=ΣIOPN/n
この後、ステップ609に進み、ソークタイマTcntをリセットして本ルーチンを終了する。その他の事項は、前記実施例4と同じである。
Thereafter, when the elapsed time Tcnt after the start of dark current detection reaches the predetermined time KTIOPNTM, it is determined as “Yes” in the above step 605, and the process proceeds to step 608, where the current integrated value ΣIOPN after the start of dark current detection is determined. Is divided by the number of detections n of the current value IOPN to obtain a current average value ΣIOPN / n after the start of dark current detection, which is defined as the dark current KIOPN.
KIOPN = ΣIOPN / n
Thereafter, the process proceeds to step 609, the soak timer Tcnt is reset, and this routine is terminated. Other matters are the same as those in the fourth embodiment.

以上説明した本実施例6では、キースイッチ13をオン状態に切り換える直前に暗電流を検出することができるため、実際の暗電流を精度良く検出することが可能となる。   In the sixth embodiment described above, since the dark current can be detected immediately before the key switch 13 is turned on, the actual dark current can be detected with high accuracy.

尚、本実施例6では、運転開始予備動作検出手段としてドアスイッチを用いたが、これに代えて、ドアのロック解除を検出するスイッチや、運転席への人の着座を検出するシートスイッチ等を用いるようにしても良く、要は、駐車中の車両のドアの開放、ロック解除、運転席への人の着座等の運転開始予備動作を何等かの方法で検出して暗電流の検出を開始するようにすれば良い。   In the sixth embodiment, the door switch is used as the operation start preliminary operation detecting means. Instead of this, a switch for detecting unlocking of the door, a seat switch for detecting seating of a person on the driver's seat, etc. The key point is to detect the dark current by detecting the preliminary operation of starting the vehicle such as opening the door of the parked vehicle, unlocking it, or seating a person in the driver's seat by some method. Just start.

また、本発明は、上記各実施例1〜6で採用した暗電流検出方法を組み合わせて実施して、複数の方法で検出した暗電流の相加平均値、重み付き平均値、最小値のいずれかを最終的な暗電流とするようにしても良い。例えば、キースイッチ13がオフ状態のときとオン状態のときにそれぞれ暗電流を推定し、推定した2つの暗電流を基に最終的な暗電流を算出するようにしても良い。この際、2つの暗電流を相加平均したり、暗電流の検出時間等に応じて重み係数を設定して重み付き平均値を算出するようにしても良い。   In addition, the present invention is implemented by combining the dark current detection methods employed in the first to sixth embodiments, and any one of the arithmetic average value, the weighted average value, and the minimum value of the dark current detected by a plurality of methods. This may be the final dark current. For example, the dark current may be estimated when the key switch 13 is in the off state and in the on state, and the final dark current may be calculated based on the two estimated dark currents. At this time, an arithmetic average of two dark currents may be calculated, or a weighted average value may be calculated by setting a weighting coefficient in accordance with a dark current detection time or the like.

図14及び図15に示す本発明の実施例7では、上述したいずれかの方法で、キースイッチ13のオン切換直後の充放電電流積算値ISUM(バッテリ充電割合SOCの初期値)を算出して、その充放電電流積算値ISUMに応じて発電電圧と発電時間を設定し、発電機16の発電動作を制御することで、エンジン始動後にバッテリ12の充電状態(バッテリ充電割合SOC)を速やかに目標の状態に回復させるようにしている。   In the seventh embodiment of the present invention shown in FIGS. 14 and 15, the charge / discharge current integrated value ISUM (initial value of the battery charge ratio SOC) immediately after the key switch 13 is switched on is calculated by any of the methods described above. By setting the power generation voltage and the power generation time according to the charge / discharge current integrated value ISUM and controlling the power generation operation of the generator 16, the state of charge of the battery 12 (battery charge ratio SOC) can be quickly targeted after the engine is started. It is trying to recover to the state of.

本実施例7では、制御装置11が図15の発電制御ルーチンを所定周期(例えば5ms周期)で実行することで、特許請求の範囲でいう発電制御手段として機能する。本ルーチンが起動されると、まずステップ701で、バッテリ充電割合SOCの初期値(キースイッチ13のオン切換直後の充放電電流積算値ISUM)を算出済みであるか否かを判定し、算出済みでなければ、以降の処理を行うことなく、本ルーチンを終了する。   In the seventh embodiment, the control device 11 functions as power generation control means in the claims by executing the power generation control routine of FIG. 15 at a predetermined cycle (for example, a cycle of 5 ms). When this routine is started, first, in step 701, it is determined whether or not the initial value of the battery charge rate SOC (the charge / discharge current integrated value ISUM immediately after the key switch 13 is turned on) has been calculated. Otherwise, this routine is terminated without performing the subsequent processing.

これに対して、バッテリ充電割合SOCの初期値を算出済みであれば、ステップ701からステップ702に進み、現在のバッテリ充電割合SOCと目標値との偏差に応じてマップ等により発電電圧と発電時間を設定する。この際、現在のバッテリ充電割合SOCと目標値との偏差(充電不足量)が大きくなるほど、発電電圧を高くしたり、発電時間を長くするように設定される。この際、発電時間を一定にして、発電電圧のみを充電不足量に応じて設定するようにしても良い。   On the other hand, if the initial value of the battery charging rate SOC has been calculated, the process proceeds from step 701 to step 702, where the generated voltage and the generating time are determined by a map or the like according to the deviation between the current battery charging rate SOC and the target value. Set. At this time, the power generation voltage is set higher or the power generation time is lengthened as the deviation (insufficient charge amount) between the current battery charge rate SOC and the target value increases. At this time, the power generation time may be constant and only the power generation voltage may be set according to the insufficient charge amount.

この後、ステップ703に進み、エンジン回転速度NEが発電機16を駆動可能な所定回転速度KNEELE以上に上昇したか否かを判定し、まだ所定回転速度KNEELE以下であれば、何もせずに本ルーチンを終了する。そして、エンジン回転速度NEが発電機16を駆動可能な所定回転速度KNEELE以上に上昇した時点で、ステップ703からステップ704に進み、発電処理を開始する。   Thereafter, the process proceeds to step 703, where it is determined whether or not the engine rotational speed NE has risen above a predetermined rotational speed KNEELE that can drive the generator 16, and if it is still below the predetermined rotational speed KNEELE, nothing is done. Exit the routine. Then, when the engine rotation speed NE rises to a predetermined rotation speed KNEELE that can drive the generator 16, the process proceeds from step 703 to step 704 to start power generation processing.

以上説明した本実施例7のように、発電機16の発電動作を制御すれば、エンジン始動後にバッテリ充電状態を速やかに目標の状態に回復させることができる。   If the power generation operation of the generator 16 is controlled as in the seventh embodiment described above, the battery charge state can be quickly restored to the target state after the engine is started.

実施例1のシステム構成を説明するブロック図である。1 is a block diagram illustrating a system configuration of Embodiment 1. FIG. 実施例1の制御例を説明するタイムチャートである。3 is a time chart for explaining a control example of the first embodiment. 実施例1の充放電電流積算値演算ルーチンの処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of processing of a charge / discharge current integrated value calculation routine according to the first embodiment. 実施例2の制御例を説明するタイムチャートである。6 is a time chart for explaining a control example of the second embodiment. 実施例2の充放電電流積算値演算ルーチンの処理の流れを示すフローチャートである。6 is a flowchart showing a processing flow of a charge / discharge current integrated value calculation routine according to a second embodiment. 実施例3の制御例を説明するタイムチャートである。10 is a time chart illustrating a control example of Example 3. 実施例3の暗電流検出ルーチンの処理の流れを示すフローチャートである。10 is a flowchart illustrating a flow of processing of a dark current detection routine according to the third embodiment. 実施例4の制御例を説明するタイムチャートである。10 is a time chart for explaining a control example of the fourth embodiment. 実施例4の暗電流検出ルーチンの処理の流れを示すフローチャートである。12 is a flowchart illustrating a flow of processing of a dark current detection routine according to the fourth embodiment. 実施例5の制御例を説明するタイムチャートである。10 is a time chart for explaining a control example of Embodiment 5. 実施例5の暗電流検出ルーチンの処理の流れを示すフローチャートである。10 is a flowchart illustrating a flow of processing of a dark current detection routine according to a fifth embodiment. 実施例6の制御例を説明するタイムチャートである。10 is a time chart for explaining a control example of Embodiment 6. 実施例6の暗電流検出ルーチンの処理の流れを示すフローチャートである。18 is a flowchart illustrating a flow of processing of a dark current detection routine according to the sixth embodiment. 実施例7の制御例を説明するタイムチャートである。10 is a time chart illustrating a control example of Example 7. 実施例7の発電制御ルーチンの処理の流れを示すフローチャートである。12 is a flowchart showing a flow of processing of a power generation control routine of Example 7.

符号の説明Explanation of symbols

11…制御装置(充電状態推定手段,発電制御手段)、12…バッテリ、13…キースイッチ、16…発電機、17…電流センサ(電流検出手段)、18…ソークタイマ(オフ状態継続時間判定手段)、19…バックアップRAM(書き換え可能な不揮発性メモリ)   DESCRIPTION OF SYMBOLS 11 ... Control apparatus (charge condition estimation means, power generation control means), 12 ... Battery, 13 ... Key switch, 16 ... Generator, 17 ... Current sensor (current detection means), 18 ... Soak timer (OFF state duration determination means) , 19 ... Backup RAM (rewritable nonvolatile memory)

Claims (9)

車両に搭載されたバッテリと、前記バッテリから車載電気機器への電源供給をオン・オフするキースイッチと、前記バッテリの充放電電流を検出する電流検出手段と、前記キースイッチのオン期間中に前記電流検出手段で検出した充放電電流に基づいて前記バッテリの充電状態を推定する充電状態推定手段と、前記キースイッチがオフ状態に切り換えられたときに前記充電状態推定手段で推定したバッテリ充電状態の推定値を記憶する書き換え可能な不揮発性メモリとを備えた車両において、
前記キースイッチがオフ状態に切り換えられてからオン状態に切り換えられるまでの時間(以下「オフ状態継続時間」という)を判定するオフ状態継続時間判定手段を備え、
前記充電状態推定手段は、前記キースイッチがオン状態に切り換えられたときに前記不揮発性メモリに記憶されているオフ切換時のバッテリ充電状態の推定値と前記オフ状態継続時間判定手段で判定したオフ状態継続時間と前記キースイッチのオフ期間中に前記バッテリから流れ出る電流(以下「暗電流」という)とに基づいてオン切換時のバッテリ充電状態を推定することを特徴とする車両のバッテリ充電状態推定装置。
A battery mounted on a vehicle, a key switch for turning on / off power supply from the battery to an in-vehicle electrical device, current detection means for detecting a charge / discharge current of the battery, and the key switch during an on period of the key switch Charge state estimation means for estimating a charge state of the battery based on a charge / discharge current detected by the current detection means; and a battery charge state estimated by the charge state estimation means when the key switch is switched to an off state. In a vehicle equipped with a rewritable nonvolatile memory for storing an estimated value,
An off-state duration determination unit that determines a time from when the key switch is switched to the off-state until the key switch is switched to the on-state (hereinafter referred to as “off-state duration”);
The charging state estimation means is an off-state value determined by the estimated value of the battery charging state at the time of off-switching stored in the nonvolatile memory and the off-state duration determination means when the key switch is turned on. A battery charge state estimation for a vehicle characterized in that a battery charge state at the time of switching on is estimated based on a state duration and a current (hereinafter referred to as “dark current”) flowing out of the battery during an off period of the key switch. apparatus.
時刻の情報を出力する計時手段を備え、
前記不揮発性メモリには、前記キースイッチのオフ切換時の時刻を記憶し、
前記オフ状態継続時間判定手段は、前記キースイッチのオン切換時に前記計時手段から出力されるオン切換時の時刻と前記不揮発性メモリに記憶されているオフ切換時の時刻とに基づいて前記オフ状態継続時間を算出することを特徴とする請求項1に記載の車両のバッテリ充電状態推定装置。
It has time measuring means to output time information,
The nonvolatile memory stores the time when the key switch is switched off,
The off-state duration determination unit is configured to determine the off-state based on an on-switching time output from the timing unit when the key switch is switched on and an off-switching time stored in the nonvolatile memory. 2. The vehicle battery state of charge estimation apparatus according to claim 1, wherein the duration time is calculated.
前記充電状態推定手段は、前記暗電流を予め決められた一定電流値とみなしてオン切換時のバッテリ充電状態を推定することを特徴とする請求項1又は2に記載の車両のバッテリ充電状態推定装置。   The battery state of charge estimation for a vehicle according to claim 1 or 2, wherein the state of charge estimation means regards the dark current as a predetermined constant current value and estimates a battery state of charge when switching on. apparatus. 前記充電状態推定手段は、前記キースイッチがオン状態に切り換えられてからスタータへの通電が開始されるまでの期間に前記バッテリから流れ出る電流を前記電流検出手段で検出してその検出値に基づいて前記暗電流を推定することを特徴とする請求項1又は2に記載の車両のバッテリ充電状態推定装置。   The charging state estimation means detects current flowing out from the battery during a period from when the key switch is turned on to when start of energization to the starter, and based on the detected value. The battery charge state estimation device for a vehicle according to claim 1, wherein the dark current is estimated. 前記充電状態推定手段は、前記キースイッチがオン状態に切り換えられてから車載電気機器への電源供給を開始するまでに遅れ時間を持たせ、その遅れ時間中に前記バッテリから流れ出る電流を前記電流検出手段で検出してその検出値に基づいて前記暗電流を推定することを特徴とする請求項1又は2に記載の車両のバッテリ充電状態推定装置。   The charge state estimation means has a delay time from when the key switch is turned on to when the power supply to the vehicle-mounted electrical device is started, and the current detected from the battery during the delay time is detected by the current 3. The vehicle battery charge state estimation device according to claim 1, wherein the dark current is estimated based on the detected value by means. 前記充電状態推定手段は、前記キースイッチがオフ状態に切り換えられてから所定時間経過後に前記バッテリから流れ出る電流を前記電流検出手段で検出してその検出値に基づいて前記暗電流を推定することを特徴とする請求項1又は2に記載の車両のバッテリ充電状態推定装置。   The charging state estimating means detects the current flowing out of the battery after a predetermined time has elapsed after the key switch is turned off, and estimates the dark current based on the detected value. The battery state-of-charge estimation device for a vehicle according to claim 1 or 2, characterized by the above-mentioned. 駐車中の車両のドアの開放、ロック解除、運転席への人の着座等のうちの少なくとも1つの運転開始予備動作を検出する運転開始予備動作検出手段を備え、
前記充電状態推定手段は、前記運転開始予備動作検出手段で運転開始予備動作が検出されてから前記キースイッチがオン状態に切り換えられるまでの期間に前記バッテリから流れ出る電流を前記電流検出手段で検出してその検出値に基づいて前記暗電流を推定することを特徴とする請求項1又は2に記載の車両のバッテリ充電状態推定装置。
A driving start preliminary operation detecting means for detecting at least one driving start preliminary operation among opening of a door of a parked vehicle, unlocking, seating of a person in a driver seat, and the like;
The charge state estimation means detects current flowing from the battery during a period from when the operation start preliminary operation detection means is detected to when the key switch is turned on, to the current detection means. The vehicle battery state of charge estimation device according to claim 1, wherein the dark current is estimated based on the detected value.
前記充電状態推定手段は、前記キースイッチがオフ状態のときとオン状態のときにそれぞれ前記暗電流を推定し、推定した2つの暗電流を基に最終的な暗電流を算出することを特徴とする請求項1乃至7のいずれかに記載の車両のバッテリ充電状態推定装置。   The charge state estimation means estimates the dark current when the key switch is in an off state and an on state, respectively, and calculates a final dark current based on the two estimated dark currents. The battery state-of-charge estimation device for a vehicle according to any one of claims 1 to 7. 前記バッテリに充電する発電機と、
前記充電状態推定手段で推定したバッテリ充電状態に応じて前記発電機の発電動作を制御する発電制御手段と
を備えていることを特徴とする請求項1乃至8のいずれかに記載の車両のバッテリ充電状態推定装置。
A generator for charging the battery;
The vehicle battery according to claim 1, further comprising: a power generation control unit that controls a power generation operation of the generator according to a battery charge state estimated by the charge state estimation unit. Charge state estimation device.
JP2005019167A 2005-01-27 2005-01-27 Vehicle battery charge state estimation device Expired - Fee Related JP4311357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005019167A JP4311357B2 (en) 2005-01-27 2005-01-27 Vehicle battery charge state estimation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005019167A JP4311357B2 (en) 2005-01-27 2005-01-27 Vehicle battery charge state estimation device

Publications (2)

Publication Number Publication Date
JP2006211800A true JP2006211800A (en) 2006-08-10
JP4311357B2 JP4311357B2 (en) 2009-08-12

Family

ID=36968035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005019167A Expired - Fee Related JP4311357B2 (en) 2005-01-27 2005-01-27 Vehicle battery charge state estimation device

Country Status (1)

Country Link
JP (1) JP4311357B2 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009227189A (en) * 2008-03-25 2009-10-08 Mazda Motor Corp Battery monitoring device and battery control device using the monitoring device
US8049367B2 (en) * 2008-07-28 2011-11-01 Toyota Jidosha Kabushiki Kaisha Power supply system, vehicle with the power supply system and power supply system control method
JP2012112286A (en) * 2010-11-24 2012-06-14 Daihatsu Motor Co Ltd Control device of idle stop vehicle
JP2012210130A (en) * 2011-03-30 2012-10-25 Sony Corp Power storage device, power storage method, and program
CN103442933A (en) * 2010-12-23 2013-12-11 法雷奥电机控制系统公司 Device and method of dc/dc conversion in the on board network of a vehicle
JP2014083917A (en) * 2012-10-22 2014-05-12 Denso Corp Battery condition monitoring system for vehicle
JP2016116255A (en) * 2014-12-11 2016-06-23 富士重工業株式会社 Electric power supply unit
JP2016116256A (en) * 2014-12-11 2016-06-23 富士重工業株式会社 Electric power supply unit
JP2017229179A (en) * 2016-06-23 2017-12-28 ダイハツ工業株式会社 Battery residual amount calculation device
JP2018146416A (en) * 2017-03-07 2018-09-20 株式会社Gsユアサ Management device of electrochemical element
CN108725352A (en) * 2017-04-19 2018-11-02 福特全球技术公司 The vehicle control module activation of drive route is determined under ignition switch off state
US10514423B2 (en) 2016-03-01 2019-12-24 Gs Yuasa International Ltd. Monitoring device for energy storage device, energy storage device module, and method of estimating SOC
CN111913119A (en) * 2019-05-08 2020-11-10 丰田自动车株式会社 State of charge estimation device
CN111948534A (en) * 2020-07-31 2020-11-17 华北电力科学研究院有限责任公司 Generator state early warning method and system
JP7473056B2 (en) 2023-05-29 2024-04-23 トヨタ自動車株式会社 Charging rate estimator

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009227189A (en) * 2008-03-25 2009-10-08 Mazda Motor Corp Battery monitoring device and battery control device using the monitoring device
US8049367B2 (en) * 2008-07-28 2011-11-01 Toyota Jidosha Kabushiki Kaisha Power supply system, vehicle with the power supply system and power supply system control method
JP2012112286A (en) * 2010-11-24 2012-06-14 Daihatsu Motor Co Ltd Control device of idle stop vehicle
CN103442933A (en) * 2010-12-23 2013-12-11 法雷奥电机控制系统公司 Device and method of dc/dc conversion in the on board network of a vehicle
JP2012210130A (en) * 2011-03-30 2012-10-25 Sony Corp Power storage device, power storage method, and program
US9193276B2 (en) 2011-03-30 2015-11-24 Sony Corporation Power storage device, power storage method, and program
JP2014083917A (en) * 2012-10-22 2014-05-12 Denso Corp Battery condition monitoring system for vehicle
JP2016116255A (en) * 2014-12-11 2016-06-23 富士重工業株式会社 Electric power supply unit
JP2016116256A (en) * 2014-12-11 2016-06-23 富士重工業株式会社 Electric power supply unit
US10514423B2 (en) 2016-03-01 2019-12-24 Gs Yuasa International Ltd. Monitoring device for energy storage device, energy storage device module, and method of estimating SOC
JP2017229179A (en) * 2016-06-23 2017-12-28 ダイハツ工業株式会社 Battery residual amount calculation device
JP2018146416A (en) * 2017-03-07 2018-09-20 株式会社Gsユアサ Management device of electrochemical element
US10739409B2 (en) 2017-03-07 2020-08-11 Gs Yuasa International Ltd. Managing apparatus for electrochemical element
CN108725352A (en) * 2017-04-19 2018-11-02 福特全球技术公司 The vehicle control module activation of drive route is determined under ignition switch off state
CN111913119A (en) * 2019-05-08 2020-11-10 丰田自动车株式会社 State of charge estimation device
JP2020183908A (en) * 2019-05-08 2020-11-12 トヨタ自動車株式会社 Charging rate estimation device
CN111913119B (en) * 2019-05-08 2023-12-05 丰田自动车株式会社 Charge state estimating device
CN111948534A (en) * 2020-07-31 2020-11-17 华北电力科学研究院有限责任公司 Generator state early warning method and system
CN111948534B (en) * 2020-07-31 2023-05-05 华北电力科学研究院有限责任公司 Generator state early warning method and system
JP7473056B2 (en) 2023-05-29 2024-04-23 トヨタ自動車株式会社 Charging rate estimator

Also Published As

Publication number Publication date
JP4311357B2 (en) 2009-08-12

Similar Documents

Publication Publication Date Title
JP4311357B2 (en) Vehicle battery charge state estimation device
US8536872B2 (en) Apparatus for estimating charged state of on-vehicle battery
US8770165B2 (en) Automatic engine control device
JP6029751B2 (en) Storage battery state detection device and storage battery state detection method
US20040257045A1 (en) Automotive battery state monitor apparatus
CN107797068B (en) Battery functional state prediction using self-learning
JP2008145349A (en) Battery charging rate estimation method and device, and battery power supply system
JP2007230398A (en) Device and method of monitoring battery
US10641227B2 (en) Electric power system
JP2009244179A (en) Battery discharge duration prediction method, battery status detection method, battery status detection system, and battery power source system
US20150210284A1 (en) Driving environment estimation apparatus and method thereof
JP2008213708A (en) Power source management device for vehicle
CN107615563B (en) State determination device for auxiliary battery and state determination method for auxiliary battery
JP2007055532A (en) Vehicular battery state estimating device
JP5335594B2 (en) Automatic stop and start device for internal combustion engine
JP2010221828A (en) Economy running control device
JP4039323B2 (en) In-vehicle battery status monitoring device
JP4378923B2 (en) Vehicle equipped with a battery charge / discharge current measuring device
JP4703439B2 (en) Eco-run control device and eco-run control method
JP2006137316A (en) Vehicle power source managing device
JP2005014707A (en) Device for monitoring state of on-vehicle battery
JP2009055709A (en) Monitoring device for state of charge of battery and engine controller
JP5203496B2 (en) Battery state detection method, battery state detection device, and battery power supply system
JP4518261B2 (en) Vehicle battery current detection device
JP2007038748A (en) Battery degrading detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080304

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080404

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080912

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081031

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: 20090421

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: 20090504

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

Free format text: PAYMENT UNTIL: 20120522

Year of fee payment: 3

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: 20120522

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130522

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140522

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees