(19)
(11) EP 0 420 645 A2

(12) EUROPEAN PATENT APPLICATION

(43) Date of publication:
03.04.1991 Bulletin 1991/14

(21) Application number: 90310600.3

(22) Date of filing: 27.09.1990
(51) International Patent Classification (IPC)5G06F 1/26
(84) Designated Contracting States:
DE FR GB

(30) Priority: 29.09.1989 JP 254963/89
29.09.1989 JP 254967/89

(71) Applicant: KABUSHIKI KAISHA TOSHIBA
Kawasaki-shi, Kanagawa-ken 210 (JP)

(72) Inventors:
  • Shimamoto, Hajime, c/o Intell. Property Div.
    Minato-ku, Tokyo (JP)
  • Ishida, Yasuhiro, c/o Intell. Property Div.
    Minato-ku, Tokyo (JP)

(74) Representative: BATCHELLOR, KIRK & CO. 
2 Pear Tree Court Farringdon Road
London EC1R 0DS
London EC1R 0DS (GB)


(56) References cited: : 
   
       


    (54) An intelligent power supply system for a portable computer


    (57) A power supply control system for a portable computer comprising two rechargeable batteries and an AC adapter. When the computer is operated on batteries, the power supply controls which of the batteries is in a sufficient state of charge, and if one of the batteries is low, it is automatically recharged when the AC supply is selected.







    Description


    [0001] The present invention is directed to a portable computer, and, particularly, to a portable computer operable on an internal battery. More particularly, the present invention relates to a system and a method of providing concentrated management of the power supply of the portable computer.

    [0002] Various types of portable computers operable on an internal battery have recently been developed. This type of computer needs to always recognise the power status of a driving power and the statuses of individual units of the computer in both cases where an AC adapter is used and where an internal battery is used. It is also necessary to avoid various problems which may be caused by power failure or a low state of charge of the internal battery (hereinafter called low battery status) when power is supplied from the battery.

    [0003] The present applicant has proposed one example of such a portable computer which is disclosed in prior application no. 90306840.1. In brief, according to the prior proposal, the battery power supply is constituted of a single main battery detachable from the body of the portable computer and a dedicated power controller CPU (PC-CPU) is used to control the charging of the main battery with the power supplied from an AC adapter. According to the principles of the prior application, however, the PC-CPU controls a single battery power supply. When a liquid crystal display with a back light (EL-LCD), a plasma display (PDP) or the like is driven on power from the AC adapter, therefore, it is always necessary to supply power to the battery via the AC adapter as a consequence of the power dissipation of the display. In addition, a large-capacity battery needs to be installed in the body of the computer. This significantly increases the overall weight of the battery driving over a long period of time.

    [0004] The present invention therefore seeks to provide a computer having a battery power supply constituted of at least two main batteries detachable from the body of a computer, only one of which is used at a time, while the computer is driven on battery power.

    [0005] The present invention therefore seeks to provide a computer having a battery power supply constituted of at least two main batteries detachable from the body of a computer only one of which is used at a time, while the computer is driven on battery power.

    [0006] The present invention also seeks to provide a system in which the battery which is in use can be kept installed in the computer body while a spare battery is prepared for use, so as to ensure continuous battery driving for a long period of time.

    [0007] The present invention further seeks to provide a system which detects low battery status at the time an AC adapter is used and inform a user that continuous operation on the battery power is not possible by means of an alarm.

    [0008] In accordance with the present invention, the foregoing objects among others, are achieved by providing a portable computer having a main central proceeding unit (CPU), and being operable in response to power supplied from at least two rechargeable batteries or an alternating current (AC) adapter, and further comprising:
    means for removable mounting the batteries on the computer;
    a power control microprocessor for controlling power supply independent of the main CPU, the microprocessor having means for generating a control signal based on battery select information for controlling the power supply from the CPU; and
    battery control circuit means, connected to the AC adapter and the batteries, for selecting the AC adapter or one of the batteries based on the control signal from the power control microprocessor.

    [0009] Other objects, features and advantages of the present invention will become apparent from the following detailed description by way of example only with reference to the accompanying drawings, in which:

    Figure 1 is a schematic block diagram illustrating a power supply system with a power control CPU for use in a computer system, according to one embodiment of this invention;

    Figure 2 is a diagram illustrating the power control CPU shown in Figure 1;

    Figures 3a and 3b are flowcharts illustrating sequences to do with the battery check at the power-on time, which are performed by the power control CPU.



    [0010] Referring to Figure 1, a main CPU 11, which is realised by, for example, a 32-bit CPU chip, performs the general control of the system. In an Initial Reliability Test (IRT) process at power-on time, the main CPU 11 accesses a power control CPU (PC-CPU), which will be described later, to read out information of a power supply status and determines whether or not the power level is normal. Internal buses 12 and 13 are connected to the CPU 11; the bus 12 is an internal data bus having a 16-bit width and the bus 13 is in an internal address bus having a 24-bit width. A maths compressor 14 is optionally provided which can be selectively connected via a connector to the internal data bus 12. A system bus 15 includes a 16-bit wide data bus 15D, a 20-bit wide lower address bus 15L and a 7-bit wide upper address bus 15U. A bus driver (BUS-DRV) 16 serves as an interface to connect the internal buses 12 and 13 to the system bus 15. A bus controller (BUS-CNT) 17 controls the system bus 15. A memory controller (MEM-CNT) 18 controls address transfer between the address bus 13 and the address buses 15U and 15L, and controls the read/write operation of a main memory (I-RAM) 19. That is, the main memory 19 is accessed by an address control executed by the memory controller 18. A ROM-BIOS 20 stores a basic input/output program (BIOS). Here, when power for the system is switched on the IRT is executed and the routines as shown in Figs. 3A are executed.

    [0011] An I/O decoder (I/O-DEC) 21 decodes an I/O address on the system bus 15 and gives the decoded address to an associated I/O chip. An I/O controller (I/O-CNT) 22 performs the input/output control of I/O data. A super integration IC (SI) 23 includes various I/O controllers, such as a floppy disk interface, hard disk interface, a DMA controller and an interrupt controller. A frequency oscillator (VFO) 24 generates a sync clock for a floppy disk drive (FDD). A floppy disk drive interface (FDD-­I/F 25 is provided, and also a hard disk drive interface (HDD-I/F) 26 with an interface register for selectively setting an HDD motor OFF command (MSC) in the initialization routine shown in Fig. 3A. A keyboard controller (KBC) 27 processes key-in data entered from a keyboard 43 and/or a numeric pad or tenkey 44. A keyboard scan controller (SCC) 28 scans key-in data from the keyboard 43 and tenkey 44.

    [0012] A backup RAM (B-RAM) 29 is used as a memory at the time a resume function or the like is executed. An extended memory cart (EXTM) 30 is arbitrarily connected to extend memory connectors C1, C2 and C3. A time module (RTC: Real-Time Clock) 31 has a built-in, exclusive drive battery and a built-in memory (CMOS-RAM) which is backed up by the battery. The CMOS-RAM stores set-up data set on a set-up screen or the like. An I/O port (PRT/FDD-IF) 32 is for connection of an I/O device, such as an external floppy disk drive (FDD) or a printer (PRT). A serial I/O interface (SIO) 33 is connected with an RS- 232C interface unit or the like. A power supply (IPS) 34 has a built-in power control CPU (PC-CPU) 306 constituted of a microprocessor and controls the supply of a driving power to the computer. In this embodiment, two main batteries (BT-L341, BT-R342) are made detachable and are controlled by the PC-CPU 306. Information regarding the power status in the IPS 34 is sent via the I/O-CNT 22 to the CPU 11. Fig. 2 illustrates the internal structure of the IPS 34. Figs. 3A and 3B illustrate a sequence of battery checking processes conducted by the PC-CPU 306 provided in the IPS 34.

    [0013] A display controller (DISP-CNT) 35 control a so-called flat panel display, such as a plasma display (PDP), a liquid crystal display (LCD), or a color panel (color LCD), and a CRT display. An extension connector 36 is provided for connection of various extension modules, such as an extension display controller (display subsystem). A floppy disk drive 41 is incorporated in the computer and is connected to the FDD-I/F 25. An HDD 42, which is also incorporated in the computer, is connected to the HDD-I/F 26. The keyboard unit (KB) 43 and tenkey pad 44 are connected to the SCC 28. The display controller 35 is connected with an LCD 45 with a back light, a PDP 46 or a CRT 47.

    [0014] The internal structure of the IPS 34 will be described below referring to Fig. 2. A power switch 301, a reset switch 302, a display switch 303 and an extension unit switch 304 each have one end grounded and the other end connected to an parallel I/O 305. These switches are used to set the system ready for operation. The parallel I/O 305 holds the statuses of the individual switches 301 to 304 and set information of the PC-CPU 306, which will be described later. The PS-CPU 306 is a power control microprocessor, which receives information of individual sections of the power supply circuit and instruction information from the main CPU 11 through an internal bus 307. The PC-CPU 306 controls power supply to the individual sections of the computer based on the instruction from the CPU 11, the internal status, the external operation status, etc. In this embodiment, the PC-CPU 306 has a battery checking function as illustrated in Fig. 3. A buzzer (BZ) 308 is driven through the parallel I/O 305 and an I/O driver 309 under the control of the PC-CPU 306. In a case where the computer system is driven on battery power, when the battery serving as a driving power supply is in a low charge state and a standby battery which is not in use, is also in a low charge state or is disconnected the buzzer intermittently generates an alarm sound. The I/O driver 309 controls a power-ON status and operation speed indicating LED, a low battery status indicating LED, an AC adapter connection indicating LED and the buzzer 308 under the control of the PC-­CPU 306. An I/O register 310 is used for data transfer between the PC-CPU 306 and a battery control circuit 311 to be described later. The battery control circuit 311, which is connected via the I/O register 301 and internal bus 307 to the PC-CPU 306, selectively controls the battery in use and charging battery. A current detector 312 detects the total current in the IPS 34 including charge currents of the BT-L341 and BT-R342. A current detector 314 detects a current flowing through the circuits in the IPS 34 (excluding the backup current). A DC-DC converter 315 generates power for driving the individual sections of the computer from the AC adapter power or main battery power coming through the current detector 314. An A/D converter 316 performs analog/digital conversion in order to supply the detected current values of the current detectors 312 and 314, the output voltages of the main batteries, the output voltage of the DC-DC converter 315, etc. as digital data to the PC-CPU 306. An I/O register 317, connected to the I/O-CNT 22, is used for information transfer between the PC-CPU 306 and the main CPU 11.

    [0015] Referring to the aforementioned diagrams, the battery checking operation executed by the PC-CPU 306 will be described below. The battery checking routine is illustrated in Figs. 3A and 3B.

    [0016] The PC-CPU 306 of the IPS 34 always monitors the operation status of the power switch 301. In other words, the PC-CPU 306 executes of power-OFF routine when the computer system is in a power-OFF status, and executes the battery checking routine as shown in Fig. 3A when the computer system is in a power-ON status.

    [0017] In the battery checking process, first it is determined whether or not the computer system is driven on the power from the AC adapter (step S1). When the computer system is driven on AC adapter power, the flow advances from step S1 to a charging process (steps S21-S29) shown in Fig. 3B. When the computer system is driven on the power from the battery on the other hand, it is determined from which battery (BT-L341 or BT- R342) the power is supplied, from the content of the battery-backed-up internal memory (not shown). If the battery BT-L341 is supplying the power, the status of the connection of this battery and its charge level are determined (steps S2-S5). If the battery BT-R342 is supplying the power, on the other hand, the status of the connection of this battery and its charge level are determined (steps S13-S15). In other words, it is determined whether or not the power-supplying battery is connected to the computer system from the latched status of the battery unit in the battery receiving section of the computer system. It is also determined whether or not the power-supplying battery is in a low charge condition.

    [0018] When the power-supplying battery is not judged to be in the low charge condition, the power from the power-supplying battery is supplied through the I/O register 310 and battery control circuit 311 (steps S9 and S19). When the PC-CPU 306 detects a low charge level, it switches the power-supply connection to the other battery and determines the charge level of the switched battery. It is determined that the new battery is not in a low charge state, the power of this battery is supplied (steps S6, S7 and S10; and S16, S17 and S20). When it is determined through the latch state discrimination process (steps S4 and S14) that the latch on the power supplying battery side is open, it is then determined whether the auxiliary battery is installed in the computer system and then whether it is in a low battery status. If the auxiliary battery is usable, this battery is used as a power supplying battery and its power is output as driving power (Steps S8 and S9; and S18 and S19).

    [0019] When the latch of the power supplying battery is determined to be open in steps S4, and S14 and the auxiliary battery is not installed in the computer system or is in a low charge condition, it is then decided that continuous operation on battery power is not possible. When the PC-CPU 306 make this decision, it controls the buzzer 308 through the parallel I/O 305 and I/O driver 309 to generate an audible alarm signal to inform an operator that continuous operation on the battery power is not possible (steps S8, S18 and S11).

    [0020] If it is discriminated in the aforementioned step S1 that power is coming from the AC adapter, the PC-CPU 306 determines from the content of the internal memory which battery should be charged, and charges the batter until it is fully charged, as showing Fig. 3(b). When the battery becomes fully charged, the other battery is charged to the full state. When the latter battery becomes fully charged, the charging process is terminated (steps S21-S29). If both batteries are fully charged, the charging operation will not be executed.

    [0021] With the arrangement of the present invention, the PC-CPU 306 performs battery control of two main batteries (BT-L and BT-­R). That is, when the PC-CPU 306 recognizes the charge condition of each battery and detects that power is not supplied from the AC adapter and battery switching is not possible, the PC-CPU 306 informs the operator of this event by means of an alarm. Accordingly, the operator can positively determine whether continuous operation on the battery power is possible.

    [0022] The use of two main batteries (BT-L and BT-R) permits alternate use of sufficiently charged batteries. When the computer system is driven on power from the AC adapter, it is possible to successively charge the batteries one at a time Further, providing a spare battery allows for continuous battery driving for a long period of time, and can divide the charge current, thus ensuring a compact and small-capacity AC adapter.

    [0023] The PC-CPU 306 can control the driving of that battery which is presently supplying power to the computer system, and at the same time, can control charging of the other, auxiliary battery when the auxiliary battery is not fully charged. Immediately upon detection of an abnormal status while monitoring the status of the battery connection and the charging status of the batteries, the PC-CPU 306 informs this abnormal status by an alarm.

    [0024] Numerous modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that, within the scope of the appended claims, the present invention can be practiced in a manner other than as specifically described therein.


    Claims

    1. A power supply system for a portable computer, the computing having a central processing unit (CPU) (11), and being operable in response to power supplied from at least two rechargeable batteries (341, 342) or an alternating current (AC) adapter, characterised by further comprising:
    a power control microprocessor (306) for controlling power supply independent of the CPU (11), the microprocessor (306) having means for generating a control signal based on battery select information for controlling the power supply; and
    battery control circuit means (311), connected to the AC adapter and the batteries (341, 342) for supplying power from the AC adapter or one of the batteries (341, 342) based on the control signal from the power control microprocessor (306).
     
    2. A power supply system according to claim 1 in which the said batteries are detachable.
     
    3. A power supply system according to claim 1 or claim 2 characterised in that the portable computer comprises an internal bus (307) for connecting the CPU (11) to the power control microprocessor (306) to transfer the battery select information, and an I/O register (310) provided between the power control microprocessor (306) and the battery control circuit means (311) and used for data transfer therebetween.
     
    4. A power supply system according to any preceding claim characterised in that the power control microprocessor (306) has means for receiving the battery select information from the CPU (11) via the internal bus (307) and supplying the control signal to the battery control circuit means (311) via the I/O register (310).
     
    5. A power supply system for a portable computer, the computer having a central processing unit (CPU) (11), and being operable in response to power supplied from at least two rechargeable batteries (341, 342) or an alternating current (AC) adapter, characterised by further comprising:
    means connected to the CPU (11), for determining whether the AC adapter or one of the batteries (341, 342) is being used as the power-supply;
    means connected to the AC adapter and the batteries (341, 342), for controlling the battery which is in use as a power supplying batter, based on said determination;
    means for detecting the charge levels of the batteries (341, 342); and
    means for selecting that battery which is judged as sufficiently charged, as the power supplying battery.
     
    6. A power supply system according to claim 5, characterised in that the select means comprises:
    first means for directly selecting a first battery if it is not found to be in a low charge condition by the detecting means; and
    second means for alternatively selecting the second battery which is not found to be in a low charge condition by the detecting means when the detecting means determines that the first battery (341, 342) is in a low charge condition.
     
    7. A power supply system according to claim 5 or claim 6 characterised in that the detecting means includes:
    at least one current detector (312, 314) for measuring values of currents from the batteries (341, 342); and
    A/C converter means (316) for performing analog-­to-digital conversion of a current value detected by the current detector (312, 314) and supplying a digital output value to the judging means.
     
    8. A power supply system according to any of claims 5 to 7, characterised in that the portable computer further comprises means for charging the batteries while the computer is operated on power from the AC adapter when the AC adapter is selected as the power supply.
     
    9. A power supply system according to any of claims 5 to 8 characterised in that the portable computer has means for charging the battery which is sufficiently charged while the other battery serves as a power supply.
     
    10. A power supply system according to any of claims 5 to 9 characterised in that the portable computer has an additional built in spare battery. In addition to the batteries (341, 342), for supplying driving power to the computer for a specific period of time even when the batteries (341, 342) are detached from the computer.
     
    11. A power supply system for a portable computer, the computer having a central processing unit (CPU) (11), and being operable in response to power supplied from at least two rechargeable batteries (341, 342) or an alternating current (AC) adapter, characterised by further comprising:
    a power control microprocessor (306) for supplying a control signal for controlling power supply independent of the CPU (11), the microprocessor (306) having means for determining the status of connection of the AC adapter and charge conditions of the batteries (341, 342);
    means for selecting the AC adapter or one of the batteries (341, 342) based on the control signal from the power control microprocessor (306) and supplying selected power to the computer; and
    means for generating an alarm in response to the control signal output from the power control microprocessor (306).
     
    12. A power supply system according to claim 11, characterised in that the determining means includes first means for detecting whether the AC adapter is connected, second means for determining the charge condition of one of the batteries (341, 342), and third means for determining the charge condition of the other battery.
     
    13. A method for controlling a power supply supplied to a portable computer, the computer having a CPU (11), and being operable in response to power supplied from at least two rechargeable batteries (341, 342) or an alternating current (AC) adapter at power on time, the method comprising:
    a first step of determining whether or not the power is being supplied from the AC adapter when the computer is switched on;
    a second step of selecting a first one of the batteries (341, 342) as a power supply battery when it is judged in the first step that no power is supplied from the AC adapter;
    a third step of determining the state of charge of the first battery;
    a fourth step of switching to the second battery when it is determined in the third step that the first battery is insufficiently charged; and
    a fifth step of determining charge level of the second battery.
     
    14. A method according to claim 12, characterised in that the second step includes:
    a sixth step of selecting the first battery based on battery select information from the CPU (11);
    a seventh step of judging whether or not the first battery is connected to the computer; and
    an eighth step of generating an alarm when it is judged in the seventh step that the first battery is not connected to the computer.
     
    15. A method according to claim 12, characterised in that the third and fifth steps include:
    a ninth step of determining whether or not the battery is in a low battery status; and
    a tenth step of generating an alarm when it is determined in the ninth step that the battery is in a low battery status.
     
    16. A method according to claim 12, characterised by further comprising:
    an eleventh step of charging the battery which is insufficiently charged when it is judged in the first step that power is supplied from the AC adapter; and
    a twelfth step of determining whether or not the battery is charged up to a predetermined voltage.
     




    Drawing