1. Technical Field of the Invention
The present invention relates to information exchange between a connected electronic device and a battery, and more particularly, to the identification of and communication with an attached battery by an electronic device.
2. Description of Related Art
The development of cellular telephone technology has spurred a like need for development in the area of batteries and battery packs, and more specifically, for methods of communicating between a battery and an electronic device, such as a cellular telephone. Cellular telephones must utilize batteries in order to provide mobile capabilities. The battery is critical to the user of a cellular telephone, since the battery provides them with the ability to move about freely without being tied to a stationary power source.
Thus, in order to fully maximize the use of a cellular telephone, it is important that a user achieve maximum performance from an attached battery. This may be achieved by correctly charging the battery and always being able to identify the exact charging status of the battery. This enables a user to know how much standby time is remaining on the phone. This type of information enables the user to intelligently decide if the charge in a battery is sufficient for their needs or charging of the battery is required.
Developments of battery and battery pack related technologies have provided users with a variety of batteries which may be used with an electronic device, such as a cellular telephone. Users may have so-called “dumb”, low-end batteries which merely provide a source of power to an electronic device and no further information. These batteries may not communicate with other devices. These type of batteries have a relatively low cost and are simple to use. The so-called “smart” batteries provide a user with a power source for an electronic device and further provide data transmission capabilities between the battery and the attached electronic device. A “super smart” battery may communicate with an attached electronic device exactly what the present charge status of the battery is and can calculate this information internally without any additional input from the attached electronic device. A “smart” battery may communicate with an attached electronic device and includes registers for storing information on the capacity of the battery.
Cellular telephones require the ability to operate with “super smart”, “smart” and “dumb” batteries in order to fully utilize all technologies available. However, there presently exist no type of interface between a battery and electronic device that enables the identification of the particular type of battery attached to the electronic device, and further enables communications between the battery and the electronic device if the attached battery is identified as a “smart” battery. Furthermore, in the case of “dumb” batteries, there is a the need to provide a user of an electronic device with information identifying the amount of charge/standby time currently available to the user based on the current charge within the battery.
Existing battery communication systems have been developed for use with personal computers. These battery communication systems, while satisfactory for a personal computer operating environment, are too complex and expensive for use with smaller and cheaper electronic devices, such as a cellular telephone. Furthermore, such systems do not include the ability to operate with “dumb” batteries. Thus, there exist a need for a system overcoming these limitations.
The present invention overcomes the foregoing and other problems with an apparatus for supporting resistor keying and communications between a battery and an electronic device over an interface. The apparatus of the present invention enables a connection to be formed between a processor within an electronic device and a battery or battery pack. Circuitry within the electronic device enables the electronic device to determine what type of battery has been connected with the electronic device. The circuitry may comprise switches and a resistor or current source that work in conjunction with the processor to determine an exact resistance or capacitance value of a resistor or capacitor between the single pin interface and the ground pin. The resistance or capacitance value corresponds to a battery type.
Once the battery type is identified, if a “smart” battery is connected to the electronic device, the processor of the electronic device may communicate with the battery through a communications interface consisting of a transceiver and a pair of data registers. Data to be transmitted to the battery is written to a data-out register and then transmitted by the transceiver to the communications circuitry of the battery over a single pin interface. Data coming back from the communications circuitry of the battery pack is received by the transceiver and temporarily stored within a data-in register. The information remains in the data-in register until read by the processor.
In the case of a battery identified as a “dumb” battery (i.e., incapable of performing data communications with the electronic device), the battery may further include a first and second memory storage areas. The first memory storage area contains a numeric representation of the total capacity of the battery. The second memory stores a numeric representation of the current capacity of the battery. Upon connection of the battery to the electronic device, the numeric representation within the second memory is altered by the electronic device in response to the use or charging of the battery. Utilizing the numeric representation information from each of the memory storage areas, the processor associated with the electronic device may determine the charge capacity of the battery. For example, the system may determine whether the battery is half charged, full charged or quarter charged, much in the same way a fuel gauge provides information to the driver of an automobile.
For a more complete understanding of the present invention, reference is made to the following detailed description taken in conjunction with the accompanying drawings wherein:
Referring now to the Drawings, and more particularly to
The physical interface 20 between the cellular telephone 10 and battery 15 consists of a three-pin connection. A Bbat pin 25 and GND pin 30 interconnect power between the cellular telephone 10 and battery 15. A third pin Bcom 35 provides for serial communications between the cellular telephone 10 and battery 15 over a single pin interface. The communication interface between the cellular telephone 10 and battery 15 utilizes half duplex serial communication over the pin Bcom 35. In a preferred embodiment, the communication is asynchronous having a data format of 2 start bits, eight data bits and one stop bit. The bit rate will be no greater than 1200 baud and will utilize RS 232 communication. It should of course be realized that other types of communication protocols and data formats and data speeds for the transmission of data between the cellular telephone 10 and battery 15 may be utilized.
Referring now to
Referring now to
The transceiver 45 is able to transmit and receive signals to and from the battery via the Bcom pin 35. Additionally, some type authentication procedure may be performed between the battery 15 and cellular telephone 10. For example, the cellular telephone 10 may send an 8-bit word to the battery 15, and the battery would reply with a 16-bit word. In a preferred embodiment, the processor 50 and transceiver 45 would provide half duplex serial communication between the battery 15 and cellular telephone 10. However, it should be realized that full duplex or various other types of communication formats may be utilized.
Referring now to
The cellular telephone 10 includes a processor 60 and battery interface 65. The processor 60 carries out serial communications with the battery 15 when a “smart” battery is detected. The battery interface 65 consist of battery identification circuitry 70, a transceiver 75 (preferably a universal asynchronous receiver transmitter (UART)) and a transmission data register 80 (DataToBat) and receiver register 85 (DataFromBat). Data Register 80 and 85 could also be combined into a single register. In a preferred embodiment, the battery interface 65 is implemented within a single application specific integrated circuit (ASIC). The ASIC would be designed to handle the battery voltage and include pins accessible externally from the cellular telephone 10.
The battery identification circuitry 70 comprises means for determining the type of battery 15 connected to the cellular telephone 10. This is accomplished by identifying either the battery identification resistor 40 (
BIR=Vcom/(Vbat−VCom)Rint
The resistor 90 need only be accurate enough for the required measurement. It is however possible to use a resistor 90 with a large spread if the error is canceled with an extra measurement and if adaptation of the software is utilized.
In a second embodiment illustrated in
BIR=Vcom/Isource
If the battery 15 is identified as being a “smart” battery capable of carrying out communication with the cellular telephone 10, the transceiver 75 and transmission and receiver data registers 80, 85 are utilized. Once the connection of a “smart” battery has been established, the processor 60 writes data to a transmission (DataToBat) register 80 within the battery interface 65. The transceiver 75 is set to an output mode and the data within register 80 is transmitted serially over Bcom 35 to communication circuitry (not shown) within the battery 15. Received data passes from the battery 15 to the cellular telephone 10 via the Bcom pin 35 and once received at transceiver 75 is stored within receiver data (DataFromBat) register 85. The interface 65 generates an interrupt to the processor 60, and the processor reads the data from register 85.
Referring now to
The existence of a very high resistance (or a specific resistance) for the BIR 40 establishes a “smart” battery is connected to the cellular telephone 10 with which serial communications are possible. The processor 60 of the cellular telephone 10 will then write at step 130 data to the DataToBat register 80 of the battery interface 65. The transceiver 75 is then set to an output mode at step 135, so that the data within the DataToBat register 80 may be transmitted to the battery 15 at step 140. The cellular telephone 10 awaits a reply to the data at step 45. Once a reply is received at step 150 by the transceiver 75, the received data is stored at step 155 within the DataFromBat register 85. An interrupt is generated to the processor 160 to notify it of data within the DataFromBat register 85. The processor 60 could alternatively be programmed to periodically poll the DataFromBat register 85 to determine if it contains data. The processor 60 reads the information from the DataFromBat register 85 at step 165.
Referring now to
An electronic device 10 using or providing a charge, such as a cellular telephone or a battery charger, monitors the current drawn from the battery 15 using a processor 60. As current is drawn away from or provided to the battery 15, the processor 60 updates the current capacity memory 175 whenever more than a specific amount of current has been used or supplied. For example, if 20 represented full capacity for the battery, the current capacity would be decreased one unit when the phone used 25 mAh of current. In the case of an electronic device, such as a battery charger, the numeric representation would be increased by one unit every time an additional 25 mAh of energy was stored within the battery. The same definition for one charge unit must be used in all battery types and chargers in order for the concept to function properly.
Referring now to
When an amount of current is added or subtracted from the battery 15, equal to a selected number of units (i.e., one) of the numeric representation, this information is transmitted to the current capacity memory 175 to update the memory to the present charge capacity of the battery, control then returns back to step 180. In this manner, a “smart” battery may provide sufficient information to a cellular telephone or battery charger to indicate its current charge status without having to measure the current. The updates could also take place at a selective time interval.
Utilizing this implementation is possible to provide a 5 cellular telephone 10 with accurate information about the capacity status of the battery 15. The processor 60 may access memories 170 and 175 to determine the current level of charge of the battery 15. This system is inexpensive and simple to implement, and does not require any intelligence or measuring capabilities in the battery 15.
Although preferred embodiments of the method and apparatus of the present invention have been illustrated in the accompanying Drawings and described in the foregoing Detailed Description, it is understood that the invention is 15 not limited to the embodiments disclosed, but is capable of numerous rearrangements, modifications, and substitutions without departing from the spirit of the invention as set forth and defined by the following claims.
Number | Date | Country | |
---|---|---|---|
Parent | 10757244 | Jan 2004 | US |
Child | 11276325 | Feb 2006 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09238007 | Jan 1999 | US |
Child | 10757244 | Jan 2004 | US |