1. Field of the Invention
The present invention relates to a battery pack which includes a rechargeable battery and is detachably connected to an electronic apparatus, and an electronic apparatus which receives power from such a battery pack.
2. Description of the Related Art
Most battery packs on the market do not include a function that enables authentication. The battery pack can be used if the outer shape and terminal positions of the battery pack conform to an electronic apparatus even if the battery pack is not a regular or an authenticated battery pack designed for the electronic apparatus. In general, a battery pack using a secondary battery (rechargeable battery), such as a lithium ion battery, includes a protection function in order to ensure the safety of users during charging and discharging of the battery. However, there is often a problem that a copy or unauthenticated battery pack has an insufficient protection function or does not even include a protection function. In this case, there is a possibility of causing a serious accident which may endanger the users.
In order to prevent the use of the unauthenticated battery pack, a battery pack has been developed which includes a circuit that can store identification information such as a serial number of the battery pack in a storage device such as an EEPROM. A simple authentication procedure is performed by a main apparatus to which the battery pack is connected. One example of the battery pack which can be used for such a simple authentication procedure is proposed in a Japanese Patent Application Publication No. 2006-164548.
However, although the battery pack is designed to enable the simple authentication procedure described above, an unauthenticated battery pack cannot be prevented from being used if the unauthenticated battery pack includes a similar storage device that stores a copy of the identification information. Thus, there is a problem that the simple authentication procedure would become ineffective.
This invention takes into consideration the problem described above, and thus one of objects of this invention is to provide a battery pack and an electronic apparatus with an authentication function that is difficult to copy.
Accordingly, embodiments of the present invention may provide a novel and useful way for solving one or more of the problems discussed above.
More specifically, the embodiments of the present invention may provide a battery pack and an electronic apparatus.
One aspect of the present invention may be to provide a battery pack which includes a rechargeable battery and is detachably connected to an electronic apparatus a battery pack that includes at least one rechargeable battery configured to output power; a remaining battery capacity detection unit configured to detect a remaining battery capacity of the at least one rechargeable battery; and a cryptographic unit configured to output a response word in response to an external request word by encrypting the external request word based on a cryptographic algorithm with a common code key.
Another aspect of the present invention may be to provide an electronic apparatus that includes a transmission unit configured to output a request word in response to external power; a reception unit configured to receive an external response word; an encryption unit configured to encrypt the request word based on a cryptographic algorithm with a common code key; and a collation unit configured to collate the encrypted request word which has been encrypted by the encryption unit and the external response word.
Other objects, features, and advantages of the present invention will become more apparent from the following detailed description when read in conjunction with the accompanying drawings.
Preferred embodiments will be described in the following with reference to the drawings.
A battery pack 1 and an electronic apparatus 2 are connected to each other via terminals 3, 4 and 5. A first terminal 3 and second terminal 4 correspond to an anode and a cathode, respectively, to supply (output) power (external power) from the battery pack 1 to the electronic apparatus 2. A third terminal 5 is used as a communication terminal to perform communication between the battery pack 1 and the electronic apparatus 2.
The battery pack 1 communicates with the electronic apparatus 2 through the terminal 5 (communication terminal 5), and includes a cryptographic unit 6 which generates a code (a response word) based on a common cryptographic algorithm using a common code key 8 which is the same as a common code key 9 used in the electronic apparatus 2. Likewise, the electronic apparatus 2 communicates with the battery pack 1 through the communication terminal 5, and includes an authentication part 7 which performs an authentication procedure based on the cryptographic algorithm and the common code key 9 (identical to the cryptographic algorithm with the common code key 8 used by the battery pack 1).
In the following, a more detailed description will be given for each configuration of the battery pack 1 and the electronic apparatus 2.
The battery pack 1 of
The remaining battery capacity detection IC 10 is a circuit which detects a remaining capacity of the battery 14 and includes a power supply terminal VDD, a reference electrical potential terminal VSS, a voltage detection terminal VBAT1, a pair of current detection terminals VRSP and VRSM, and a communication terminal SIO. The remaining battery capacity detection IC 10 receives voltage through the power supply terminal VDD, in which the voltage from the battery 14 is regulated at the battery protection IC 12. The reference electric potential terminal VSS is connected to the cathode of the battery 14. The remaining battery capacity detection IC 10 can detect the output voltage of the battery 14 through the voltage detection terminal VBAT1 which is connected to the anode of the battery 14. One of the current detection terminals, the current detection terminal VRSM, is connected to the cathode of the battery 14 and connected to another current detection terminal, the current detection terminal VRSP via an external resistor R11 at outside of the remaining battery capacity detection IC 10. The remaining battery capacity detection IC 10 can detect a current flowing through the external resistor R11 by the current detection terminals VRSP and VRSM, that is, the remaining battery capacity detection IC 10 can detect the charge or discharge current of the battery 14. The communication terminal SIO is connected to the communication terminal 18 through the battery protection IC 12 in which the communication terminal 18 is used for the communication with the electronic apparatus 2. The remaining battery capacity detection IC 10 can communicate with the electronic apparatus 2 over the communication terminal SIO.
In
The CPU 20 can control each part of the remaining battery capacity detection IC 10. The sensor part 22 can detect a voltage, a current, and temperature of the battery 14 (see
Also, the sensor part 22 includes a temperature sensor circuit 30, a voltage sensor circuit 32, a current sensor circuit 34, a multiplexer 36, and an analog-to-digital (A/D) conversion circuit 38.
The temperature sensor circuit 30 can detect the temperature of the battery 14. The voltage sensor circuit 32 can detect the output voltage of the battery 14 via the voltage detection terminal VBAT1 connected to the battery 14. The electric current sensor circuit 34 can detect a current flow through the external resistor R11 via the current detection terminals VRSP and VRSM. Namely, the electric current sensor circuit 34 can detect the charge or discharge current of the battery 14. Outputs of the temperature sensor circuit 30, the voltage sensor circuit 32 and the electric current sensor circuit 34 are connected to the multiplexer 36, and the multiplexer 36 outputs those signal values as a single signal. The A/D conversion circuit 38 can convert the signal output by the multiplexer 36 from an analog signal to a digital signal.
The remaining battery capacity detection IC 10 executes a remaining capacity detection program stored in the ROM 24 so that a remaining capacity of the battery 14 can be detected based on the voltage, the charge or discharge current, and temperature detected by the sensor part 22.
Further, in this embodiment, the cryptographic unit 6 of
In
The memory part 40 can store the common code key used in the cryptographic algorithm, which is used in the electronic apparatus 2 with the same common code key (the cryptographic algorithm and the common code key are identical to those used by the electronic apparatus 2). For example, the memory part 40 may be provided in part of a memory region of the EEPROM 25 (nonvolatile memory) shown in
The reception part 42 can receive a request word (external request word) from the electronic apparatus 2 for enabling the authentication procedure. Specifically, the reception part 42 can cause the serial I/F 26 of
The encryption part 44 ciphers (encrypts) the request word received by the reception part 42 based on the cryptographic algorithm with the common code key (identical to the cryptographic algorithm with the common code key used by the electronic apparatus) stored in the memory part 40, and generates (outputs) a response word (code).
The transmission part 46 can transmit the response word generated by the encryption part 44 to the electronic apparatus 2. Specifically, the transmission part 46 can cause the serial I/F 26 of
In
The CPU 50 can control each part of the electronic apparatus 2. The ROM 51 can store a program so that the CPU 50 executes the program to control each part of the electronic apparatus 2. The RAM 52 can store data which are used when the CPU 50 executes the program stored in the ROM 51.
The external I/F 53 can communicate with the battery pack 1 through the communication terminal 5 as shown in
The application 55 can perform functions of the electronic apparatus 2 required as a portable phone. For example, the functions include capabilities of a phone, E-mail communication, Internet access, a camera, a television, a game or the like.
The user I/F 56 includes an operation part to be operated by a user and a display which shows user information for the user.
The RF/IF 57 can transmit and receive analog sound signals through the antenna 59 based on RF communication. The sound processing part 58 can convert the analog sound signals transmitted and received by the RF/IF 57 into digital sound signals.
The electronic apparatus 2 stores the authentication part 7 of
In
The memory part 60 can store the common code key used in the cryptographic algorithm. For example, the memory part 60 may be provided in part of the memory region of the RAM 52 of
The transmission part 61 can transmit (output) a request word (external request word) to the battery pack 1 for the authentication procedure. Specifically, the transmission part 61 can cause the external I/F 53 of
The reception part 62 can receive a response word (external response word) from the battery pack 1. Specifically, the reception part 62 can cause the external I/F 53 of
In this embodiment, the collation part 63 includes the encryption part 64 and the decryption part 65 as illustrated in
The operation restriction part 66 can prohibit the operation of the electronic apparatus 2 or restrict some of the operation of the electronic apparatus 2 when the battery pack 1 has been determined as an inappropriate battery pack.
When a prohibition of the operation or a restriction of part of the operation of the electronic apparatus 2 is made by the operation restriction part 66, the display part 67 can indicate that information to notify a user. Specifically, the display part 67 can cause the user I/F 56 of
The authentication procedure is not limited to the above request/response method. Further or alternatively, the authentication part 7 may perform code communication with the battery pack 1 and the authentication procedure may be performed based on an establishment of the code communication with the battery or matching of the communication contents.
In the following, the operation of the authentication will be described by referring especially to
When the battery pack 1 is connected to the electronic apparatus 2, power (external power) is supplied (input) to the electronic apparatus 2 from the battery pack 1, and then the electronic apparatus 2 first transmits (outputs) a request word (external request word) to the battery pack 1 via the transmission part 61.
The battery pack 1 receives the request word (external request word) transmitted by the electronic apparatus 2 at the reception part 42. Next, the battery pack 1 encrypts the request word received with the reception part 42 by the encryption part 44 with the cryptographic algorithm and the common code key stored in the memory part 40 (the cryptographic algorithm and the common code key are identical to those used by the electronic apparatus 2), and generates (outputs) a response word. The battery pack 1 transmits the response word generated (output) by the encryption part 44 through the transmission part 46 to the electronic apparatus 2.
On the other hand, while the response word is generated in the battery pack 1, the electronic apparatus 2 encrypts the same request word previously transmitted by the transmission part 61 to the battery pack 1 by use of the encryption part 64 with the common code key stored in the memory part 60, and generates an encrypted request word.
Next, after the response word (external response word) is transmitted (output) by the battery pack 1, the electronic apparatus 2 receives this response word in the reception part 62. Next, the electronic apparatus 2 collates the response word from the battery pack 1 received by the reception part 62 with the encrypted request word having been encrypted previously in the encryption part 64 in the collation part 63, and confirms whether the response word from the battery pack 1 and the encrypted request word match each other.
Further, or alternatively, the electronic apparatus 2 decrypts the response word from the battery pack 1 received by the reception part 62 by use of the decryption part 65 with the common code key stored in the memory part 60. Next, the electronic apparatus 2 collates the response word decrypted by the decryption part 65 with the request word previously transmitted to the battery pack 1 by the transmission part 61 in the collation part 63, and confirms whether the decrypted response word and the request word match each other.
When a collation result by the collation part 63 is a “match”, the electronic apparatus 2 determines the battery pack 1 to be an appropriate battery pack having the common code key. On the other hand, the electronic apparatus 2 determines that the battery pack 1 is unauthenticated when the collation result by the collation part 63 is a “mismatch.”
Further, if a battery pack is an unauthenticated product, the battery pack may not include components such as an encryption part or the like provided in the battery pack of this embodiment. In this case, even if the electronic apparatus 2 transmits a request word or other signals, it is expected that there is no reply or a meaningless response from the unauthenticated battery pack. In such a case, the electronic apparatus 2 can determine that the battery pack is unauthenticated.
Thus, there are three methods in which the electronic apparatus 2 determines whether a battery pack 1 is authenticated.
In the first method, a request word (external request word) is transmitted to the battery pack 1, the same request word is encrypted in the electronic apparatus 2, and the response word (external response word) transmitted (output) from the battery pack 1 and the encrypted request word are collated with each other.
In the second method, the response word transmitted from the battery pack 1 is decrypted in the electronic apparatus 2, and the request word previously transmitted to the battery pack 1 and the decrypted response word are collated with each other.
In the third method, the authentication is performed based on the establishment or matching of the communication between the electronic apparatus 2 and the battery pack 1.
For the first method through the third method, one of three methods or a combination of more than two methods above may be used.
When it is determined that a battery pack 1 is not authenticated by these methods, the electronic apparatus 2 can prohibit the operation of the electronic apparatus 2 or restrict part of the operation of the electronic apparatus 2 by use of the operation restriction part 66. Specifically, when the electronic apparatus 2 is a portable phone, the restriction can be planned that the portable phone is available to call but a Web function such as the Internet and E-mail cannot be used.
Further, when the operation of the electronic apparatus 2 is prohibited or part of the operation of the electric apparatus 2 is restricted by the operation restriction part 66, that information can be displayed on the user I/F 56 (see
Further, the common code key included in the battery pack 1 may be renewed in the battery pack 1 by receiving a new common code key transmitted by the electronic apparatus 2. On the other hand, when the electronic apparatus 2 is a portable phone, for example, a new common code key of the electronic apparatus 2 may be acquired by carrier communication with an external server. Further, when the electronic apparatus 2 can connect to a computer such as a PC or the like via a wire or radio communication, the common code key of the electronic apparatus 2 may be acquired by a computer. It is preferable for a common code key used in the cryptographic algorithm to be renewed periodically for maintaining security.
In this manner, a battery pack and an electronic apparatus of this embodiment having an authentication function based on a cryptographic algorithm using a common code key can prevent the use of an unauthenticated battery pack. Therefore, the possibility of risk of an accident which may be caused by using an unauthenticated battery pack attached to an electronic apparatus can be reduced.
Further, when the remaining battery capacity detection circuit is included in a battery pack for detecting a remaining capacity of a battery, the product cost reduction and decrease in the circuit area become possible by applying an authentication function of this invention to this circuit. As a code key is stored in the storage device of a circuit, reading the code key to produce unauthenticated products becomes difficult. Thereby, it becomes possible to provide an electronic apparatus with a battery pack an authentication function that is difficult to copy. The remaining battery capacity detection circuit (unit) includes a processing unit (or central processing unit: CPU) that acquires parameters including the temperature of a battery, the voltage and currents of the battery during charging or discharging or the like. Based on the parameters, the processing unit obtains the remaining battery capacity of the battery. By utilizing the CPU, the encryption (cryptographic) function for enabling authentication becomes possible with the remaining battery capacity detection circuit as hardware or software. Thereby, it is also possible to reduce the manufacturing cost and circuit area of the battery pack. Further, when the encryption (cryptographic) function for enabling authentication is provided in the remaining battery capacity detection unit as software, the cryptographic algorithm can be easily renewed. As a result, it becomes easy to solve a problem in short time at a low cost when the cryptographic algorithm and the common code are decrypted (or copied) to use an unauthenticated battery.
According to this invention, a battery pack and an electronic apparatus can provide a function that enables authentication making it difficult to copy.
Although the invention has been described with respect to a specific embodiment for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art that fairly fall within the basic teachings herein set forth.
This patent application is based on Japanese Priority Patent Application No. 2007-326446 filed on Dec. 18, 2007, the entire contents of which are hereby incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
2007-326446 | Dec 2007 | JP | national |
This application is a divisional application of a U.S. patent application Ser. No. 12/332,566 filed on Dec. 11, 2008, the entire disclosure of which is hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 12332566 | Dec 2008 | US |
Child | 13227549 | US |