A method and system for measuring the remaining capacity of a battery with open circuit voltage detection is disclosed. The method includes the steps of measuring an open circuit voltage, obtaining an initial capacity based on the open circuit voltage, initializing an accumulation counter with the initial capacity, adjusting the accumulation counter, and obtaining the remaining capacity based on the accumulation counter. The method further includes the step of calibrating the accumulation counter to eliminate accumulated error and offset resulting from the previous operation of adjusting the accumulation counter.
|
1. A method for measuring a remaining capacity of a battery, comprising the steps of:
measuring an open circuit voltage;
initializing an accumulation counter with an initial capacity;
calibrating the accumulation counter with a calibrating capacity;
obtaining the initial capacity and the calibrating capacity of the battery based on the open circuit voltage;
setting a first flag indicating that a host device initializes the accumulation counter;
adjusting the accumulation counter according to a discharging or charging process of the battery; and
obtaining the remaining capacity of the battery based on the accumulation counter.
7. A system for measuring remaining capacity in a battery, comprising:
a battery having an open circuit voltage;
a battery monitor for monitoring the battery and measuring the open circuit voltage, the battery monitor including an accumulation counter and the battery monitor setting a first flag; and
a host device for reading the battery monitor and indicating the remaining capacity of the battery, the host device further being capable of initializing the accumulation counter with an initial capacity and calibrating the accumulation counter with a calibrating capacity,
wherein the battery monitor setting the first flag to indicate that the host device has initialized the accumulation counter, the initial capacity and the calibrating capacity being obtained based on the open circuit voltage.
14. An electronic device capable of displaying remaining capacity of a battery, comprising:
a power terminal for receiving electrical power from the battery;
a battery monitor connected to the battery for detecting battery parameters, the battery monitor further including an accumulation counter for indicating a capacity status of the the battery parameters including an open circuit voltage for initializing the accumulation counter with an initial capacity and calibrating the accumulation counter with a calibrating capacity, and the battery monitor setting a first flag indicating that a host device initializes the accumulation counter;
a microprocessor for computing the remaining capacity of the battery based on the battery parameters and the capacity status of the battery obtained from the battery monitor; and
a display screen for displaying the remaining capacity of the battery.
2. The method of
3. The method of
4. The method of
5. The method of
9. The system of
10. The system of
11. The system of
12. The system of
13. The system of
15. The electronic device of
16. The electronic device of
|
This application claims the benefit of U.S. Provisional Application No. 60/761,286, Approach For Evaluating The Battery Remaining Capacity, filed on Jan. 23, 2006, the specification of which is hereby incorporated in its entirety by reference.
1. Field of the Invention
The present invention relates to power management for electronic devices, and more particularly to measuring battery capacity.
2. Description of the Related Art
Currently, to meet users' various demands, more and more functionalities are integrated into portable devices. However, the power source has quickly become a bottleneck to such functionality expansion. One concern is that improvement of battery power density cannot keep up with the demands, and another concern is that the dynamic load profile makes tracking battery status a complex task. Usually, depletion of the battery power without timely alert can lead to unpleasant results, and to preclude the unpleasant results, it is desirable for users to be informed of the battery status. Now, more and more circuit designers are casting their eyes on battery monitor apparatuses, fox example, battery gas gauge, to improve capacity measurement and prediction of battery run-time.
One gas gauge approach is to use voltage measurement for battery capacity reports, since batteries always exhibit certain voltage versus capacity characteristics. Although simple and low in hardware cost, the voltage-based scheme compromises the accuracy by failing to account for the elusive battery impedance. Therefore, the voltage measurement is always affected by battery impedance effect, which can make the voltage measurement invalid for capacity prediction.
An alternative to the voltage-based scheme is to count coulomb charge passing in and out of batteries via an accumulation counter in addition to the voltage measurement. Coulomb charge, computed by integrating battery current over time, is a representation of battery capacity. The gas gauges based on coulomb charge counting and voltage measurement schemes have two types, with and without a CPU. The gas gauge with a CPU provides a stand-alone solution for battery capacity reports. All measurement and computation are accomplished by the battery gas gauge, and key battery parameters, such as remaining capacity and relative state of charge, are directly accessible by the host through the communication port. The gas gauge without a CPU, known as a battery monitor, provides coulomb data to the host along with battery voltage and temperature readings. The host develops a gas gauge code to process the data and compute the remaining capacity of the battery. Unfortunately, the gas gauge code is unfamiliar to engineers specializing in software development at the host end, and it is usually a complicated task to compute the remaining capacity of the battery at the host. Further, though the gas gauge with the CPU can directly provide the host with the remaining capacity of the battery, the financial cost of this approach is higher.
Regardless whether equipped with a CPU, one concern with the coulomb counting approach is that the initial capacity is estimated using the simple voltage-based measurement which induces inaccuracy at the beginning of the coulomb counting. Another concern with the coulomb counting approach is that during the dynamic monitor stage, accumulated error and offset will inevitably occur and result in inaccuracy for a long term monitoring. Therefore, it is desirable to have a system and method which can enhance the measurement accuracy without additional circuitries and it is to such a system and method the present invention is primary directed.
In one embodiment, there is provided a method for measuring remaining capacity in a battery. The method includes the steps of a) measuring an open circuit voltage, b) obtaining a capacity of the battery based on the open circuit voltage, c) storing the capacity of the battery in an accumulation counter, d) adjusting the accumulation counter according to a discharging or charging process of the battery, and e) obtaining the remaining capacity of the battery based on the accumulation counter.
In another embodiment, there is provided a system for measuring the remaining capacity of a battery. The exemplary system includes a battery having an open circuit voltage, a battery monitor for monitoring the battery and measuring the open circuit voltage, and a host device for reading the battery monitor and indicating the remaining capacity of the battery. The battery monitor includes an accumulation counter, and the host device is capable of initializing the accumulation counter with an initial capacity and calibrating the accumulation counter with a calibrating capacity.
In yet another embodiment, there is provided an electronic device capable of displaying remaining capacity of a battery. The electronic device includes a power terminal for receiving electrical power from the battery, a battery monitor connected to the battery for detecting battery parameters, a microprocessor for computing the remaining capacity of the battery based on the battery parameters and capacity status of the battery obtained from the battery monitor, and a display screen for displaying the remaining capacity of the battery. The battery monitor further includes an accumulation counter for indicating the capacity status of the battery, and the battery parameters include open circuit voltage for initializing and calibrating the accumulation counter,
Advantages of the present invention will be apparent from the following detailed description of exemplary embodiments thereof, which description should be considered in conjunction with the accompanying drawings, in which:
Reference will now be made in detail to embodiments of the present invention. While the invention will be described in conjunction with the embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims.
The battery pack 110 is composed of a protection circuit 101, a battery cell 103, a temperature sense circuit 105 and a battery ID circuit 107. The battery pack 110 further has a positive terminal PACK+ and a negative terminal PACK− that respectively have the highest potential and the lowest potential of the battery pack 110. The battery cell 103 serves as a system power source whose remaining capacity increases during a charging process and decreases during a discharge process. The battery cell 103 may be any commercially available battery, for example, a Lithium-Ion battery. The protection circuit 101 is connected to the battery cell 103 for protecting it from over charge, over discharge and over current. In order to evaluate the remaining capacity of the battery cell 103, several battery parameters, such as open circuit voltage of the battery cell 103, battery type, battery voltage, battery current and battery temperature, should be detected. Particularly, characteristics of the open circuit voltage are that the open circuit voltage is correlative to the battery capacity and the relationship between the open circuit voltage and the battery capacity hardly changes with battery temperature, battery aging, and cell-to-cell variations. Therefore, the open circuit voltage of the battery cell 103 is an ideal indication for the remaining capacity of the battery. However, since it is hard to obtain the open circuit voltage in a dynamic load environment, the open circuit voltage is only used to represent the remaining capacity of the battery before the system 100 is powered on and after the system 100 is powered off. Therefore, in the dynamic load environment, other battery parameters, such as the battery temperature, the battery voltage and the battery current, should be detected to acquire the remaining capacity of the battery.
The open circuit voltage is detected by the voltage sense circuit 115. The battery temperature is detected by the temperature sense circuit 105, which is packed within the battery pack 110. The battery type is detected by the battery ID circuit 107 in the battery pack 110. The battery current is detected by the current sense circuit 117 and the battery voltage is also detected by the voltage sense circuit 115. The battery monitor 120 can automatically identify the voltage detected by the voltage sense circuit 115 to be the open circuit voltage or the battery voltage. For example, the battery monitor 120 regards the detected voltage as the open circuit voltage if the voltage is detected before the system 100 is powered on or after the system is power off for a predetermined period, otherwise, the battery monitor 120 regards the detected voltage as the battery voltage. These battery parameters are provided to the battery monitor 120.
The battery monitor 120 is composed of a multiplexer (MUX) 121, an analog to digital converter (ADC) 123, a plurality of registers and a reference clock 139. The multiplexer 121 receives the battery parameters and sequentially selects and passes them to the ADC 123. The ADC 123 is a multi-channel converter for digitizing the received battery parameters. The digitized battery parameters are stored in the plurality of registers. The plurality of registers includes a temperature register 125 used for storing the battery temperature, a battery ID register 127 for storing the battery type, a cell voltage register 129 for storing the battery voltage, and a current register 131 for storing the battery current. The plurality of registers also includes some special registers such as a current accumulation register 133, an open circuit voltage register 135, and a flag registers 137. The current accumulation register (CAR) 133 serves as an accumulation counter to indicate a dynamic remaining capacity of the battery. The open circuit voltage (OCV) register 135 stores the open circuit voltage of the battery. The flag register 137 is used to indicate whether the OCV is detected and which condition triggers the OCV detection. For example, a first flag POOCV in the flag register 137 indicates that the OCV is detected before the system is powered on, and a second flag SLEEPOCV in the flag register 137 indicates that the OCV is detected after the system is power off for a predetermined period. However, it should be understood by the skilled in the art that indication of the OCV detection can be realized by other conventional approaches, for example, indicating the OCV detection with a bit of the OCV register 135. The reference clock 139 generates time clock signals and provides accurate timing reference for operation of the ADC 123 and the plurality of registers using these time clock signals.
The battery monitor 120 operates in three modes, a start-up mode, a full power mode and a sleep mode. In the start-up mode, the battery pack 110 is initially attached to the battery monitor 120 and the battery monitor 120 automatically executes voltage calibration, temperature detection, battery type detection and OCV detection when powering up. The battery type detection is conducted only once. In other words, during the following operation cycle of the system, the originally detected battery type is steadily stored in the battery ID register 127 for future usage. Compared with the battery type, the battery voltage, the battery current and the battery temperature are measured and updated dynamically when the battery monitor 120 is operating in the full power mode. The CAR register 133 is also updated whenever the battery current is measured. After the battery current is measured, an internally accumulated action will be taken automatically which computes the coulomb charge by integrating the measured battery current value over time. Based on the coulomb charge, the CAR register 133 is updated. In the sleep mode, the OCV detection is also automatically executed on a certain condition, for example, when the battery monitor is in the sleep mode for a predetermined period.
The host device 130 can access the plurality of registers through communicating with the battery monitor 120 via SMbus 141. The SMbus 141 may adopt various protocols to realize communication between the host device 130 and the battery monitor 120, for example, an I2C protocol. Based on these battery monitor readings, the host device 130 calculates and calibrates the remaining capacity of the battery pack. Specifically, when the host device 130 acknowledges that the OCV detection occurs in the start-up mode after reading the flag register 137 and acquiring the first flag POOCV, the host device 130 will initialize the CAR register 133 with an initial capacity obtained from a look up table according to the battery type and OCV readings. Similarly, if the host device 130 acknowledges that the OCV detection occurs in the sleep mode after reading the flag register 137 and acquiring the second flag SLEEPOCV, the host device 130 will calibrate and rewrite the CAR register 133 with a calibrating capacity obtained from the look up table according to the battery type and OCV readings. Due to the characteristics of the open circuit voltage as previously stated, the CAR initialization according to the OCV and battery type readings is more accurate than the traditional initialization based simply on the battery voltage. The CAR calibration under the full power mode, which is executed if the second flag SLEEPOCV is stored in the flag register 137 in the sleep mode, can eliminate the accumulated error and offset caused by the coulomb counting.
In the full power mode, the host device 130 firstly initializes the CAR register 133 in step 207. In step 207, the host device 130 accesses the flag register 137 to learn whether the OCV detection has occurred. When reading out the first flag POOCV, the host device 130 will read the OCV register 135 and the battery ID register 127. According to the readings from the registers 127 and 135, the host device 130 searches in the look up table and obtains the initial capacity of the battery pack 110. Then, the host device 130 initializes the CAR register 133 with the initial capacity. After the host device 130 accesses the OCV register 135 in the CAR initialization step 207, the first flag POOCV in the flag register 137 is cleared in step 209. Finally, the battery monitor enters the dynamic monitor stage in step 211.
In the dynamic monitor stage, the battery monitor 120 scans the battery temperature, the battery voltage and the battery current continuously to update the registers 125, 129 and 131 respectively. The CAR register 133 is also updated dynamically based on the battery current flowing in and out the battery cell 103 respectively during the charging and discharging processes. These registers are accessible by the host device 130. The host device 130 utilizes the CAR reading to compute the remaining capacity, and utilizes the temperature and current readings to compensate the battery capacity. The battery monitor 120 will stay in the dynamic monitor stage until a mode shift is triggered.
The battery monitor 120 will stay in the sleep mode until another mode shift is triggered. In the situation, the mode shift is triggered when the host device 130 is powered on. In step 303, the system determines whether the mode shift has been triggered. If the mode shift has not been triggered, i.e., the host device 130 is still power off, the system further checks how long the battery monitor 120 has stayed in the sleep mode. The battery monitor 120 behaves differently with different durations in the sleep mode. In step 305, the battery monitor 120 determines whether a predetermined period has elapsed after it shifts to the sleep mode. The predetermined period, for example, 30 minutes, is determined and programmed by the host device 130 and is adjustable according to users' demands. If the duration of the sleep mode reaches the predetermined period, the battery monitor 120 detects and stores the open circuit voltage again in step 307. The second flag SLEEPOCV is also stored in the flag register 137 in step 309 to indicate the occurrence of the OCV detection in the sleep mode. After steps 307 and 309, the system returns to step 303 and determines in which mode the system 100 is operating. If the duration does not reach the predetermined period, the battery monitor 120 will return to step 303 directly.
If the mode shift is triggered when the host device 130 is powered on, the battery monitor will shift from the sleep mode to the full power mode. After entering the full power mode, the host device 130 firstly determines whether valid OCV detection has occurred in the sleep mode in step 311. This is determined through reading the flag register 137 and the OCV register 135. In step 311, if the second flag SLEEPOCV is read out from the flag register 137, the host device 130 will read the OCV register 135 and the battery ID register 127. According to the readings from the registers 127 and 135, the host device 130 searches in the look up table and obtains the calibrating capacity of the battery pack 110. Then, the host device 130 calibrates the CAR register 133 with the calibrating capacity. However, if the OCV reading is obviously invalid, for example, 0 volt, the battery monitor 120 will not search the calibrating capacity and calibrate the CAR register 137. In addition, after the host device 130 accesses the OCV register 135 in step 313, the second flag SLEEPOCV in the flag register 137 is cleared in step 315. Then, the battery monitor 120 enters the normal dynamic monitor stage in step 211. In step 311, if after the flag register 137 is read, it is found that the second flag SLEEPOCV is not present in the flag register 137, the steps 313 and 315 are not executed, and the battery monitor 120 enters the normal dynamic monitor stage 211 directly. Afterward, the battery monitor 120 will repeat the conversion between the full power mode and the sleep mode following the aforementioned steps until the battery power is depleted.
The gas gauge approach as aforementioned can be utilized in various electronic system. The electronic system may be a cell phone, a computer, and a personal digital assistant (PDA), media player 4 (MP4) or other electronic products. Herein, we take the cell phone as an example to illustrate how the remaining capacity of a battery is acquired and displayed. The cell phone includes a power terminal, a microprocessor, a display screen, memory and a battery monitor. The power terminal is connected to the battery for receiving electrical power. The battery monitor 120 is also connected to the battery pack 110 for detecting battery parameters. The battery monitor 120 further includes an accumulation counter that indicates capacity status of the battery dynamically. Among the battery parameters, open circuit voltage is specially detected by the battery monitor 120. Based on the detected open circuit voltage, a remaining battery capacity value is obtained from a look up table that is stored in the memory of the cell phone. Then, the obtained capacity value is used to initialize or calibrate the accumulation counter. The battery parameters and the capacity status indicated by the accumulation counter are then accessed by the microprocessor in Host Device 130 through the SMBus 141. The microprocessor uses such information to compute the remaining capacity of the battery. Finally, the remaining capacity of the battery is displayed on the display screen.
The terms and expressions which have been employed herein are used as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding any equivalents of the features shown and described (or portions thereof), and it is recognized that various modifications are possible within the scope of the claims. Other modifications, variations, and alternatives are also possible. Accordingly, the claims are intended to cover all such equivalents.
Liu, Liusheng, Kao, William, Hou, Vincent
Patent | Priority | Assignee | Title |
10050458, | Dec 10 2007 | Ascensia Diabetes Care Holdings AG | Rapid charging and power management of a battery-powered fluid analyte meter |
10291051, | Jan 11 2013 | RIOT ENERGY, INC | Methods and systems for recharging a battery |
10320212, | Dec 10 2007 | Ascensia Diabetes Care Holdings AG | Rapid charging and power management of a battery-powered fluid analyte meter |
10763681, | Dec 10 2007 | Ascensia Diabetes Care Holdings AG | Rapid charging and power management of a battery-powered fluid analyte meter |
11735940, | Jan 11 2013 | RIOT ENERGY, INC | Methods and systems for recharging a battery |
7904260, | Feb 28 2007 | STMICROELECTRONICS INTERNATIONAL N V | Integrated circuit and method for classification of electrical devices and short circuit protection |
7908101, | Feb 28 2007 | STMICROELECTRONICS INTERNATIONAL N V | Integrated circuit and method for monitoring and controlling power and for detecting open load state |
7932623, | Aug 04 2008 | STMICROELECTRONICS INTERNATIONAL N V | Method and system for driving a vehicle trailer tow connector |
8134339, | Feb 28 2007 | STMICROELECTRONICS INTERNATIONAL N V | Integrated circuit and method for preserving vehicle's battery charge and protecting trailer load |
8198865, | Feb 28 2007 | STMICROELECTRONICS INTERNATIONAL N V | Trailer tow method for controlling charging |
8242748, | Feb 28 2007 | STMICROELECTRONICS INTERNATIONAL N V | Trailer tow preserving battery charge circuit |
8275562, | May 16 2008 | MEDIATEK INC. | Method for evaluating remaining electric charge of a battery, and associated single chip system |
8548633, | Nov 30 2010 | BAYCO PRODUCTS, INC | Battery pack control circuit for handheld battery operated device |
8660808, | Dec 02 2008 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Method for accurate battery run time estimation utilizing load-condition voltage |
9113276, | Mar 27 2012 | Z BATTERY DIP LENDERS, LLC | Automatic reconfiguration of a hearing assistance device based on battery characteristics |
9121912, | Nov 27 2009 | HAHN-SCHICKARD-GESELLSCHAFT FUER ANGEWANDTE FORSCHUNG E V | Loading state determiner, load assembly, power supply circuit and method for determining a loading state of an electric power source |
9241224, | Jun 25 2013 | Samsung Electronics Co., Ltd. | Method for providing hearing aid compatibility mode and electronic device thereof |
9551757, | Nov 23 2012 | Samsung Electronics Co., Ltd. | Measuring devices of remaining battery life and measuring methods thereof |
9667078, | Dec 10 2007 | Ascensia Diabetes Care Holdings AG | Rapid charging and power management of a battery-powered fluid analyte meter |
Patent | Priority | Assignee | Title |
4387334, | Jun 05 1981 | Rockwell International Corporation | Battery monitor circuit |
4910682, | Dec 14 1984 | DEUTSCHE BANK AG, NEW YORK BRANCH | Method of calibrating and determining the rotational and fluid delivery velocities of a peristaltic fluid pump |
5701068, | Apr 03 1995 | Electrosource, Inc. | Battery management system |
6469403, | Apr 06 2000 | Suzuki Motor Corporation | Control apparatus for hybrid vehicle |
6737831, | Sep 01 1999 | Method and apparatus using a circuit model to evaluate cell/battery parameters | |
7107160, | Oct 09 2001 | HEWLETT-PACKARD DEVELOPMENT COMPANY L P | Use-adaptive fuel gauging for battery powered electronic devices |
7363000, | Dec 13 2002 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Method, system, and computer program product for providing multi-tiered broadcasting services |
20020157882, | |||
20050068039, | |||
20070120536, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
May 09 2006 | KAO, WILLIAM | 02Micro, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 017928 | /0842 | |
May 09 2006 | HOU, VINCENT | 02Micro, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 017928 | /0842 | |
Jun 15 2006 | O2Micro International Ltd. | (assignment on the face of the patent) | / | |||
Aug 07 2006 | LIU, LIUSHENG | O2Micro, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019739 | /0667 | |
Jun 04 2009 | O2MICRO INC | O2Micro International Limited | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 022790 | /0367 |
Date | Maintenance Fee Events |
Jan 07 2013 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Jan 09 2017 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Dec 04 2020 | SMAL: Entity status set to Small. |
Jan 07 2021 | M2553: Payment of Maintenance Fee, 12th Yr, Small Entity. |
Date | Maintenance Schedule |
Jul 07 2012 | 4 years fee payment window open |
Jan 07 2013 | 6 months grace period start (w surcharge) |
Jul 07 2013 | patent expiry (for year 4) |
Jul 07 2015 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jul 07 2016 | 8 years fee payment window open |
Jan 07 2017 | 6 months grace period start (w surcharge) |
Jul 07 2017 | patent expiry (for year 8) |
Jul 07 2019 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jul 07 2020 | 12 years fee payment window open |
Jan 07 2021 | 6 months grace period start (w surcharge) |
Jul 07 2021 | patent expiry (for year 12) |
Jul 07 2023 | 2 years to revive unintentionally abandoned end. (for year 12) |