System and method of connection between a first and a second battery, a device load and a logic load

Abstract: An electronic apparatus comprising a plurality of loads, which are separately driven by a plurality of batteries, further comprises a switching device which automatically changes a system of connection between the batteries and the loads in accordance with the conditions of the electronic apparatus. Such conditions of the electronic apparatus include the remaining capacities of the batteries, load changes in the loads, and temperature changes in the electronic apparatus. An electronic apparatus provided with a system clock generating device and a peak load device comprises a system clock controller which suspends the supply of a system clock or divides the system clock while a peak voltage is being generated. A drive controller changes the connection between the first and second batteries in accordance with detected remaining capacities of the first and second batteries.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an electronic apparatus, which uses a battery for a drive source, and more particularly to a drive controller and an electronic apparatus which are designed to perform control so that batteries are efficiently used in the electronic apparatus having a plurality of batteries. Related Background Art Conventionally, in an electronic apparatus, which uses a battery for a primary power supply, is provided with a plurality of batteries, and there are cases where batteries supplied are changed in accordance with the type of load or an operation mode of the electronic apparatus. Fig. 17 is a block diagram which shows a schematic configuration of a conventional electronic apparatus with a backup memory. In the drawing, when a power is turned ON by a switch, which is not shown, a voltage from a main battery 102 is turned into a regular voltage via a DC-DC converter 103 and supplied to a main body electronic circuit 101, and at the same time, the voltage, which has been turned into the regular voltage, is also supplied to a backup memory 104. On the other hand, when the power is turned OFF (at the time of backup) by the switch, which is not shown, if the main battery 102 exists and a sufficient battery capacity thereof remains, then the voltage, which has been turned into the regular voltage via a simple regular voltage circuit 105, is supplied from the main battery 102 to the backup memory 104; if the main battery does not exist or the battery capacity has lowered, then the voltage from a backup battery 106 is supplied directly to the backup memory 104. In general, a dry cell or a secondary battery such as Ni-Cd battery, nickel-hydrogen battery and a lithium ion secondary battery is used for the main battery, while a lithium battery is used for the backup battery. Fig. 18 is a block diagram which shows a schematic configuration of another example of the conventional electronic apparatus. This electronic apparatus is provided with a plurality of batteries of the same type, and the power supply which supplies power to a main body 109 of the electronic apparatus is changed by switching between the main battery 102, which is identical to the one of Fig. 17, and a small auxiliary battery 107 which generates the same voltage as the main battery. In other words, the power supply is configured so that the main battery 102 is normally used and it is switched to the auxiliary battery 107 only when the capacity of the main battery 102 lowers or if a power failure occurs. Further, Fig. 19 is a block diagram which shows a schematic configuration of still another example of the conventional electronic apparatus; it illustrates a small portable electronic apparatus such as an electronic calculator. In general, this type of electronic apparatus has a load (logic) 110 and a load (device) 111, and a voltage from the main battery 102 is supplied directly to the load (logic) 110 and the voltage from the main battery 102, which voltage is boosted via a boosting circuit 112, is supplied to the load (device) 111. In this case, the load (logic) 110 primarily comprises a CPU, main memory, backup memory, etc., while the load (device) 111 primarily comprises an LCD display, a hard disk drive, etc. The load (logic) 110 is directly driven by the main battery 102 because this is advantageous in that the electronic apparatus can be made smaller and power efficiency is increased since no extra circuit is provided. In an electronic apparatus which has a peak load device such as a power supply, light, and a hard disk drive, when the entire electronic apparatus is operated by a system clock, there are cases wherein the voltage of the whole electronic apparatus drops due to the operation of the peak load device, affecting the operations of the load (logic) and a microprocessor. Particularly in the case of an electronic apparatus which uses a battery as a power supply thereof, such a voltage drop affects the operations of the load (logic) and the microprocessor, occasionally resulting in malfunction. For this reason, for an electronic apparatus, which uses an AC adapter as a power supply thereof, the power capacity was made considerably larger than a total load capacity, while for an electronic apparatus, which uses a battery as a power supply thereof, the use of the apparatus was prohibited even if the battery still has a certain level of capacity left. In the conventional electronic apparatus provided with a plurality of batteries described above, however, each battery is allocated to each function of a load; therefore, constant relationship of connection between the batteries and the loads is always maintained regardless of the operating conditions of the electronic apparatus or the remaining capacity of the batteries. This causes each of the batteries to always perform a single operation. More specifically, the batteries are designed so that when the batteries are supplying voltages to the loads, they perform only the supply and they cannot concurrently perform any other operation such as charging. Further, in a late advanced electronic apparatus, there is an increasing demand that the load (logic) be driven directly by a battery, that is, driven without going through a regular voltage control circuit, because of a trend toward lower voltage and energy saving. To meet such a demand, separate batteries may be connected to the load (logic) and other loads (devices, including an LCD display and a hard disk drive), respectively. This, however, requires that batteries of different capacities be connected in order to operate both loads for the same time because there is a difference in power consumption between the two types of loads. Hence, each battery is strictly used for the load to which it is connected, resulting in limited freedom in use of the batteries. For instance, when the remaining capacity of a battery has lowered, no other battery is allowed to replace the battery. Therefore, as shown in Fig. 20, the conventional electronic apparatus used to be configured so that only a single combined battery 113 with a large capacity is used, and the voltage output from the combined battery 113 is converted by a DC-DC converter 114 to suit the individual loads before it is supplied. This presented a problem in that the load (logic), which should be driven directly, must always be driven via the regular voltage control circuit (DC-DC converter 114) just as in the case of other loads. Furthermore, since the combined battery 113 is used, at the time of backup, that is, when the voltage to be supplied to a load is low, the voltage of the combined battery must be dropped via the simple regular voltage circuit, consuming wasteful power. There was another problem in that, if one has to go out carrying the conventional electronic apparatus immediately after beginning charging, then the charging must be interrupted, and when he tries to use the electronic apparatus at a destination, the apparatus cannot be used because the remaining capacity of the battery thereof is not enough. There was still another problem in that the conventional electronic apparatus, which has the peak load device, sets the power capacity larger than necessary, resulting in higher cost and an increased size of the apparatus. Furthermore, even with the large power capacity, it was difficult to fully eliminate influences exerted by peak load in order to completely prevent malfunction of the electronic apparatus. Furthermore, US-A-4 413 220 discloses a circuit comprising at least two batteries of substantially the same capacity connected in series, two loads with different power demands needing different supply voltage polarities and switching means interconnected between the batteries and the loads, which switch the connection of the batteries to the loads according to the capacities of the batteries to discharge the batteries at substantially the same time. Moreover, from US-A-5 121 046 there is known an arrangement for automatically connecting a first battery either in series with or in parallel to a second battery to maintain a minimum output terminal voltage. The arrangement includes a voltage sensor for detecting the operation voltage of the batteries. If the operating voltage of the batteries falls below a threshold due to temperature changes, switching devices are activated to convert the parallel connection of batteries into a series connection. When the battery voltage rises above another threshold, the switching means are activated to reconnect the batteries in parallel. SUMMARY OF THE INVENTION It is an object of the present invention to provide an electronic apparatus which enables a higher degree of freedom in connecting a plurality of batteries with a plurality of loads to accomplish improved operating efficiency of the batteries and permits reduced power consumption and meets emergency need immediately after starting charge. According to the present invention this object is accomplished by an electronic apparatus and a method for changing a connection system as defined in the accompanying claims. This invention can be more fully understood from the following detailed description when taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram which shows a schematic configuration of the first embodiment of the electronic apparatus according to the present invention; Fig. 2 is a diagram which shows relationship between a battery voltage of Fig. 1 and a driving method of the load (logic); Fig. 3 is a state transition diagram which shows relationship between the battery voltage of Fig. 1 and connection/driving modes; Fig. 4A and Fig. 4B show changes in the battery voltage of Fig. 1 in relation to the modes; Fig. 5 is a diagram which shows the connection states of all switches in mode 2; Fig. 6 is a diagram which shows the connection states of all switches in mode 4; Fig. 7 is a diagram which shows the connection states of all switches in mode 5; Fig. 8 is a flowchart of a subroutine which shows a processing procedure of mode 1; Fig. 9 is flowcharts of subroutine which show processing procedures of mode 2 and mode 4; Fig. 10 is a flowchart of a subroutine which shows a processing procedure of mode 3; Fig. 11 is a flowchart of a subroutine which shows a processing procedure of mode 5; Fig. 12 is a diagram which shows mode transitions of an electronic apparatus according to the second embodiment; Fig. 13 is a diagram which shows changes in a connection system in a sleep mode and a shutdown mode of the electronic apparatus of the second embodiment; Fig. 14 is a diagram which shows an example of the connection system of state (b) of Fig. 13; Fig. 15 is a block diagram which shows a schematic configuration of the third embodiment of the electronic apparatus according to the present invention; Fig. 16 is a diagram which shows mode transitions in the electronic apparatus according to the fourth embodiment; Fig. 17 is a block diagram which shows a schematic configuration of the conventional electronic apparatus provided with a backup memory; Fig. 18 is a block diagram which shows a schematic configuration of another example of the conventional electronic apparatus; Fig. 19 is a block diagram which shows a schematic configuration of still another example of the conventional electronic apparatus; and Fig. 20 is a block diagram which shows a schematic configuration of yet another example of the conventional electronic apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following explains in detail the embodiments of the present invention with reference to the drawings. Fig. 1 is the block diagram which shows the schematic configuration of the first embodiment of the electronic apparatus according to the present invention. In the drawing, the electronic apparatus of the embodiment is comprised of a dynamically connected circuit 1 of the batteries, which constitutes a characteristic of the present invention, and an apparatus main body 2. The dynamically connected circuit 1 of the battery is comprised of batteries 3, 4, which are the same type and have the same capacity and which are power supplies for driving the apparatus main body 2, a voltage monitor 5, which monitors the terminal voltages of the batteries 3, 4, a charge controller 6 for charging the batteries 3, 4, switches 7 through 12 for switching the system of connection between the batteries 3, 4 and the apparatus main body 2, DC-DC converters 13, 14, which are regular voltage control circuits, a CPU 20 for controlling the sections, and a ROM 21 wherein a procedure implemented by the CPU 20 is stored. Further, the apparatus main body 2 is comprised of a load (logic) 15, which consists of arithmetic and control devices such as a CPU, main memory, backup memory, and RTC (real-time clock), and a load (device) 16, which consists primarily of a display unit (liquid crystal, backlight, etc.), memory (hard disk drive (HDD), floppy disk drive, IC card, etc.), communication controller, and input device (keyboard, digitizer, etc.). In this case, the load (logic) 15 is recently driven on 3.3 V due to ICs with lower voltages and the demand for energy saving, and even if the power is OFF, the power is supplied to some parts for backup to keep them ON. In the battery dynamically connected circuit 1, the batteries 3, 4 employ lithium ion secondary batteries, which are being put in practical use recently. The lithium ion secondary batteries are used because they exhibit many advantages, including higher battery voltage (3.6 V on the average), higher weight/volume energy density (higher capacity), less self discharge, easy checking of remaining capacity, and easy discharge. The remaining capacity can be easily checked because the terminal voltage of the lithium ion secondary battery linearly drops (4.2 V to 2.8 V) as discharge proceeds; therefore, the remaining capacity of the battery can be detected by monitoring the terminal voltage. As previously described, the voltage monitor 5 monitors the terminal voltages of the batteries 3, 4, and the CPU 20 determines the remaining capacities of the batteries 3, 4 from the terminal voltages, then changes the connection system of the batteries 3, 4 by controlling the switches 7 through 12 in accordance with a method to be described later. And if a result of determining the remaining capacities of the batteries 3, 4 reveals the need of charging, then the CPU 20 instructs the charge controller 6 to charge the battery 3 or the battery 4 through the AC adapter which is not shown. The lithium ion secondary batteries are charged through the AC adapter (not shown) which consists of a regular voltage charging device (with a current limiter). The DC-DC converter 13 is a regular voltage control circuit which generates the voltage supplied to the load (logic) 15 and it converts the voltage supplied from the AC adapter (not shown) to 3.3 V. The voltage supplied to the DC-DC converter 13 at the time of backup uses an output from a series circuit (not shown) rather than an output from the DC-DC converter 13. Further, the direct drive voltage from the batteries 3, 4 and the voltage supplied by the DC-DC converter 13 are selected by the switch 12 and applied to the load (logic) 15. The DC-DC converter 14 is a regular voltage control circuit which generates the voltage supplied to the load (device) 16 and it converts the voltage supplied by the batteries 3, 4 into 5 V, 12 V, -20 V or other voltage which is required by the load (device) 16. The DC-DC converter 14 is designed so that all outputs thereof are turned OFF when the power is turned OFF. The connection system of the batteries 3, 4 of the electronic apparatus which is configured as described above will now be explained. Fig. 2 is the diagram which shows the relationship between the terminal voltages of the batteries 3, 4 of Fig. 1 and the driving method of the load (logic) 15, the axis of ordinates indicating voltage V, while the axis of abscissa indicating time t. The permissible range of the voltage supplied to the load (logic) 15 is 3.3V±10%; therefore, the supply voltage needs to range from 3.0 V to 3.6 V. Hence, when the terminal voltages of the batteries 3, 4 are higher than 3.6 V, that is, during a period of time t 0 to t 1 , the terminal voltages are decreased to 3.3 V via the DC-DC converter 13 (regular voltage drop control). Next, when the terminal voltages of the batteries 3, 4 are within a range of 3.0 V to 3.6 V, that is, during a period of time t 1 to t 2 , the output voltages of the batteries 3, 4 are supplied to the load (logic) 15 (direct drive). This is conducted to prevent the power efficiency from being reduced by supplying the voltages via the DC-DC converter 13. Accordingly, when the terminal voltage of either one of the batteries 3,4 enters the voltage range, that battery is preferentially connected to the load (logic) 15 to directly drive the load (logic) 15. Further, if the terminal voltages of both batteries 3, 4 are within the voltage range, then control is performed to alternately switch the connection appropriately. When the terminal voltages of the batteries 3, 4 drop below the permissible range of the voltage supplied to the load (logic) 15, that is, after a time t 2 , the terminal voltages are increased to 3.3 V (regular voltage boosting control) via the DC-DC converter 13. Fig. 3 is the state transition diagram which shows the relationship between the terminal voltages of the batteries 3, 4 and the connection/driving modes. In the diagram, the axis of abscissa indicates a terminal voltage VA of a battery connected to the load (logic) 15, while the axis of coordinate indicates a terminal voltage VB of the battery connected to the load (device) 16. The arrows indicate mode changes. Mode 1 is a mode wherein the terminal voltages of both batteries 3, 4 are 3.6 V or more and the batteries 3, 4 may be connected to either the load (logic) 15 or the load (device) 16. Mode 2 is a mode wherein the terminal voltage of either the battery 3 or the battery 4 is in the voltage range (3.0 V to 3.6 V) for directly driving the load (logic) 15, and the battery is connected to the load (logic) 15. Mode 3 is a mode wherein the terminal voltages of both batteries 3, 4 have dropped, the terminal voltage of one of the batteries being 3.0 V or less and the terminal voltage of the other battery being in the voltage range (3.0 V to 3.6 V) for the direct drive of the load (logic) 15, and the latter battery is connected to the load (device) 16, which consumes more power, while the former battery is connected to the load (logic) 15 via the DC-DC converter to increase the voltage. Mode 4 is a mode wherein the terminal voltages of both batteries 3, 4 have dropped to 3.0 V or less, and the batteries 3, 4 are connected in series to supply the voltages to the DC-DC converters 13, 14. At this time, the series connection does not cause any trouble even if the remaining capacities of the two batteries 3, 4 are different because the internal impedance of a lithium ion secondary battery remains constant regardless of the remaining capacity. Mode 5 is a mode wherein one of the batteries 3, 4 has just been charged, while the other battery scarcely has a remaining capacity, and the whole apparatus is driven by only the former battery. In addition, a shutdown mode is a mode wherein the terminal voltages of either one of the batteries 3, 4 have dropped to 2.8 V or less, giving a sign of the expiration of the battery service life, and therefore further use of the apparatus is prohibited and only backup is securely conducted. Figs. 4A and 4B are the diagrams which show the changes in the terminal voltages of the batteries 3, 4 in relation to the modes, the axis of coordinate indicating the voltage V, while the axis of abscissa indicating the time t. Fig. 4A shows the changes observed from mode 1 to mode 3 via mode 2, while Fig. 4B shows the changes observed from mode 5 to the shutdown mode via mode 4. The initial values of the terminal voltages of the batteries 3, 4 are both 4.2 V because it is assumed that both batteries 3, 4 have just been charged. In Fig. 4A, first, the battery 3 (terminal voltage VA) is connected to the load (logic) 15 and the battery 4 (terminal voltage VB) is connected to the load (device) 16, leading to mode 1. Then, the terminal voltage VB of the battery 4, which is connected to the load (device) 16 having large power consumption, drops more quickly than the terminal voltage VA of the battery 3 and reaches 3.6 V in time t 1 , then the battery connection is switched; more specifically, the battery 3 is connected to the load (device) 16, while the battery 4 is connected to the load (logic) 15 (mode 2). Subsequently, as the voltage falls under the connection condition, the voltage relationship between the terminal voltage VA and the terminal voltage VB is reversed, and when the difference exceeds a certain voltage (e.g., 0.2 V) in the time t 2 , the connection between the batteries 3, 4 and the loads 15, 16 is changed again. Thus, in mode 2, the connection between the batteries 3, 4 and the loads 15, 16 is changed in accordance with the voltage difference between the battery 3 and the battery 4. And when the terminal voltage of either the battery 3 or the battery 4 has dropped to 3.0 V or less in the time t 3 , the mode transfers to mode 3. As the terminal voltage VA or VB further drops in the time t 4 , the mode transfers further to mode 4. In Fig. 4B, when only one of the batteries 3, 4 has a sufficient remaining capacity, the load (logic) 15 and the load (device) 16 are driven by only that battery (the battery 3 in Fig. 4B) (mode 5). As the terminal voltages of the batteries 3, 4 further drop, the mode transfers to mode 4 in the time t 5 and to the shutdown mode in the time t 6 . Fig. 5 is the diagram which shows an example of the connection states of the switches 7 through 12 in mode 2. In Fig. 5, the voltage of the battery 3 with the negative terminal thereof grounded is directly supplied to the load (logic) 15 by the switch 7 via the switch 10 and the switch 12. The voltage of the battery 4, which has been boosted by the DC-DC converter 14, is supplied to the load (device) 16 via the switch 11. Fig. 6 is the diagram which shows another example of the connection states of the switches 7 through 12 in mode 4. In Fig. 6, the batteries 3, 4 are connected in series by the switches 7 and 8. The voltages of the batteries 3, 4, which are connected in series, are boosted by the DC-DC converter 13 via the switches 9, 10 and supplied to the load (logic) 15 via the switch 12. The voltages of the batteries 3, 4, which are connected in series, are boosted by the DC-DC converter 14 via the switches 9, 11 and supplied to the load (device) 16. Fig. 7 is the diagram which shows still another example of the connection states of the switches 7 through 12 in mode 5. In Fig. 7, the battery 4 is isolated from the loads 15, 16 by the switches 7, 8. At this time, the battery 4 is charged by the AC adapter (not shown) under the control of the charge controller 6. The voltage of the battery 3 with its negative terminal grounded by the switch 7 is boosted by the DC-DC converter 13 via the switches 9, 10 and supplied to the load (logic) 15 via the switch 12. Likewise, the voltage of the battery 3 is boosted by the DC-DC converter 14 and supplied to the load (device) 16. Fig. 8 through Fig. 11 are the flowcharts which show the subroutine procedures for transferring the modes. The CPU in the dynamically connected circuit 1 generates a timer interrupt each time a predetermined time elapses, and in the interrupt processing, it always monitors the terminal voltages of the batteries 3, 4 through the voltage monitor 5 and carries out the subroutine processing in accordance with the current mode. More specifically, the CPU compares the terminal voltages with the current mode and decides whether it should continue the current mode or transfer to a different mode. Fig. 8 is the subroutine flowchart which shows the processing procedure of mode 1. If the current mode is mode 1, then the CPU 20 calls up the subroutine from the ROM 21 to first determines whether the terminal voltages VA, VB are both 3.6 V or more (a step S1), and if it determines that they are 3.6 V or more, then it terminates the subroutine processing. On the other hand, if either the terminal VA or VB is found to be lower than 3.6 V in the step S1, then the CPU switches the connection of the switch 12 to the terminal 1 in a step S2 so that the output from the DC-DC converter 13 is supplied to the load (logic) 15 and it switches the connection of the switches 10, 11 to reverse the connection between the batteries 3, 4 and the load (logic) 15 and the load (device) 16. Subsequently, in a step S3, the CPU changes the current mode to mode 2 and terminates the subroutine processing. Fig. 9 is the subroutine flowcharts which show the processing procedures for mode 2 and mode 4. In mode 2, the CPU first determines whether the terminal voltages VA, VB are both 3.0 V or more (a step S11), and if they are 3.0 V or more, then it proceeds to a step S12 wherein it determines whether the difference between the terminal voltage VA and the terminal voltage VB is 0.2 V or more. If the difference is smaller than 0.2 V, that is, before reaching the time t 2 in Fig. 4A, then the CPU terminates the subroutine processing. On the other hand, when the difference reaches 0.2 V or more in the step S12, that is, when the time t 2 is reached, the CPU switches, in a step S13, the connection of the switches 10, 11 and terminates the subroutine processing as in the step S2 of Fig. 8. Further, if both terminal voltages VA, VB are not 3.0 V or more, that is, if the terminal voltage VB is smaller than 3.0 V in S11, then the CPU proceeds to a step S14 wherein it determines whether the terminal voltage VB is 2.8 V or more; if the terminal voltage VB is 2.8 V or more, the CPU proceeds to a step S15 wherein it switches the connection of the switch 12 and the switches 10, 11 and terminates the subroutine processing as in the step S2 of Fig. 8. On the other hand, if the terminal voltage VB is found to be smaller than 2.8 V in a step S14, the CPU proceeds to a step S17 wherein it performs the shutdown mode processing described above. In a step S18, after the backup state begins, the subroutine processing is terminated. Furthermore, in mode 4, the CPU determines in a step S21 whether the terminal voltages VA, VB are both 2.8 V or more; if they are both 2.8 V or more, then the CPU terminates the subroutine, while if either one of VA and VB is below 2.8 V, then the CPU carries out the processing of the steps S17 and S18 and terminates the subroutine processing. Fig. 10 is the subroutine flowchart which shows the processing procedure for mode 3. In mode 3, the CPU first determines in a step S31 whether the terminal voltage VB is 3.0 V or more, and the terminal voltage VA is 2.8 V or more and below 3.0 V at the same time; if the terminal voltages are both within these ranges, then the CPU terminates the subroutine processing. On the other hand, if the determination result in the step S31 is in any ranges other than those mentioned above, then the CPU proceeds to a step S32 wherein it switches the connection of the switches 9, 10, 11 to the terminal 1, switches the connection of the switch 8 from the terminal 1 to the terminal 2, and switches the connection of the switch 7 from the terminal 2 to the terminal 1. In other words, the CPU connects the batteries 3, 4 in series to supply the power to the DC-DC converters 12, 13. In the step S32, x indicates that the terminal number may be any number. Next, in a step S33, the current mode is changed to mode 4 and a charge request flag is set in a step S34. In other routine, which is not shown, the charge request flag is always monitored and if the flag is set, then the charge controller 15 charges the battery to be charged. Upon the completion of the charge, the charge request flag is reset. Fig. 11 is the subroutine flowchart which shows the processing procedure for mode 5. In mode 5, the CPU first determines in a step S41 whether the terminal voltage VA is 2.8 V or more, and if the terminal voltage VA is 2.8 V or more, then it terminates the subroutine processing. On the other hand, if the terminal voltage VA is below 2.8 V, then the CPU proceeds to a step S42 wherein it changes the connection of the switches 7 through 9 in the same manner as that in the step S32 of Fig. 10, then changes the current mode to mode 4 (a step S43). After setting the charge request flag (a step S44), the subroutine is terminated. Thus, the operation mode is changed in accordance with the terminal voltages of the batteries 3, 4; therefore, the batteries can be connected to proper loads in accordance with the remaining capacities of the batteries, and even if one has to go out carrying the electronic apparatus incorporating the batteries, he can use the apparatus at a destination by using the remaining capacities of the two batteries. If the voltage of one battery is within the voltage range, which is appropriate for the direct drive of the load (logic) 15, then the battery is preferentially connected to the load (logic) 15 and the other battery is connected to the load (device) 16, thus permitting optimum connection between the batteries 3, 4 and the apparatus main body 2. The batteries 3, 4 are designed so that both the batteries are connected in series when the capacities of the batteries 3, 4 have both become low. This makes it possible to continue supplying power concentrating on the most important element to the end. It is needless to say that the switch changing timing is set so that the operation of the whole apparatus is temporarily held to prevent malfunction during the switching operation and also a capacitor having an adequate capacitance is connected in each network. Further in this embodiment, mechanical switches like relays are used for all the switches 7 through 12, but it is needless to say that the type of switches to be used is not limited to the above; semiconductor switches or the like such as MOS transistors or the like may be used instead or any means designed for switching may be used. Furthermore, the lithium ion secondary batteries are used for the batteries, but other type of secondary batteries may be used, or primary batteries may be used if no charging is required. The second embodiment of the electronic apparatus according to the present invention will now be described. The second embodiment differs from the first embodiment, wherein the connection system is changed also in accordance with the battery capacities, only in that the connection system is changed in accordance with the change in load of the apparatus main body 2. Hence, the same apparatus as that of the first embodiment will be used for this embodiment and only the mode transitions will be changed. Fig. 12 is the diagram which shows the mode transitions of the embodiment. As shown in the diagram, the current electronic apparatuses have various state modes to save energy. In this case, the power down mode is a mode wherein a display device and an input device are ON, an HDD is OFF, and a CPU clock is in a stop state, the sleep mode further placing the display device in an OFF state. The shutdown mode (suspend mode) is a mode wherein all functions except the backup section are placed in an OFF state. The factors involved in these mode state transitions are shown in Fig. 12. For instance, during the operation mode, if no input is given until a predetermined time elapses, the mode is changed to the power down mode. When another predetermined time elapses, the mode is changed to the sleep mode. In this manner, the mode transitions take place. The connection system in the power down mode is changed in accordance with modes 1 through 5 in the first embodiment described above. The connection system in the sleep mode and the shutdown mode is changed in accordance with the states shown in Fig. 13. At this time, as shown in Fig. 13, basically, the apparatus main body 2 is driven on a single battery (the battery which supplies the terminal voltage VA). When this mode is engaged, the connection is first made so that, of the batteries 3, 4, the battery which has a higher terminal voltage provides the terminal voltage VA, then the connection system of the batteries is changed in accordance with Fig. 13. More specifically, when the terminal voltage VA is in a state (a) (4.2 > VA ≧ 3.6), the voltage, which has been decreased via the DC-DC converter 13 shown in Fig. 1, is supplied to the load (logic) 15. When the terminal voltage VA is in a state (b) (3.6 > VA ≧ 3.0), the load (logic) 15 is directly driven, skipping the DC-DC converter 13. And when the terminal voltage VA lowers below 3.0 V, the connection system is switched so that the terminal voltage VA is supplied from the other battery. When the connection system is changed, the CPU 20 is momentarily started to change the setting of the switches 7 through 12. In general, the switching is not noticed by users. Fig. 14 is the diagram which shows an example of the connection system in the state (b) of Fig. 13. For example, when the mode at the time of operation is mode 2 (Fig. 5), if the apparatus is placed in the sleep mode, then the connection system will be as shown in Fig. 14. Specifically, the setting of the switches 8 through 11 are changed as shown in Fig. 14, and the voltage is supplied only from the battery 3 to the apparatus main body 2. Thus, the configuration of the embodiment makes it possible to use only one of the batteries for the backup power supply during the suspend or sleep mode, allowing the other battery to rest or be charged independently. Additionally, in this embodiment, a simple application example has been shown in relation to load changes, but the application is not limited to only that application example; the system may alternatively be designed to make a connection change for assuring safety against load changes to be predicted according to power management and also when possible disturbance of the system by the application of a big load is predicted in normal operation. The third embodiment of the electronic apparatus according to the present invention will now be described. This embodiment is different from the first and second embodiments, which are the examples showing the connection systems wherein basically the apparatus main body 2 is driven only from the batteries, in that, when the AC adapter is connected to the apparatus main body 2, the voltage is supplied to the apparatus main body 2 through the AC adapter. Fig. 15 is the block diagram which shows the schematic configuration of the electronic apparatus according to the embodiment. Fig. 15 differs from Fig. 1 only in that it has an AC adapter 24 added and accordingly diodes 22, 23 added; therefore, the corresponding elements in Fig. 15 and Fig. 1 will be given the same reference numerals and detailed explanations will be omitted. The AC adapter 24 is connected to the terminal 1 of the switch 10 via the diode 22, and the output side of the switch 9 is connected to the terminal 1 of the switch 10 via the diode 23. Further, the AC adapter 24 supplies the voltage also to the charge controller 6. When the AC adapter 24 is used, the switches 10, 11 are connected to the terminal 1 and the switch 12 is connected to the terminal 2 in all the operation mode, power down mode, sleep mode, and shutdown mode. Either battery is always connected because there is such a danger that the AC adapter 24 is momentarily disconnected or removed accidentally. In this case, the battery 3 is connected. Connecting the battery 3 is also greatly advantageous in that AC line noises are absorbed. Through the AC adapter 24, the voltage is supplied to the charge controller 6, and this voltage is used for charging when the terminal voltage of the battery 3 has become 3.0 V or less and the charge flag described in the first embodiment has been set. In the case of the lithium ion secondary batteries, a charge voltage exceeding 4.2 V poses a problem. For this reason, it is easier to control in a sense if the batteries are charged one at a time, but it is needless to say that, as an alternative, the lithium ion secondary batteries may be connected in series for charging by changing the connection system. The fourth embodiment of the electronic apparatus according to the present invention will now be described. This embodiment is an example which is configured for adaptation to changes in the surrounding environment (e.g., temperature) of the electronic apparatus. Batteries in general take out currents by means of electrochemical reactions. The lithium ion secondary batteries used in this embodiment are advantageous in that they generate less heat because they take out the ion flow produced by oxidation reduction reactions, while they may be disadvantageous for discharging because of the less self heat generation of the batteries under a low-temperature environment. Of course, other batteries based on the electrochemical reactions are also disadvantageous at low temperature. Hence, this embodiment is designed to detect the temperature of an environment where the electronic apparatus is located and to change the connection system of the batteries accordingly. Fig. 16 shows the mode transition diagram at low temperature (Fig. 3 shows the normal temperature) as an example. The embodiment has mode 3 removed, and it is designed so that the connection system is switched to the series connection (mode 4) when the voltage of one battery has come down to 3.0 V or less, and the shutdown mode is engaged when the voltages of both batteries have lowered down to 3.0 V or less. The electronic apparatus of this embodiment is provided with a sensor (not shown) for measuring the present temperature. The standard low temperature switching range is 5°C to 10°C. As explained above, in the first through fourth embodiments, the connection system of the batteries is changed in accordance with the changes in the conditions of the electronic apparatus, namely, the changes in the battery capacity, load, temperature, etc. of the electronic apparatus, thereby making it possible to achieve higher operating efficiency of the batteries, energy saving, and extended service lives of the batteries.

Claims: An electronic apparatus comprising a first battery (3) and a second battery (4); a first, logic load (15) with upper and lower supply voltage limits and a second, device load with a larger power consumption than the logic load; a connection circuit comprising switches (8, 9, 10, 11, 12) and a DC-DC converter (13) for the logic load; detecting means (5, 20) for detecting battery terminal voltages; and switching means (20) for changing a connection system between the batteries (3, 4) and the loads (15, 16) according to the battery voltages detected by said detecting means, characterized in that each connection system defines an operation mode, wherein: in an operation mode 1 both the voltages of said first and second batteries are beyond the upper supply voltage limit and either battery feeds the logic load via the DC-DC converter acting in a step-down mode; in an operation mode 2 one battery voltage is within the upper and lower supply voltage limits, this battery feeding the logic load directly, and the batteries are alternated, when they are both within the upper and lower supply voltage limits; in an operation mode 3 a battery with a voltage below the lower supply voltage limit feeds the logic load via the DC-DC converter in a step-up mode; and in an operation mode 4 the batteries are connected in series to feed the logic and the device loads. Apparatus according to claim 1, characterized in that the connection system is changed also in accordance with a change in load of the electronic apparatus. Apparatus according to claim 1, characterized in that the connection system is changed also in accordance with a temperature of an environment where the electronic apparatus is located. A method for changing a connection system between a first battery (3) and a second battery (4) and a first, logic load (15) with upper and lower supply voltage limits and a second, device load (16) with a larger power consumption than the logic load (15) in accordance with battery voltages, comprising the steps of detecting battery terminal voltages and changing the connection system according to the detected battery terminal voltages ; characterized in that each connection system defines an operation mode, wherein: in an operation mode 1 both the voltages of said first and second batteries are beyond the upper supply voltage limit and either battery feeds the logic load via a DC-DC converter acting in a step-down mode; in an operation mode 2 one battery voltage is within the upper and lower supply voltage limits, this battery feeding the logic load directly, and the batteries are alternated, when they are both within the upper and lower supply voltage limits; in an operation mode 3 a battery with a voltage below the lower supply voltage limit feeds the logic load via the DC-DC converter in a step-up mode; and in an operation mode 4 the batteries are connected in series to feed the logic and the device loads. Method according to claim 4, characterized in changing the connection system also in accordance with a change in load of the electronic apparatus in said changing step. Method according to claim 4, characterized in changing the connection system also in accordance with a temperature of an environment where the electronic apparatus is located in said changing step.

Inventors: NAGASAKI KATSUHIKO, SHIMADA KAZUTOSHI, SUNAKAWA SHINICHI, TATSUMI EISAKU, NAGASAKI, KATSUHIKO, SHIMADA, KAZUTOSHI, SUNAKAWA, SHINICHI, TATSUMI, EISAKU, NAGASAKI, KATSUHIKO, C/O CANON KABUSHIKI KAISHA, SHIMADA, KAZUTOSHI, C/O CANON KABUSHIKI KAISHA, SUNAKAWA, SHINICHI, C/O CANON KABUSHIKI KAISHA, TATSUMI, EISAKU, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1994
Main classification: H02J7
IPC codes: H02J1, H02J9, H02J7, G06F1