JP2005100682A - Battery charge and discharge current detection device - Google Patents

Battery charge and discharge current detection device Download PDF

Info

Publication number
JP2005100682A
JP2005100682A JP2003329825A JP2003329825A JP2005100682A JP 2005100682 A JP2005100682 A JP 2005100682A JP 2003329825 A JP2003329825 A JP 2003329825A JP 2003329825 A JP2003329825 A JP 2003329825A JP 2005100682 A JP2005100682 A JP 2005100682A
Authority
JP
Japan
Prior art keywords
current
value
battery voltage
predetermined
offset error
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.)
Abandoned
Application number
JP2003329825A
Other languages
Japanese (ja)
Inventor
Tetsuya Nishisato
鉄也 西里
Tadashi Yagumo
正 八雲
Kentaro Kimura
健太郎 木村
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor 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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP2003329825A priority Critical patent/JP2005100682A/en
Publication of JP2005100682A publication Critical patent/JP2005100682A/en
Abandoned legal-status Critical Current

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
    • 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
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Abstract

<P>PROBLEM TO BE SOLVED: To provide a battery charge and discharge current detection device which can detect frequently with a simple structure the offset error contained in the detection value of a current sensor for detecting the charge and discharge current of a battery. <P>SOLUTION: In the detection of an offset error, the consumption current Ig of PWM loading (consumption current variable loading) is fixed to a prescribed value Igo and the power generation amount is controlled so that the detection value Is of a current sensor 11 may become nearly zero (reference value Iso), and the output current Ig of a generator is fixed to a value Igo at the time when the detection value Is of the charge and discharge current has become nearly zero, and changes of the battery voltage Vs after a prescribe time T has passed since the time of this fixing is detected, and, when the voltage change amount ΔVs is within a prescribed range (nearly zero), the detection value Is of the current sensor 11 after the passage of the prescribed time T is made an offset error D. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、バッテリの充放電電流を検出する電流検出装置に関し、電流センサの誤差補正の技術分野に属する。   The present invention relates to a current detection device for detecting a charge / discharge current of a battery, and belongs to the technical field of error correction of a current sensor.

一般に、車両には、車両用電気負荷に電力を供給するバッテリや、車両用電気負荷及びバッテリに電力を供給する発電機が備えられると共に、上記バッテリの充放電電流を検出する電流センサ等が備えられるが、電流センサの検出値には、例えば、真値がゼロであるときに検出値がゼロ以外の値となるオフセット誤差等の誤差が含まれていることがあり、その場合、以下のような問題が生じる。   In general, a vehicle is provided with a battery for supplying electric power to the electric load for the vehicle, a generator for supplying electric power to the electric load for the vehicle and the battery, and a current sensor for detecting the charge / discharge current of the battery. However, the detected value of the current sensor may include an error such as an offset error that causes the detected value to be a value other than zero when the true value is zero. Problems arise.

すなわち、バッテリの残容量は、初期容量に対して、電流センサで検出された充電電流値の積算値(充電量)を加算すると共に放電電流値の積算値(放電量)を減算することにより算出されるが、上記誤差が発生すると、充電量、放電量、及びこれらに基づいて算出されるバッテリの残容量の算出精度が低下し、例えばバッテリの充電時においては、検出された充電電流値(検出値)の方が実際の充電電流値(真値)よりも大きい場合、実充電量が不足してバッテリ上がりをおこす虞があり、検出値の方が真値よりも小さい場合、過充電となってバッテリの劣化を招く虞がある。また、バッテリの放電時においては、検出された放電電流値(検出値)の方が実際の放電電流値(真値)よりも小さい場合、放電過多となってバッテリ上がりをおこす虞があり、検出値の方が真値よりも大きい場合、バッテリの実残容量が算出された残容量より多くなって、次の充電時に過充電を招く虞がある。   That is, the remaining capacity of the battery is calculated by adding the integrated value (charge amount) of the charging current value detected by the current sensor and subtracting the integrated value (discharge amount) of the discharge current value to the initial capacity. However, when the above error occurs, the calculation accuracy of the charge amount, the discharge amount, and the remaining capacity of the battery calculated based on these decreases. For example, when the battery is charged, the detected charge current value ( If the detected value is larger than the actual charging current value (true value), the actual charge amount may be insufficient and the battery may run out. If the detected value is smaller than the true value, There is a risk that the battery will deteriorate. In addition, when the battery is discharged, if the detected discharge current value (detected value) is smaller than the actual discharge current value (true value), there is a possibility that the battery will run out due to excessive discharge. When the value is larger than the true value, the actual remaining capacity of the battery becomes larger than the calculated remaining capacity, which may lead to overcharge at the next charging.

そこで、誤差のうちの大きな比重を占める上記オフセット誤差を検出して電流センサで検出された検出値を補正することがあり、例えば、特許文献1には、電気負荷に電力を供給すると共にバッテリを充電する発電機の出力電流計測用の電流センサの検出値に含まれるオフセット誤差を検出するために発電機の出力電流をゼロにする方法が開示されている。これは、発電機の発電電圧をバッテリ電圧よりも一時的に低下させてバッテリを放電させる(バッテリから電気負荷に電力を供給する)ことにより、発電機の出力電流をゼロとさせるものである。   Therefore, the offset error that occupies a large specific gravity of the error may be detected to correct the detection value detected by the current sensor. For example, in Patent Document 1, power is supplied to an electric load and a battery is connected. In order to detect an offset error included in a detection value of a current sensor for measuring an output current of a generator to be charged, a method of making the generator output current zero is disclosed. In this method, the output current of the generator is made zero by discharging the battery by temporarily lowering the generated voltage of the generator below the battery voltage (supplying electric power from the battery to the electric load).

特開平3−256539号公報JP-A-3-256539

ところで、背景技術で例示したバッテリの充放電電流検出用電流センサのオフセット誤差を検出する場合、バッテリの充放電電流をゼロとする必要があるが、特許文献1のように発電電圧をバッテリ電圧より低下させても、前述のようにバッテリが放電してバッテリから電気負荷に電力が供給されるから、バッテリの充放電電流はゼロとはならない。   By the way, when detecting the offset error of the current sensor for detecting the charge / discharge current of the battery exemplified in the background art, it is necessary to set the charge / discharge current of the battery to zero. Even if the voltage is lowered, the battery is discharged and electric power is supplied from the battery to the electric load as described above. Therefore, the charge / discharge current of the battery does not become zero.

そこで、バッテリの充放電電流がゼロとなるように発電機の発電電圧を制御する方式が考えられるが、そもそもバッテリの充放電電流検出用電流センサの検出値自体に誤差が含まれ、該誤差を検出しようとしているわけであるから、この発電電圧制御に該電流センサの検出値を用いることはできない。   Therefore, a method of controlling the power generation voltage of the generator so that the charging / discharging current of the battery becomes zero can be considered, but the detection value itself of the current sensor for detecting the charging / discharging current of the battery includes an error in the first place. Since it is going to detect, the detected value of this current sensor cannot be used for this power generation voltage control.

そこで、バッテリの充放電電流が確実にゼロとなる状況を作るために、バッテリの充放電回路に、該回路に流れる電流を断続するスイッチを設けることが考えられるが、その場合、充放電回路等の構成が複雑になるだけでなく、該制御は頻繁に行えるものではない。   Therefore, in order to create a situation where the charging / discharging current of the battery is surely zero, it is conceivable to provide a switch for interrupting the current flowing in the charging / discharging circuit of the battery. In addition to the complicated configuration, the control is not frequently performed.

そこで、本発明は、バッテリの充放電電流を検出する電流センサの検出値に含まれるオフセット誤差を簡易な構成でかつ頻繁に検出することができるバッテリ充放電電流検出装置を提供することを課題とする。   Accordingly, an object of the present invention is to provide a battery charge / discharge current detection device capable of frequently detecting an offset error included in a detection value of a current sensor that detects a charge / discharge current of a battery with a simple configuration. To do.

上記課題を解決するために、本発明は、次のように構成したことを特徴とする。   In order to solve the above-mentioned problems, the present invention is configured as follows.

まず、本願の請求項1に記載の発明(以下、第1発明という)は、車両用電気負荷に電力を供給するバッテリと、エンジンに駆動されて上記電気負荷及びバッテリに電力を供給する発電機と、該発電機の発電量を制御する発電量制御手段と、バッテリの充放電電流を検出する電流検出手段とが備えられたバッテリ充放電電流検出装置であって、上記電気負荷のうちの消費電流が可変とされた電気負荷の消費電流を制御する消費電流制御手段と、オフセット誤差の検出時に、該消費電流制御手段を制御して消費電流可変負荷の消費電流を所定値に固定すると共に、上記電流検出手段による充放電電流の検出値が基準値になるように発電量制御手段を制御し、かつ発電機の出力電流を、上記充放電電流の検出値が所定値になったときの値に固定するオフセット誤差検出準備手段と、上記オフセット誤差検出準備手段で発電機の出力電流が固定された時点から所定時間経過後のバッテリ電圧の変化を検出するバッテリ電圧変化検出手段と、該バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内のときは、上記所定時間経過時における電流検出手段の検出値をオフセット誤差とするオフセット誤差検出手段が備えられていることを特徴とする。   First, the invention according to claim 1 of the present application (hereinafter referred to as the first invention) includes a battery that supplies electric power to an electric load for a vehicle, and a generator that is driven by an engine and supplies electric power to the electric load and the battery. A battery charge / discharge current detection device comprising: a power generation amount control means for controlling the power generation amount of the generator; and a current detection means for detecting a charge / discharge current of the battery. Current consumption control means for controlling the current consumption of the electric load whose current is variable, and when detecting an offset error, the current consumption control means is controlled to fix the current consumption of the current consumption variable load to a predetermined value, The power generation amount control means is controlled so that the detection value of the charge / discharge current by the current detection means becomes a reference value, and the output current of the generator is the value when the detection value of the charge / discharge current becomes a predetermined value. Fixed to Offset error detection preparation means, battery voltage change detection means for detecting a change in battery voltage after a predetermined time has elapsed since the output current of the generator was fixed by the offset error detection preparation means, and the battery voltage change detection means When the change in the battery voltage detected in the step is within a predetermined range, an offset error detection unit is provided which uses the detection value of the current detection unit when the predetermined time has elapsed as an offset error.

また、本願の請求項2に記載の発明(以下、第2発明という)は、第1発明において、オフセット誤差検出準備手段は、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲を逸脱した上昇のときは、消費電流制御手段を制御して消費電流可変負荷の消費電流を所定量増加させ、上記変化が所定範囲を逸脱した低下のときは、消費電流可変負荷の消費電流を所定量減少させ、バッテリ電圧変化検出手段は、上記消費電流制御手段によって消費電流可変負荷の消費電流が上記所定量増加または減少された時点から第2所定時間経過後のバッテリ電圧の変化を検出し、オフセット誤差検出手段は、消費電流可変負荷の消費電流が上記のように所定量増加または減少された時点から第2所定時間経過後にバッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内のときは、第2所定時間経過時における電流検出手段の検出値をオフセット誤差とすることを特徴とする。   In the invention according to claim 2 of the present application (hereinafter referred to as the second invention), in the first invention, the offset error detection preparation means includes a battery voltage change detected by the battery voltage change detection means deviating from a predetermined range. If the change is lower than the predetermined range, the current consumption of the variable current consumption load is increased by a predetermined amount. The battery voltage change detecting means detects the change in the battery voltage after the second predetermined time from the time when the current consumption of the variable current consumption load is increased or decreased by the predetermined amount by the current consumption control means, and the offset The error detection means is a battery voltage change detection means after a second predetermined time has elapsed since the current consumption of the current consumption variable load was increased or decreased by a predetermined amount as described above. When issued battery voltage change is within a predetermined range, the detection value of the current detecting means upon elapse second predetermined time, characterized in that the offset error.

そして、本願の請求項3に記載の発明(以下、第3発明という)は、第2発明において、オフセット誤差検出準備手段、バッテリ電圧変化検出手段、及びオフセット誤差検出手段は、消費電流制御手段によって消費電流可変負荷の消費電流が所定量増加または減少された時点から第2所定時間経過後にバッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内でないときは、所定量を縮小して、請求項2に記載の処理を繰り返すことを特徴とする。   The invention according to claim 3 of the present application (hereinafter referred to as the third invention) is the second invention, wherein the offset error detection preparation means, the battery voltage change detection means, and the offset error detection means are controlled by the consumption current control means. If the battery voltage change detected by the battery voltage change detecting means is not within the predetermined range after the second predetermined time has elapsed since the current consumption of the current consumption variable load is increased or decreased by a predetermined amount, the predetermined amount is reduced, The process according to claim 2 is repeated.

また、本願の請求項4に記載の発明(以下、第4発明という)は、第3発明において、バッテリ電圧変化検出手段の作動回数をカウントするカウンタ手段が備えられており、オフセット誤差検出手段は、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、カウンタ手段でカウントされたバッテリ電圧変化検出手段の作動回数が所定回数に達したときは、所定回数に達したときの電流検出手段の検出値をオフセット誤差とすることを特徴とする。   The invention according to claim 4 of the present application (hereinafter referred to as the fourth invention) is provided with counter means for counting the number of times of operation of the battery voltage change detecting means in the third invention, and the offset error detecting means is Even when the battery voltage change detected by the battery voltage change detecting means is not within the predetermined range, when the number of operation times of the battery voltage change detecting means counted by the counter means reaches the predetermined number, the predetermined number has been reached. In this case, the detected value of the current detecting means is an offset error.

また、本願の請求項5に記載の発明(以下、第5発明という)は、第3発明において、バッテリ電圧変化検出手段の作動回数をカウントするカウンタ手段が備えられており、オフセット誤差検出手段は、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、カウンタ手段でカウントされたバッテリ電圧変化検出手段の作動回数が所定回数に達したときは、所定回数に達したときの電流検出手段の検出値と前回の電流検出手段の検出値との平均値をオフセット誤差とすることを特徴とする。   Further, the invention according to claim 5 of the present application (hereinafter referred to as the fifth invention) is provided with counter means for counting the number of operation times of the battery voltage change detecting means in the third invention, and the offset error detecting means is Even when the battery voltage change detected by the battery voltage change detecting means is not within the predetermined range, when the number of operation times of the battery voltage change detecting means counted by the counter means reaches the predetermined number, the predetermined number has been reached. The average value of the detected value of the current detecting means and the previous detected value of the current detecting means is used as an offset error.

そして、本願の請求項6に記載の発明(以下、第6発明という)は、第3発明において、オフセット誤差検出手段は、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、上記消費電流可変負荷の消費電流の増加または減少の所定量が所定増減量以下となったときは、該所定増減量以下となったときの電流検出手段の検出値をオフセット誤差とすることを特徴とする。   In the invention according to claim 6 of the present application (hereinafter referred to as the sixth invention), in the third invention, the offset error detecting means is such that the battery voltage change detected by the battery voltage change detecting means is not within a predetermined range. Even when the predetermined amount of increase or decrease in the current consumption of the variable current consumption load is equal to or less than the predetermined increase / decrease amount, the detected value of the current detection means when the predetermined amount of increase / decrease is equal to or less than the predetermined increase / decrease amount It is characterized by that.

次に、本発明の効果について説明する。   Next, the effect of the present invention will be described.

まず、第1発明によれば、オフセット誤差の検出準備として、消費電流可変負荷の消費電流が所定値に制御されると共に、発電量の制御により充放電電流の検出値が基準値になるように制御され、該充放電電流の検出値が基準値となったときの出力電流値に発電機の出力電流が固定される。そして、発電機の出力電流が固定された時点から所定時間経過後のバッテリ電圧の変化が所定範囲内のときは、上記所定時間経過時における電流検出手段の検出値がオフセット誤差とされる。   First, according to the first invention, as preparation for detecting an offset error, the consumption current of the consumption current variable load is controlled to a predetermined value, and the detection value of the charge / discharge current becomes the reference value by controlling the amount of power generation. The output current of the generator is fixed to the output current value when the detected value of the charge / discharge current becomes the reference value. When the change in the battery voltage after a predetermined time has elapsed from the time when the output current of the generator is fixed is within a predetermined range, the detection value of the current detection means when the predetermined time has elapsed is regarded as an offset error.

つまり、所定時間経過後のバッテリ電圧が上昇していることはバッテリに充電電流が流れ、低下していることはバッテリから放電電流が流れていることを意味するが、逆にその電圧変化が所定範囲内ということは、バッテリの充電電流または放電電流がほとんど流れていない、すなわち電流がほぼゼロであることを意味するから、このときの検出値をオフセット誤差とするのである。   That is, when the battery voltage increases after a predetermined time elapses, charging current flows through the battery, and when it decreases, discharging current flows from the battery. Within the range means that the battery charging current or discharging current hardly flows, that is, the current is almost zero, and the detected value at this time is set as an offset error.

しかも、第1発明によれば、検出用の機器を新たに設けることなく、簡易な構成でオフセット誤差を検出することができる。また、バッテリ電圧の変化は短時間であらわれるので、幾度となく頻繁にオフセット誤差の検出制御を実行することができるだけでなく、バッテリ電圧変化の検出中に電気負荷の作動状態が変動(電気負荷の新規作動や作動停止)するケースは希であるから、ほぼ確実に検出制御を完遂することができる。   Moreover, according to the first invention, it is possible to detect the offset error with a simple configuration without newly providing a detection device. In addition, since the change in the battery voltage appears in a short time, not only can the offset error detection control be executed frequently and frequently, but also the operating state of the electric load fluctuates during the detection of the battery voltage change (the electric load Since there are rare cases of new operation or operation stoppage, detection control can be completed almost certainly.

また、第2発明によれば、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲を逸脱した上昇のときは、消費電流可変負荷の消費電流が所定量増加され、上記変化が所定範囲を逸脱した低下のときは、消費電流可変負荷の消費電流が所定量減少される。そして、消費電流可変負荷の消費電流が上記所定量増加または減少された時点から第2所定時間経過後のバッテリ電圧の変化が所定範囲内のときは、第2所定時間経過時における電流検出手段の検出値がオフセット誤差とされる。   According to the second aspect of the invention, when the battery voltage change detected by the battery voltage change detecting means rises outside the predetermined range, the current consumption of the current consumption variable load is increased by a predetermined amount, and the change is within the predetermined range. In the case of a drop that deviates from, the current consumption of the current consumption variable load is reduced by a predetermined amount. When the change in the battery voltage after the second predetermined time has elapsed from the time when the current consumption of the variable current consumption load is increased or decreased by the predetermined amount, the current detection means at the time when the second predetermined time has elapsed The detected value is an offset error.

つまり、第1発明と比較すると、オフセット誤差が検出される確率が増加すると共に、検出されたオフセット誤差の精度が向上する。   That is, as compared with the first invention, the probability that an offset error is detected increases and the accuracy of the detected offset error is improved.

そして、第3発明によれば、消費電流可変負荷の消費電流が所定量増加または減少された時点から第2所定時間経過後のバッテリ電圧変化が所定電圧範囲内にないときは所定量を縮小して、請求項2の処理が繰り返し実行されることとなる。つまり、オフセット誤差がより確実に検出されると共に、検出したオフセット誤差の精度が一層向上する。   According to the third aspect of the present invention, the predetermined amount is reduced when the change in the battery voltage after the second predetermined time has elapsed from the time when the consumption current of the variable consumption current load is increased or decreased by the predetermined amount. Thus, the process of claim 2 is repeatedly executed. That is, the offset error is detected more reliably and the accuracy of the detected offset error is further improved.

また、第4発明によれば、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、バッテリ電圧変化検出手段の作動回数が所定回数に達したときは、所定回数に達したときの電流検出手段の検出値がオフセット誤差とされる。つまり、第3発明ではオフセット誤差が検出されるまで、オフセット誤差検出のための制御が繰り返し実行されることとなるが、実用上は、所定回数実行すれば問題のない程度にまでオフセット誤差の検出精度は向上する。そこで、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、所定回数実行した時点で、本制御を終了するようにしたのである。また、これによれば、いつまでも長時間にわたり本制御が実行されるのが回避される。   According to the fourth aspect of the invention, even when the battery voltage change detected by the battery voltage change detecting means is not within the predetermined range, when the number of operation times of the battery voltage change detecting means reaches the predetermined number, the predetermined number of times is reached. The detected value of the current detection means when it is reached is taken as an offset error. That is, in the third invention, the control for detecting the offset error is repeatedly executed until the offset error is detected. However, in practice, the offset error is detected to the extent that there is no problem if it is executed a predetermined number of times. Accuracy is improved. Therefore, even when the battery voltage change detected by the battery voltage change detecting means is not within the predetermined range, this control is terminated when the predetermined number of times is executed. Moreover, according to this, it is avoided that this control is performed for a long time forever.

また、第5発明によれば、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、バッテリ電圧変化検出手段の作動回数が所定回数に達したときは、所定回数に達したときの電流検出手段の検出値と前回の電流検出手段の検出値との平均値がオフセット誤差とされる。つまり、消費電流可変負荷の消費電流の増量と減量とが交互に繰り返された場合、オフセット誤差を上記平均値とすることにより、検出回数は少なくても、より精度の高いオフセット誤差を検出することができるのである。   According to the fifth aspect of the invention, even when the battery voltage change detected by the battery voltage change detecting means is not within the predetermined range, when the number of operation times of the battery voltage change detecting means reaches the predetermined number, the predetermined number of times is reached. The average value of the detection value of the current detection means when reached and the detection value of the previous current detection means is taken as the offset error. In other words, when the increase and decrease of the consumption current of the consumption current variable load are repeated alternately, the offset error is set to the above average value, so that a more accurate offset error can be detected even if the number of detections is small. Can do it.

そして、第6発明によれば、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、消費電流可変負荷の消費電流の増加または減少の所定量が所定増減量以下となったときは、該所定増減量以下となったときの電流検出手段の検出値がオフセット誤差とされる。つまり、消費電流可変負荷の消費電流の増加または減少の所定量が所定増減量以下となったときは、十分にオフセット誤差の検出精度を確保することができるからである。   According to the sixth aspect of the invention, even when the battery voltage change detected by the battery voltage change detecting means is not within the predetermined range, the predetermined amount of increase or decrease of the consumption current of the consumption current variable load is equal to or less than the predetermined increase / decrease amount. When this happens, the detected value of the current detection means when the amount is less than or equal to the predetermined increase / decrease amount is taken as an offset error. That is, when the predetermined amount of increase or decrease in the consumption current of the consumption current variable load is equal to or less than the predetermined increase / decrease amount, it is possible to sufficiently secure the detection accuracy of the offset error.

以下、本発明を実施するための最良の形態に係るバッテリ充放電電流検出装置について説明する。   Hereinafter, a battery charge / discharge current detecting apparatus according to the best mode for carrying out the present invention will be described.

図1は、第1の最良の形態に係るバッテリ充放電電流検出装置1の構成を示している。該車両には、車両用電気負荷2に電力を供給するバッテリ3と、上記車両用電気負荷2に電力を供給すると共にバッテリ3を充電する発電機4とが備えられている。ここで、バッテリ3は自動車用に一般的に用いられる鉛蓄電池であり、発電機4はオルタネータ及び出力電圧調整用のレギュレータ等で構成されている。また、車両用電気負荷2としては、エアコン、ヘッドランプ、デフォッガ等の負荷の他、PWM(Pulse Width Modulation)制御により消費電流値Igが任意に制御可能な、例えばラジエータを強制冷却する電動ファン、変速機オイル用ポンプ、燃料ポンプ等の消費電流可変負荷2a(以後、「PWM負荷2a」という)が備えられている。   FIG. 1 shows a configuration of a battery charge / discharge current detection device 1 according to the first best mode. The vehicle is provided with a battery 3 for supplying electric power to the vehicle electric load 2 and a generator 4 for supplying electric power to the vehicle electric load 2 and charging the battery 3. Here, the battery 3 is a lead storage battery generally used for automobiles, and the generator 4 is constituted by an alternator, a regulator for adjusting output voltage, and the like. Further, as the electric load 2 for the vehicle, in addition to loads such as an air conditioner, a headlamp, and a defogger, a current consumption Ig can be arbitrarily controlled by PWM (Pulse Width Modulation) control, for example, an electric fan for forcibly cooling a radiator, A variable consumption current load 2a (hereinafter referred to as “PWM load 2a”) such as a transmission oil pump and a fuel pump is provided.

また、この車両には、コントロールユニット10と、バッテリ3の充放電電流値を検出する電流センサ11と、バッテリ3の端子電圧を検出するバッテリ電圧センサ12とが備えられている。そして、コントロールユニット10は、これらのセンサ11,12からの信号を入力すると共に、該信号に基づいて発電機4の出力電圧を制御することにより、バッテリ3の充放電、及びバッテリ3の残容量を制御する。   In addition, the vehicle includes a control unit 10, a current sensor 11 that detects a charge / discharge current value of the battery 3, and a battery voltage sensor 12 that detects a terminal voltage of the battery 3. The control unit 10 inputs signals from these sensors 11 and 12 and controls the output voltage of the generator 4 based on the signals, thereby charging and discharging the battery 3 and the remaining capacity of the battery 3. To control.

ところで、背景技術で説明したように、一般に電流センサの検出値にはオフセット誤差等の誤差が含まれている。これを、図2を用いて説明すると、検出値Yの真値Xに対する理想的な特性は、実線で示すようにY=Xの特性となるべきであるが、オフセット誤差Dにより、点線で示すようにY=X+Dの特性となってしまう。その場合、バッテリの残容量制御の精度が低下するので、これを防止するためには、Y=X+Dという特性で出力された検出値を、理想特性Y=Xに一致させる補正をおこなえばよい。すなわち上記実特性の式を変形したX=Y−Dにより検出値Yから真値Xを逆算する処理を行えばよい。なお、実際は、該変形式により求められる数値は真の真値Xでなく、検出値Yから求められる真値相当の値X′であるから、誤解を生じないよう、X′=Y−Dとし、以後これを検出値補正式と呼ぶ。   By the way, as described in the background art, the detection value of the current sensor generally includes an error such as an offset error. This will be described with reference to FIG. 2. The ideal characteristic of the detected value Y with respect to the true value X should be Y = X as indicated by the solid line, but is indicated by the dotted line due to the offset error D. Thus, Y = X + D characteristics are obtained. In this case, since the accuracy of the remaining battery capacity control is lowered, in order to prevent this, the detection value output with the characteristic Y = X + D may be corrected so as to coincide with the ideal characteristic Y = X. That is, a process of calculating back the true value X from the detected value Y by X = Y−D, which is a modification of the above actual characteristic formula, may be performed. Actually, since the numerical value obtained by the modified expression is not the true true value X but the true value X ′ obtained from the detected value Y, X ′ = Y−D is set so as not to cause misunderstanding. Hereinafter, this is referred to as a detection value correction formula.

その場合に、該式に基づいて検出値を補正するには、オフセット誤差Dを把握する必要があるが、バッテリの充放電電流検出用の電流センサのオフセット誤差の検出に際しては、背景技術でも説明したようなさまざまな問題がある。   In this case, in order to correct the detection value based on the equation, it is necessary to grasp the offset error D. However, the detection of the offset error of the current sensor for detecting the charge / discharge current of the battery is also described in the background art. There are various problems.

そこで、本実施の形態においては、コントロールユニット10は、オフセット誤差の検出に際して、PWM負荷2aに制御信号aを出力してその消費電流Ipを所定値Ipoに固定すると共に、発電機4に制御信号bを出力して電流センサ11による充放電電流の検出値Isが基準値Iso(本実施の形態においてはほぼ0に)なるように発電量を制御し、かつ発電機4の出力電流Igを、上記充放電電流の検出値Isが基準値Isoになったときの値Igoに固定する。そして、発電機4の出力電流Igが固定された時点から所定時間T経過後のバッテリ電圧Vsの変化を検出し、該バッテリ電圧変化が所定範囲内(ほぼゼロ(例えばゼロ±1(A)の範囲内))のときは、上記所定時間T経過時における電流センサ11の検出値Aをオフセット誤差Dとする。以下、図3のフローチャートを用いて、コントロールユニット10による本オフセット誤差検出制御について詳細に説明する。   Therefore, in the present embodiment, when detecting the offset error, the control unit 10 outputs the control signal a to the PWM load 2a and fixes the current consumption Ip to a predetermined value Ipo, and also supplies the control signal to the generator 4. b is output to control the amount of power generation so that the detected value Is of the charge / discharge current by the current sensor 11 becomes the reference value Iso (approximately 0 in the present embodiment), and the output current Ig of the generator 4 is The detection value Is of the charge / discharge current is fixed to the value Igo when the reference value Iso is reached. Then, a change in the battery voltage Vs after the elapse of a predetermined time T from the time when the output current Ig of the generator 4 is fixed is detected, and the change in the battery voltage is within a predetermined range (almost zero (eg, zero ± 1 (A)). In the range)), the detected value A of the current sensor 11 when the predetermined time T elapses is set as the offset error D. Hereinafter, the offset error detection control by the control unit 10 will be described in detail with reference to the flowchart of FIG.

まず、ステップS1では、オフセット誤差の検出条件が成立しているか否かを判定する。ここで、オフセット誤差の検出条件が成立しているか否かは、このオフセット誤差検出のための制御を実行することにより上記PWM負荷2aの機能を損なわないか否かの観点から判定される。例えば、PWM負荷2aが電動ファンである場合、エンジンの冷却水温が高いときにオフセット誤差の検出制御のための制御を行うと、電動ファンの本来の機能を十分に発揮することができなくなる。そこで、そのようなときにはオフセット誤差の検出制御が実行されないようにオフセット誤差を検出可能な状態でないと判定する。一方、冷却水温が低いときや、電動ファンが停止しているときは、電動ファンの機能を損なうことがないから、オフセット誤差を検出可能な状態であると判定する。   First, in step S1, it is determined whether an offset error detection condition is satisfied. Here, whether or not the offset error detection condition is satisfied is determined from the viewpoint of not impairing the function of the PWM load 2a by executing the control for detecting the offset error. For example, when the PWM load 2a is an electric fan, if the control for detecting the offset error is performed when the cooling water temperature of the engine is high, the original function of the electric fan cannot be fully exhibited. Therefore, in such a case, it is determined that the offset error cannot be detected so that the offset error detection control is not executed. On the other hand, when the cooling water temperature is low or the electric fan is stopped, the function of the electric fan is not impaired, and it is determined that the offset error can be detected.

そして、ステップS1の判定がYESのとき、すなわちオフセット誤差の検出条件が成立しているときは、ステップS2で、PWM負荷2aの消費電流Ipを所定値Ipoに制御する。ここで、この所定値Ipoは、PWM負荷2aの最大消費電流のほぼ中間(半分)の値とされる。例えば電動ファンの最大消費電流が15Aであれば8Aというようにである。これは、後述するが、この消費電流Ipを増減するときにいずれの方向にもほぼ同量の増減量を確保することを目的とする。   When the determination in step S1 is YES, that is, when the offset error detection condition is satisfied, the consumption current Ip of the PWM load 2a is controlled to a predetermined value Ipo in step S2. Here, the predetermined value Ipo is set to a value approximately half (half) of the maximum consumption current of the PWM load 2a. For example, if the maximum current consumption of the electric fan is 15A, it is 8A. As will be described later, the purpose of this is to ensure substantially the same increase / decrease amount in any direction when increasing / decreasing the current consumption Ip.

次いで、ステップS3で、電流センサ11の検出値Isを読み込み、ステップS4で、電流センサ11の検出値Isがゼロ(前述の基準値Iso)になるように発電機4の発電量を制御する。なお、この基準値Isoは、ゼロでなくても、電流センサ11の最大誤差(例えば±3(A))の範囲であれば他の値でもよい。そして、ステップS5で、上記検出値Isがほぼゼロか否かを判定する。ここで、ほぼゼロとは、上記検出値Isが所定範囲内、例えばゼロ±1(A)内にあることを意味する。そして、このステップS5の判定がYESのときは、ステップS6で、発電機4の出力電流Igを現在の値Igoに固定し、ステップS7で、電流センサ11及び電圧センサ12の最新の検出値Is,Vsを読み込んで、固定時の値Is1,Vs1として記憶する。一方、上記ステップS5の判定がNOのとき、すなわち上記検出値Isがほぼゼロでないときは、ステップS5でYESと判定されるまでステップS3〜S5の処理を繰り返した後、上記ステップS6,S7を実行する。   Next, in step S3, the detection value Is of the current sensor 11 is read. In step S4, the power generation amount of the generator 4 is controlled so that the detection value Is of the current sensor 11 becomes zero (the above-described reference value Iso). The reference value Iso may not be zero, but may be any other value as long as it is within the maximum error of the current sensor 11 (for example, ± 3 (A)). In step S5, it is determined whether or not the detection value Is is substantially zero. Here, substantially zero means that the detection value Is is within a predetermined range, for example, within zero ± 1 (A). When the determination in step S5 is YES, in step S6, the output current Ig of the generator 4 is fixed to the current value Igo, and in step S7, the latest detection values Is of the current sensor 11 and voltage sensor 12 are fixed. , Vs are read and stored as fixed values Is1, Vs1. On the other hand, when the determination in step S5 is NO, that is, when the detected value Is is not substantially zero, the processes in steps S3 to S5 are repeated until YES is determined in step S5, and then steps S6 and S7 are performed. Execute.

次いで、ステップS8で、上記のように発電機4の出力電流Igを固定した時点から所定時間Tが経過したか否かを判定し、YESのとき、すなわち所定時間Tが経過したときは、ステップS9で、電流センサ11及び電圧センサ12の最新の検出値Is,Vsを読み込んで、所定時間T経過後の値Is2,Vs2として記憶し、ステップS10で、上記所定時間T経過後の値Is2,Vs2から固定時の値Is1,Vs1をそれぞれ減算して、バッテリ電圧Vsの変化量ΔVs、及び充放電電流の変化量ΔIsを算出する。   Next, in step S8, it is determined whether or not the predetermined time T has elapsed since the time when the output current Ig of the generator 4 was fixed as described above. If YES, that is, if the predetermined time T has elapsed, In S9, the latest detected values Is and Vs of the current sensor 11 and the voltage sensor 12 are read and stored as values Is2 and Vs2 after the elapse of the predetermined time T, and values Is2 and Vs2 after the elapse of the predetermined time T in step S10. By subtracting the fixed values Is1 and Vs1 from Vs2, respectively, a change amount ΔVs of the battery voltage Vs and a change amount ΔIs of the charge / discharge current are calculated.

次いで、ステップS11で、上記充放電電流Isの変化量ΔIsがほぼゼロか否か、すなわち発電機4の出力電流IgをIgoに固定したときから上記所定時間T経過後の電流センサ11の検出値Isの変化量ΔIsが、所定範囲内(−α≦ΔIs≦α)にあるか否かを判定し、YESのとき、すなわち上記変化量ΔIsが所定範囲内にあるときは、ステップS12以後を実行する。一方、この判定がNOのとき、すなわち上記変化量ΔIsが所定範囲内にないときは、上記ステップS3に戻り、それ以後の処理を再度実行する。ここで、これは、発電機4の出力電流IgがIgoに固定された後、電気負荷2の作動状態が変動(電気負荷2の新規作動や、作動停止)すると、充放電電流値が変化してオフセット誤差Dを検出することができないので、あらためて、ステップS3から実行し直すのである。   Next, in step S11, whether or not the change amount ΔIs of the charging / discharging current Is is substantially zero, that is, the detected value of the current sensor 11 after the predetermined time T has elapsed since the output current Ig of the generator 4 is fixed to Igo. It is determined whether or not the change amount ΔIs of Is is within a predetermined range (−α ≦ ΔIs ≦ α). If YES, that is, if the change amount ΔIs is within the predetermined range, step S12 and subsequent steps are executed. To do. On the other hand, when this determination is NO, that is, when the change amount ΔIs is not within the predetermined range, the process returns to step S3, and the subsequent processing is executed again. Here, after the output current Ig of the generator 4 is fixed to Igo, the charge / discharge current value changes when the operating state of the electric load 2 fluctuates (new operation of the electric load 2 or operation stop). Since the offset error D cannot be detected, the process is restarted from step S3.

次いで、ステップS12では、上記ステップS10で算出されたバッテリ電圧Vsの変化量ΔVsがほぼゼロか否か、すなわち発電機4の出力電流Igを固定したときから上記所定時間T経過後の電圧センサ12の検出値Vsの変化量ΔVsが、所定範囲内(−β≦ΔV≦β)にあるか否かを判定する。換言すれば、電圧変化ΔVsがほぼゼロ(所定範囲内)ということは、バッテリ3にほとんど充放電電流が流れていないことを意味するから、このステップS12は、バッテリ3の充放電電流がゼロか否か、すなわち、現在の検出値Isをオフセット誤差としてよいか否かを判定するのである。ここで、上記所定値βの値は、オフセット誤差検出の要求精度等を考慮して設定すればよい。そして、このステップS12の判定がYESのとき、すなわち上記変化量ΔVsが所定範囲内にあるときは、そのときの検出値Isをオフセット誤差としてよいわけであるから、ステップS18で、所定時間T経過後における電流センサ11の検出値Is2をオフセット誤差Dとして記憶する。すなわち、上記検出値補正式X′=Y−DのパラメータDの値をこの検出値Is2に書き換える。   Next, in step S12, whether or not the change amount ΔVs of the battery voltage Vs calculated in step S10 is substantially zero, that is, the voltage sensor 12 after the predetermined time T has elapsed from when the output current Ig of the generator 4 is fixed. It is determined whether the change amount ΔVs of the detected value Vs is within a predetermined range (−β ≦ ΔV ≦ β). In other words, the fact that the voltage change ΔVs is almost zero (within a predetermined range) means that almost no charge / discharge current is flowing in the battery 3, so this step S12 is performed when the charge / discharge current of the battery 3 is zero. In other words, it is determined whether or not the current detection value Is may be used as an offset error. Here, the predetermined value β may be set in consideration of the required accuracy of offset error detection and the like. When the determination in step S12 is YES, that is, when the change amount ΔVs is within a predetermined range, the detected value Is at that time may be used as an offset error. The detected value Is2 of the current sensor 11 later is stored as an offset error D. That is, the value of the parameter D in the detection value correction formula X ′ = Y−D is rewritten to this detection value Is2.

一方、上記ステップS12の判定がNOのとき、すなわち上記変化量ΔVsが所定範囲内にないときは、現在の検出値Isをオフセット誤差Dとすべきでないので、上記ステップS18には進まず、ステップS13に進んで、上記ステップS7〜S10の実行回数n、すなわちバッテリ電圧変化の検出回数nをカウントするカウンタnの値に1を加える。なお、nの初期値はゼロであり、このときの加算でnの値は1となる。そして、ステップS14で、このカウンタnの値が所定値N以上か否かを判定し、YESのとき、すなわちカウンタnの値が所定値N以上(所定値Nに達した)のときは、ステップS18で、所定時間T経過後における電流センサ11の検出値Is2をオフセット誤差Dとして記憶する。   On the other hand, when the determination in step S12 is NO, that is, when the change amount ΔVs is not within the predetermined range, the current detection value Is should not be the offset error D. Therefore, the process does not proceed to step S18. Proceeding to S13, 1 is added to the value of the counter n for counting the number of executions n of steps S7 to S10, that is, the number n of detections of battery voltage change. The initial value of n is zero, and the value of n becomes 1 by addition at this time. In step S14, it is determined whether or not the value of the counter n is greater than or equal to a predetermined value N. If YES, that is, if the value of the counter n is greater than or equal to the predetermined value N (has reached the predetermined value N), step In S18, the detected value Is2 of the current sensor 11 after a predetermined time T has elapsed is stored as an offset error D.

一方、ステップS14の判定がNOのとき、すなわちカウンタnの値が所定値N以上でないときは、ステップS15で、上記バッテリ電圧Vsの変化が上昇か否かを判定する。ここで、バッテリ電圧Vsが上昇しているということはバッテリ3が充電状態にあることを意味し、バッテリ電圧Vsが降下していることはバッテリ3が放電状態にあることを意味するから、このステップS15は、バッテリ3が充電状態と放電状態とのいずれの状態にあるかを判定しているのである。   On the other hand, when the determination in step S14 is NO, that is, when the value of the counter n is not equal to or greater than the predetermined value N, it is determined in step S15 whether or not the change in the battery voltage Vs is increased. Here, the fact that the battery voltage Vs is increasing means that the battery 3 is in a charged state, and the fact that the battery voltage Vs is decreasing means that the battery 3 is in a discharging state. Step S15 determines whether the battery 3 is in a charged state or a discharged state.

そして、このステップS15の判定がYESのとき、すなわちバッテリ電圧Vsの変化が上昇のときは、ステップS16で、バッテリ3の充電電流が減少するように、PWM負荷2aの消費電流Ipを所定量K増量して上記ステップS7以後を再度実行し、ステップS15の判定がNOのとき、すなわちバッテリ電圧Vsの変化が上昇でないとき(下降のとき)は、ステップS17で、バッテリ3の放電電流が減少するように、PWM負荷2aの消費電流Ipを上記所定量K減量して上記ステップS7以後を再度実行する。   When the determination in step S15 is YES, that is, when the change in the battery voltage Vs is increased, in step S16, the consumption current Ip of the PWM load 2a is reduced by a predetermined amount K so that the charging current of the battery 3 decreases. When the determination in step S15 is NO, that is, when the change in the battery voltage Vs is not an increase (when it is decreasing), the discharge current of the battery 3 decreases in step S17. As described above, the current consumption Ip of the PWM load 2a is reduced by the predetermined amount K, and the steps after step S7 are executed again.

すなわち、ステップS7で、PWM負荷2aの消費電流Ipを所定量K増量又は減量したときにおける電流センサ11及び電圧センサ12の最新の検出値Is,Vsを読み込んで、増量または減量したときの値Is1,Vs1として記憶し、所定時間T経過後に、ステップS9で、電流センサ11及び電圧センサ12の最新の検出値Is,Vsを読み込んで、所定時間経過後の値Is2,Vs2として記憶し、ステップS10で、上記所定時間T経過後の値Is2,Vs2から、PWM負荷2aの消費電流Ipを所定量K増量又は減量したときの値Is1,Vs1をそれぞれ減算して、バッテリ電圧Vsの変化量ΔVs、及び充放電電流Isの変化量ΔIsを算出し、これらの変化量ΔIs,ΔVsが上記所定範囲内にあるか否かを判定し、この判定結果に応じた制御を実行する。つまり、このフローチャートによる制御によれば、バッテリ電圧変化量ΔVsが上記所定範囲内となったとき、または、バッテリ電圧変化量ΔVsの検出回数nが所定回数Nに達したときに、電流センサ11で検出された電流値Isがオフセット誤差Dとして記憶されることとなる。   That is, in step S7, the latest detection values Is and Vs of the current sensor 11 and the voltage sensor 12 when the consumption current Ip of the PWM load 2a is increased or decreased by a predetermined amount K are read, and the value Is1 when the current is increased or decreased. , Vs1, and after the elapse of a predetermined time T, in step S9, the latest detection values Is, Vs of the current sensor 11 and the voltage sensor 12 are read and stored as values Is2, Vs2 after the elapse of the predetermined time, and step S10. The values Is1 and Vs1 when the current consumption Ip of the PWM load 2a is increased or decreased by a predetermined amount K are subtracted from the values Is2 and Vs2 after the predetermined time T has elapsed, respectively, so that the change amount ΔVs of the battery voltage Vs, And a change amount ΔIs of the charge / discharge current Is is calculated, and it is determined whether or not the change amounts ΔIs and ΔVs are within the predetermined range. Executing a control according to the determination result. That is, according to the control according to this flowchart, when the battery voltage change amount ΔVs falls within the predetermined range, or when the number n of detections of the battery voltage change amount ΔVs reaches the predetermined number N, the current sensor 11 The detected current value Is is stored as the offset error D.

ここで、上記ステップS16及びステップS17におけるPWM負荷2aの消費電流Igの増量または減量の所定量Kは、1回目の増量または減量時の値を例えば1とすると、2回目は0.5、3回目は0.25というように、回を重ねる度に半分ずつになるように設定されている。   Here, the predetermined amount K of increase or decrease of the current consumption Ig of the PWM load 2a in the above step S16 and step S17 is 0.5, 3 if the value at the first increase or decrease is 1, for example. The number of times is set to 0.25, such as 0.25 each time the times are repeated.

次に、図4を用いて、本バッテリ充放電電流検出装置1による作用及び効果を説明する。なお、この説明に際しては、理解を容易にするために、具体的数値を用いて説明する。   Next, the operation and effect of the battery charge / discharge current detection device 1 will be described with reference to FIG. In this description, specific numerical values are used for easy understanding.

まず、オフセット誤差の検出条件が成立したときには、PWM負荷2aの消費電流Ipが所定値Ipoの8Aに制御される。ここで、この所定値Ipoの8Aという値は、PWM負荷2aが、最大消費電流15Aの電動ファンとした場合の値である。また、このとき、電流センサ11の検出値Isが基準値Isoのゼロ(A)となるように発電機4の発電量が制御されると共に、発電機4の出力電流Igが、上記検出値Isがゼロ(A)となったときの値Igoに固定される(時刻t0)。   First, when the offset error detection condition is satisfied, the current consumption Ip of the PWM load 2a is controlled to 8A of a predetermined value Ipo. Here, the value 8A of the predetermined value Ipo is a value when the PWM load 2a is an electric fan having a maximum current consumption 15A. At this time, the power generation amount of the generator 4 is controlled so that the detection value Is of the current sensor 11 becomes zero (A) of the reference value Iso, and the output current Ig of the generator 4 is set to the detection value Is. Is fixed to the value Igo when the value becomes zero (A) (time t0).

そして、この固定された時点(t0)から所定時間T経過後(時刻t1)に、バッテリ電圧Vsの変化量ΔVsがほぼゼロか、すなわち所定範囲内(−β≦ΔV≦β)にあるか否かが判定されるが、この例においては、上記所定時間T経過後の変化量ΔVsが所定範囲内にないので、カウンタnに1が加算されると共に、バッテリ電圧Vの変化が上昇であるので、PWM負荷2aの消費電流Igが上記Igoに対して所定量Kの2(A)増量されて10(A)に制御される。このとき、電流センサ11の検出値Isは−2(A)である。   Whether or not the change amount ΔVs of the battery voltage Vs is substantially zero, that is, within a predetermined range (−β ≦ ΔV ≦ β) after a predetermined time T has elapsed (time t1) from the fixed time (t0). In this example, since the change amount ΔVs after the lapse of the predetermined time T is not within the predetermined range, 1 is added to the counter n and the change in the battery voltage V is increased. The current consumption Ig of the PWM load 2a is increased by 2 (A) by a predetermined amount K to the above-mentioned Igo and controlled to 10 (A). At this time, the detection value Is of the current sensor 11 is −2 (A).

そして、このようにPWM負荷2aの消費電流Ipが2(A)増量されたときから所定時間T経過後(時刻t2)に、バッテリ電圧Vsの変化量ΔVsが所定範囲内(−β≦ΔV≦β)にあるか否かが判定されるが、この例においては、変化量ΔVsがまだ所定範囲内にないことから、カウンタnに1が加算されてカウンタnの値が2になると共に、バッテリ電圧Vsの変化が降下であるので、PWM負荷2aの消費電流Ipが、上記増量後の値10(A)から、上記増量分2(A)の半分の1(A)減量されて9(A)に制御される。このとき、電流センサ11の検出値Isは−1(A)である。   Then, after the current consumption Ip of the PWM load 2a is increased by 2 (A), the change amount ΔVs of the battery voltage Vs is within a predetermined range (−β ≦ ΔV ≦) after the elapse of the predetermined time T (time t2). In this example, since the change amount ΔVs is not yet within the predetermined range, 1 is added to the counter n, the value of the counter n becomes 2, and the battery Since the change in the voltage Vs is a drop, the current consumption Ip of the PWM load 2a is reduced by 1 (A), which is half the increase 2 (A), from the value 10 (A) after the increase, and 9 (A ) Is controlled. At this time, the detection value Is of the current sensor 11 is −1 (A).

そして、このようにPWM負荷2aの消費電流Ipが1(A)減量されたときから所定時間T経過後(時刻t3)に、バッテリ電圧Vsの変化量ΔVsが所定範囲内(−β≦ΔV≦β)にあるか否かが判定されるが、変化量ΔVsがまだ所定範囲内にないことから、カウンタnに1が加算されてカウンタnの値が3になると共に、バッテリ電圧Vの変化が上昇であるので、PWM負荷2aの消費電流Ipが、上記減量後の値10(A)に対して、上記減量分1(A)の半分の0.5(A)増量されて9.5(A)に制御される。このとき、電流センサ11の検出値Isは−1.5(A)である。   Then, after the current consumption Ip of the PWM load 2a is reduced by 1 (A), after a predetermined time T has elapsed (time t3), the change amount ΔVs of the battery voltage Vs is within a predetermined range (−β ≦ ΔV ≦ β) is determined, but since the change amount ΔVs is not yet within the predetermined range, 1 is added to the counter n, the value of the counter n becomes 3, and the change in the battery voltage V Since the current consumption Ip of the PWM load 2a is increased by 0.5 (A), which is half of the reduced amount 1 (A), the current consumption Ip of the PWM load 2a is 9.5 ( Controlled by A). At this time, the detection value Is of the current sensor 11 is −1.5 (A).

そして、このようにPWM負荷2aの消費電流Ipが0.5(A)減量されたときから所定時間T経過後(時刻t4)に、バッテリ電圧Vsの変化量ΔVsが所定範囲内(−β≦ΔV≦β)にあるか否かが判定されるが、この例においては、変化量ΔVsが所定範囲内になったことから、所定時間T経過後に検出されて記憶されている値Is2の−1.5(A)が最新のオフセット誤差Dの値として記憶されると共に、検出値補正式X′のパラメータ(オフセット誤差)Dが書き換えられ、以後の電流センサ11の検出値Isはこの書き換えられた検出値補正式X′に基づいて補正されることとなる。   Then, after the current consumption Ip of the PWM load 2a is reduced by 0.5 (A) in this way, after a predetermined time T has elapsed (time t4), the change amount ΔVs of the battery voltage Vs is within a predetermined range (−β ≦ It is determined whether or not ΔV ≦ β). In this example, since the change amount ΔVs is within a predetermined range, the value Is2 that is detected and stored after the elapse of the predetermined time T is −1. .5 (A) is stored as the value of the latest offset error D, the parameter (offset error) D of the detection value correction formula X ′ is rewritten, and the detection value Is of the current sensor 11 thereafter is rewritten. Correction is performed based on the detection value correction formula X ′.

ところで、上記例では、時刻t4にバッテリ電圧Vsの変化量ΔVsが所定範囲内(−β≦ΔV≦β)になった場合で説明したが、点線アで示すように、PWM負荷2aの消費電流Ipが0.5(A)減量されたときから所定時間T経過後(時刻t4)のバッテリ電圧Vsの変化量ΔVsが所定範囲内でない場合は、さらに、上記判定がいつまでも繰り返される虞があるが、例えば、カウンタnの値に関する所定値Nを4に設定しておけば、このように時刻t4におけるバッテリ電圧Vsの変化量ΔVsが所定範囲内にないときでも、カウンタnの値が4に達したときに(時刻t4に)、所定時間T経過後に検出されて記憶されている値Is2の−1.5(A)がオフセット誤差Dの値として記憶されると共に、検出値補正式X′のパラメータ(オフセット誤差)Dが書き換えられ、以後の電流センサ11の検出値Isはこの書き換えられた検出値補正式X′に基づいて補正されることとなる。なお、上記所定値Nの値は、その回数だけ検出を繰り返せば、十分にオフセット誤差検出精度が担保される値に設定すればよい。   By the way, in the above example, the case where the change amount ΔVs of the battery voltage Vs is within a predetermined range (−β ≦ ΔV ≦ β) at time t4 has been described, but as indicated by the dotted line a, the current consumption of the PWM load 2a If the amount of change ΔVs of the battery voltage Vs after the predetermined time T has elapsed (time t4) from when Ip is reduced by 0.5 (A), the above determination may be repeated indefinitely. For example, if the predetermined value N related to the value of the counter n is set to 4, the value of the counter n reaches 4 even when the change amount ΔVs of the battery voltage Vs at time t4 is not within the predetermined range. (Time t4), -1.5 (A) of the value Is2 detected and stored after the lapse of the predetermined time T is stored as the value of the offset error D, and the detected value correction formula X ' Parameter ( Offset error) D is rewritten, the detection value Is of the subsequent current sensor 11 is to be corrected on the basis of the rewritten detected value correction formula X '. Note that the value of the predetermined value N may be set to a value that sufficiently guarantees the offset error detection accuracy if the detection is repeated the number of times.

また、この例では、カウンタnの値が4に達したときに記憶されるオフセット誤差Dの値は、時刻t4に検出された値Is2であるが、上記のように、増量と減量が交互に行われるような値に増量及び減量の所定値Kが設定されている場合は、上記オフセット誤差Dの値は、時刻t4に検出された値Is2と時刻t3に検出された値Is2との平均値としてもよい。これによれば、後述するように、バッテリ電圧変化の検出回数nが少なくても、検出したオフセット誤差の精度を向上させることができる。以下、その場合の制御を、図5に示すフローチャートを用いて説明する。なお、図5には、ステップS32より前のステップの記載は省略したが、ステップS32より前においては、ステップS21〜S31として、図3のフローチャートにおけるステップS1〜11までと同じ処理が行われる。また、ステップS32〜S34まで、及びステップS39の処理は、図3のフローチャートにおけるステップS12〜S14まで、及びステップS18の処理と同じであり、その説明は省略する。   In this example, the value of the offset error D stored when the value of the counter n reaches 4 is the value Is2 detected at the time t4. As described above, the increase and decrease are alternately performed. When a predetermined value K for increasing and decreasing is set to a value to be performed, the value of the offset error D is an average value of the value Is2 detected at time t4 and the value Is2 detected at time t3. It is good. According to this, as will be described later, it is possible to improve the accuracy of the detected offset error even if the number n of battery voltage change detections is small. Hereinafter, the control in that case will be described with reference to the flowchart shown in FIG. Although the description of the steps before step S32 is omitted in FIG. 5, the same processing as steps S1 to S11 in the flowchart of FIG. 3 is performed as steps S21 to S31 before step S32. Further, the processes of steps S32 to S34 and step S39 are the same as the processes of steps S12 to S14 and step S18 in the flowchart of FIG.

すなわち、ステップS34の判定がNOのとき、すなわちカウンタnの値が所定値N以上でないときは、ステップS35で、記憶されているn回目の検出値IsnをIsn−1として記憶すると共に、上記検出値Is2をn回目の検出値Isnとして記憶する。次いで、ステップS36で、上記バッテリ電圧Vsの変化が上昇か否かを判定する。そして、この判定がNOのとき、すなわちバッテリ電圧Vの変化が上昇のときは、ステップ37で、PWM負荷2aの消費電流Ipを所定量K増量して上記ステップS27以後を再度実行し、ステップS36の判定がNOのとき、すなわちバッテリ電圧Vsの変化が上昇でないとき(下降のとき)は、ステップS38で、PWM負荷2aの消費電流Ipを上記所定量K減量して上記ステップS27以後を再度実行する。   That is, when the determination in step S34 is NO, that is, when the value of the counter n is not equal to or greater than the predetermined value N, in step S35, the stored n-th detection value Isn is stored as Isn-1, and the above detection is performed. The value Is2 is stored as the nth detection value Isn. Next, in step S36, it is determined whether or not the change in the battery voltage Vs is an increase. When this determination is NO, that is, when the change in the battery voltage V increases, in step 37, the consumption current Ip of the PWM load 2a is increased by a predetermined amount K, and the above steps S27 and subsequent steps are executed again, and step S36 When the determination of NO is NO, that is, when the change of the battery voltage Vs is not an increase (a decrease), in step S38, the consumption current Ip of the PWM load 2a is decreased by the predetermined amount K, and the steps after step S27 are executed again. To do.

一方、ステップS34の判定がYESのとき、すなわちカウンタnの値が所定値N以上(所定値Nに達した)のときは、ステップS40で、記憶されているn回目の検出値IsnをIsn−1として記憶すると共に、上記検出値Is2をn回目の検出値Isnとして記憶する。そして、ステップS41で、この新たに記憶されたn回目の検出値Isnとn―1回目の検出値Isn−1との平均値を算出し、この平均値をオフセット誤差Dとして記憶する。そして、n回目の検出値Isn、及びn―1回目の検出値Isn−1の記憶データをゼロにリセットする。   On the other hand, when the determination in step S34 is YES, that is, when the value of the counter n is equal to or greater than the predetermined value N (has reached the predetermined value N), the stored n-th detection value Isn is set to Isn− in step S40. 1 and the detected value Is2 is stored as the nth detected value Isn. In step S41, an average value of the newly stored nth detection value Isn and n−1th detection value Isn−1 is calculated, and this average value is stored as an offset error D. Then, the stored data of the nth detection value Isn and the n−1th detection value Isn−1 are reset to zero.

そして、この図5のフローチャートの制御によれば、図4のタイムチャートの場合、n回目の検出値Isnが−1.5(A)であり、n−1回目の検出値Isn−1が−1(A)であるので、その平均値は−1.25(A)となる。ここで、上記増減量Kを半分ずつにしていった場合、図4の例では、次に0.25A増量されることとなるが、その場合、次に電流センサ11で検出されるであろう値Isは−1.25(A)となり、上記平均値はこの検出されるであろう値に等しい。すなわち、次のバッテリ電圧変化の検出時にバッテリ電圧Vsの変化量ΔVsが所定範囲内となったとしたときのオフセット誤差に等しいのである。すなわち、検出回数nを減らしながらもオフセット誤差の検出精度を向上させることができるものである。   According to the control of the flowchart of FIG. 5, in the time chart of FIG. 4, the nth detection value Isn is −1.5 (A), and the (n−1) th detection value Isn−1 is −. Since it is 1 (A), the average value is -1.25 (A). Here, when the increase / decrease amount K is halved, in the example of FIG. 4, the amount is then increased by 0.25 A. In this case, the current sensor 11 will next detect it. The value Is is -1.25 (A) and the average value is equal to the value that would be detected. That is, it is equal to the offset error when the change amount ΔVs of the battery voltage Vs falls within the predetermined range at the time of detecting the next battery voltage change. That is, it is possible to improve the detection accuracy of the offset error while reducing the number of detections n.

なお、この例では、増量と減量とが交互に行われるような値に増量及び減量の所定値Kが設定されている場合で説明したが、増量及び減量の所定値Kの値によっては、必ずしもバッテリ電圧変化が上昇と下降とで繰り返されるとは限らないので(例えば、バッテリ電圧変化が上昇→下降→下降となるような場合)、そのような場合には、所定回数Nに達したときの電流の検出値Isと、所定回数Nに達したときのバッテリ電圧変化の方向とは逆でかつ所定回数Nに達したときの電流検出値Isに最も近い、所定回数Nに達する前に検出された電流検出値Isとの平均値をオフセット誤差Dとしてもよい。   In this example, the case where the predetermined value K for the increase and the decrease is set to a value at which the increase and the decrease are alternately performed has been described. However, depending on the value of the predetermined value K for the increase and the decrease, it is not always necessary. Since the battery voltage change is not necessarily repeated between rising and falling (for example, when the battery voltage change is rising → decreasing → decreasing), in such a case, when the predetermined number N is reached The detected current value Is is opposite to the direction of battery voltage change when the predetermined number N is reached and is detected before reaching the predetermined number N, which is closest to the current detected value Is when the predetermined number N is reached. An average value of the detected current value Is may be used as the offset error D.

なお、以上の例では、電圧変化量ΔVsが所定範囲内になったとき、検出回数nが所定回数Nに達したときに、オフセット誤差Dを確定するようにしたが、バッテリ電圧変化の検出を行う度に小さくされる上記増減量Kが所定増減量以下になったときに、オフセット誤差Dを確定するようにしてもよい。その場合、この所定増減量は、オフセット誤差検出の精度を十分に担保することができる十分に小さな値とすればよい。   In the above example, when the voltage change amount ΔVs falls within the predetermined range, the offset error D is determined when the detection number n reaches the predetermined number N. However, the battery voltage change is detected. The offset error D may be determined when the increase / decrease amount K, which is reduced each time it is performed, becomes equal to or less than a predetermined increase / decrease amount. In this case, the predetermined increase / decrease amount may be a sufficiently small value that can sufficiently ensure the accuracy of the offset error detection.

以上のように、本発明を実施するための最良の形態によれば、簡易な構成でオフセット誤差Dを検出することができる。また、バッテリ電圧の変化は短時間であらわれるので、オフセット誤差の検出条件であるPWM負荷2aの機能を損なわないという条件が成立しさえすれば、幾度となく頻繁にオフセット誤差の検出制御を実行できるだけでなく、バッテリ電圧変化の検出中に電気負荷2の作動状態が変動(電気負荷2の新規作動や作動停止)するケースは希であるから、ほぼ確実に検出制御を完遂することができる。   As described above, according to the best mode for carrying out the present invention, the offset error D can be detected with a simple configuration. Further, since the change in the battery voltage appears in a short time, the offset error detection control can be executed frequently and frequently as long as the condition that the function of the PWM load 2a that is the offset error detection condition is not impaired is satisfied. In addition, since it is rare that the operating state of the electric load 2 fluctuates (new operation or operation stop of the electric load 2) during the detection of the battery voltage change, the detection control can be almost certainly completed.

また、バッテリ電圧Vsの変化量ΔVsが所定範囲内にないときでも、バッテリ電圧変化検出回数nが所定回数Nに達したときは、所定回数Nに達したときの電流センサ11の検出値Aがオフセット誤差Dとされるから、長時間にわたり本制御が実行され続けるのが回避される。   Even when the amount of change ΔVs of the battery voltage Vs is not within the predetermined range, when the battery voltage change detection number n reaches the predetermined number N, the detected value A of the current sensor 11 when the predetermined number N is reached. Since the offset error D is set, it is avoided that the control is continuously executed for a long time.

また、第1、第2の形態で説明した電流検出装置1をバッテリの容量検出装置に適用すれば、バッテリ3の充放電電流を精度よく検出することができるようになり、バッテリ3の容量を精度よく推定することができるようになる。つまり、バッテリ3の充電不足によるバッテリ上がりや、バッテリ過充電によるバッテリ劣化等を効果的に防止することができる。   Further, if the current detection device 1 described in the first and second embodiments is applied to a battery capacity detection device, the charge / discharge current of the battery 3 can be detected with high accuracy, and the capacity of the battery 3 can be reduced. It becomes possible to estimate with high accuracy. That is, it is possible to effectively prevent the battery from being charged due to insufficient charging of the battery 3 or the battery deterioration due to battery overcharging.

なお、上記実施の形態における作用の説明では、カウンタnの値に関する所定値Nを4としたが、これに限られるものではなく、要求されるオフセット誤差の検出精度等に応じて変更すればよい。   In the description of the operation in the above-described embodiment, the predetermined value N related to the value of the counter n is set to 4. However, the present invention is not limited to this, and may be changed according to the required offset error detection accuracy. .

また、上記実施の形態では、増減量Kは、判定を繰り返す度に半分になるようにしたが、これに限られるものではなく、最初の増減量を上記実施の形態の例えば1/10とし、増減量は変更せずにこの値で細かく変動させてもよい。   In the above embodiment, the increase / decrease amount K is halved each time the determination is repeated. However, the present invention is not limited to this, and the first increase / decrease amount is, for example, 1/10 of the above embodiment, The increase / decrease amount may be finely changed with this value without being changed.

また、上記実施の形態では、特許請求の範囲に記載の所定時間及び第2所定時間を、ともに所定時間Tとして同一の値としたが、異なる値としてもよい。   In the above embodiment, the predetermined time and the second predetermined time described in the claims are both set to the same value as the predetermined time T, but may be different values.

本発明は、車両用に限らず、バッテリの充放電電流を検出する電流検出装置に広く適用可能である。   The present invention is not limited to vehicles, and can be widely applied to a current detection device that detects a charge / discharge current of a battery.

本発明を実施するための最良の形態に係るバッテリ充放電電流検出装置の構成図である。It is a block diagram of the battery charging / discharging current detection apparatus which concerns on the best form for implementing this invention. 電流センサの検出値に含まれるオフセット誤差の説明図である。It is explanatory drawing of the offset error contained in the detected value of a current sensor. 最良の形態に係るオフセット誤差検出制御のフローチャートの一例である。It is an example of the flowchart of the offset error detection control which concerns on the best form. 同制御の作用を説明するタイムチャートである。It is a time chart explaining the effect | action of the control. オフセット誤差検出補正制御のフローチャートの他の例である。It is another example of the flowchart of offset error detection correction control.

符号の説明Explanation of symbols

1 バッテリ充放電電流検出装置
2 車両用電気負荷
2a PWM負荷(消費電流可変負荷)
3 バッテリ
4 発電機
10 コントロールユニット(発電量制御手段、消費電流制御手段、オフセット誤差検出準備手段、バッテリ電圧変化検出手段、オフセット誤差検出手段、カウンタ手段)
11 電流センサ
12 電圧センサ
T 所定時間(所定時間、第2所定時間)
DESCRIPTION OF SYMBOLS 1 Battery charging / discharging electric current detection apparatus 2 Electric load for vehicles 2a PWM load (current consumption variable load)
3 battery 4 generator 10 control unit (power generation amount control means, current consumption control means, offset error detection preparation means, battery voltage change detection means, offset error detection means, counter means)
11 current sensor 12 voltage sensor T predetermined time (predetermined time, second predetermined time)

Claims (6)

車両用電気負荷に電力を供給するバッテリと、エンジンに駆動されて上記電気負荷及びバッテリに電力を供給する発電機と、該発電機の発電量を制御する発電量制御手段と、バッテリの充放電電流を検出する電流検出手段とが備えられたバッテリ充放電電流検出装置であって、上記電気負荷のうちの消費電流が可変とされた電気負荷の消費電流を制御する消費電流制御手段と、オフセット誤差の検出時に、該消費電流制御手段を制御して消費電流可変負荷の消費電流を所定値に固定すると共に、上記電流検出手段による充放電電流の検出値が基準値になるように発電量制御手段を制御し、かつ発電機の出力電流を、上記充放電電流の検出値が所定値になったときの値に固定するオフセット誤差検出準備手段と、上記オフセット誤差検出準備手段で発電機の出力電流が固定された時点から所定時間経過後のバッテリ電圧の変化を検出するバッテリ電圧変化検出手段と、該バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内のときは、上記所定時間経過時における電流検出手段の検出値をオフセット誤差とするオフセット誤差検出手段が備えられていることを特徴とするバッテリ充放電電流検出装置。 A battery that supplies electric power to an electric load for vehicles, a generator that is driven by an engine to supply electric power to the electric load and the battery, a power generation amount control means that controls a power generation amount of the power generator, and charge / discharge of the battery A battery charge / discharge current detecting device comprising a current detecting means for detecting a current, wherein the current consumption of the electric load of the electric load is variable; At the time of error detection, the current consumption control means is controlled to fix the current consumption of the current consumption variable load to a predetermined value, and the power generation amount control is performed so that the charge / discharge current detection value by the current detection means becomes a reference value. Offset error detection preparation means for controlling the means and fixing the output current of the generator to a value when the detected value of the charge / discharge current reaches a predetermined value, and the offset error detection preparation means Battery voltage change detecting means for detecting a change in battery voltage after a predetermined time has elapsed from the time when the output current of the generator is fixed, and when the battery voltage change detected by the battery voltage change detecting means is within a predetermined range The battery charge / discharge current detecting device is provided with offset error detecting means that uses the detected value of the current detecting means when the predetermined time has passed as an offset error. オフセット誤差検出準備手段は、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲を逸脱した上昇のときは、消費電流制御手段を制御して消費電流可変負荷の消費電流を所定量増加させ、上記変化が所定範囲を逸脱した低下のときは、消費電流可変負荷の消費電流を所定量減少させ、バッテリ電圧変化検出手段は、上記消費電流制御手段によって消費電流可変負荷の消費電流が上記所定量増加または減少された時点から第2所定時間経過後のバッテリ電圧の変化を検出し、オフセット誤差検出手段は、消費電流可変負荷の消費電流が上記のように所定量増加または減少された時点から第2所定時間経過後にバッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内のときは、第2所定時間経過時における電流検出手段の検出値をオフセット誤差とすることを特徴とする請求項1に記載のバッテリ充放電電流検出装置。 The offset error detection preparation means controls the current consumption control means to increase the current consumption of the current consumption variable load by a predetermined amount when the battery voltage change detected by the battery voltage change detection means rises beyond a predetermined range. When the change falls outside the predetermined range, the current consumption of the variable current consumption load is decreased by a predetermined amount, and the battery voltage change detecting means is configured to reduce the current consumption of the variable current consumption load by the current consumption control means. The change in the battery voltage after the second predetermined time has elapsed from the time when the quantitative increase or decrease is detected, and the offset error detection means detects the current consumption of the variable current consumption load from the time when the current consumption is increased or decreased by a predetermined amount as described above. If the battery voltage change detected by the battery voltage change detecting means is within a predetermined range after the second predetermined time has elapsed, the current at the time when the second predetermined time has elapsed Battery charging and discharging current detecting apparatus according to claim 1, the detection value of the detecting means, characterized in that the offset error. オフセット誤差検出準備手段、バッテリ電圧変化検出手段、及びオフセット誤差検出手段は、消費電流制御手段によって消費電流可変負荷の消費電流が所定量増加または減少された時点から第2所定時間経過後にバッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内でないときは、所定量を縮小して、請求項2に記載の処理を繰り返すことを特徴とする請求項2に記載のバッテリ充放電電流検出装置。 The offset error detection preparation means, the battery voltage change detection means, and the offset error detection means are configured to change the battery voltage after a second predetermined time has elapsed from when the current consumption of the variable current consumption load is increased or decreased by a predetermined amount by the current consumption control means. 3. The battery charge / discharge current detecting device according to claim 2, wherein when the battery voltage change detected by the detecting means is not within a predetermined range, the predetermined amount is reduced and the processing according to claim 2 is repeated. . バッテリ電圧変化検出手段の作動回数をカウントするカウンタ手段が備えられており、オフセット誤差検出手段は、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、カウンタ手段でカウントされたバッテリ電圧変化検出手段の作動回数が所定回数に達したときは、所定回数に達したときの電流検出手段の検出値をオフセット誤差とすることを特徴とする請求項3に記載のバッテリ充放電電流検出装置。 Counter means for counting the number of operation times of the battery voltage change detecting means is provided, and the offset error detecting means counts by the counter means even when the battery voltage change detected by the battery voltage change detecting means is not within a predetermined range. 4. The battery charge according to claim 3, wherein when the number of times of operation of the battery voltage change detection unit that has been reached reaches a predetermined number, the detected value of the current detection unit when the predetermined number of times is reached is used as an offset error. Discharge current detection device. バッテリ電圧変化検出手段の作動回数をカウントするカウンタ手段が備えられており、オフセット誤差検出手段は、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、カウンタ手段でカウントされたバッテリ電圧変化検出手段の作動回数が所定回数に達したときは、所定回数に達したときの電流検出手段の検出値と前回の電流検出手段の検出値との平均値をオフセット誤差とすることを特徴とする請求項3に記載のバッテリ充放電電流検出装置。 Counter means for counting the number of operation times of the battery voltage change detecting means is provided, and the offset error detecting means counts by the counter means even when the battery voltage change detected by the battery voltage change detecting means is not within a predetermined range. When the number of operations of the battery voltage change detection means performed reaches a predetermined number, an average value of the detection value of the current detection means and the previous detection value of the current detection means when the predetermined number of times is reached is set as an offset error. The battery charge / discharge current detection device according to claim 3. オフセット誤差検出手段は、バッテリ電圧変化検出手段で検出されたバッテリ電圧変化が所定範囲内にないときでも、消費電流可変負荷の消費電流の増加または減少の所定量が所定増減量以下となったときは、該所定増減量以下となったときの電流検出手段の検出値をオフセット誤差とすることを特徴とする請求項3に記載のバッテリ充放電電流検出装置。 The offset error detection means detects when the predetermined amount of increase or decrease in the current consumption of the variable current consumption load is equal to or less than the predetermined increase / decrease amount even when the battery voltage change detected by the battery voltage change detection means is not within the predetermined range. The battery charge / discharge current detection device according to claim 3, wherein the detected value of the current detection means when the amount is equal to or less than the predetermined increase / decrease amount is set as an offset error.
JP2003329825A 2003-09-22 2003-09-22 Battery charge and discharge current detection device Abandoned JP2005100682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003329825A JP2005100682A (en) 2003-09-22 2003-09-22 Battery charge and discharge current detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003329825A JP2005100682A (en) 2003-09-22 2003-09-22 Battery charge and discharge current detection device

Publications (1)

Publication Number Publication Date
JP2005100682A true JP2005100682A (en) 2005-04-14

Family

ID=34458969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003329825A Abandoned JP2005100682A (en) 2003-09-22 2003-09-22 Battery charge and discharge current detection device

Country Status (1)

Country Link
JP (1) JP2005100682A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007003452A (en) * 2005-06-27 2007-01-11 Nissan Motor Co Ltd Offset current calculation device of current sensor
JP2008043168A (en) * 2006-08-10 2008-02-21 Denso Corp Battery charge/discharge current detecting device
JP2013092140A (en) * 2011-10-27 2013-05-16 Toyota Motor Corp Vehicular control device
CN104142479A (en) * 2014-08-08 2014-11-12 成都蓝格尔科技有限公司 Test module, monitor system and detection method for lead-acid cells
CN105656160A (en) * 2016-03-18 2016-06-08 广东欧珀移动通信有限公司 Charging control method and device and terminal device
JP2017034796A (en) * 2015-07-30 2017-02-09 トヨタ自動車株式会社 Power supply device for vehicle
JP2019060807A (en) * 2017-09-28 2019-04-18 株式会社日立製作所 State diagnostic device and state diagnostic method for secondary battery

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007003452A (en) * 2005-06-27 2007-01-11 Nissan Motor Co Ltd Offset current calculation device of current sensor
JP2008043168A (en) * 2006-08-10 2008-02-21 Denso Corp Battery charge/discharge current detecting device
US7750602B2 (en) 2006-08-10 2010-07-06 Denso Corporation Method and apparatus for managing charge/discharge current of on-vehicle battery to control on-vehicle generator in consideration of offset of charge/discharge current
JP2013092140A (en) * 2011-10-27 2013-05-16 Toyota Motor Corp Vehicular control device
CN104142479A (en) * 2014-08-08 2014-11-12 成都蓝格尔科技有限公司 Test module, monitor system and detection method for lead-acid cells
JP2017034796A (en) * 2015-07-30 2017-02-09 トヨタ自動車株式会社 Power supply device for vehicle
CN106394273A (en) * 2015-07-30 2017-02-15 丰田自动车株式会社 Power supply system for vehicle
US10220720B2 (en) 2015-07-30 2019-03-05 Toyota Jidosha Kabushiki Kaisha Power supply system for vehicle
CN105656160A (en) * 2016-03-18 2016-06-08 广东欧珀移动通信有限公司 Charging control method and device and terminal device
CN105656160B (en) * 2016-03-18 2018-06-15 广东欧珀移动通信有限公司 Charge control method, device and terminal device
JP2019060807A (en) * 2017-09-28 2019-04-18 株式会社日立製作所 State diagnostic device and state diagnostic method for secondary battery

Similar Documents

Publication Publication Date Title
US8111035B2 (en) Charging system, charging device and battery pack
JP4001072B2 (en) Vehicle power generation system
US7990111B2 (en) Method and apparatus for detecting internal electric state of in-vehicle secondary battery
KR20090029266A (en) Switching regulator and operations control method thereof
JP2009112113A (en) Battery pack, and method and apparatus for charging secondary cell
JP4158513B2 (en) Vehicle power generation control device
US10326266B2 (en) Interrupting device, interrupting method, and computer program
JP6497385B2 (en) Lithium ion secondary battery system and operation method of lithium secondary battery system
JP2009126277A (en) Internal state detection device of on-board secondary battery
JP2005100682A (en) Battery charge and discharge current detection device
JP2005037286A (en) Battery charge/discharge current detection device
JP2009300362A (en) Soc calculation circuit, charge system, and soc calculation method
JP2009142097A (en) Voltage regulator switching method and electronic vehicle controller
WO2020203454A1 (en) Control device
WO2020203455A1 (en) Control device
CN111487551B (en) Method for evaluating secondary battery, apparatus for evaluating secondary battery, and power supply system
WO2020203453A1 (en) Control device
JP7412993B2 (en) Battery pack, control method and program
JP2010117235A (en) Battery abnormality determination apparatus
JP2009247055A (en) Power supply controller
JP7036081B2 (en) Control device
WO2020203457A1 (en) Control device
JP2005045928A (en) Voltage controller of generator for vehicle
JP2006166534A (en) Power supply
US20230055759A1 (en) Power supply device and battery pack charging method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060105

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20070704