# Patent

## Title
Method for verifying smart battery failures by measuring input charging voltage and associated systems

## Abstract

A method and associated system are disclosed for verifying charging failures for smart batteries by measuring input charging voltage and associated systems. In one embodiment, a determination is made whether or not a charging current is indicative of a battery failure by utilizing an analog-to-digital (A/D) port to measure the input charging voltage. As long as the measured input charging voltage is below the cell pack voltage or some set voltage value, whichever is higher, the BMU considers a charging current detection to be a false failure indication. If the measured charging voltage is above the cell pack voltage and the set voltage value, the BMU considers the charging current detection to be a positive failure indication. The BMU can then disable the battery or implement other verification steps before disabling the battery, as desired.

## Background
TECHNICAL FIELD OF THE INVENTION
This invention relates to smart batteries for information handling systems and, more particularly, to failure detection in such smart batteries.
BACKGROUND
As the value and use of information continues to increase, individuals and businesses seek additional ways to process and store information. One option available to users is information handling systems. An information handling system generally processes, compiles, stores, and/or communicates information or data for business, personal, or other purposes thereby allowing users to take advantage of the value of the information. Because technology and information handling needs and requirements vary between different users or applications, information handling systems may also vary regarding what information is handled, how the information is handled, how much information is processed, stored, or communicated, and how quickly and efficiently the information may be processed, stored, or communicated. The variations in information handling systems allow for information handling systems to be general or configured for a specific user or specific use such as financial transaction processing, airline reservations, enterprise data storage, or global communications. In addition, information handling systems may include a variety of hardware and software components that may be configured to process, store, and communicate information and may include one or more computer systems, data storage systems, and networking systems.
Some information handling systems, such as laptop computer systems, have the ability to utilize one or more batteries as a power source. In addition, these same systems can also often utilize power obtained through a power converter coupled to a power grid, such as an alternating-current-to-direct-current (AC/DC) converter plugged into a wall socket. When the system is plugged into the wall, the battery in the system can be charged at the same time. As battery technology has improved, batteries have become more intelligent in that they include circuitry to manage their operations and to report conditions about the battery operations to external circuitry, such as microprocessors. These intelligent batteries are often called “smart” batteries. Many smart batteries have the ability to monitor the charging process, and many batteries have failure detection mechanisms to determine when the battery is malfunctioning. To protect users, the smart batteries can be configured to deactivate themselves permanently if a dangerous malfunction has been detected.
Certain current battery packages rely upon a charge field-effect-transistor (C-FET) and a discharge FET (D-FET) to control the normal charge and discharge function of the battery. Battery protect is typically governed by the battery management unit (BMU). In the event of a battery system failure detection (such as over-voltage charging or overloading) or a battery cell failure detection, the BMU in prior these battery systems would either temporarily disable the C-FET and D-FET to disconnect the battery from the system or permanently disable the battery by blowing a disable fuse.
One significant problem associated with this BMU operation is the possibility that a battery will be disabled due to a false detection of a battery failure. This false detection can lead to significant numbers of field returns of operational batteries that have been disabled due to false failure detections. For example, a false detection of a battery failure can often be the result of temporary environmental events, such as strong electromagnetic interference (EMI), radio-frequency (RF) signals and/or other electromagnetic (EM) influences, that cause a small charging current to be detected when none is supposed to exist, such as when the battery is in sleep or discharge mode. When the BMU detects a charging current that was supposed to be zero in such circumstances, the BMU will often place the battery into permanent failure mode due to this non-zero condition being deemed a critical protection failure. A charging current when no charging current should exist is often associated with an internal battery failure that could cascade into a catastrophic event, such as a battery short or explosion. As such, the BMU will disable the battery to protect the user. However, if the current were due to a temporary EM event as described above, the disabling of the battery would be unnecessary.
To address this problem, prior battery systems have attempted various solutions. One solution is to increase the current protection threshold for when an improper charging current will be deemed to trigger a possibility for catastrophic failure. Another solution is to extend the response time from the time when battery initially detects this problem to the time battery BMU finally decides to put the battery to permanent failure mode. Both of these solutions reduce the chance that the battery will be disabled due to EM influences. However, although these solutions do improve battery performance, these solutions also sacrifice safety protections.
Another proposed solution is to add a switch in the battery charging and discharging path and to detect the amount of time an abnormal current lasts. With the added switch turned off, if an abnormal current goes away within a preset time limit, which can be BIOS controlled, the failure can be considered to be temporary. In this circumstance, the battery will not be permanently disabled, and the added switch will be turned on again. This solution, however, has cost and power disadvantages. In particular, this solution increases the cost of the battery pack by requiring an additional switch and increases power dissipation inside the battery thereby increasing internal pack temperatures and reducing the battery capacity available to the system.
SUMMARY OF THE INVENTION
The present invention provides a method for verifying charging failures for smart batteries by measuring input charging voltage and associated systems. In one embodiment, the present invention, as described in more detail below, determines whether or not a charging current is indicative of a battery failure by utilizing an analog-to-digital (A/D) port to measure the input charging voltage. As long as the measured input charging voltage is below the cell pack voltage or some set voltage value, whichever is higher, the BMU considers a charging current detection to be a false failure indication. If the measured charging voltage is above the cell pack voltage and the set voltage value, the BMU considers the charging current detection to be a positive failure indication. The BMU can then disable the battery or implement other verification steps before disabling the battery, as desired.



DESCRIPTION OF THE DRAWINGS
It is noted that the appended drawings illustrate only exemplary embodiments of the invention and are, therefore, not to be considered limiting of its scope, for the invention may admit to other equally effective embodiments.
FIG. 1 is a block diagram for an information handling system having the ability to draw power through an AC/DC converter or from a battery, which can be charged through the AC/DC converter.
FIG. 2 is a block diagram for a smart battery according the present invention that utilizes input charging voltage to detect non-permanent charging failures.
FIG. 3 is a process diagram for example procedural steps that can be used in determining non-permanent charging failures utilizing input charging voltage detection.



DETAILED DESCRIPTION OF THE INVENTION
For purposes of this disclosure, an information handling system may include any instrumentality or aggregate of instrumentalities operable to compute, classify, process, transmit, receive, retrieve, originate, switch, store, display, manifest, detect, record, reproduce, handle, or utilize any form of information, intelligence, or data for business, scientific, control, or other purposes. For example, an information handling system may be a personal computer, a server computer system, a network storage device, or any other suitable device and may vary in size, shape, performance, functionality, and price. The information handling system may include random access memory (RAM), one or more processing resources such as a central processing unit (CPU) or hardware or software control logic, ROM, and/or other types of nonvolatile memory. Additional components of the information handling system may include one or more disk drives, one or more network ports for communicating with external devices as well as various input and output (I/O) devices, such as a keyboard, a mouse, and a video display. The information handling system may also include one or more buses operable to transmit communications between the various hardware components.
The present invention provides a method for verifying charging failures for smart batteries by measuring input charging voltage and associated systems. In the embodiment described in more detail below, a determination is made whether or not a charging current is indicative of a battery failure utilizing an analog-to-digital (A/D) port to measure the input charging voltage. As long as the measured input charging voltage is below the cell pack voltage or some set voltage value, whichever is higher, the battery management unit (BMU) would consider a charging current detection to be a false failure indication. If the measured charging voltage is above the cell pack voltage or a set voltage value, whichever is lower, the BMU would consider the charging current detection a positive failure indication. The BMU could then disable the battery or could implement other verification steps before disabling the battery. It is noted that the set voltage level could be programmed, if desired, and could be 7.5 volts for 3-cell packs and 10 volts for 4-cell packs.
FIG. 1 is a block diagram for an information handling system 150 having the ability to draw power through an AC/DC converter 108 or from a battery 102, which can be charged through the AC/DC converter 108. In the embodiment depicted, the load 106 represents the devices and circuitry within the information handling system 150 that are driven or powered by the battery 102 or through AC/DC converter 108. The plug 130 is configured to be inserted into a wall socket that is coupled to an alternating current (AC) power grid or other AC power source. The AC/DC converter 108 converts the AC power to direct current (DC) power. The negative terminal 114B of the AC/DC converter 108 is coupled to ground. The positive terminal 114A of the AC/DC converter 108 is coupled to the positive terminal 118A of load 106 through switch 124, protection resistor (R) 120, and switch 124. The negative terminal 118B of load 106 is coupled to ground. The battery 102 also has its negative terminal 112B coupled to ground. Battery 102 has its positive terminal coupled through two-way switch 122 to both the positive terminal 118A of load 106 and to the positive terminal 116A of charger 104. The battery 102 also includes a voltage input analog-to-digital converter (ADC) 100, which is described in more detail below. Charger 104 has its negative terminal 116B coupled to ground. Charger 104 is also coupled to the positive terminal 114A of AC/DC converter 108 through protection resistor (R) 120 and switch 124.
In AC power mode of operation, switches 124 and 126 are closed, and the load 106 is powered from the AC power source through plug 130. In addition, switch 122 is connected to the positive terminal 116A of charger 104 so that the battery 102 can be charged. If the battery 102 does need to be charged, the BMU for the battery 102 will initiate a charging mode of operation for the battery 102. In a battery mode of operation, switches 124 and 126 are open, and switch 122 is connected to the positive terminal 118A of load 106. Thus, load 106 is powered by the battery 102. In this mode of operation, the BMU for the battery 102 will initiate a discharging mode of operation for the battery 102.
FIG. 2 is a block diagram for a smart battery 102 according the present invention that measures input charging voltages to detect non-permanent charging failures. As depicted, the BMU 212 includes micro-controller 205 and AFE circuitry 202. The BMU 212 is connected to C-FET 218 through switch 216 and is connected to D-FET 220 through switch 214. C-FET 218 is turned “on” during charging operations by closing switch 216 and turned “off” during discharging operations by opening switch 216. C-FET 218 can be implemented, for example, using a NMOS power MOSFET with a diode connected between its source and drain to keep current from flowing into the cell pack 208 during charging operations. D-FET 220 is turned “on” during discharging operations by closing switch 214 and turned “off” during charging operations by opening switch 214. D-FET 220 can be implemented, for example, using a NMOS power MOSFET with a diode connected between its source and drain to keep current from flowing out from the cell pack 208 during charging operations. A disable fuse 206 is coupled in the input/output path from positive terminal 112A such that when blown, the battery 102 is permanently disabled. As depicted, the micro-controller 205 within the BMU 212 is configured to provide a control signal to the disable fuse 206 that will cause the fuse to be blown. A current sense resistor (RCURRENT) 210 is included in the input/output path between the negative terminal 112B and the cell pack 208. The analog front end (AFE) circuitry 202 is part of the BMU 212 and is coupled to the cell pack 208. The AFE circuitry 202 and the micro-controller 205 can communicate through connections 215. The AFE circuitry 202 can be configured to detect voltage conditions on the cell pack 208 through connections 222, for example, through analog-to-digital conversion circuitry within the AFE circuitry 202. It is also noted that the voltage input ADC 100 could also be utilized to detect cell pack voltages, if desired. As depicted, the cell pack includes three cells connected in series.
The AFE circuitry 202 includes a current input ADC 204 and a voltage input ADC 100. The current input ADC 204 has inputs coupled to either side of the current sense resistor (RCURRENT) 210. The value for the current through the current sense resistor (RCURRENT) 210 can be determined, for example, by digitizing the voltage drop across the current sense resistor (RCURRENT) 210, and then dividing by the known value for the resistor (RCURRENT) 210. The voltage input ADC 100 has inputs coupled to the positive terminal 112A and the negative terminal 112B for the battery 102. As such, the voltage input ADC 100 can provide a digital value for the voltage at the input terminals to the battery 102. As indicated above, the voltage input ADC 100 can be used to detect the input charging voltage applied to the battery 102 as part of a failure detection verification procedure that is controlled by the micro-controller 205.
FIG. 3 is a process diagram for example procedural steps that can be used in verifying charging failures utilizing input voltage detection. In the embodiment 300 depicted, the procedure begins at the START block 302. Next, in decision block 304, the charging current is detected through the use of current input ADC 204. In the embodiment depicted, 10 milli-Amps (mA) have been selected as the threshold above which a charging current event will be deemed to have occurred. If the detected current is below 10 mA, then flow proceeds to block 318 where a determination is reached that the battery pack is functioning normally. Flow then proceeds to the END block 322. It is noted that current thresholds can be configured, as desired, depending upon the operational responses desired. For example, 1 mA may also be a threshold level that can be selected for embodiment 300.
If the detected current in decision block 304 is above 10 mA, then flow proceeds to decision block 306. If the battery is in charge mode, flow then passes to block 318 where processing ends as indicated above. If the battery is not in charge mode, then a possible battery failure will be deemed to have been detected. In other words, a charging current was detected when none should have existed. Process flow then moves to block 308. It is noted that if desired, decision block 306 could be removed, and the charging failure verification steps of FIG. 3 could be implemented only when the battery was not in charge mode. It is further noted that other operational and timing variations could be implemented, if desired, without departing from the present invention.
Once a possible charging failure has been indicated, block 308 beings an initial failure verification step. In block 308, the D-FET is turned “off,” and the terminal voltage is measured through the voltage input ADC 100. Flow then proceeds to decision block 310. If the measured terminal voltage is greater than the cell pack voltage of cell pack 208 and greater than a set voltage level, such as 7.5 volts, then a charging failure would deemed to have been verified. Process flow would then move to decision block 312 for a second verification step. In decision block 310, if the measured terminal voltage is less than the cell pack voltage of cell pack 208 or less than a set voltage level, such as 7.5 volts, then the charging current detection would be deemed a false positive, and flow would pass to block 320 for a verification of the false positive. In block 320, a time delay would be initiated, after which the D-FET would be turned back “on.” Flow would then proceed back to decision block 304 to determine if a charging current above the threshold still existed. It is noted that the time delay for block 320 can be configured as desired.
With respect to the second verification step, when decision block 312 is reached from decision block 310, a time delay is initiated, after which the input charging current is again detected using current input ADC 204. If this charging current is above a threshold level, such as 10 mA, then a battery failure is deemed to exist for the embodiment depicted. Flow proceeds to block 314 where the battery is permanently disabled, for example, using the disable fuse 206. In decision block 312, if the charging current is below the threshold level, then flow proceeds to block 316, where the D-FET is turned “on.” Flow then proceeds to block 318 where the processing ends as indicated above.
In operation, therefore, there are three basic stages with respect to the embodiment 300 of FIG. 3. The first stage is a charge current monitoring stage, and the second two stages are failure verification stages. In the first stage, the input charging current is monitored using the current input ADC 204. When a charging current above a selected threshold is detected, i.e., a charging current of a certain level is flowing into the battery cell pack 208, then the operational mode for the battery is checked to see if it is charge mode. If the battery is not in charge mode, then a failure verification process is initiated. The first failure verification utilizes the voltage input ADC 100 to determine the voltage at the input terminals 112A and 112B to the battery 102. If this voltage is below the cell pack voltage or a selected voltage level, then the charging current detection during a non-charge mode of operation is deemed to have been a false failure detection. Flow then passes back to the monitoring stage. However, if the detected voltage is above the cell pack voltage and the selected voltage level, a second failure verification step is reached. This second failure verification step utilizes the current input ADC 204 to determine if a charging current above a threshold value still exists after a selected time delay. If not, then a false failure detection has occurred. If so, a failure is confirmed, and the battery is disabled.
Further modifications and alternative embodiments of this invention will be apparent to those skilled in the art in view of this description. It will be recognized, therefore, that the present invention is not limited by these example arrangements. Accordingly, this description is to be construed as illustrative only and is for the purpose of teaching those skilled in the art the manner of carrying out the invention. It is to be understood that the forms of the invention herein shown and described are to be taken as the presently preferred embodiments. Various changes may be made in the implementations and architectures. For example, equivalent elements may be substituted for those illustrated and described herein and certain features of the invention may be utilized independently of the use of other features, all as would be apparent to one skilled in the art after having the benefit of this description of the invention.

## Claims

1. A method for verifying failures in a battery for an information handling system, comprising:
monitoring a battery for a charging current, the battery including a discharge transistor (D-FET) coupled between an input for the battery and a cell pack for the battery;
when a positive charging current into the battery above a desired current threshold level is detected when the battery is not in charge mode and when the information handling system is configured to receive power from the battery and not from another power source, the method further comprising:
tuning off the D-FET, if it is on;
measuring an input terminal voltage level for the battery; and
utilizing the input terminal Voltage level measurement to facilitate a determination of whether or not the detected positive charging current into the battery represents a positive battery failure indication or a false battery failure indication.

2. The method of claim 1, further comprising utilizing an additional charging current measurement after the utilizing step to facilitate a further verification of whether or not the detected charging current was due to a positive battery failure.

3. The method of claim 1, wherein the monitoring step is conducted only if the battery is not in charge mode.

4. The method of claim 1, wherein the monitoring step is conducted whether or not the battery is in charge mode, and further comprising the step of determining if the battery is in charge mode when a charging current is detected.

5. The method of claim 1, wherein the desired current threshold level is set so that any detected charging current when the battery is not in charge mode will satisfy this condition.

6. The method of claim 1, wherein the desired current threshold level is above about 1 mA.

7. The method of claim 1, wherein the utilizing step further comprises comparing the input terminal voltage level to a voltage threshold level, determining that a positive battery failure may have occurred if the voltage threshold level is exceeded, and determining that a positive battery failure has not occurred if the voltage threshold level is not exceeded.

8. The method of claim 7, wherein the voltage threshold level comprises a voltage level associated with a cell pack for the battery.

9. The method of claim 8, wherein the voltage threshold level further comprises a second voltage level associated with a selected value, and wherein a positive battery failure is deemed to have occurred if either voltage threshold level is exceeded, and wherein a positive battery failure is deemed not to have occurred if both of the voltage threshold levels are not exceeded.

10. The method of claim 7, wherein the monitoring step is repeated after a time delay if a positive battery failure is determined to have occurred.

11. The method of claim 7, wherein if a positive battery failure is deemed to have occurred, the method further comprises after a time delay utilizing an additional charging current measurement after the utilizing step to facilitate a further verification of whether or not the detected charging current was due to a positive battery failure.

12. The method of claim 2, further comprising disabling the battery if the additional charging current measurement is above a selected value thereby indicating that a positive battery failure has occurred.

13. The method of claim 2, further comprising determining a false battery failure indication has occurred if the additional charging current measurement is below a selected value.

14. The method of claim 11, further comprising disabling the battery if the additional charging current measurement is above a selected value thereby indicating that a positive battery failure has occurred.

15. The method of claim 11, further comprising determining a false battery failure indication has occurred if the additional charging current measurement is below a selected value.

16. The method of claim 1, further comprising disabling the battery if a positive battery failure indication is determined and continuing to operate the battery if a false battery failure indication is determined.

17. The method of claim 16, further comprising permanently disabling the battery if a positive battery failure indication is determined.

18. The method or claim 1, further comprising turning a charge transistor (C-FET) off when the battery is not in charge mode, the charge transistor (C-FET) being coupled between an input for the battery and a cell pack for the battery.