The invention relates to a scheme for adjusting a voltage threshold and measuring an internal resistance for a battery, and more particularly to method and apparatus for adjusting the voltage threshold and/or internal resistance for the battery.
Generally speaking, the internal resistance of a battery may be different when the battery is used under different conditions. In addition, different batteries may correspond to different internal resistances. The internal resistance of the battery may cause an internal voltage drop when a current is flowing through the battery. Especially, when a higher charging current is used for charging the battery, the internal voltage drop becomes more significant.
For charging the battery, a conventional charging scheme may include two operation modes: the constant current charging mode and constant voltage charging mode. The internal voltage drop may cause the conventional charging scheme switch from constant current charging mode to constant voltage charging mode too early. It may cause the charging current for the battery smaller and the whole waiting time for charging the battery longer. That is, a conventional protection scheme may too late to sense to protect the battery due to the internal voltage drop. Thus, it is important and necessary to provide a scheme capable of protecting the battery at a correct timing and/or charging the battery rapidly.
It is therefore one of the objectives of the invention to provide a scheme for adjusting a voltage threshold for a battery by calculating/deriving the internal resistance of battery, so as to solve the above-mentioned problems.
According to an embodiment of the invention, a method for adjusting a voltage threshold for a battery being connected to a portable device is disclosed. The method comprises: dynamically measuring an internal resistance of the battery; and dynamically adjusting the voltage threshold according to the internal resistance of the battery and a current flowing through the battery.
According to an embodiment of the invention, a method for dynamically measuring an internal resistance of a battery being connected to a portable device is disclosed. The method comprises: measuring an external voltage level of the battery for a first time to generate a first result and measuring a charging current to be provided to the battery; measuring the external voltage level for a second time to generate a second result when the charging current is being provided to the battery; and estimating the internal resistance of the battery according to the first result, the second result, and the charging current.
According to an embodiment of the invention, an apparatus for adjusting a voltage threshold for a battery being connected to a portable device is disclosed. The apparatus comprises a sensor circuit and a controller circuit. The sensor circuit is used for dynamically measuring an internal resistance of the battery. The controller circuit is coupled to the sensor circuit and used for dynamically informing a system operating on the portable device to adjust the voltage threshold according to the internal resistance of the battery and a current flowing through the battery.
According to an embodiment of the invention, a sensor circuit for dynamically measuring an internal resistance of a battery being connected to a portable device is disclosed. The sensor circuit comprises a measuring circuit and a calculating circuit. The measuring circuit is used for measuring an external voltage level of the battery for a first time to generate a first result, measuring a charging current to be provided to the battery, and measuring the external voltage level for a second time to generate a second result when the charging current is being provided to the battery. The calculating circuit is coupled to the measuring circuit and used for estimating the internal resistance of the battery according to the first result, the second result, and the charging current.
According to the above embodiments, one of the advantages of the invention is that the apparatus mentioned above can dynamically adjust the maximum voltage threshold and/or the minimum voltage threshold by referring to the internal resistance of the battery so as to avoid malfunction caused by the internal voltage drop to reduce the whole waiting time for charging the battery and precisely protect the battery cell.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Please refer to
In practice, the sensor circuit 100 comprises a measuring circuit 105 and a calculating circuit 110. The measuring circuit 105 is used for measuring or sensing an external voltage level VBAT of battery 115 being connected to the portable device and a current IBAT flowing through the battery 115. For example, the external voltage level VBAT of the battery 115 may comprise an internal voltage drop and an actual voltage level at a battery cell within the battery 115. In addition, the current IBAT flowing through the battery 115 may be a charging current provided for the battery 115 or a current provided by the battery 115. That is, the measuring circuit 105 can measure the charging current provided for the battery 115 (i.e. a current flowing into the battery) or an output current provided by the battery 115 (i.e. a current flowing out from the battery 115). The calculating circuit 110 is used for calculating/deriving the internal resistance of the battery 115 according to the sensed external voltage level VBAT and the sensed current IBAT flowing through the battery 115.
In this embodiment, for example, the current flowing through the battery 115 is the charging current provided for the battery 115. The measuring circuit 105 is arranged for measuring the external voltage level VBAT of the battery 115 when no currents flow into or out from the battery 115 for a first time to generate a first result. In this situation, the sensed voltage level VBAT comprises the actual voltage level at the battery cell within battery 115 and excludes the internal voltage drop since no currents flow through the battery 115. In addition, the measuring circuit 105 is arranged to measure the charging current to be provided to the battery 115. Then, the measuring circuit 105 is arranged for measuring the external voltage level VBAT when the charging current is being provided to the battery 115 for a second time to generate a second result. In this situation, the sensed voltage level VBAT comprises the actual voltage level at the battery cell and the internal voltage drop caused by the charging current. Finally, after the first result and the second result have been generated, the calculating circuit 110 is arranged for estimating/calculating the internal resistance of the battery 115 according to the first result, the second result, and the charging current. The charging current can be a substantially constant current ICC under a constant current charging mode or a varying charging current under a constant voltage charging mode.
In other words, the measuring circuit 105 measures or detects the external voltage level VBAT of the battery 115 twice for generating the first result and the second result. The calculating circuit 110 calculates a voltage difference between two detected voltage levels based on the first and second results. Then, the calculating circuit 110 calculates or derives the internal resistance R_INT based on the voltage difference and the charging current mentioned above. The measurement or detection for the external voltage level VBAT can be dynamically performed or executed by the measuring circuit 105. That is, the measuring circuit 105 can decide when to perform the measurement or detection according to different operation conditions.
Additionally, in another embodiment, the current flowing through the battery 115 may be the output current provided by the battery 115 for the system when the system operating on the portable device is consuming energy of the battery 115. In this situation, the measuring circuit 105 can also be arranged to measure the external voltage level VBAT of battery 115 twice for generating the first and second results, and the calculating circuit 110 can calculate a voltage difference and derive the internal resistance R_INT of battery 115 based on the voltage difference and the output current flowing out from the battery 115. Thus, whether the battery is being charged by an adaptor or is providing energy for the system, the sensor circuit 100 is capable of estimating or tracing the equivalently internal resistance R_INT of battery 115.
Specifically, when the apparatus 200 decides to control the sensor circuit 100 to start estimation of the internal resistance R_INT of battery 115, the power path switch MP initially is turned on so that the switch MP is closed, and the apparatus 200 is arranged to provide the charging current ICC for the battery 115 in this situation. This controlling operation may be triggered by the controller circuit 205 of the apparatus 200. The sensor circuit 100 is arranged to measure the external voltage level VBAT for the first time to generate the first result. In this situation, the sensed voltage level VBAT comprises the actual voltage level at the battery cell within the battery 115 but excludes the internal voltage drop since almost no currents flow into or out from the battery 115. In addition, the sensor circuit 100 is arranged to measure the charging current ICC to be provided to the battery 115. For example, the external voltage level measured by the sensor circuit 100 for the first time may be equal to VBAT_INT, and the charging current measured by the sensor circuit 100 may be equal to a substantially constant charging current ICC under the constant current charging mode. Then, the power path switch MP is turned off so that the switch MP becomes open, and the system voltage VSYS and the external voltage level VBAT are disconnected. In this situation, the apparatus 200 is arranged to provide the charging current ICC for charging the battery 115. The sensor circuit 100 is arranged to measure the external voltage level VBAT for the second time to generate the second result. For example, the external voltage level measured by the sensor circuit 100 for the second time may be equal to VBAT1. The voltage level VBAT1 is comprised by the actual voltage level VBAT_INT at the battery cell and the internal voltage drop. In the next step, the sensor circuit 100 calculates the voltage difference between VBAT1 and VBAT_INT and can accurately derive the internal resistance R_INT based on the measured voltage levels VBAT1 and VBAT_INT and the charging current ICC.
In another embodiment, it should be noted that measuring the external voltage level VBAT of batter 115 can be performed or executed twice when the apparatus 200 is providing charging current for charging the battery 115. The internal resistance R_INT of battery 115 can still be effectively estimated or calculated.
After calculating the internal resistance R_INT of battery 115, the controller circuit 205 within the apparatus 200 is arranged to adjust the voltage threshold for the battery 115 according the internal resistance R_INT. In this example, when the battery is being charged, the voltage threshold may indicate a maximum voltage threshold of battery when the battery 115 is being charged. That is, the voltage threshold is a maximum threshold for the external voltage level of battery. For example, the maximum voltage threshold can be configured for the constant current charging mode and/or the constant voltage charging mode. The controller circuit 205 may increase the maximum threshold under the constant current charging mode and dynamically increase/decrease the maximum threshold under the constant voltage charging mode. It should be noted that the adjusted maximum voltage threshold is higher than or equal to an initially configured maximum voltage threshold whether it is under the constant current charging mode or the constant voltage charging mode. This is because the internal resistance of battery causes an actually maximum voltage level at the cell of battery to be lower than the target maximum voltage threshold which may be configured initially. Increasing the maximum voltage threshold for the external voltage level VBAT when the battery is being charged, it can make that the actually maximum voltage level at the battery cell approximate or equal to the target maximum voltage threshold when the battery is full.
Please refer to
In another embodiment, during the interval between timing T1 and timing T2, it may be not required for the apparatus 200 to detect the internal resistance R_INT since the variance of internal resistance R_INT may be small and can be ignored. In this situation, the apparatus 200 merely dynamically or periodically senses the charging current and adjusts the target maximum voltage threshold based on the currently detected charging current the internal resistance R_INT previously detected. In the example of
In another embodiment, when the battery is being used for providing energy to the system operating on the portable device, the apparatus 200 can be arranged to adjust the target minimum voltage threshold for the system so that the battery can be appropriately protected and the system can consume more power from the battery simultaneously. That is, the battery can be protected and battery life can be extended. For example, the apparatus 200 can detect and calculate the internal resistance R_INT, and then can make the system operating on the portable device adjust or tune the target minimum voltage threshold which is requested by the system itself. After calculating the internal resistance R_INT, the apparatus 200 is arranged for notifying the system of information of the internal resistance R_INT. Thus, the system can adjust or tune the target minimum voltage threshold that has been originally configured so as to generate a new target minimum voltage threshold according to the internal resistance R_INT and the current provided from the battery 115 to the system. The system can also employ software techniques to calculate or derive the new target minimum voltage threshold based on the information of internal resistance R_INT and the current. The apparatus 200 is capable of dynamically making the system raise or lower the minimum voltage threshold so that the battery can be used for providing more energy to the system before the system decides to shut down and the battery can be appropriately protected. For example, if the target minimum voltage threshold is initially configured as 3.4 Volts, this indicates that the system may shut down to protect the battery and some circuits if the external battery voltage becomes lower than 3.4 Volts. In this situation, if the internal resistance R_INT is smaller (i.e. the battery 115 is employed by a good battery), then the system may slightly lower the target minimum voltage threshold so that more energy of the battery 115 can be provided to the system. For example, a new target minimum voltage threshold may be configured by the system as 3.3 Volts. That is, the system may shut down to protect the battery and some circuits only when the external battery voltage becomes lower than 3.3 Volts. Instead, if the internal resistance R_INT is larger (i.e. the battery 115 is employed by a bad battery), then the system may slightly raise the target minimum voltage threshold so that the battery 115 and/or some circuits can be appropriately protected. For example, a new target minimum voltage threshold may be configured by the system as 3.5 Volts. That is, the system may shut down to protect the battery and some circuit(s) early once the external battery voltage becomes lower than 3.5 Volts. It should be noted that the above-described operations are not meant to be limitations of the invention.
Please refer to
Step 405: Start;
Step 410: the switch MP is closed and the sensor circuit 100 is arranged to measure the external voltage level VBAT of battery 115 for the first time;
Step 415: the switch MP is open and the sensor circuit 100 is arranged to measure the external voltage level VBAT of battery 115 for the second time when the battery 115 is being charged by the current flowing through battery 115;
Step 420: The controller circuit 205 calculates or derives the internal resistance R_INT of battery 115 according to the results sensed by the sensor circuit 100 and the current flowing through battery 115;
Step 425: The controller circuit 205 dynamically adjusts maximum voltage threshold or minimum voltage threshold by referring to the internal resistance R_INT of battery 115 and the current flowing through battery 115; and
Step 430: End.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2014/093950 | 12/16/2014 | WO | 00 |
Number | Date | Country | |
---|---|---|---|
61928809 | Jan 2014 | US |