Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5852882B2 - A / D conversion circuit, A / D converter error correction device, and battery remaining amount detection device - Google Patents
[go: Go Back, main page]

JP5852882B2 - A / D conversion circuit, A / D converter error correction device, and battery remaining amount detection device - Google Patents

A / D conversion circuit, A / D converter error correction device, and battery remaining amount detection device Download PDF

Info

Publication number
JP5852882B2
JP5852882B2 JP2011289943A JP2011289943A JP5852882B2 JP 5852882 B2 JP5852882 B2 JP 5852882B2 JP 2011289943 A JP2011289943 A JP 2011289943A JP 2011289943 A JP2011289943 A JP 2011289943A JP 5852882 B2 JP5852882 B2 JP 5852882B2
Authority
JP
Japan
Prior art keywords
current
converter
circuit
amount
current amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011289943A
Other languages
Japanese (ja)
Other versions
JP2013141095A (en
Inventor
齋藤 崇志
崇志 齋藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2011289943A priority Critical patent/JP5852882B2/en
Publication of JP2013141095A publication Critical patent/JP2013141095A/en
Application granted granted Critical
Publication of JP5852882B2 publication Critical patent/JP5852882B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

本発明は、電流量を検出するためのA/D変換回路、A/D変換器の誤差補正装置および、これを用いた電池残量検出装置に関する。   The present invention relates to an A / D conversion circuit for detecting a current amount, an error correction device for an A / D converter, and a remaining battery level detection device using the same.

従来、バッテリー動作を行なう機器の高機能化が急激に向上し、動作消費電力が増加している。特に、携帯電話装置や携帯ゲーム機などの携帯機器においては、動作消費電力の増加はバッテリー動作時間の低下をもたらし、利便性を低下させることから対策が必要となっている。   Conventionally, high functionality of a battery-operated device has been rapidly improved, and operation power consumption has increased. In particular, in portable devices such as mobile phone devices and portable game machines, an increase in operating power consumption leads to a decrease in battery operating time, and countermeasures are required because it reduces convenience.

その対策方法の一つとして、バッテリーに蓄えられた電力を限界まで使用する対策が挙げられる。この対策の実施方法としてクーロン量を観測し、その測定値を元にバッテリー残量を推測する方法がある。   One countermeasure is to use power stored in the battery to the limit. As a method of implementing this measure, there is a method of observing the amount of coulomb and estimating the remaining battery level based on the measured value.

そのクーロン量の測定は、通常、数十mΩのセンス抵抗の両端電圧を観測する必要があるため、高精度のA/D変換器が必要である。   The measurement of the amount of coulomb usually requires observation of the voltage across the sense resistor of several tens of mΩ, so that a highly accurate A / D converter is required.

一般に、携帯機器は、人間が持ち運ぶことが想定され、周囲温度の変化が大きいと考えられる。また、2次電池などのバッテリーを用いて動作を行なうことから、放電に伴う電源電圧の変化も大きいと考えられる。これらの使用条件の変化は、クーロン量測定に用いるA/D変換器の測定誤差要因になるため、定期的に誤差を補正することにより測定誤差が低下する。   In general, a portable device is assumed to be carried by a person, and it is considered that a change in ambient temperature is large. In addition, since the operation is performed using a battery such as a secondary battery, it is considered that the change in the power supply voltage accompanying the discharge is large. These changes in usage conditions cause measurement error of the A / D converter used for measuring the coulomb amount. Therefore, the measurement error is reduced by periodically correcting the error.

一般的なA/D変換器の誤差補正方法としては、特許文献1に開示されているように一定周期でA/D変換器の入力を短絡し、短絡時の値を誤差として測定値から引くことにより正しい測定値に補正する方法や、特許文献2に開示されているように予め複数の補正テーブルを持ち、動作条件によって異なる補正値を使用するような誤差補正方法もある。   As a general error correction method for an A / D converter, as disclosed in Patent Document 1, the input of the A / D converter is short-circuited at a constant period, and the value at the time of the short-circuit is subtracted from the measured value as an error. Accordingly, there are a method for correcting to a correct measurement value, and an error correction method that has a plurality of correction tables in advance and uses different correction values depending on operating conditions as disclosed in Patent Document 2.

また、より高度な誤差補正方法としては、特許文献3に開示されているように温度や時間の変化を元に補正用回路を動作させて、補正テーブルを動的に更新して計算する方法が挙げられる。   Further, as a more advanced error correction method, as disclosed in Patent Document 3, a correction circuit is operated based on changes in temperature and time, and a correction table is dynamically updated and calculated. Can be mentioned.

図4は、特許文献1に開示されている従来のA/D変換器の誤差補正回路の構成図である。   FIG. 4 is a configuration diagram of an error correction circuit of a conventional A / D converter disclosed in Patent Document 1. In FIG.

図4に示すように、従来のA/D変換器の誤差補正回路100は、A/D変換器101の入力側に選択信号出力手段102が設けられ、選択信号出力手段102からの選択信号SELによってA/D変換器101への入力電圧を被変換電圧Vと「0」電圧に変えるスイッチ手段103,104およびインバータ105が設けられている。また、A/D変換器101の出力側には、補正演算手段106が設けられている。   As shown in FIG. 4, the error correction circuit 100 of the conventional A / D converter is provided with a selection signal output means 102 on the input side of the A / D converter 101, and the selection signal SEL from the selection signal output means 102. Thus, switch means 103 and 104 and an inverter 105 are provided for changing the input voltage to the A / D converter 101 into the converted voltage V and the “0” voltage. A correction calculation means 106 is provided on the output side of the A / D converter 101.

上記構成により、選択信号SELが「L」でA/D変換器101からの変換出力値は、被変換電圧Vのあるべき変換出力値+オフセット電圧値となっている。   With the above configuration, when the selection signal SEL is “L”, the conversion output value from the A / D converter 101 is the conversion output value that should be the converted voltage V + the offset voltage value.

選択信号SELが「H」でA/D変換器101からの変換出力値は、オフセット電圧値のみとなっている。   When the selection signal SEL is “H”, the conversion output value from the A / D converter 101 is only the offset voltage value.

したがって、補正演算手段106によりこれらを差し引くと、オフセット電圧値が相殺されて被変換電圧Vのあるべき変換出力値が得られる。   Therefore, when these are subtracted by the correction calculation means 106, the offset voltage value is canceled out and the converted output value of the converted voltage V is obtained.

図5は、特許文献2に開示されている従来の携帯電話装置本体における電池残量検出装置の構成図である。   FIG. 5 is a configuration diagram of a battery remaining amount detection device in a conventional mobile phone device body disclosed in Patent Document 2.

図5に示すように、従来の携帯電話装置本体における電池残量検出装置200において、現在の携帯電話装置の状態が通話時であるか待ち受け時であるか、さらに、A/D変換部201を介して得られる温度値が常温、低温の何れを示すかに応じて、制御部202が切替器203に対してテーブル204中の何れかの閾値ROMテーブル204a〜204dに切り替えて比較器205に出力させる。   As shown in FIG. 5, in the conventional battery remaining amount detection device 200 in the mobile phone device main body, whether the current state of the mobile phone device is a call or a standby state, and further, an A / D converter 201 is provided. The control unit 202 switches the switch 203 to any one of the threshold ROM tables 204a to 204d in the table 204 and outputs it to the comparator 205 depending on whether the temperature value obtained through the display indicates normal temperature or low temperature. Let

電池パック206の電圧値は、A/D変換部207で変換されて比較器205に入力される。比較器205は、切替器203から入力したテーブル204中の何れかの閾値ROMテーブル204a〜204dに設定された閾値と、A/D変換部207を介して入力された電池パック206の電圧値とを比較してその結果を制御部202に通知する。制御部202では、比較器205における判定結果に基づいて電池残量を判定し、表示器208において電池残量を表示させるようになっている。また、電池パック206の電圧値は電源部209にも接続されている。   The voltage value of the battery pack 206 is converted by the A / D conversion unit 207 and input to the comparator 205. The comparator 205 includes threshold values set in any one of the threshold ROM tables 204a to 204d in the table 204 input from the switch 203, and the voltage value of the battery pack 206 input via the A / D conversion unit 207. And the control unit 202 is notified of the result. In the control unit 202, the remaining battery level is determined based on the determination result in the comparator 205, and the remaining battery level is displayed on the display unit 208. The voltage value of the battery pack 206 is also connected to the power supply unit 209.

このようにして、比較器205における判定結果に基づいて制御部202が温度変化による影響を考慮して精度良く電池残量を検出して表示器208で電池残量を表示することができる。なお、A/D変換部201は温度測定手段のサーミスタ210に接続され、その測定データは制御部202に入力されている。   In this way, the control unit 202 can accurately detect the remaining battery level based on the determination result in the comparator 205 and display the remaining battery level on the display unit 208 in consideration of the influence of temperature change. The A / D converter 201 is connected to the thermistor 210 of the temperature measuring means, and the measurement data is input to the controller 202.

図6は、特許文献3に開示されている従来の電流計測回路の構成図である。   FIG. 6 is a configuration diagram of a conventional current measurement circuit disclosed in Patent Document 3. In FIG.

図6に示すように、従来の電流計測回路300において、制御手段としてのCPU301は、温度センサ302と温度用A/D変換器303によって計測される温度を取得し、温度変化を検出する。温度変化が検出された場合、メモリ304を検索して計測温度に対する補正値を取得し、以降の誤差補正に用いる。メモリ304に計測温度に対応する補正値がなかった場合には、CPU301はセレクタ305を制御して、選択出力信号がGNDレベル信号306および、基準電圧発生器307からの基準電圧信号308となるように、セレクタ305を順次切換える。セレクタ305に接続されるA/D変換器309によって変換されたGNDレベル信号306のデータ(オフセット誤差)と、基準電圧信号308のデータから補正値(ゲイン誤差)を算出し、メモリ304に保存すると共に、算出された補正値を以降の誤差補正に用いる。また、セレクタ305には、測定対象のアナログ入力信号(電流信号)310が入力されてA/D変換器309でA/D変換される。これによって、温度変化と経時変化の両方に対応する誤差補正を行うことができる。   As shown in FIG. 6, in the conventional current measurement circuit 300, the CPU 301 as the control unit acquires the temperature measured by the temperature sensor 302 and the temperature A / D converter 303 and detects a temperature change. When a temperature change is detected, the memory 304 is searched to obtain a correction value for the measured temperature and used for subsequent error correction. When there is no correction value corresponding to the measured temperature in the memory 304, the CPU 301 controls the selector 305 so that the selection output signal becomes the GND level signal 306 and the reference voltage signal 308 from the reference voltage generator 307. The selector 305 is sequentially switched. A correction value (gain error) is calculated from the data (offset error) of the GND level signal 306 converted by the A / D converter 309 connected to the selector 305 and the data of the reference voltage signal 308 and stored in the memory 304. At the same time, the calculated correction value is used for subsequent error correction. Further, an analog input signal (current signal) 310 to be measured is input to the selector 305 and A / D converted by the A / D converter 309. As a result, it is possible to perform error correction corresponding to both temperature change and change with time.

特開平4−916号公報JP-A-4-916 特開2000−92721号公報JP 2000-92721 A 特開2005−244771号公報JP 2005-244771 A

一般に、クーロン量の測定に用いるセンス抵抗の値は非常に小さいため、その両端電圧は数十〜数百mVである。この微小電圧を高精度に測定するためには、デルタシグマ型のA/D変換器など、精度は高いが応答速度が遅いA/D変換器を用いることになる。このような特性のA/D変換器に対して、特許文献1の誤差補正方法を適用すると、A/D変換器101が連続してどれだけ電流を使ったかをモニタする必要から、センサの不感期間が大きくなり、未測定の時間を推測値で補完する必要があることから誤差測定精度が低下するという問題を有していた。これに加えて、特許文献1の誤差補正方法では、A/D変換器101における、スイッチ手段104を含む短絡回路110の抵抗値をセンス抵抗よりも大幅に小さくしないと、センス抵抗にも電流が流れてしまいオフセットの誤差補正が不十分となるという問題もある。   In general, since the value of the sense resistor used for measuring the amount of coulomb is very small, the voltage between both ends is several tens to several hundreds mV. In order to measure this minute voltage with high accuracy, an A / D converter with high accuracy but slow response speed such as a delta sigma type A / D converter is used. When the error correction method of Patent Document 1 is applied to an A / D converter having such characteristics, it is necessary to monitor how much current the A / D converter 101 uses continuously. There is a problem that the error measurement accuracy is lowered because the period becomes longer and it is necessary to supplement the unmeasured time with the estimated value. In addition to this, in the error correction method of Patent Document 1, if the resistance value of the short circuit 110 including the switch means 104 in the A / D converter 101 is not significantly smaller than the sense resistance, current also flows in the sense resistance. There is also a problem that offset error correction becomes insufficient.

また、特許文献2の誤差補正方法では、不感期間は存在しないが、補正テーブルの条件と完全に一致する条件以外では精度が低下するという問題がある。   Further, in the error correction method of Patent Document 2, there is no dead period, but there is a problem that the accuracy is lowered except for a condition that completely matches the condition of the correction table.

さらに、特許文献3の補正方法では、補正テーブルを動的に切り替えることにより、特許文献2よりも精度を向上することが可能であるものの、補正テーブル数の制約により精度の向上には限界がある。   Further, in the correction method of Patent Document 3, it is possible to improve the accuracy compared to Patent Document 2 by dynamically switching the correction table, but there is a limit to the improvement of accuracy due to the restriction of the number of correction tables. .

これに加えて、特許文献2、3の補正方法では、誤差補正にマイクロコンピュータなどのデバイスを用いる必用があることから機器全体としての消費電流が増加し、動作時間を長くするという本来の目的を阻害する要因となる可能性がある。   In addition, in the correction methods of Patent Documents 2 and 3, since it is necessary to use a device such as a microcomputer for error correction, the current consumption of the entire device increases and the original purpose of extending the operating time is achieved. There is a possibility of inhibiting.

以上のように、従来の補正方法では、特に、クーロン量測定のような高精度を要求されるA/D変換器において、精度と消費電力のバランスを保ちながら電池残量を監視することは困難であった。   As described above, with the conventional correction method, it is difficult to monitor the remaining battery level while maintaining a balance between accuracy and power consumption, particularly in an A / D converter that requires high accuracy such as coulomb amount measurement. Met.

本発明は、上記従来の問題を解決するもので、システムの消費電流を抑えながら高精度で電流量を検出することができるA/D変換回路、A/D変換器の誤差補正装置およびこれを用いた電池残量検出装置を提供することを目的とする。   The present invention solves the above-described conventional problems. An A / D conversion circuit, an A / D converter error correction apparatus, and an A / D converter that can detect a current amount with high accuracy while suppressing current consumption of the system are provided. It aims at providing the used battery remaining charge detection apparatus.

本発明のA/D変換器の誤差補正装置は、電流量を検出可能とするA/D変換器と、該A/D変換器で検出した電流量の大小を判定する電流量判定回路と、該電流量判定回路による判定結果に基づいてオンまたはオフされるタイマー回路と、該タイマー回路からの制御によって該A/D変換器による該電流量の検出と該オフセット値の検出を制御するオフセット検出用回路と、該A/D変換器で検出した電流量と該オフセット値に対して所定の演算を行って現在の使用電流量を計算する現在電流計算回路とを有するものであり、そのことにより上記目的が達成される。   An error correction apparatus for an A / D converter according to the present invention includes an A / D converter that can detect a current amount, a current amount determination circuit that determines the magnitude of the current amount detected by the A / D converter, A timer circuit that is turned on or off based on a determination result by the current amount determination circuit, and an offset detection that controls detection of the current amount and detection of the offset value by the A / D converter by control from the timer circuit And a current current calculation circuit for calculating a current use current amount by performing a predetermined calculation on the current amount detected by the A / D converter and the offset value, thereby The above objective is achieved.

また、好ましくは、本発明のA/D変換器の誤差補正装置において、電流量が所定基準値よりも小さいと前記電流量判定回路が判定した場合に前記タイマー回路は一定時間毎に、前記オフセット検出用回路を用いて前記A/D変換器の入力側を短絡して前記オフセット値を検出し、該オフセット値の検出後に該A/D変換器が電流値を検出して、前記現在電流測定回路が、該検出した電流値から該オフセット値を差し引いて誤差補正し、前記電流量が所定基準値以上であると該電流量判定回路が判定した場合に該タイマー回路をオフ状態にして該オフセット値の検出を中断して、前記A/D変換器により電流量を検出する。   Preferably, in the error correction apparatus for an A / D converter according to the present invention, when the current amount determination circuit determines that the current amount is smaller than a predetermined reference value, the timer circuit performs the offset every predetermined time. The input side of the A / D converter is short-circuited using a detection circuit to detect the offset value, and after the offset value is detected, the A / D converter detects a current value, and the current current measurement The circuit corrects the error by subtracting the offset value from the detected current value, and when the current amount determination circuit determines that the current amount is equal to or greater than a predetermined reference value, the timer circuit is turned off to set the offset The detection of the value is interrupted, and the amount of current is detected by the A / D converter.

さらに、好ましくは、本発明のA/D変換器の誤差補正装置における現在電流計算回路が計算した前記現在の使用電流量に基づいて累積電流量を計算する累積電流計算回路を更に有する。   Furthermore, it preferably further includes a cumulative current calculation circuit for calculating a cumulative current amount based on the current use current amount calculated by the current current calculation circuit in the error correction apparatus of the A / D converter of the present invention.

さらに、好ましくは、本発明のA/D変換器の誤差補正装置におけるオフセット検出用回路は、前記A/D変換器の両入力端子間に設けられたセンス抵抗をバイパスして短絡するための第1スイッチ手段と、該センス抵抗をオフして開放するための第2スイッチとを有する。   Further preferably, the offset detection circuit in the error correction apparatus for an A / D converter according to the present invention is a first circuit for bypassing and short-circuiting a sense resistor provided between both input terminals of the A / D converter. 1 switch means and a second switch for turning off and opening the sense resistor.

さらに、好ましくは、本発明のA/D変換器の誤差補正装置におけるオフセット値検出開始時は、前記第1スイッチ手段をオンして前記A/D変換器の両入力端子間を短絡した後に前記第2スイッチ手段を開放し、該オフセット値検出終了時は該第2スイッチ手段をオンして短絡した後に該第2スイッチ手段をオフして開放する。   Further preferably, at the start of offset value detection in the error correction apparatus for an A / D converter of the present invention, the first switch means is turned on and the two input terminals of the A / D converter are short-circuited. The second switch means is opened, and when the offset value detection is completed, the second switch means is turned on and short-circuited, and then the second switch means is turned off and opened.

さらに、好ましくは、本発明のA/D変換器の誤差補正装置において、装置待機時に前記電流量判定回路を介して前記タイマー回路を起動させて前記オフセット検出用回路を制御することにより一定時間毎に前記A/D変換器がオフセット値を検出して前記現在電流計算回路がこれを前記検出した電流量から差し引いて現在の電流量を監視し、装置動作時には、該オフセット検出用回路を制御せずに固定した状態で該A/D変換器が電流量を検出する。   Further preferably, in the error correction apparatus for an A / D converter according to the present invention, when the apparatus is on standby, the timer circuit is activated via the current amount determination circuit to control the offset detection circuit at regular intervals. The A / D converter detects an offset value, and the current current calculation circuit subtracts the offset value from the detected current amount to monitor the current current amount, and controls the offset detection circuit when the apparatus is in operation. The A / D converter detects the amount of current in a fixed state.

本発明の電池残量検出装置は、本発明の上記A/D変換器の誤差補正装置と、該A/D変換器の誤差補正装置における前記現在電流計算回路と前記累積電流計算回路からの各データに基づいて電池残量検出演算処理を行う制御部とを有するであり、そのことにより上記目的が達成される。   The battery remaining amount detection device of the present invention includes an error correction device for the A / D converter of the present invention, and each of the current current calculation circuit and the cumulative current calculation circuit in the error correction device for the A / D converter. And a control unit that performs battery remaining amount detection calculation processing based on the data, thereby achieving the above object.

また、好ましくは、本発明の電池残量検出装置において、前記電流量が所定基準値よりも小さい待機状態開始と同時に前記A/D変換器を用いて誤差補正された累積電流量を前記累積電流計算回路が計算開始し、前記制御部は、待機状態解除と同時に該累積電流計算回路からの待機中の累積電流量を確認すると共に該A/D変換器を用いて電流量を継続的に確認し、両方の測定結果を基に電池残量を計算する。   Preferably, in the battery remaining amount detection device according to the present invention, the accumulated current amount that is error-corrected by using the A / D converter simultaneously with the start of the standby state in which the current amount is smaller than a predetermined reference value is used. The calculation circuit starts to calculate, and the control unit confirms the accumulated current amount in standby from the accumulated current calculation circuit simultaneously with the release of the standby state and continuously confirms the current amount using the A / D converter. Then, the remaining battery level is calculated based on both measurement results.

さらに、好ましくは、本発明の電池残量検出装置において、前記待機状態解除後の前記現在電流計算回路からの電流量計算結果に対して、前記制御部は、現在の温度および電源電圧状態に対応した複数の補正テーブルを用いて補正処理を行って電池残量を計算する。   Further preferably, in the remaining battery level detection device of the present invention, the control unit corresponds to a current temperature and power supply voltage state with respect to a current amount calculation result from the current current calculation circuit after the standby state is released. The remaining battery level is calculated by performing correction processing using the plurality of correction tables.

本発明のA/D変換回路は、A/D変換器の両入力端子間に設けられた電流値検出用のセンス抵抗と、該センス抵抗の両端を短絡可能とするオフセット検出用回路とを有するものであり、そのことにより上記目的が達成される。   An A / D conversion circuit according to the present invention includes a sense resistor for detecting a current value provided between both input terminals of an A / D converter, and an offset detection circuit capable of short-circuiting both ends of the sense resistor. Therefore, the above object can be achieved.

また、好ましくは、本発明のA/D変換回路におけるオフセット検出用回路は、前記A/D変換器の両入力端子間に設けられたセンス抵抗の両端をバイパスして短絡するかまたは開放するための第1スイッチ手段と、該センス抵抗を開放または接続するための第2スイッチとを有する。   Preferably, the offset detection circuit in the A / D conversion circuit according to the present invention bypasses and opens or shorts both ends of the sense resistor provided between both input terminals of the A / D converter. First switch means and a second switch for opening or connecting the sense resistor.

さらに、好ましくは、本発明のA/D変換回路において、オフセット値検出開始時は、前記第1スイッチ手段をオンして前記A/D変換器の両入力端子間を短絡した後に前記第2スイッチ手段を開放し、該オフセット値検出終了時以降は該第2スイッチ手段をオンして前記センス抵抗を接続した後に該第1スイッチ手段をオフして該センス抵抗の両端間のバイパスを開放する。   Further preferably, in the A / D conversion circuit according to the present invention, when the offset value detection is started, the first switch means is turned on to short-circuit both input terminals of the A / D converter and then the second switch. After the detection of the offset value, the second switch means is turned on and the sense resistor is connected, and then the first switch means is turned off to open the bypass between both ends of the sense resistor.

上記構成により、以下、本発明の作用を説明する。   With the above configuration, the operation of the present invention will be described below.

本発明においては、電流量を検出可能とするA/D変換器と、A/D変換器で検出した電流量の大小を判定する電流量判定回路と、該電流量判定回路による判定結果に基づいてオンまたはオフされるタイマー回路と、タイマー回路からの制御によってA/D変換器による電流量の検出とオフセット値の検出を制御するオフセット検出用回路と、A/D変換器で検出した電流量とオフセット値に対して所定の演算を行って現在の使用電流量を計算する現在電流計算回路とを有する。   In the present invention, based on the A / D converter that can detect the current amount, the current amount determination circuit that determines the magnitude of the current amount detected by the A / D converter, and the determination result by the current amount determination circuit. Timer circuit that is turned on or off, an offset detection circuit that controls detection of the current amount and offset value by the A / D converter by control from the timer circuit, and current amount detected by the A / D converter And a current current calculation circuit that performs a predetermined calculation on the offset value to calculate the current amount of current used.

これによって、A/D変換器で検出した電流量の大小を電流量判定回路で判定し、電流量判定回路による判定結果に基づいてタイマー回路からの制御によってA/D変換器による電流量の検出とオフセット値の検出を制御して現在の使用電流量を計算するので、システムの消費電流を抑えながら高精度で電池残量など電流量を検出することが可能となる。   Thus, the current amount detected by the A / D converter is determined by the current amount determination circuit, and the current amount is detected by the A / D converter by the control from the timer circuit based on the determination result by the current amount determination circuit. Since the current usage amount is calculated by controlling the detection of the offset value, it is possible to detect the current amount such as the remaining battery level with high accuracy while suppressing the current consumption of the system.

以上により、本発明によれば、A/D変換器で検出した電流量の大小を電流量判定回路で判定し、電流量判定回路による判定結果に基づいてタイマー回路からの制御によってA/D変換器による電流量の検出とオフセット値の検出を制御して現在の使用電流量を計算するため、システムの消費電流を抑えながら高精度で電池残量など電流量を検出することができる。   As described above, according to the present invention, the amount of current detected by the A / D converter is determined by the current amount determination circuit, and A / D conversion is performed by control from the timer circuit based on the determination result by the current amount determination circuit. Since the current usage current amount is calculated by controlling the detection of the current amount and the offset value by the detector, the current amount such as the remaining battery level can be detected with high accuracy while suppressing the current consumption of the system.

本発明の実施形態1における電池残量検出装置の要部構成図である。It is a principal part block diagram of the battery remaining charge detection apparatus in Embodiment 1 of this invention. 図1のA/D変換器の入力端子間をスイッチで短絡する場合の回路図である。It is a circuit diagram in the case of short-circuiting between the input terminals of the A / D converter of FIG. A/D変換器の入力端子間の短絡によって誤差補正を行なったときのセンサ不感期間を説明するための信号波形図である。It is a signal waveform diagram for demonstrating a sensor dead period when error correction is performed by the short circuit between the input terminals of an A / D converter. 特許文献1に開示されている従来のA/D変換器の誤差補正回路の構成図である。It is a block diagram of the error correction circuit of the conventional A / D converter currently disclosed by patent document 1. FIG. 特許文献2に開示されている従来の携帯電話装置本体における電池残量検出装置の構成図である。It is a block diagram of the battery remaining charge detection apparatus in the conventional mobile telephone apparatus main body currently disclosed by patent document 2. FIG. 特許文献3に開示されている従来の電流計測回路の構成図である。It is a block diagram of the conventional electric current measurement circuit currently disclosed by patent document 3. FIG.

以下に、本発明のA/D変換器の誤差補正装置の実施形態1を電池残量検出装置に適用した場合について図面を参照しながら詳細に説明する。   The case where the first embodiment of the error correction device for an A / D converter of the present invention is applied to a battery remaining amount detection device will be described in detail below with reference to the drawings.

(実施形態1)
図1は、本発明の実施形態1における電池残量検出装置の要部構成図である。
(Embodiment 1)
FIG. 1 is a main part configuration diagram of a remaining battery level detection apparatus according to Embodiment 1 of the present invention.

図1において、本実施形態1のA/D変換器の誤差補正装置1は、電流量および誤差補正用のオフセット値のいずれかを検出可能とするA/D変換器2(A/D変換回路)と、A/D変換器2で検出した電流量の大小を判定する電流量判定回路3と、その判定結果に基づいてオン・オフされるタイマー回路4と、タイマー回路4からの制御によってA/D変換器2による電流量の検出とオフセット値の検出を制御するオフセット検出用回路5と、A/D変換器2で検出した電流量とオフセット値に対して所定の演算を行って現在の使用電流量を計算する現在電流計算回路6と、その現在の使用電流量に基づいて累積電流量を計算する累積電流計算回路7とを有している。   In FIG. 1, an error correction apparatus 1 for an A / D converter according to the first embodiment includes an A / D converter 2 (A / D conversion circuit) that can detect either an amount of current or an offset value for error correction. ), A current amount determination circuit 3 that determines the magnitude of the current amount detected by the A / D converter 2, a timer circuit 4 that is turned on / off based on the determination result, and A that is controlled by the timer circuit 4. The offset detection circuit 5 that controls the detection of the current amount and the offset value by the / D converter 2 and the current amount and the offset value detected by the A / D converter 2 are subjected to a predetermined calculation and It has a current current calculation circuit 6 for calculating the amount of current used, and a cumulative current calculation circuit 7 for calculating the amount of current accumulated based on the current amount of current used.

本実施形態1における電池残量検出装置10は、A/D変換器2の誤差補正装置1と、A/D変換器2の誤差補正装置1の現在電流計算回路6と累積電流計算回路7からの各データに基づいて電池残量検出処理を行うマイクロコンピュータを構成する制御部(CPU8)とを有している。   The battery remaining amount detection device 10 according to the first embodiment includes an error correction device 1 of the A / D converter 2, a current current calculation circuit 6 and an accumulated current calculation circuit 7 of the error correction device 1 of the A / D converter 2. And a control unit (CPU 8) constituting a microcomputer that performs battery remaining amount detection processing based on each data.

以上のA/D変換器2と、A/D変換器2の両入力端子間に設けられた電流値検出用のセンス抵抗21と、センス抵抗21の両端をオンオフするオフセット検出用回路5とによりA/D変換回路を構成することができる。   By the A / D converter 2 described above, a sense resistor 21 for detecting a current value provided between both input terminals of the A / D converter 2, and an offset detection circuit 5 for turning on and off both ends of the sense resistor 21. An A / D conversion circuit can be configured.

A/D変換器2は、A/D変換器2の両入力端子間にセンス抵抗21が設けられ、センス抵抗21に電流が流れてその両端に発生する電圧値が両入力端子間に印加されて、連続してどれだけの電流量を使ったかをモニタすることができる。   In the A / D converter 2, a sense resistor 21 is provided between both input terminals of the A / D converter 2, and a voltage value generated at both ends of the sense resistor 21 when a current flows through the sense resistor 21 is applied between the two input terminals. Thus, it is possible to monitor how much current is used continuously.

電流量判定回路3は、A/D変換器2で検出した電流量の大小を判定するが、オフセットの影響が大きい微小電流量、例えば携帯電話装置であれば待機時の電流量をA/D変換器2が検出したかどうかを判定する。   The current amount determination circuit 3 determines whether the current amount detected by the A / D converter 2 is large or small. However, if the current amount is large when the offset is large, for example, if it is a mobile phone device, the current amount during standby is A / D. It is determined whether or not the converter 2 has detected.

タイマー回路4は、電流量判定回路3が所定の微小電流量、例えば待機時の電流量をA/D変換器2が検出したと判定したときに起動を開始し、その起動によりオフセット検出用回路5を制御して第1スイッチ手段としてのスイッチSW51をオフからオン状態にし、第2スイッチ手段としてのスイッチSW52をオンからオフ状態に制御する。これによって、A/D変換器2の入力端子間に設けられたセンス抵抗21間がスイッチSW51によって短絡される。これによって、A/D変換器2から誤差補正用のオフセット値が出力され、その後の所定期間後にタイマー回路4の起動が停止されて、オフセット検出用回路5を制御してスイッチSW51をオンからオフ状態にしスイッチSW52をオフからオン状態に制御する。これでA/D変換器2からはセンス抵抗21を介して検出された電流量が出力されることになる。   The timer circuit 4 starts when the current amount determination circuit 3 determines that the A / D converter 2 has detected a predetermined minute amount of current, for example, a current amount during standby, and an offset detection circuit is thereby started. 5 is controlled to change the switch SW51 as the first switch means from the OFF state to the ON state, and the switch SW52 as the second switch means is changed from the ON state to the OFF state. As a result, the sense resistor 21 provided between the input terminals of the A / D converter 2 is short-circuited by the switch SW51. As a result, the offset value for error correction is output from the A / D converter 2, and the timer circuit 4 is stopped after a predetermined period thereafter, and the switch SW51 is turned from on to off by controlling the offset detection circuit 5. The switch SW52 is controlled from the off state to the on state. Thus, the amount of current detected through the sense resistor 21 is output from the A / D converter 2.

オフセット検出用回路5は、センス抵抗21をバイパスするバイパス経路と、このバイパス経路を導通状態とするかまたは非導通状態とする第1スイッチ手段としてのスイッチSW51と、センス抵抗21に電流を流すための電流経路と、この電流経路を導通状態とするかまたは非導通状態とする第2スイッチ手段としてのスイッチSW52とを有している。スイッチSW51をオンにしスイッチSW52をオフにすると、センス抵抗21に電流が流れなくなり、A/D変換器2オフセット値が検出される。スイッチSW51をオフにしスイッチSW52をオンにすると、センス抵抗21に電流が流れる状態となり、A/D変換器2により電流量の値が検出される。 The offset detection circuit 5 causes a current to flow through the bypass path for bypassing the sense resistor 21, the switch SW 51 as the first switch means for making the bypass path conductive or non-conductive, and the sense resistor 21. And a switch SW52 as second switch means for making the current path conductive or non-conductive . When the switch SW51 is turned on and the switch SW52 is turned off, no current flows through the sense resistor 21, and the offset value of the A / D converter 2 is detected. When the switch SW51 is turned off and the switch SW52 is turned on, a current flows through the sense resistor 21, and the current value is detected by the A / D converter 2.

現在電流計算回路6は、A/D変換器2で検出した電流量の検出値に対して所定の演算を行って現在の電流量を計算すると共に、この計算した現在の電流量から、A/D変換器2で検出したオフセット値を差し引いて、あるべき現在の電流量を計算する。   The current current calculation circuit 6 performs a predetermined calculation on the detected value of the current amount detected by the A / D converter 2 to calculate the current current amount. From the calculated current amount, A / The offset value detected by the D converter 2 is subtracted to calculate the current amount of current that should be.

累積電流計算回路7は、現在電流測定回路6の電流量の計算値を累積的に計算する。要するに、累積電流計算回路7は、現在電流計算回路6が計算した現在の使用電流量に基づいて累積電流量を計算する。   The cumulative current calculation circuit 7 cumulatively calculates the calculated value of the current amount of the current current measurement circuit 6. In short, the cumulative current calculation circuit 7 calculates the cumulative current amount based on the current use current amount calculated by the current current calculation circuit 6.

要するに、電流量が所定基準値よりも小さいと電流量判定回路3が判定した場合にタイマー回路4は一定時間毎に、オフセット検出用回路5を用いてA/D変換器2の入力側のセンス抵抗21の両端を短絡して誤差補正用のオフセット値を検出し、オフセット値の検出後にはA/D変換器2が電流量の値(電流値)を検出し、電流値に対してオフセット値を現在電流測定回路6が電流値のオフセット補正値として誤差補正し、検出した電流量が所定基準値以上であると電流量判定回路3が判定した場合にタイマー回路4をオフ状態にしてオフセット値の検出を中断し、A/D変換器2により電流量を検出する。   In short, when the current amount determination circuit 3 determines that the current amount is smaller than the predetermined reference value, the timer circuit 4 uses the offset detection circuit 5 to detect the input side of the A / D converter 2 at regular intervals. The both ends of the resistor 21 are short-circuited to detect an offset value for error correction. After the offset value is detected, the A / D converter 2 detects the amount of current (current value), and the offset value with respect to the current value. Is corrected by the current current measuring circuit 6 as an offset correction value of the current value, and when the current amount determination circuit 3 determines that the detected current amount is equal to or greater than a predetermined reference value, the timer circuit 4 is turned off to set the offset value. The A / D converter 2 detects the current amount.

制御部は、CPU8(中央演算処理装置)で構成され、A/D変換器2の誤差補正装置1における現在電流計算回路6と累積電流計算回路7からの各データに基づいて電池残量検出処理を行う。電流量が所定基準値よりも小さい待機状態開始と同時にA/D変換器2を用いて誤差補正された累積電流量を累積電流計算回路7が計算開始し、制御部としてのCPU8は、待機状態解除と同時に累積電流計算回路7からの待機中の累積電流量を確認すると共にA/D変換器2を用いて電流量を継続的に確認し、両方の測定結果を基に電池残量を計算する。待機状態解除後の現在電流計算回路6からの電流量計算結果に対して、制御部としてのCPU8は、現在の温度および電源電圧状態に対応した複数の補正テーブルを用いて補正処理を行って電池残量を計算するようにしてもよい。   The control unit is composed of a CPU 8 (central processing unit), and based on the data from the current current calculation circuit 6 and the accumulated current calculation circuit 7 in the error correction device 1 of the A / D converter 2, the remaining battery level detection process I do. Simultaneously with the start of the standby state in which the current amount is smaller than the predetermined reference value, the accumulated current calculation circuit 7 starts to calculate the accumulated current amount that has been error-corrected using the A / D converter 2, and the CPU 8 as the control unit Simultaneously with the release, the accumulated current calculation circuit 7 from the accumulated current calculation circuit 7 is checked and the A / D converter 2 is used to continuously check the current amount, and the remaining battery level is calculated based on both measurement results. To do. For the current amount calculation result from the current current calculation circuit 6 after the standby state is released, the CPU 8 as the control unit performs a correction process using a plurality of correction tables corresponding to the current temperature and power supply voltage state to The remaining amount may be calculated.

A/D変換器2は、図2に示しように、タイマー回路4によってスイッチSW51をオンし、A/D変換器2の出力からは誤差補正用のオフセット値が出力されて、A/D変換器2の電流検知動作をしないセンサの不感期間になる。   As shown in FIG. 2, the A / D converter 2 turns on the switch SW51 by the timer circuit 4, and an offset value for error correction is output from the output of the A / D converter 2, thereby A / D conversion. The sensor 2 does not perform the current detection operation of the sensor 2 and becomes a dead period.

ここで、センサの不感期間について図3を用いて説明する。   Here, the sensor dead period will be described with reference to FIG.

図3は、A/D変換器2の入力端子間の短絡によって誤差補正を行なったときのセンサ不感期間を説明するための信号波形図である。   FIG. 3 is a signal waveform diagram for explaining a sensor insensitive period when error correction is performed by a short circuit between the input terminals of the A / D converter 2.

図3に示すように、タイマー回路4によってスイッチSW51をオンしスイッチSW52をオフして、A/D変換器2の両入力端子間を短絡すると共にセンス抵抗21を切り離すと、A/D変換器2への入力値は、信号遷移時間をかけて低下し、A/D変換器2への入力値が低下しきった後に、誤差補正用オフセット測定時間が設けられている。その誤差補正用オフセット測定時間の後に、タイマー回路4によってスイッチSW51をオフしスイッチSW52をオンして、A/D変換器2の両入力端子間の短絡を解除すると共にセンス抵抗21をA/D変換器2の両入力端子間に接続すると、信号遷移時間をかけてA/D変換器2への入力値が復帰する。   As shown in FIG. 3, when the switch SW51 is turned on and the switch SW52 is turned off by the timer circuit 4 so as to short-circuit both input terminals of the A / D converter 2 and disconnect the sense resistor 21, the A / D converter The input value to 2 decreases over the signal transition time, and after the input value to the A / D converter 2 has fully decreased, an offset measurement time for error correction is provided. After the error correction offset measurement time, the timer circuit 4 turns off the switch SW51 and turns on the switch SW52, thereby releasing the short circuit between the two input terminals of the A / D converter 2 and setting the sense resistor 21 to A / D. When connected between both input terminals of the converter 2, the input value to the A / D converter 2 is restored over a signal transition time.

このときのセンサ不感期間は、スイッチSW51がオンからスイッチSW51がオフして信号遷移時間をかけてA/D変換器2への入力値が復帰するまでの期間である。センサ不感期間は、一定時間毎に定期的に設定され、A/D変換器2の電流検知動作をしない。   The sensor insensitive period at this time is a period from when the switch SW51 is turned on to when the switch SW51 is turned off until the input value to the A / D converter 2 is restored over a signal transition time. The sensor insensitive period is set periodically at regular intervals, and the current detection operation of the A / D converter 2 is not performed.

上記構成により、オフセットの影響が大きい微小電流量検出時(携帯電話装置などの携帯情報機器であれば待機時)には、タイマー回路4を起動させてオフセット検出用回路5の制御を行うことにより周期的(一定時間毎)にオフセット値を検出してこれを差し引いて電流量を精度良く監視して電池残量を検出し、オフセットの影響をあまり受けない大電流量検出時(携帯電話装置などの携帯情報機器であれば動作時)には、オフセット検出用回路5の制御を非測定側に固定(オフ状態)することにより、オフセット値の測定が副作用として発生する電流量検出、さらには電池残量検出の誤差を無くすことが可能となる。即ち、装置待機時には電流量判定回路3を介してタイマー回路4を起動させてオフセット検出用回路5を制御することにより一定時間毎にA/D変換器2がオフセット値を検出して現在電流計算回路6が、これを、検出した電流量から差し引いて現在の電流量を監視し、また、装置動作時には、オフセット検出用回路5を制御せずに固定した状態でA/D変換器2が電流量を検出するようになっている。   With the above configuration, when detecting a small amount of current that is greatly affected by offset (when waiting for a portable information device such as a mobile phone device), the timer circuit 4 is activated to control the offset detection circuit 5. Periodically (every fixed time), the offset value is detected and subtracted to accurately monitor the amount of current to detect the remaining battery level. When detecting a large amount of current that is not significantly affected by the offset (such as a mobile phone device) If the portable information device is in operation), the control of the offset detection circuit 5 is fixed to the non-measuring side (off state), thereby detecting the amount of current generated as a side effect of the measurement of the offset value, and further the battery It is possible to eliminate errors in remaining amount detection. That is, when the apparatus is on standby, the timer circuit 4 is activated via the current amount determination circuit 3 and the offset detection circuit 5 is controlled so that the A / D converter 2 detects the offset value at regular intervals and calculates the current current. The circuit 6 subtracts this from the detected current amount to monitor the current amount of current, and when the device is operating, the A / D converter 2 operates in a state where the offset detection circuit 5 is fixed without being controlled. The amount is to be detected.

また、システムが待機状態時は電流量が小さいため、累積電流量計算回路7を用いて累積電流をモニタし、待機状態の解除と共に待機中の累積電流量を確認すると同時に、誤差補正回路1の誤差補正機能を動作させないで消費電流をモニタすることにより、機器全体の消費電力を抑えつつ高精度で電池残量を監視することが可能となる。   Since the current amount is small when the system is in the standby state, the cumulative current amount calculation circuit 7 is used to monitor the cumulative current, and at the same time the standby state is canceled and the standby cumulative current amount is confirmed, the error correction circuit 1 By monitoring the current consumption without operating the error correction function, it is possible to monitor the remaining battery level with high accuracy while suppressing the power consumption of the entire device.

さらに、システムが待機状態でないときには、制御部としてのCPU8を用いて、より高度な補正を合わせて行なうことも可能であるが、追加の補正を行なっても元々の動作状態がCPU8を必要とする状態のため、システムの消費電力は殆ど変化しない。   Further, when the system is not in a standby state, it is possible to perform more advanced correction using the CPU 8 as the control unit, but the original operation state requires the CPU 8 even if additional correction is performed. Due to the state, the power consumption of the system hardly changes.

スイッチSW51とスイッチSW52を用いたオフセット検出用回路5を使用する目的は、センス抵抗21の両端を直接短絡するスイッチSW51を使用するためには、センス抵抗21より十分低い抵抗値を用いる必要があることに対し、オフセット検出用回路5ではオフセット値測定時には、最初に、スイッチSW51を短絡し、その後にスイッチSW52を開放することにより、A/D変換器2の入力側を短絡状態に設定し、その後に、オフセット値の非測定時には、短絡の逆順でスイッチSW51およびスイッチSW52を動作することにより電流の測定状態に設定するという動作を行なうことにより、短絡抵抗値が大きいスイッチSW51を使用することが可能となる。   The purpose of using the offset detection circuit 5 using the switch SW51 and the switch SW52 is to use a resistance value sufficiently lower than that of the sense resistor 21 in order to use the switch SW51 that directly shorts both ends of the sense resistor 21. On the other hand, the offset detection circuit 5 sets the input side of the A / D converter 2 to a short-circuited state by first short-circuiting the switch SW51 and then opening the switch SW52 when measuring the offset value. Thereafter, when the offset value is not measured, the switch SW51 having a large short-circuit resistance value may be used by performing the operation of setting the current measurement state by operating the switch SW51 and the switch SW52 in the reverse order of the short circuit. It becomes possible.

よって、短絡抵抗値がセンス抵抗21の抵抗値よりも十分小さいスイッチSW51を用いるならば、単純に、センス抵抗21の両端をショートするだけの回路形式に構成してもよい。   Therefore, if the switch SW51 whose short-circuit resistance value is sufficiently smaller than the resistance value of the sense resistor 21 is used, it may be configured simply by short-circuiting both ends of the sense resistor 21.

また、電流量が小さいときのクーロン量測定を累積する回路を追加することにより、携帯情報機器の待機状態などの消費電力を極力低減することが要求される時は誤差補正回路1による自動補正を使用し、制御用マイクロコンピュータを停止したまま、即ち電気量が小さい待機電力のままで高精度での累積クーロン量を測定するが可能となる。   In addition, by adding a circuit for accumulating the measurement of the coulomb amount when the current amount is small, automatic correction by the error correction circuit 1 is performed when it is required to reduce power consumption such as standby state of the portable information device as much as possible. It is possible to measure the accumulated coulomb amount with high precision while using the control microcomputer while the control microcomputer is stopped, that is, with the standby power having a small amount of electricity.

待機状態の解除と共に待機中の累積クーロン量を確認し、オフセット値の影響をあまり受けない大電流量検出時の装置動作中は、誤差補正回路1の誤差補正機能を動作させずに電流量の測定を行なうことにより、誤差補正回路1の誤差補正動作に伴う精度の悪化を防止することができる。   When the standby state is released and the accumulated coulomb amount during standby is checked and the device is operating at the time of detecting a large amount of current that is not significantly affected by the offset value, the error correction function of the error correction circuit 1 is not operated and the current amount is By performing the measurement, it is possible to prevent deterioration in accuracy due to the error correction operation of the error correction circuit 1.

したがって、これらの制御を行なうことにより、機器全体の消費電力を抑えつつ高精度の電池残量を監視をすることが可能となる。   Therefore, by performing these controls, it is possible to monitor the remaining battery level with high accuracy while suppressing the power consumption of the entire device.

なお、待機解除では、マイクロコンピュータが動作するため、A/D変換器2からの検出電流量のデータに基づいて現在電流計算回路6が現在の電流量を計算し、その現在の使用電流量に基づいて累積電流計算回路7が累積電流量を計算する。マイクロコンピュータのCPU8が更に誤差補正することで精度を更に向上させることもできる。   In the standby release, since the microcomputer operates, the current current calculation circuit 6 calculates the current current amount based on the detected current amount data from the A / D converter 2, and the current use current amount is calculated. Based on this, the accumulated current calculation circuit 7 calculates the accumulated current amount. The accuracy can be further improved by further error correction by the CPU 8 of the microcomputer.

この追加の誤差補正例として、温度や電源電圧毎にマイクロコンピュータのCPU8で複数の補正係数を切り替えて使用する例が上げられる。   As an example of this additional error correction, there is an example in which a plurality of correction coefficients are switched and used by the CPU 8 of the microcomputer for each temperature and power supply voltage.

なお、追加の補正には、マイクロコンピュータのCPU8を用いることになるが、本来のマイクロコンピュータ処理に追加で補正動作を行なっても、殆ど消費電流の上昇には繋がらないため、電力消費を悪化させるものではない。   Note that the CPU 8 of the microcomputer is used for the additional correction. However, even if the correction operation is performed in addition to the original microcomputer processing, the current consumption is hardly increased, so that the power consumption is deteriorated. It is not a thing.

以上により、本実施形態1によれば、電流量が所定基準値よりも小さいと電流量判定回路3が判定した場合にタイマー回路4は一定時間毎に、オフセット検出用回路5を用いてA/D変換器2の入力側のセンス抵抗21の両端を短絡して誤差補正用のオフセット値を検出し、オフセット値の検出後にはA/D変換器2が電流量の値(電流値)を検出し、電流値に対してオフセット値を現在電流測定回路6が電流値のオフセット補正値として誤差補正し、検出した電流量が所定基準値以上であると電流量判定回路3が判定した場合にタイマー回路4をオフ状態にしてオフセット値の検出を中断し、A/D変換器2により電流量を検出する。   As described above, according to the first embodiment, when the current amount determination circuit 3 determines that the current amount is smaller than the predetermined reference value, the timer circuit 4 uses the offset detection circuit 5 to perform A / The both ends of the sense resistor 21 on the input side of the D converter 2 are short-circuited to detect an offset value for error correction. After the offset value is detected, the A / D converter 2 detects a current amount value (current value). When the current amount measurement circuit 6 determines that the current value is equal to or greater than a predetermined reference value, the current current measurement circuit 6 corrects the offset value with respect to the current value as an offset correction value for the current value. The circuit 4 is turned off, the detection of the offset value is interrupted, and the current amount is detected by the A / D converter 2.

これによって、待機状態では、機器全体の消費電力を抑えつつ、複雑な制御を行なうことなく高い精度のクーロン量監視を行ない、待機状態の解除と共にそれまでの累積値測定結果と動作中のクーロン量監視を行なうことにより、機器全体の消費電力の増加を抑えながら高精度での電池残量の管理が可能となる。   As a result, in the standby state, the power consumption of the entire device is suppressed, and the coulomb amount is monitored with high accuracy without performing complicated control. By performing the monitoring, it is possible to manage the remaining battery level with high accuracy while suppressing an increase in power consumption of the entire device.

以上のように、本発明の好ましい実施形態1を用いて本発明を例示してきたが、本発明は、この実施形態1に限定して解釈されるべきものではない。本発明は、特許請求の範囲によってのみその範囲が解釈されるべきであることが理解される。当業者は、本発明の具体的な好ましい実施形態1の記載から、本発明の記載および技術常識に基づいて等価な範囲を実施することができることが理解される。本明細書において引用した特許、特許出願および文献は、その内容自体が具体的に本明細書に記載されているのと同様にその内容が本明細書に対する参考として援用されるべきであることが理解される。   As mentioned above, although this invention has been illustrated using preferable Embodiment 1 of this invention, this invention should not be limited and limited to this Embodiment 1. It is understood that the scope of the present invention should be construed only by the claims. It is understood that those skilled in the art can implement an equivalent range from the description of the specific preferred embodiment 1 of the present invention based on the description of the present invention and the common general technical knowledge. Patents, patent applications, and documents cited herein should be incorporated by reference in their entirety, as if the contents themselves were specifically described herein. Understood.

本発明は、電流量を検出するためのA/D変換回路、A/D変換器の誤差補正装置および、これを用いた電池残量検出装置の分野において、システムの消費電流を抑えながら高精度で電池残量など電流量を検出することができる。   The present invention provides high accuracy while suppressing current consumption of a system in the fields of an A / D conversion circuit for detecting a current amount, an error correction device for an A / D converter, and a battery remaining amount detection device using the same. Can detect the amount of current such as the remaining battery level.

1 A/D変換回路の誤差補正回路
2 A/D変換器
21 センス抵抗
3 電流量判定回路
4 タイマー回路
5 オフセット検出用回路
51、52 スイッチSW
6 現在電流計算回路
7 累積電流計算回路
8 制御部(CPU)
10 電池残量検出装置
DESCRIPTION OF SYMBOLS 1 Error correction circuit of A / D conversion circuit 2 A / D converter 21 Sense resistance 3 Current amount determination circuit 4 Timer circuit 5 Offset detection circuit 51, 52 Switch SW
6 Current current calculation circuit 7 Cumulative current calculation circuit 8 Control unit (CPU)
10 Battery level detection device

Claims (11)

電流量を検出可能とするA/D変換器と、該A/D変換器で検出した電流量の大小を判定する電流量判定回路と、該電流量判定回路による判定結果に基づいてオンまたはオフされるタイマー回路と、該タイマー回路によって、該A/D変換器にて該電流量の検出と該A/D変換器のオフセット値の検出とが行われるように制御されるオフセット検出用回路と、該A/D変換器で検出した電流量と該オフセット値に対して所定の演算を行って現在の使用電流量を計算する現在電流計算回路とを有し、該タイマー回路は、該判定結果が大であるときオフして、該オフセット検出用回路を該電流量の検出が該A/D変換器にて行われる状態に固定し、該判定結果が小であるときオンして、該オフセット検出用回路を、該電流量の検出と該オフセット値の検出とが該A/D変換器にて定期的に切り替えて行われるように制御するA/D変換器の誤差補正装置。 An A / D converter that can detect the current amount, a current amount determination circuit that determines the magnitude of the current amount detected by the A / D converter, and on or off based on a determination result by the current amount determination circuit a timer circuit which is, by the said timer circuits, the a / D converter at the power flow of the detection and the a / D converter controlled Ru offset detection as detection and is performed in the offset value and use circuit, possess a current current calculation circuit for calculating a current usage amount of current by performing a predetermined operation on the current amount detected by a / D converter and said offset value, said timer circuit, Turns off when the determination result is large, fixes the offset detection circuit in a state where the current amount is detected by the A / D converter, and turns on when the determination result is small. The offset detection circuit detects the current amount and the offset Detection and error correction device of the A / D converter to control to be performed by switching periodically at the A / D converter. 請求項1に記載のA/D変換器の誤差補正装置において、前記電流量が所定基準値よりも小さいと前記電流量判定回路が判定した場合に前記タイマー回路は一定時間毎に、前記オフセット検出用回路を用いて前記A/D変換器の入力側を短絡して前記オフセット値を検出し、該オフセット値の検出後に該A/D変換器が電流を検出して、前記現在電流計算回路が、該検出した電流から該オフセット値を差し引いて誤差補正し、
前記電流量が所定基準値以上であると該電流量判定回路が判定した場合に該タイマー回路をオフ状態にして該オフセット値の検出を中断して、前記A/D変換器により電流量を検出するA/D変換器の誤差補正装置。
2. The error correction apparatus for an A / D converter according to claim 1, wherein the timer circuit detects the offset at regular intervals when the current amount determination circuit determines that the current amount is smaller than a predetermined reference value. The input side of the A / D converter is short-circuited using a circuit to detect the offset value, and after the offset value is detected, the A / D converter detects a current amount, and the current current calculation circuit Subtract the offset value from the detected current amount to correct the error,
When the current amount determination circuit determines that the current amount is equal to or greater than a predetermined reference value, the timer circuit is turned off to stop detecting the offset value, and the A / D converter detects the current amount. An error correction device for an A / D converter.
請求項1に記載のA/D変換器の誤差補正装置において、前記現在電流計算回路が計算した前記現在の使用電流量を時系列に累積的に計算して累積電流量を得る累積電流計算回路を更に有するA/D変換器の誤差補正装置。 2. The error correction apparatus for an A / D converter according to claim 1, wherein the current use current amount calculated by the current current calculation circuit is cumulatively calculated in a time series to obtain a cumulative current amount. An error correction device for an A / D converter further comprising: 請求項1または2に記載のA/D変換器の誤差補正装置において、前記オフセット検出用回路は、前記A/D変換器の両入力端子間に設けられたセンス抵抗をバイパスするバイパス経路と、該バイパス経路に設けられ、該バイパス経路を導通状態とするかまたは非導通状態とする第1スイッチ手段と、該センス抵抗に電流を流す電流経路と、該電流経路に設けられ、該電流経路を導通状態とするかまたは非導通状態とする第2スイッチ手段とを有するA/D変換器の誤差補正装置。 The error correction apparatus for an A / D converter according to claim 1 or 2, wherein the offset detection circuit includes a bypass path that bypasses a sense resistor provided between both input terminals of the A / D converter ; A first switch that is provided in the bypass path and sets the bypass path to a conductive state or a non-conductive state; a current path that passes a current through the sense resistor; and a current path that is provided in the current path, error correction device of the a / D converter and a second switching means for whether or non-conducting state to a conducting state. 請求項4に記載のA/D変換器の誤差補正装置において、オフセット値検出開始時は、前記第1スイッチ手段をオンして前記バイパス経路を導通状態とした後に前記第2スイッチ手段をオフして前記電流経路を非導通状態とし、該オフセット値検出終了時は該第2スイッチ手段をオンして該電流経路を導通状態とした後に該第スイッチ手段をオフして該バイパス経路を非導通状態とするA/D変換器の誤差補正装置。 5. The error correction apparatus for an A / D converter according to claim 4, wherein at the start of offset value detection, the first switch means is turned on to bring the bypass path into a conductive state, and then the second switch means is turned off. When the offset value detection ends, the second switch means is turned on to bring the current path into a conductive state, and then the first switch means is turned off to turn off the bypass path. An error correction device for an A / D converter to be in a conductive state . 請求項1に記載のA/D変換器の誤差補正装置において、前記判定結果が小である場合の装置待機時に前記電流量判定回路を介して前記タイマー回路を起動させて前記オフセット検出用回路を制御することにより一定時間毎に前記A/D変換器が前記オフセット値を検出して前記現在電流計算回路がこれを前記検出した電流量から差し引いて現在の電流量を監視し、該判定結果が大である場合の装置動作時には、該オフセット検出用回路が該A/D変換器による電流量の検出が行われる状態に該タイマー回路により固定された状態で該A/D変換器が電流量を検出するA/D変換器の誤差補正装置。 2. The error correction apparatus for an A / D converter according to claim 1, wherein the timer circuit is activated via the current amount determination circuit when the apparatus is on standby when the determination result is small, and the offset detection circuit is is subtracted from the amount of current the a / D converter has detected the current current calculation circuit is this the offset value to the detected every predetermined time by monitoring and controlling the current amount of current, the determination result is When the apparatus is large, the A / D converter reduces the current amount while the offset detection circuit is fixed by the timer circuit to a state where the current amount is detected by the A / D converter. Error correction device for A / D converter to detect. 請求項に記載のA/D変換器の誤差補正装置と、該A/D変換器の誤差補正装置における前記現在電流計算回路と前記累積電流計算回路からの各データに基づいて電池残量検出演算処理を行う制御部とを有する電池残量検出装置。 An error correction apparatus for an A / D converter according to claim 3 , and a remaining battery level detection based on each data from the current current calculation circuit and the accumulated current calculation circuit in the error correction apparatus for the A / D converter A battery remaining amount detection device having a control unit that performs arithmetic processing. 請求項7に記載の電池残量検出装置において、
前記電流量が所定基準値よりも小さい待機状態開始と同時に前記現在電流計算回路を用いて誤差補正された前記現在の使用電流量に基づいて前記累積電流量を前記累積電流計算回路が計算開始し、前記制御部は、待機状態解除と同時に該累積電流計算回路からの待機中の累積電流量を確認すると共に該A/D変換器を用いて電流量を継続的に確認し、両方の測定結果を基に電池残量を計算する電池残量検出装置。
In the battery remaining charge detection device according to claim 7,
The cumulative current calculation circuit starts calculating the cumulative current amount based on the current use current amount that has been error-corrected using the current current calculation circuit simultaneously with the start of the standby state in which the current amount is smaller than a predetermined reference value. The control unit confirms the accumulated current amount during standby from the accumulated current calculation circuit simultaneously with the cancellation of the standby state and continuously confirms the current amount using the A / D converter, and both measurement results Battery level detection device that calculates the remaining battery level based on the above.
請求項8に記載の電池残量検出装置において、前記待機状態解除後の前記現在電流計算回路からの電流量計算結果に対して、前記制御部は、現在の温度および電源電圧状態に対応した複数の補正テーブルを用いて補正処理を行って電池残量を計算する電池残量検出装置。   9. The battery remaining amount detection device according to claim 8, wherein, with respect to a current amount calculation result from the current current calculation circuit after the standby state is released, the control unit includes a plurality of units corresponding to a current temperature and a power supply voltage state. The remaining battery level detection apparatus which performs a correction process using the correction table and calculates the remaining battery level. A/D変換器の両入力端子間に設けられた電流値検出用のセンス抵抗と、該センス抵抗の両端に接続されたオフセット検出用回路とを有し、
該オフセット検出用回路は、該センス抵抗をバイパスするバイパス経路と、該バイパス経路に設けられ、該バイパス経路を導通状態とするかまたは非導通状態とする第1スイッチ手段と、該センス抵抗に電流を流す電流経路と、該電流経路に設けられ、該電流経路を導通状態とするかまたは非導通状態とする第2スッチ手段とを有するA/D変換回路。
Possess a sense resistor for current value detection provided between the input terminals of the A / D converter, and an offset detection circuit connected to both ends of the sense resistor,
The offset detection circuit includes a bypass path for bypassing the sense resistor, a first switch means provided in the bypass path for bringing the bypass path into a conductive state or a non-conductive state, and a current through the sense resistor. A / D conversion circuit comprising: a current path through which the current flows; and a second switch means provided in the current path for bringing the current path into a conductive state or a non-conductive state .
請求項10に記載のA/D変換回路において、オフセット値検出開始時は、前記第1スイッチ手段をオンして前記バイパス経路を導通状態とした後に前記第2スイッチ手段をオフして前記電流経路を非導通状態とし、該オフセット値検出終了時以降は該第2スイッチ手段をオンして該電流経路を導通状態とした後に該第1スイッチ手段をオフして該バイパス経路非導通状態とするA/D変換回路。
11. The A / D converter circuit according to claim 10 , wherein at the time of starting offset value detection, the first switch means is turned on to bring the bypass path into a conductive state, and then the second switch means is turned off to pass the current path. It was a non-conductive state, the offset value detection end later and a non-conducting state the bypass passage off the first switch means after the said current path in a conducting state by turning on the second switch means A / D conversion circuit.
JP2011289943A 2011-12-28 2011-12-28 A / D conversion circuit, A / D converter error correction device, and battery remaining amount detection device Expired - Fee Related JP5852882B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011289943A JP5852882B2 (en) 2011-12-28 2011-12-28 A / D conversion circuit, A / D converter error correction device, and battery remaining amount detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011289943A JP5852882B2 (en) 2011-12-28 2011-12-28 A / D conversion circuit, A / D converter error correction device, and battery remaining amount detection device

Publications (2)

Publication Number Publication Date
JP2013141095A JP2013141095A (en) 2013-07-18
JP5852882B2 true JP5852882B2 (en) 2016-02-03

Family

ID=49038182

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011289943A Expired - Fee Related JP5852882B2 (en) 2011-12-28 2011-12-28 A / D conversion circuit, A / D converter error correction device, and battery remaining amount detection device

Country Status (1)

Country Link
JP (1) JP5852882B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7629267B2 (en) * 2018-02-01 2025-02-13 ローム株式会社 Semiconductor device, power supply management circuit, and electronic device
CN115087174B (en) * 2022-07-07 2025-04-11 伏诺瓦(天津)科技有限公司 A single live wire intelligent switch and electric energy metering method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3343854B2 (en) * 1997-10-31 2002-11-11 東芝電池株式会社 Battery level measurement device
JPH11344545A (en) * 1998-06-03 1999-12-14 Fuji Film Celltec Kk Method for measuring electric current of battery pack
JP4186092B2 (en) * 1999-08-18 2008-11-26 ソニー株式会社 Battery device and battery management method
JP4719972B2 (en) * 2000-12-11 2011-07-06 富士電機システムズ株式会社 Charge / discharge current measuring device
JP5251943B2 (en) * 2010-09-09 2013-07-31 株式会社デンソー Battery charge / discharge current detector

Also Published As

Publication number Publication date
JP2013141095A (en) 2013-07-18

Similar Documents

Publication Publication Date Title
US9176201B2 (en) Ground fault detection device, ground fault detection method, solar energy system, and ground fault detection program
JP5777303B2 (en) Battery deterioration detection device, battery deterioration detection method and program thereof
JP5897701B2 (en) Battery state estimation device
US8305035B2 (en) Energy storage device
US20130285670A1 (en) Ground fault detection device, ground fault detection method, solar energy generator system, and ground fault detection program
US11984743B2 (en) Battery pack and charging method for a battery pack
CN108966670B (en) Electricity meter and its current acquisition calibration circuit and calibration method
US20140225444A1 (en) Earth fault detection device, earth fault detection method, solar power generation system, and earth fault detection program
US10502790B2 (en) Battery internal resistance measuring device having a differential value calculating unit to treat two adjacent first voltage sampling values with first slope value calculation
US20120306436A1 (en) Electric storage device condition determination device, electrically chargeable device, and method of determining electric storage device condition
WO2007142195A1 (en) Method for judging abnormality of battery pack, and battery pack
JP2019504451A (en) Effective battery cell balancing method and system using duty control
JP6386816B2 (en) Battery state monitoring circuit and battery device
JP3987178B2 (en) Battery pack deterioration determination method and battery pack deterioration determination device
TW201606328A (en) Battery residual prediction device and battery pack
JP5852882B2 (en) A / D conversion circuit, A / D converter error correction device, and battery remaining amount detection device
JP2020016582A (en) Semiconductor device and method for detecting remaining amount of battery
JP5031051B2 (en) Circuit breaker monitoring device and detection method of circuit breaker monitoring device
JP4569460B2 (en) Battery pack capacity adjustment device
JP6631172B2 (en) Internal resistance calculation device, computer program, and internal resistance calculation method
JP6472204B2 (en) Charge / discharge power supply
CN111123106A (en) Sensor and method for checking a sensor
JP5752086B2 (en) Secondary battery monitoring device
JP6662033B2 (en) Method and apparatus for measuring resistance of storage element
JP2014010028A (en) Battery impedance measuring device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141001

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150625

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150820

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20151002

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20151015

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151207

R150 Certificate of patent or registration of utility model

Ref document number: 5852882

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees