Patent Document

TECHNICAL FIELD OF THE INVENTION  
         [0001]    This invention relates to detecting battery life on portable electronic devices, and more particularly to a system and method for detecting a low battery condition on a hand-held computer device such as hand-held calculators, personal digital assistant (PDA) or personal learning tool (PLT).  
         BACKGROUND OF THE INVENTION  
         [0002]    Determining the amount of remaining battery life is an important aspect of many portable electronic devices. In some prior art devices, it was common to simply measure the voltage of the battery under load to estimate the remaining battery life. In other prior art devices, “gas gauges” are used to monitor the charge entering and leaving the battery in order to provide an accurate indication of remaining battery life.  
           [0003]    Other prior art systems measures battery terminal voltage during each application of one or more constant power loads to the battery, and compares either the measured voltage, or an internal impedance calculated from the measured voltage, with a pre-characterization of the relationship between battery capacity and battery voltage or impedance for the given battery type and operating conditions. See U.S. Pat. No. 6,313,609.  
           [0004]    In the prior art methods, the battery life determined by the voltage alone may be inaccurate for systems with a varying load. Further, in prior art methods that monitor battery charge, the battery life indication is not accurate if the battery is changed in the system. In other prior art methods it was necessary to compare measured voltages with known power loads, which may not be available or possible in some electronic devices.  
         SUMMARY OF THE INVENTION  
         [0005]    The present invention provides a method to more accurately monitor remaining battery life under varying conditions. The problem in some prior art circuits was the changing and unknown current would not allow reference to a battery discharge curve to accurately estimate the remaining battery life. In embodiment of the present invention, the measured battery voltage is adjusted for the current load and then used to determine the remaining battery life according to the battery voltage discharge curve for the battery type and chemistry. The method is particularly advantageous in a system where the battery may be exchanged and where the load varies dramatically over time.  
           [0006]    An advantage of an embodiment the present invention is remaining battery life can be determined despite fluctuations in the current due to a changing load.  
           [0007]    Another advantage of an embodiment the present invention is remaining battery life can be determined without monitoring current flow so that the determination of battery life is independent of the battery charging process.  
           [0008]    Another advantage of an embodiment the present invention is remaining battery life can be determined with a low cost circuit where much of the required hardware is already available on the electronic device.  
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0009]    [0009]FIG. 1 illustrates a typical battery voltage discharge curve according to the prior art.  
         [0010]    [0010]FIG. 2 illustrates a circuit representative of the battery voltage discharge curve shown in FIG. 1 according to the prior art.  
         [0011]    [0011]FIG. 3 illustrates a system block diagram according to an embodiment of the present invention.  
         [0012]    [0012]FIG. 4 illustrates a flow chart according to an embodiment of the present invention.  
         [0013]    [0013]FIG. 5 illustrates an electronic device according to an embodiment of the present invention.  
     
    
     DETAILED DESCRIPTION OF THE INVENTION  
       [0014]    [0014]FIG. 1 illustrates a typical battery voltage discharge curve. A set of curves is related to a single battery and is usually provided by the battery manufacturer. Each plotted curve on FIG. 1 shows the battery voltage as a function of time for a given fixed load current. The shape of the curves will vary depending on the battery manufacturer and the battery chemistry. The area under the curve reflects the battery capacity is and is fairly constant for a given battery. Therefore, each curve representing different load currents has approximately the same area under the curve. Thus the remaining capacity of a battery can be determined by finding a voltage on the curve and subtracting the used capacity from the initial capacity. Alternatively, a table or graph could be produced that reflects the remaining capacity for a given voltage.  
         [0015]    [0015]FIG. 2 illustrates the circuit for the battery discharge curves shown in FIG. 1. The battery  10  is modeled by a voltage source  12  and an internal resistance R INT    14 . The voltage V REF  is plotted over time with respect to a fixed current I REF  Plotting the voltage for different currents (I 1  and I 2 ) gives the curves shown in FIG. 1.  
         [0016]    As can be observed from FIG. 1, the remaining battery life (t) changes as a function of the current draw on the battery. In many portable electronic devices, the current draw on the battery may vary quite dramatically. For example, in a PLT, when the wireless interface is active, the current draw increases substantially. The battery life indication circuit must be able to determine the remaining life with the varying current draw. The present invention provides a method to more accurately monitor battery condition under varying conditions, particularly in a system where the battery may be exchanged and where the load varies dramatically over time.  
         [0017]    A system diagram for a portable or hand-held computer device  100  according to an embodiment of the present invention is illustrated by the block diagram shown in FIG. 3. The device  100  includes a battery pack  102  that provides power to the device. The battery pack output has a battery pack identification line  104  to tell the micro-processor  106  the type of battery is installed in the device. This allows the device to use multiple types of batteries with different chemistries.  
         [0018]    Again referring to FIG. 3, the battery pack also has a power output  108  that is monitored to determine the remaining life of the battery as described further herein. The voltage of the battery output  108  is applied to an A/D converter  110 . The current of the battery output  108  is applied to a current sense circuit  112  that converts the current to a voltage representative of the battery current. The voltage representative of the battery current is also applied to the A/D converter  110 . The A/D converter  110  sends to the micro-processor a digital indication of the battery voltage and current. The voltage regulator  114  uses the output of the current sense circuit to maintain the system voltage for the remainder of the device electronics as indicated by the connection to the micro-processor.  
         [0019]    [0019]FIG. 4 shows a flow diagram according to an embodiment of the present invention. This method flow uses a circuit such as the circuit diagram shown in FIG. 3. The first step  200  is to measure the battery load current I meas . This is accomplished by the micro-processor selecting the input from the current sense circuit to the A/D converter and reading the output of the A/D. The next step  202  is to measure the battery voltage in a similar manner from the A/D converter. The current is then again measured in step  204 . The current of the second measurement is compared with the second current measurement to determine if the current has remained fairly constant  206 . If the current is constant, then the current I meas  measurements can be used and proceed to the next step. If the currents are not constant, then the measurements are repeated by proceeding back to step  200 . This process is necessary in the illustrated embodiment to get a current that is representative of the voltage when the load could be changing. In the illustrated embodiment, the A/D does not latch the input current and voltage. Other circuits may not need to repeat the current measurement if the circuit measures or latches the current and voltage contemporaneously.  
         [0020]    Step  208  uses the measured current and voltage of the battery to determine a voltage delta. The voltage delta is defined as: V D =(I meas −I ref )×R. The measured current I meas  is obtained as described above. The reference current I ref  is the reference current for the voltage discharge curve that will be used to compute the battery life. The resistance R is the internal resistance of the current battery pack. This resistance can be stored in memory for each battery pack type and chemistry. In other embodiments, the internal resistance is calculated by comparing different loads or connecting a known load and measuring the current according to the prior art. The calculation of V D  is made with the micro-processor using the values and formula stated above. The voltage delta V D  can then be used to estimate the battery life remaining in the next step.  
         [0021]    Step  210  then uses the voltage delta to find the adjusted battery voltage V adj . The voltage V adj  is found by adding the measured battery voltage V bat  with the voltage delta V D . The adjusted voltage represents the voltage of the battery adjusted to the discharge curve for the I ref  current. This is the curve that will be used to estimate the remaining battery life.  
         [0022]    Step  212  then uses the adjusted voltage V adj  to estimate the remaining battery life. The remaining battery life could be communicated to the user as the remaining percentage of the total capacity of the battery. This can be done by finding the corresponding remaining capacity for V adj  on the stored discharge curve described above and reporting the capacity to the user as a percentage of total capacity. The discharge curve in a preferred embodiment is a table stored in memory representative of a discharge curve for the battery pack type and chemistry as determined by the battery pack identification line  104 . In a preferred embodiment, the voltage discharge curve stored in the table corresponds to the average current draw for the device. If the remaining capacity of the battery is not fairly constant with current draw, multiple discharge curves could be utilized.  
         [0023]    The remaining battery life could also be communicated to the user as an estimated time. This could be done by finding the corresponding remaining capacity for V adj  on the stored discharge curve as described above, and then dividing by an average current. The average current may be determined by periodically checking the current and taking an average with a sufficient frequency to insure some stability in the reported time to the user.  
         [0024]    [0024]FIG. 5 illustrates a PLT or hand held computing device  300  that is uses the method and circuit of the present invention as described above. The device executes software described herein stored in memory  301  on the micro-processor  303 ( 106  in FIG. 2). The device has a display screen  302  having a display area  304 . In this embodiment, the display is a touch sensitive display that uses a stylus for input (not shown). The device has a wireless interface such as wireless PCMCIA card (not shown).  
       OTHER EMBODIMENTS  
       [0025]    Although the present invention has been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention as defined by the appended claims. The features that are the subject of the present invention could be incorporated into other into other computer based portable electronic tools and computers.

Technology Category: 3