Abstract:
Measuring the voltage level of a mobile telephone battery during a charging operation involves disabling the charge temporarily so that the battery rapidly enters discharge mode. The discharge mode voltage is more representative of the true battery charge level, so that the present invention can be implemented to provide a battery charge level display that is accurate even when the telephone is being charged.

Description:
[0001]    This application is a continuation of U.S. patent application Ser. No. 11/511,447, filed Aug. 29, 2006, which is a continuation of U.S. application Ser. No. 10/203,715, filed Mar. 31, 2003, now U.S. Pat. No. 7,102,329, both of which are herein incorporated by reference in their entirety. 
     
    
     BACKGROUND 
       [0002]    1. Field of the Invention 
         [0003]    This invention relates to a method of measuring the battery level in a mobile telephone. The term ‘mobile telephone’ used in this patent specification should be expansively construed to cover any kind of mobile device with communications capabilities and includes radio telephones, smart phones, communicators, and wireless information devices. It includes devices able to communicate using not only mobile radio such as GSX or UMTS, but also any other kind of wireless communications system, such as Bluetooth. 
         [0004]    2. Description of the Prior Art 
         [0005]    It is desirable to monitor the battery level in a mobile telephone for various reasons. For example, users need to be presented with an accurate indication of battery charge level whilst the phone is in ordinary use so that the phone can be re-charged in a timely manner. Similarly, users need to know how effective charging up has been to tell if further charging is required. However, conventional battery charge level measurement techniques have significant problems. For example, the voltage of a battery can be measured during charging to give an indication of the battery charge level. However, batteries typically approach their maximum voltage within 10 minutes of charging, even though a full charge may take 60 minutes or more, so that a battery charge level indicator just measuring battery voltage will be very misleading. There is a pressing need for a more accurate method of measuring battery levels during charging. 
         [0006]    A mobile telephone typically presents to the user a graphical indication of the state of the battery charge level: for example, there could be an image of a battery, divided into 4 segments. When no segments are permanently displayed, then the battery is low. When all segments are displayed, the battery is full. Generally, for a given segment to be displayed, the voltage delivered by the battery must exceed a given voltage threshold. Hence, for a 4 segment display, there would be 3 voltage thresholds. 
         [0007]    Whilst a mobile telephone is in normal use (e.g., in idle mode or in actual communication), conventional battery level measurement techniques, based upon measuring voltage levels, are more accurate. However, one complicating factor is that these voltage thresholds conventionally differ depending on whether the telephone is in idle mode, or is in communication, or is charging. Ensuring that the correct threshold voltage value is used in the battery level computation adds complexity to conventional systems. Moreover, measured battery voltages are very noisy due to the complexity of a cellular system and specific filtering is needed to get reliable information. 
       BRIEF SUMMARY OF THE INVENTION 
       [0008]    In accordance with a first aspect of the present invention, there is provided a method of measuring the voltage level of a mobile telephone battery during a charging operation comprising the steps of: 
         [0009]    (a) applying a current source to charge the battery; 
         [0010]    (b) temporarily causing the current from the current source to cease to enable the battery to enter a discharge mode; 
         [0011]    (c) measuring the voltage level of the battery when in discharge mode; and 
         [0012]    (d) re-applying current from the current source; 
         [0013]    (e) repeating steps (b) and (c) until the measured voltage exceeds one or more pre-determined voltage thresholds. 
         [0014]    Hence, by disabling the charge temporarily, the battery enters discharge mode. This may be facilitated by drawing a small current equivalent to operational drain; 100 mA is a typical figure. Typically, the charge is disabled for a short time period in comparison to the charging period, for example approximately 1 in every 10 seconds so that overall charging efficiency is not significantly affected. The discharge mode voltage is more representative of the true battery charge level, so that the present invention can be implemented to provide a battery charge level display that is accurate even during a charging operation. 
         [0015]    Preferably, a battery level display on the telephone indicates the charge level of the battery in dependence on which pre-determined voltage threshold or thresholds has or have been exceeded. In a preferred embodiment, the battery level display can indicate 4 battery charge levels. The above method is used to determine whether the battery charge level should be displayed as falling within any of the first 3 levels; a measurement of current charge can be taken to determine if level 4 has been reached. 
         [0016]    In a second aspect, there is provided a method of measuring the voltage level of a mobile telephone battery during normal operation comprising the steps of:
       (a) measuring the voltage level of the battery, the voltage level fluctuating within an envelope of voltage values;   (b) filtering the measured voltage levels using a filter which outputs a filtered voltage output which remains at a pre-defined position in relation to the envelope of voltage values; and   (c) using the filtered voltage output as a measurement of the voltage level of the battery.       
 
         [0020]    By ‘normal operation’, we refer to either idle mode and/or communication mode. Preferably, the filtered voltage output remains at or near the top of the actual voltage discharge waveform; the filter may be a one-way sliding filter which moves down very slowly but moves up very quickly. Preferably, a battery level display on the telephone indicates the charge level of the battery, depending upon which pre-determined voltage threshold or thresholds has or have been exceeded. 
         [0021]    This approach can enable the same voltage thresholds to be used in both communication and idle modes, compared to prior art systems which required more complex arrangements which could discriminate between each mode and apply different voltage thresholds within each mode. Further, the filtered voltage output can be used to accurately determine when the battery is very close to being empty of charge; it is important to be able to do this since a premature detection of this state results in an unnecessary loss of operational time; conversely, if done too late, information (such as last call information and various timing data) stored in the mobile phone can be lost and the de-registration process from the network can be defective. 
         [0022]    Another advantage of the filtered waveform approach is that the same voltage thresholds may be used in all operational modes, for example charge, discharge, idle and communication modes. Further, no specific hardware need be supplied solely to implement this approach since it can be performed in software. 
         [0023]    In a third aspect, there is provided a mobile telephone adapted to perform the methods of the first and second inventive aspects defined above. 
         [0024]    In a fourth aspect, there is provided software programmed to perform the methods of the first and second inventive aspects defined above. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0025]      FIG. 1  is a graph showing normal voltage discharge against time for a phone in communication mode. 
           [0026]      FIG. 2  is a graph showing the filtered output voltage in relation to the normal voltage discharge against time for a phone in communication mode. 
           [0027]      FIG. 3  is a block diagram of a portion of a mobile telephone according to one aspect of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     Charging Mode 
       [0028]    It is not practical to use the same voltage thresholds to estimate the battery charge and discharge levels, since the voltage curve during charge is completely different from the discharge curve. In essence, the chemistry of the battery is such that its voltage during charge reaches very quickly its maximum level after a few minutes of charge. For this reason, you cannot use the battery voltage during charge as a reliable indication of the charge level. Also, you cannot define a separate set of thresholds for the charge level indication, as it would lead to inconsistencies between the levels applicable during charge and discharge states. 
         [0029]    The solution to this problem has been found by periodically disabling the charger during charge, to return the battery to its discharge state, then measuring the voltage level and comparing it to the existing voltage thresholds. Since the end of charge is determined by a current measurement, this method is only used to determine the crossover for voltage levels 1, 2 and 3 in an embodiment with 4 battery charge levels. 
         [0030]    The algorithm works as follows (from empty battery): 
       Begin 
       [0031]    Do ADC (Analog to Digital Conversion) measurement and calibrate; 
         [0032]    If measurement&lt;95% of Typical_Battery_Voltage then
       we are at level 0 (battery empty),   do not disable charge;   Wait 10 seconds
 
Repeat until ADC measurement&gt;95% of Typical_Battery_Voltage
       
 
       Begin 
       [0036]    Disable charger; 
         [0037]    Do ADC (Analog to Digital Conversion) measurement; 
         [0038]    Re-enable charger; 
         [0039]    Pass the result to the battery display management for level comparison with thresholds; 
         [0040]    Wait 5 seconds; 
         [0000]    Repeat until MMI=level 3 
       Begin 
       [0041]    Wait 10 seconds 
         [0042]    Measure Charge Current 
         [0000]    Repeat until Current&lt;end of charge current threshold
 
Set battery display to level 4
 
         [0043]    As this method only disables the charge for approximately 1 out of every 10 seconds, for approximately ⅔ of the charging period, we can assume the charge to be nearly 95% efficient, yet accurate. 
       Communication Mode 
       [0044]    A GSM communication consists of a low current consumption for most of the time, followed by high current bursts during radio activity. ADC (Analog to Digital Conversion) measurements are taken during a burst and others are taken outside a burst. Moreover, the battery voltage during communication is very noisy due to this bursted mode. The  FIG. 1  waveform is measured during communication. 
         [0045]    Using a non-linear (“one way”) filter, the level at the top (outside a burst) can be estimated. The filter works as follows: 
         [0046]    The filtered value T(n−1) at time (n−1) is what is used as the reference value. 
         [0047]    The initial value T(0) is set before communication has begun (measured during initialization &amp; then follows battery level in idle mode) 
         [0048]    A new measurement Tmeas (n) is made at time (n):
       If the new measurement Tmeas (n) is greater than the previous value T(n−1), the filtered value at time (n) becomes the measured value T(n)=Tmeas (n)   If the new measurement Tmeas (n) is less than the previous value T(n−1), then the filtered value at time (n) is reduced by a small amount: T(n)=T(n−1)−(1−1)*[T(n−1)−Tmeas(n)] where 1 is a parameter used for tuning noise rejection (this subtracts a proportion of the difference between the two values from the previous value).
 
In algorithmic form, this gives a non-linear (‘one way’) filter algorithm as follows:
 
T(O) is initially set to the measured battery level during idle mode
 
Begin measurement loop;
       
 
         [0051]    Do a voltage ADC (Analog to Digital Conversion); 
         [0000]    
       
         
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
             
           
               
                   
                   
               
             
             
               
                   
                 Ti=New ADC Reading 
               
               
                   
                 If T1 &gt; T then 
               
             
          
           
               
                   
                 T=T1 
               
             
          
           
               
                   
                 else 
               
             
          
           
               
                   
                 T=T-(1-1)*(T-T1) 
               
             
          
           
               
                   
                 Send value of T to the battery display management for level 
               
               
                   
                 comparison 
               
               
                   
                 Wait 5 seconds 
               
             
          
           
               
                 Repeat 
               
               
                   
               
             
          
         
       
     
         [0052]    By applying this filter to the plot shown above, this gives a waveform&lt;T(n)&gt; that ‘rides’ on top of the envelope of the measured ADCs, as shown in  FIG. 2 . 
         [0053]    This level is compared against the existing discharge levels to determine the battery capacity while in communication. 
         [0054]      FIG. 3  is a block diagram of a portion of mobile phone  300 , arranged to measure the level of battery  330  as described hereinabove. Mobile phone  300  includes current source  320 , which provides a charging current to battery  330 . Analog-to-digital converter (ADC)  340  measures the voltage level of battery  330 . Filter  350  performs a filtering algorithm on the measurements of ADC  340 , as described above, to determine a value indicative of the charge level of battery  330 . Display  310  provides a four-segment display indicative of the charge level of battery  330 .