WO1993007556A1 - Power supply control system - Google Patents

Power supply control system Download PDF

Info

Publication number
WO1993007556A1
WO1993007556A1 PCT/JP1992/001254 JP9201254W WO9307556A1 WO 1993007556 A1 WO1993007556 A1 WO 1993007556A1 JP 9201254 W JP9201254 W JP 9201254W WO 9307556 A1 WO9307556 A1 WO 9307556A1
Authority
WO
WIPO (PCT)
Prior art keywords
power supply
voltage
cpu
power
supplied
Prior art date
Application number
PCT/JP1992/001254
Other languages
French (fr)
Japanese (ja)
Inventor
Ryoji Ninomiya
Koji Nakamura
Original Assignee
Kabushiki Kaisha Toshiba
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kabushiki Kaisha Toshiba filed Critical Kabushiki Kaisha Toshiba
Publication of WO1993007556A1 publication Critical patent/WO1993007556A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations

Definitions

  • the present invention relates to a power supply control system for a personal computer or the like that incorporates a main power supply device and a backup sub-power supply device and performs various processes by being supplied with a voltage from these power supply devices.
  • Personal computers such as laptop and book-type personal computers have become widespread as small electronic devices that have improved portability and are easily transported. These personal computers have a built-in power supply such as a notebook, and can operate with an operating voltage supplied from the power supply. Further, the power supply is generally removable.
  • the resume function saves the contents of registers and the like to a predetermined memory that has been backed up, and the supply of operating voltage to the computer system is resumed. At the same time, the saved data is restored to the register, thereby reproducing the operation state immediately before the power is turned off.
  • the resume function described above can be used in personal computers. It is realized by the control of the system basic input / output system (system BIOS) provided in the PC and the power controller that controls the power of the personal computer. The control is shown below.
  • system BIOS system basic input / output system
  • the power controller detects the operation or the state. . In response to this detection, the power supply controller sends a command to stop operating voltage supply (system power off request) to the system BIOS.
  • the system BIOS responds to the system power off request and determines whether the resume mode or the boot mode is set. When the boot mode is set, the system BIOS sends a permission command (system pulse off command) to the operation voltage supply stop request to the power supply controller.
  • the power supply controller responds to the system power off command, and stops supplying the operating voltage to each circuit component within the computer.
  • the system BIOS executes processing for saving the contents of registers and the like in the CPU to a predetermined backup memory.
  • the system BIOS sends a system power off command to the power controller.
  • the power supply controller stops supplying the operating voltage in response to the system power off command, and supplies a backup voltage to predetermined components.
  • CPUs with power management functions such as the resume function It is being developed (for example, 386 TM SL sold by Intel).
  • This CPU has a boot mode and a suspend mode (resume mode), and has a predetermined flag that holds a data (flag) indicating which of the boot mode and the suspend mode described above is set. It has a register. Further, the CPU holds various data (system data) in a register built in the CPU in the suspend mode. Therefore, in suspend mode, it is necessary to supply a backup voltage to the CPU.
  • the power controller sends an interrupt signal to the CPU. Send.
  • the CPU executes the system BIOS interrupt routine in response to this interrupt signal.
  • the CPU fetches the contents of the register such as the external I0 register and sends the predetermined command to the power supply controller. Send out.
  • the power supply controller stops supplying the operating voltage to the CPU from the main power supply, and supplies the backup voltage from the backup power supply.
  • the operating voltage is always supplied to the power controller from the main power supply.
  • -Suspend mode is indicated in the specified register of the CPU. If the data is not set, the CPU determines that the boot mode is set and sends a predetermined command to the power controller. Power Control This setup roller also c stops the supply of the operating voltage from the main power supply to the CPU in response to the frame down-de, when the power sweep rate pitch is turned on, CPU is suspend mode If set to, the power controller sends an interrupt signal to the CPU. The CPU executes predetermined resume processing (restore processing) in response to the interrupt signal, and reproduces the operation state immediately before the supply of the operation voltage is stopped.
  • predetermined resume processing restore processing
  • the power controller responds to the operation of turning on the power switch and supplies an active reset signal to the CPU. Further, the power supply controller starts supplying the operating voltage to each element of the system from the main power supply device, and thereafter sets the reset signal to the inactive state.
  • the backup voltage cannot be controlled by the power controller due to the attachment / detachment of the main power supply. May be supplied.
  • the CPU runs away when the backup mode is supplied while the suspend mode is not set and the personal computer is off.
  • An object of the present invention is to provide a power supply control system capable of reliably executing processing and control in a suspend mode or a boot mode in a data processing device such as a personal computer to which a CPU having a power management function is applied. It is to be. Disclosure of the invention
  • the main power supply and the sub power supply The power supply control system of the data processing device having a power supply switch for instructing the supply of the operating voltage to the data processing device or stopping the supply of the power supply to the data processing device; Output a selection signal for selecting either the power supply device or the sub power supply device, and when the operation of the power switch instructs the data processing device to stop supplying the operating voltage, Control means for outputting an output stop signal; and selecting means for selecting and outputting one of the voltages output from the main power supply and the sub power supply in response to the selection signal output from the control means.
  • storage means for storing data indicating whether or not the suspend mode is set. The storage means is referred to in response to an output stop signal output from the control means, and the suspend mode is set.
  • Processing means for determining the presence or absence of the setting and outputting a switching signal according to the setting of the suspend mode; and the selecting means from the sub power supply device in response to the switching signal output from the processing means.
  • a switching means for controlling the supply of power to the power supply to the on-off state.
  • the control of the voltage supplied from the main power supply device and the sub power supply device to the data processing device is reliably performed.
  • the present invention prevents runaway of the CPU which occurs when the main power supply is detached from the personal computer when the data processing device is off.
  • FIG. 1 is a block diagram showing a circuit configuration of a personal computer to which the present invention is applied
  • FIG. 2 is a circuit diagram showing a configuration of the backup voltage supply circuit shown in FIG. Figure
  • FIG. 3 is a diagram showing the circuit connection configuration of the components of the backup voltage supply circuit and the peripheral components
  • FIGS. FIGS. 5 (a) to 5 (h) are timing charts of the respective signals when the power supply changes from the power-off state to the on-state in the suspend mode.
  • 6 (a) to (h) are signal timing charts when the power supply changes from the power-on state to the off state in the boot mode.
  • FIG. 1 shows a configuration of a personal computer to which the present invention is applied.
  • the computer system 10 (hereinafter referred to as the system) is a set of system components.
  • the CPU 11 and the basic input / output system (system BIOS) particularly related to the power control operation are used.
  • Only 12 is shown, and other components are omitted.
  • CPU 11 is a register that holds data indicating whether suspend mode is set. It has 1 1a.
  • the CPU 11 controls the entire system 10 and executes an interrupt routine of the system BIOS 12 in response to an interrupt signal from the power controller 13 described later. Further, the CPU 11 outputs a suspend status signal to the controller 13 and the backup voltage supply circuit 14 in response to whether or not the suspend mode is set.
  • the power controller 13 controls the supply of power to the system 10. More specifically, the power supply controller 13 has a power supply switch 13a.
  • the switch 13a is not a switch for directly instructing the power on or off state, but a switch for instructing on / off switching.
  • the power controller 13 detects that the power switch 13 a has been operated, and outputs an interrupt signal to the CPU 11. Further, the power controller 13 sends the drive signal to the backup voltage supply circuit 14, the main drive signal to the main power supply unit 15, and the drive signal according to the setting of the suspend mode or the boot mode. Send a reset signal to system 10.
  • the power controller 13 performs serial communication with the system BIOS12.
  • the backup voltage supply circuit 14 responds to the drive signal and the suspend status signal, and outputs a voltage Vec supplied from the main power supply unit 15 and a voltage BAT supplied from the sub power supply unit 16.
  • the backup voltage RAMV such as the CPU 11 or RAM (not shown) is supplied to the system 10 and the power controller 13 o
  • the main power supply unit 15 is controlled to be turned on (supply voltage) or off (stop voltage supply) in response to a main drive signal sent from the power supply controller 13. In the ON state, the main power supply unit 15 supplies the operating voltage +12 V and ⁇ 9 V to the system 10 and supplies the voltage Vcc (+5 V) to the backup voltage supply circuit 14 and the system 10. ).
  • the sub power supply unit 16 incorporates a voltage generator such as a battery and supplies the voltage B A T to the backup voltage supply circuit 14.o
  • the suspend status signal sent from the CPU 11 is supplied to the gate of the N-channel FET (field effect transistor) 142 via the resistor 141.
  • the source of FET 142 is grounded, and the drain is connected to the gate of N-channel FET 143.
  • the source of FET 143 is grounded, and the drain is connected to the gate of P-channel FET145.
  • the gate and source of the P-channel FET 145 are connected via a resistor 144.
  • the voltage BAT supplied from the sub power supply unit 16 is applied to the source of the FET 145.
  • the drain of FET145 is connected to the input terminal BAT of the selection circuit 146. Also, input terminal of selection circuit 146
  • V IN is the voltage supplied from the main power supply unit 15
  • V cc is applied. Further, a drive signal is input to the control terminal SEL of the selection circuit 146 from the power supply controller 13.
  • the selection circuit 146 selects the voltage V "applied to the input terminal VIN when the drive signal level is at the level, and selects the voltage BAT applied to the input terminal BAT when the level is at the" L "level.
  • the RAMV is output to the system 10 and the power supply controller 13 as the knock-up voltage RAMV, and the RAMV output from the selection circuit 146 is connected to the FET 142 via the resistors 147 and 141.
  • the gate is applied to the drain of the FET 142 and the gate of the FET 13 via the resistor 148.
  • the switching control circuit 140 is composed of the resistors 141, 147, 148 and the FETs 142, 143. Switching control circuit 140 performs on / off control of FET 145 in response to a suspend status signal sent from CPU 11. Switching control circuit 140 prevents an overcurrent from flowing through CPU 11 when the personal computer is off in the boot mode.
  • FIG. 3 shows a specific connection configuration between each component of the backup voltage supply circuit 14 and peripheral components.
  • the main power supply unit 15 has an AC adapter 151 that can be attached to and detached from the personal computer, a main battery 152 that can be attached to and detached from the personal computer, and a DC ZD C It consists of an inverter 153.
  • the output voltage of the AC adapter 151 is supplied to the DC / DC converter 153 via the backflow prevention diode 154 and is also applied to the source of the FET 145 via the diode 155.
  • the output voltage of the main battery 1 52 is It is supplied to the DC converter 153 via the diode 156 and is applied to the source of the FET 145 via the diode 155.
  • the DC / DC converter 153 operates in response to the main drive signal sent from the power controller 13 and transforms the voltage supplied from the AC adapter 151 or the main battery 152 ( DC to DC conversion), generates operating voltages of +12 V, 19 V and +5 V (V cc), and supplies them to the system 10 described above.
  • the sub power supply unit 16 is a rechargeable battery And a backflow prevention diode 162.
  • the sub power supply unit 16 is built in the personal computer body of this embodiment.
  • the output voltage of sub-battery 161 is applied via diode 162 as the voltage BAT to the source of FET 145.
  • the selection circuit 146 includes a DC / DC converter 146a and a diode 146b.
  • the input terminal of the DC / DC converter 146a is connected to the drain terminal of the FET 145.
  • the DC / DC converter 146a responds to the drive signal sent from the power supply controller 13 and transforms the voltage supplied from the FET 145 to generate RAMV (+5 V). Further, +5 V output from the DC / DC converter 153 is applied to the anode of the diode 146 b.
  • the selection circuit 146 is for backing up the voltage output from the D CZD C converter 146a or the diode 146b. Is supplied to the system 10 as RAM V. Further, the voltage RAMV is supplied to the power supply terminal of the power supply controller 13 via the resistor 13b and the backflow prevention diode 13d, and the monitor of the power supply controller 13 is provided via the resistor 13d. Supplied to the connection terminal.
  • the output voltage VI of the AC adapter 151 or the main battery 152 from the main power supply unit 15 is supplied to the power supply terminal of the power supply controller 13 as the operating voltage via the regulator 13c. Supplied.
  • the power terminal of the controller 13 that is, the force source of the diode 13 b
  • the regulator Grounded via 13c.
  • the backup voltage RAMV is also supplied to the resistors 144, 148 and CPU 11 in the switching control circuit 140, as described above with reference to FIG.
  • the CPU 11 outputs a suspend status signal to the switching control circuit 140 and the power supply controller 13.
  • the level suspend status signal is almost 0 V
  • the level suspend status signal indicates that the output terminal of the CPU 11 for the suspend status signal is open, in other words. It means that it goes into a high impedance state.
  • Figures 4 (a) to (! 1) show the operating voltage supply in the boot mode. The status and timing of each signal when changing from the supply off state to the on state are shown.
  • the FET 145 In the boot mode and when the personal computer is off, the FET 145 is off as described later, the DC / DC converter 146a does not output voltage, and the DC / DC converter Is turned off by the main drive signal, the selection circuit 146 does not output the backup voltage RAMV (Fig. 4 (h)).
  • the CPU 11 outputs a "H" level suspend status signal (set to high impedance state) (Fig. 4 (b)). As a result, F ET 145 is turned off.
  • the power controller 13 confirms that the power switch 13a has been turned on. Detect (Personal computer is off at the moment, so it can be determined that power switch 13a is on). O In response to this detection, power control 1 Step 3 determines whether the backup voltage RA MV is being supplied to the monitor terminal. In this case, as shown in FIG. 4 (h), RAMV is supplied, so the power supply controller 13 determines that the boot mode is set. Then, the power supply controller 13 sets the main drive signal to the “H” level (FIG. 4D).
  • the DC / DC converter 153 is activated in response to the main drive signal becoming “H” level, and changes the operating voltages +12 V, -9 V, +5 V (V cc). And provide it to system 10 ⁇ When the voltage V becomes +5 V, the power controller 13 responds to this by setting the drive signal to the “H” level and outputting a level reset signal for a certain period of time (Fig. 4 (e), (f), (g)) In response to the drive signal becoming the level, the selection circuit 146 outputs the voltage V "supplied from the main power supply unit 15 as RAMV ( Figure 4 (h)). Further, the system 10 performs an initial reset of the entire system 10 in response to the reset signal.
  • the timing charts in Fig. 5 (a :) to (h) show the state of each signal when the CPU 11 is in the suspend mode and when the personal computer changes from the power off state to the on state. Indicates timing.
  • the CPU 11 In the suspend mode, and in FIG. When one of the personal computers is off, the CPU 11 outputs an "L" level suspend status signal (Fig. 5 (e)). Therefore, the FET 145 is turned on, and the voltage supplied from the main power supply unit 15 or the sub power supply unit 16 is supplied to the selection circuit 146.
  • the DCZDC converter 146a transforms the supplied voltage and outputs it as the backup voltage RAMV to the CPU 11, switching control circuit 140, and power supply controller 13.
  • the power controller 13 In the state described above, if the power switch 13a is operated for a certain period of time to turn on the personal computer (FIG. 5 (a)), the power controller 13 is turned on by the power switch. Detects the operation of switch 13a and backs up in response to this detection. Determines whether voltage RAMV (+5 V) is supplied to the monitor terminal. As shown in Fig. 5 (h), the power controller
  • the backup voltage RAM V (+5 V) is supplied to 13, and the power supply controller 13 determines that CPU 11 is in the suspend mode. After this, the power controller 13 sets the main drive signal to the level (Fig. 5
  • the D CZD C converter 153 is activated in response to the main drive signal becoming “H” level, and generates operating voltages +12 V, -9 V, +5 V (V cc). Is supplied to the system 10.
  • the power supply controller 13 sets the drive signal to the “H” level in response to this (FIGS. 5 (e) and (g)).
  • the D CZD C converter 146a stops operating, and the voltage V cc supplied from the main power supply unit 15 becomes the backup voltage RAMV. Is output.
  • the power controller 13 sets the interrupt signal to "L" level for a certain period of time.
  • the CPU 11 restores (restores) the data saved in the suspend mode to a predetermined position, and reproduces a state immediately before the supply of the operating voltage is stopped. Further, when these processes are completed, the CPU 11 sets the "L" level suspend status signal to the "H" level (high impedance state) (FIG. 5 (b)).
  • the FET 145 is turned off, and the supply of voltage from the AC adapter 151, the main battery 152 and the sub power supply unit 16 to the selection circuit 146 is stopped.
  • the timing charts in Figs. 6 (a) to 6 (h) show the state and timing of each signal when the personal computer changes from the on state to the off state in the boot mode.
  • the power switch 13a is operated to stop supplying the operating voltage to the system 10 (Fig. 6 (a)), or the operating voltage output from the main power unit 16 is When the voltage falls below the predetermined value, the power controller 13 detects the switch operation or the voltage state and sets the interrupt signal to be sent to the CPU 11 to the level for a certain period (FIG. 6 (c)). . Further, the power supply controller 13 transmits a system power off request requesting the system BIOS 12 to stop supplying the operating voltage.
  • the CPU 11 and the system BIOS 12 respond to the system power off request and the interrupt signal, and refer to the register 11a to determine whether the suspend mode is set. If the CPU 11 determines that the suspend mode is not set, the CPU 11 maintains the suspend status signal at the “H” level (high impedance state) (FIG. 6 (b)), and the system BI 0 S 12 Outputs a system power off command that permits the power supply controller 13 to stop supplying the operating voltage.
  • the power controller 13 responds to the system power-off command, and sets the reset signal for the system 10 to the “L” level for a certain period of time (FIG. 6 (f)).
  • the reset signal resets the system 10 initially.
  • the power controller 13 After receiving the system power off command, the power controller 13 sets the main drive signal to "L" level. (Fig. 6 (d)).
  • the DCZDC converter 153 of the main power supply unit 15 stops operating in response to the main drive signal. As a result, the supply of the operating voltage to the system 10 is stopped (FIG. 6 (g)). Further, the power controller 13 also sets the drive signal to "L" level (FIG. 6 (e) :).
  • the DCZC converter 146a In response to this driver signal, the DCZC converter 146a is activated. However, the suspend status signal output from the CPU 11 is maintained at the "H" level (high-impedance state), which causes the switching control circuit 140 to turn off the FET 145.
  • the timing charts in FIGS. 7A to 7H show the state and timing of each signal when the personal computer changes from the on state to the off state in the suspend mode.
  • the power switch 13a is operated for a certain period to stop supplying the operating voltage to the system 10 (Fig. 7 (a), or the operating voltage output from the main power unit 16).
  • the power supply controller 13 detects the switch operation or the voltage state and sets the interrupt signal to be sent to the CPU 11 to the “L” level for a certain period (see FIG. 7 (c)) Sends a system power off request to system BI 0 S 12.
  • the CPU 1 and the system BIOS 12 respond to the system power request and the interrupt signal, and refer to the register 11a to determine whether or not the suspend mode is set. If it is determined that the suspend mode is set, the CPU 11 saves various data (system data) to a register (not shown) included in the CPU 11. Upon completion of the evacuation processing, the CPU 11 sets the suspend status signal to the “L” level (FIG. 7Cb)).
  • the power controller 13 sets the drive signal to the “L” level in response to the “L” level suspend status signal (FIG. 7 (e)).
  • a time lag T L occurs from the time the interrupt signal is generated until the drive signal level becomes “L” level.
  • a suspend status signal of a level higher than CPU11 is supplied to the switching control circuit 140.
  • FET145 turns on.
  • a voltage is supplied to the DCZDC converter 146a via the FET 145.
  • the DC / DC converter 1466a operates in response to the drive signal of the level sent from the power supply controller 13 to thereby perform the backup from the selection circuit 1446.
  • the power controller 13 sets the drive signal to the level and the main drive signal to the "L" level.
  • the DCZDC converter 153 of the main power supply unit 15 stops operating in response to the level main drive signal. This stops the supply of operating voltage from the main power supply unit 15 to the system 10 (Fig. 7 (d)).
  • a switching circuit including an element such as an FET and a power supply for detecting a setting of a suspend mode are provided.
  • the controller makes it possible to reliably execute processing for the suspend mode and the boot mode and control the power supply voltage. Further, according to the present invention, useless consumption of power supply voltage can be reduced.
  • a one-chip microprocessor known as 386 SL developed by Intel Corporation and a CPU having the same function can be used.
  • the CPU when the operating voltage is not supplied to the electronic device, that is, when the electronic device is in an off state, when the power supply unit is detached from the personal computer main unit, the CPU may be damaged. It is also possible to prevent running and the like.
  • the main battery 152 is removed from the main body of the computer in the boot mode and the personal computer is turned off. (Note that the AC adapter 151 is connected to the external AC power supply.) If not). In this state, the suspend status signal output from the CPU 11 is at the "H" level (high impedance state), and the FET 145 is off. Therefore, regardless of whether the main power supply unit 15 is attached or detached, no voltage is supplied to the DCZDC converter 146a, and the backup voltage RAMV maintains 0 V.
  • the main battery 152 is removed from the main body of the computer in the suspend mode and the computer 0 is turned off.
  • the suspend status signal output from the CPU 11 is at the “L” level, and the FET 145 is on. Therefore, a voltage is supplied to the DCZDC converter 146a, and the backup voltage RAMV is 5V.
  • the main power supply unit 15 when the main power supply unit 15 is removed, the supply of voltage to the regulator 13c stops, and the power supply terminal of the power supply controller 13 is grounded via the regulator 13C. Then, the operation of the power supply controller 13 stops.
  • the suspend status signal remains at "L" level, and FET 145 remains on.
  • the drive signal remains at the level, and the DCZDC converter 146a continues to output the backup voltage RAMV. or, During the operation of the power controller 13, the backup voltage RAM V supplied to the monitor terminal of the power controller 13 is applied to the regulator 13 c via the backflow prevention diode 13 d. Supplied. The backup voltage RAM V is grounded in the regulator 13c.
  • the present invention can also be applied to the case where the supply of the operating voltage to the system 10 is started by a real-time clock (RTC) timer process (not shown) provided in the system 10. Can be.
  • RTC real-time clock
  • the power supply controller 13 by providing the power supply controller 13 with a monitoring mechanism for monitoring whether or not the above-described predetermined processing is performed, more reliable control of the power supply voltage can be performed. For example, when the suspend status signal is at the “L” level, when the backup voltage RAMV is 0 V, or when the power supply When the CPU 11 performs the resume processing in response to the input interrupt signal, and the suspend status signal sent from the CPU 11 does not change to the level (high impedance state) or the "L" level The power supply controller 13 determines that an error has occurred and immediately stops supplying power to the system 10 or requests the CPU 11 to resume processing, and after the resuming processing is completed, the power supply controller 13 resumes processing. Error processing such as stopping supply of power supply voltage to Industrial applicability
  • a switching circuit including an element such as an FET and a power supply for detecting a setting of a suspend mode are provided.
  • the controller makes it possible to reliably execute the suspend mode and the boot mode processing and control the supply of the power supply voltage.
  • the power supply control system is effective for power supply control of an electronic device or the like to which a CPU having a resume function and a power supply management function is applied.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Sources (AREA)
  • Stand-By Power Supply Arrangements (AREA)

Abstract

When a power switch (13a) is turned on, a power controller (13) judges whether a CPU (11) is in a suspend mode or in a boot mode. When the mode is the boot mode, a system (10) executes a predetermined reset procedure. When the mode is the suspend mode, the CPU executes a resume procedure, and a backup voltage feed circuit (14) switches the power supply from a voltage BAT supplied from a sub-power supply unit (16) to a voltage Vcc supplied from a main power supply unit (15), and outputs it as an RAMV. When the power switch is turned off, the power controller sends an interrupt signal to the CPU. Unless the suspend mode is set, the CPU and a system BIOS (12) execute predetermined reset procedure. After this reset procedure is completed, the power controller stops the supply of the operation voltage inclusive of the backup voltage to the system. When the suspend mode is set, the RAMV supplied to the CPU is changed from the voltage Vcc supplied from the main power supply unit to the voltage BAT supplied from the sub-power supply unit.

Description

明 細 書 電 源 制 御 シ ス テ ム  Description Power supply control system
技 術 分 野 Technical field
この発明は、 メ イ ン電源装置及びバッ クアップ用サブ電源 装置を内蔵し、 これら電源装置から電圧を供給されることに より各種処理を行なうパーソナルコ ン ピュータ等における電 源制御システムに関する。  The present invention relates to a power supply control system for a personal computer or the like that incorporates a main power supply device and a backup sub-power supply device and performs various processes by being supplied with a voltage from these power supply devices.
背 景 技 術 Background technology
可搬性を高め、 搬送の容易な小型電子機器と して、 ラ ップ ト ップタイプ、 ブッ クタイプ等のパーソナルコンピュータが 広く普及している。 これらのパーソナルコ ンピュータは、 ノ ' ッテリ等の電源装置を内蔵し、 この電源装置から供給される 動作電圧によつて動作可能である。 更に、 前記電源装置は取 り外し可能であるのが一般的である。  Personal computers such as laptop and book-type personal computers have become widespread as small electronic devices that have improved portability and are easily transported. These personal computers have a built-in power supply such as a notebook, and can operate with an operating voltage supplied from the power supply. Further, the power supply is generally removable.
又、 最近のパーソナルコ ンピュータは、 レジュ一ム機能を 備える。 このレジューム機能は、 パーソナルコ ンピュータの の電源がォフの時には、 レジスタ等の内容をバッ クアップさ れた所定のメ モリ に退避し、 前記コ ン ピュータ システムに動 作用の電圧の供給が再開された時に、 退避データを前記レジ スタに復帰し、 これによつて電源のオフのオフされる直前の 動作状態を再現する。  Also, recent personal computers have a resume function. When the power of the personal computer is off, the resume function saves the contents of registers and the like to a predetermined memory that has been backed up, and the supply of operating voltage to the computer system is resumed. At the same time, the saved data is restored to the register, thereby reproducing the operation state immediately before the power is turned off.
上述したレジューム機能は、 パーソナルコ ンピュータ内 に設けられている システム基本入出力システム (システム B I O S ) と、 パーソナルコ ンビュ一夕の電源の制御を行な う電源コン 卜ローラとによる制御によつて実現される。 制御 を以下に示す。 The resume function described above can be used in personal computers. It is realized by the control of the system basic input / output system (system BIOS) provided in the PC and the power controller that controls the power of the personal computer. The control is shown below.
パーソナルコ ンピュータの電源スィ ツチがオフ操作される か、 動作電圧が降下して予め定められた動作電圧の供給停止 の条件が満たされた場合、 電源コン トローラは、 前記操作又 は状態を検出する。 この検出に対応して電源コン トロ一ラは、 動作電圧供給停止の要求コマン ド (システムパワーオフ リ ク ェス ト) をシステム B I O S に送出する。 システム B I O S は、 システムパワーオフ リ クエス トに応答してレジュームモ 一ドとブ一 トモ一ドのどちらが設定されているかを判定する。 システム B I 0 Sは、 ブ一 トモ一ドが設定されていた場合、 動作電圧供給停止要求に対する許可コマン ド (システムパヮ 一オフコマン ド) を電源コ ン ト ローラに送出する。 電源コ ン トローラはシステムパワーオフコマン ドに応答し、 コンビュ 一夕内の各回路構成要素への動作電圧の供給を停止する。  When the power switch of the personal computer is turned off or when the operating voltage drops and a predetermined condition for stopping the supply of the operating voltage is satisfied, the power controller detects the operation or the state. . In response to this detection, the power supply controller sends a command to stop operating voltage supply (system power off request) to the system BIOS. The system BIOS responds to the system power off request and determines whether the resume mode or the boot mode is set. When the boot mode is set, the system BIOS sends a permission command (system pulse off command) to the operation voltage supply stop request to the power supply controller. The power supply controller responds to the system power off command, and stops supplying the operating voltage to each circuit component within the computer.
又、 前記システム B I 0 Sは、 レジュームモー ドが設定さ れていた場合、 C P U内のレジスタ等の内容を所定のバッ ク ァップ用メモリ に退避する処理を実行する。 この退避処理が 終了すると、 システム B I O Sは、 システムパワーオフコマ ン ドを電源コ ン ト ローラに送出する。 電源コ ン ト ローラは、 前記システムパワーオフコマン ドに応答して動作電圧の供袷 を停止し、 所定の構成要素にはバッ クアップ電圧を供給する。 近年、 レジュー厶機能等の電源管理機能を有する C P Uが 開発されている (例えば、 イ ンテル社から販売されている 3 8 6™S L ) 。 この C P Uはブー トモー ドとサスペン ドモ ー ド (レジュ一ムモー ド) を備え、 上述したブー トモー ドと サスペン ドモ一 ドとのいずれが設定されているかを示すデー 夕 (フラグ) を保持する所定のレジスタを有する。 更に、 こ の C P Uは、 サスペン ドモー ド時において各種データ (シス テムデータ) を C P Uの内蔵する レジスタに保持する。 この ためサスペン ドモ一 ド時においては、 C P Uにバッ クアップ 用の電圧を供給する必要がある。 When the resume mode has been set, the system BIOS executes processing for saving the contents of registers and the like in the CPU to a predetermined backup memory. When this save processing is completed, the system BIOS sends a system power off command to the power controller. The power supply controller stops supplying the operating voltage in response to the system power off command, and supplies a backup voltage to predetermined components. In recent years, CPUs with power management functions such as the resume function It is being developed (for example, 386 ™ SL sold by Intel). This CPU has a boot mode and a suspend mode (resume mode), and has a predetermined flag that holds a data (flag) indicating which of the boot mode and the suspend mode described above is set. It has a register. Further, the CPU holds various data (system data) in a register built in the CPU in the suspend mode. Therefore, in suspend mode, it is necessary to supply a backup voltage to the CPU.
この C P Uが適用されたパーソナルコンピュータにおける リ ジユ ーム機能の各処理は以下のように実行される。  Each processing of the resume function in the personal computer to which the CPU is applied is executed as follows.
このパーソナルコ ン ピュ一夕の電源スィ ツチがオフ操作さ れるか、 動作電圧の降下によって予め定められた動作電圧 の供給停止の条件が満たされた場合、 電源コ ン ト ローラは C P Uに割り込み信号を送る。 C P Uはこの割り込み信号に 応答してシステム B I O Sの割り込みルーチンを実行する。 この際、 C P Uは、 自己の所定のレジスタにサスペン ドモー ドを指定するデータが設定されている場合、 外部 I 0レジ スタ等のレジスタの内容を取り込み、 所定のコマン ドを電源 コ ン ト ローラに送出する。 電源コ ン ト ローラは、 このコマン ドに応答して C P Uへのメ ィ ン電源からの動作電圧の供給を 停止し、 バッ クアツプ用電源装置からバッ クアツプ用電圧を 供給する。 但し、 電源コ ン ト ローラには、 メ イ ン電源から動 作電圧が常時供給されている。  If the power switch of this personal computer is turned off or if a predetermined condition for stopping the supply of the operating voltage is satisfied due to a drop in the operating voltage, the power controller sends an interrupt signal to the CPU. Send. The CPU executes the system BIOS interrupt routine in response to this interrupt signal. At this time, if the data that specifies the suspend mode is set in its own predetermined register, the CPU fetches the contents of the register such as the external I0 register and sends the predetermined command to the power supply controller. Send out. In response to this command, the power supply controller stops supplying the operating voltage to the CPU from the main power supply, and supplies the backup voltage from the backup power supply. However, the operating voltage is always supplied to the power controller from the main power supply.
—方、 C P Uの所定のレジスタにサスペン ドモー ドを示す データが設定されていない場合、 C P Uはブー トモー ドが設 定されていると判定し、 所定のコマン ドを電源コン トローラ に送出する。 電源コ ン ト ローラは、 このコマ ン ドに応答して C P Uへのメイ ン電源装置からの動作電圧の供給を停止する c 又、 電源スィ ッチがオンされた場合、 C P Uがサスペン ド モー ドに設定きれていれば、 電源コ ン ト ローラは、 C P Uに 割り込み信号を送る。 C P Uは、 この割り込み信号に応答し て所定のリ ジュ一厶処理 (リス トァ処理) を実行し、 動作電 圧の供給が停止する直前の動作状態を再現する。 -Suspend mode is indicated in the specified register of the CPU. If the data is not set, the CPU determines that the boot mode is set and sends a predetermined command to the power controller. Power Control This setup roller also c stops the supply of the operating voltage from the main power supply to the CPU in response to the frame down-de, when the power sweep rate pitch is turned on, CPU is suspend mode If set to, the power controller sends an interrupt signal to the CPU. The CPU executes predetermined resume processing (restore processing) in response to the interrupt signal, and reproduces the operation state immediately before the supply of the operation voltage is stopped.
C P Uがブー トモ一ドであれば、 電源コン トローラは、 電 源スィ ツチのォン操作に応答し、 アクティ ブのリセッ ト信号 を C P Uに供耠する。 更に、 電源コン トローラは、 メイ ン電 源装置からシステムの各要素に対して動作電圧の供給を開始 し、 その後リセッ ト信号をィ ンァクティ プ状態とする。  If the CPU is in the boot mode, the power controller responds to the operation of turning on the power switch and supplies an active reset signal to the CPU. Further, the power supply controller starts supplying the operating voltage to each element of the system from the main power supply device, and thereafter sets the reset signal to the inactive state.
以上の動作によって、 電源管理機能を有する C P Uを用い たパーソナルコ ンピュータの リ ジュ一ム機能が実現される。  With the above operation, the resume function of the personal computer using the CPU having the power management function is realized.
しかし、 電源管理機能を有する C P Uを用いたパーソナル コンピュータにおいては、 このパーソナルコンピュータがォ フ状態の時、 メィ ン電源装置をパーソナルコ ンピュータ本体 に着脱した場合、 C P Uが暴走する等の問題が生じる。 これ は、 サスペン ドモー ド時の C P Uに対するバックアツプ電圧 の供給の制御を行なう電源コン トローラへの動作電圧をメィ ン電源装置から供給しているた 、 メ ィ ン電源装置がパーソ ナルコンピュータから取り外されるこ とにより前記電源コ ン トローラが、 動作を停止してしまうためである。 例えば、 上述したパーソナルコ ンピュータがオフ状態で、 且つ C P Uがサスペン ドモー ドである場合、 メイ ン電源装置 をパーソナルコ ンビュ一夕本体より取り外した時、 電源コ ン トローラが動作を停止する。 これにより、 C P Uに供給され ていたバッ クアツプ電圧が停止し、 C P Uはセーブしたレジ スタの内容を維持することができなく なる。 このため、 再び パーソナルコンピュータにメ イ ン電源装置がセッ トされ、 電 源コン トローラに動作電圧が供給されたときに、 レジューム 処理を実行することが不可能となる。 However, in a personal computer using a CPU having a power management function, if the main power supply is attached to and detached from the main body of the personal computer when the personal computer is in an off state, a problem such as runaway of the CPU occurs. This is because the main power supply supplies the operating voltage to the power supply controller that controls the supply of the backup voltage to the CPU in the suspend mode, and the main power supply is removed from the personal computer. This is because the power controller stops operating. For example, when the above-mentioned personal computer is off and the CPU is in the suspend mode, when the main power supply is removed from the main body of the personal computer, the power supply controller stops operating. As a result, the backup voltage supplied to the CPU stops, and the CPU cannot maintain the contents of the saved register. For this reason, when the main power supply device is set in the personal computer again and the operating voltage is supplied to the power supply controller, it becomes impossible to execute the resume processing.
又、 上述したパーソナルコンピュータがオフ状態で、 且つ C P Uがブー トモー ドである場合、 メイ ン電源装置の着脱に よって、 電源コン トローラによるバッ クアツプ電圧の制御が 不可能となり、 C P Uにバッ クアツプ電圧が供給される場合 がある。 C P Uは、 サスペン ドモー ドが設定されておらず、 更にパーソナルコンピュータがオフ状態の時にバッ クアップ 電圧が供給されると暴走する。  When the personal computer is in the off state and the CPU is in the boot mode, the backup voltage cannot be controlled by the power controller due to the attachment / detachment of the main power supply. May be supplied. The CPU runs away when the backup mode is supplied while the suspend mode is not set and the personal computer is off.
上述した理由により、 電源管理機能を有する C P Uに対す る確実な電源制御が必要とされる。 .  For the reasons described above, reliable power control is required for CPUs that have a power management function. .
この発明の目的は、 電源管理機能を有する C P Uの適用さ れるパーソナルコ ンピュータ等のデータ処理装置における、 サスペン ドモー ド又はブ一 トモ一 ドの処理及び制御を確実に 実行し得る電源制御システムを提供するこ とである。 発明の開示  An object of the present invention is to provide a power supply control system capable of reliably executing processing and control in a suspend mode or a boot mode in a data processing device such as a personal computer to which a CPU having a power management function is applied. It is to be. Disclosure of the invention
前記目的を達成するため、 メ イ ン電源装置とサブ電源装置 とを有するデータ処理装置の電源制御システムは、 前記デー 夕処理装置への動作電圧の供給又は供耠停止を指示する電源 スィ ツチを有し、 前記電源スィ ッチの操作に応答して前記メ ィ ン電源装置又は前記サブ電源装置のいずれか一方を選択す るための選択信号を出力し、 前記電源スィ ッチの操作が前記 データ処理装置に対して動作電圧の供給停止を指示する場合、 出力停止信号を出力する制御手段と、 前記制御手段から出力 される前記選択信号に応答し、 前記メィ ン電源装置と前記サ ブ電源装置の出力する電圧の一方を選択して出力する選択手 段と、 サスペン ドモー ドの設定有無を示すデータを記億する 記億手段を有し、 前記制御手段から出力される出力停止信号 に応答して前記記憶手段を参照し、 サスペン ドモー ドの設定 の有無を判定し、 このサスペン ドモー ドの設定に応じたスィ ツチング信号を出力する処理手段と、 前記処理手段から出力 される前記スィ ッチング信号に応答して前記サブ電源装置か ら前記選択手段への電力の供铪をォン Zオフ制御するスイ ツ チング手段とを具備する。 To achieve the above purpose, the main power supply and the sub power supply The power supply control system of the data processing device having a power supply switch for instructing the supply of the operating voltage to the data processing device or stopping the supply of the power supply to the data processing device; Output a selection signal for selecting either the power supply device or the sub power supply device, and when the operation of the power switch instructs the data processing device to stop supplying the operating voltage, Control means for outputting an output stop signal; and selecting means for selecting and outputting one of the voltages output from the main power supply and the sub power supply in response to the selection signal output from the control means. And storage means for storing data indicating whether or not the suspend mode is set. The storage means is referred to in response to an output stop signal output from the control means, and the suspend mode is set. Processing means for determining the presence or absence of the setting and outputting a switching signal according to the setting of the suspend mode; and the selecting means from the sub power supply device in response to the switching signal output from the processing means. A switching means for controlling the supply of power to the power supply to the on-off state.
上述した構成によって、 サスペン ドモー ド又はブー トモ一 ドにおいて、 メィ ン電源装置及びサブ電源装置からデータ処 理装置に供給ざれる電圧の制御が確実に実行される。  With the configuration described above, in the suspend mode or the boot mode, the control of the voltage supplied from the main power supply device and the sub power supply device to the data processing device is reliably performed.
更に、 この発明は、 データ処理装置がオフである時、 メイ ン電源装置をパ一ソナルコ ンピュータ本体から着脱した場合 に生じる C P Uの暴走等を防止する。 図面の簡単な説明 Further, the present invention prevents runaway of the CPU which occurs when the main power supply is detached from the personal computer when the data processing device is off. BRIEF DESCRIPTION OF THE FIGURES
図 1 は、 この発明を適用したパーソナルコ ンピュー夕の回 路構成を示すブロッ ク図であり、 図 2は、 前記図 1 に示され るバッ クアツプ電圧供給回路の構成を示す回路図であり、 図 FIG. 1 is a block diagram showing a circuit configuration of a personal computer to which the present invention is applied, and FIG. 2 is a circuit diagram showing a configuration of the backup voltage supply circuit shown in FIG. Figure
3は、 前記バッ クアップ電圧供給回路の構成要素と周辺構成 要素の回路接続構成を示す図であり、 図 4 ( a ) 〜 ( h ) は、 ブー トモ一 ドにおける電源オフ状態からオン状態に変化する 際の各信号のタイ ミ ングチャー トであり、 図 5 ( a ) 〜 ( h ) は、 サスペン ドモー ドにおける電源オフ状態からオン状態に 変化する際の各信号のタイ ミ ングチャー トであり、 図 6 ( a ) 〜 ( h ) は、 ブー トモー ドにおける電源オン状態からオフ状 態に変化する際の各信号タイ ミ ングチャー トであり、 図 7FIG. 3 is a diagram showing the circuit connection configuration of the components of the backup voltage supply circuit and the peripheral components, and FIGS. FIGS. 5 (a) to 5 (h) are timing charts of the respective signals when the power supply changes from the power-off state to the on-state in the suspend mode. 6 (a) to (h) are signal timing charts when the power supply changes from the power-on state to the off state in the boot mode.
( a ) 〜 ( h ) は、 サスペン ドモー ドにおける電源オン状態 からオフ状態に変化する際の各信号のタイ ミ ングチヤ一卜で あ■る o 発明を実施するための最良の形態 (a) to (h) are timing charts of each signal when the power supply changes from the on state to the off state in the suspend mode. o Best mode for carrying out the invention
以下、 図面を参照してこの発明の一実施例を説明する。  Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
図 1は、 この発明を適用したパーブナルコンピュータの構 成を示す。 コ ン ピュータ システム 1 0 (以下、 システムと称 する) は、 システム構成要素の集合であり、 この実施例にお いては、 特に電源制御動作に関連する C P U 1 1及び基本入 出力システム (システム B I O S ) 1 2のみを図示し、 その 他の構成要素は省略する。 C P U 1 1 は、 サスペン ドモー ド が設定されているか否かを示すデータを保持する レジスタ 1 1 aを有する。 C P U 1 1は、 システム 1 0全体の制御を 行なうと共に、 後述する電源コン 卜ローラ 1 3からの割り込 み信号に応答し、 システム B I O S 1 2の割り込みルーチン を実行する。 更に、 C P U 1 1は、 サスペン ドモー ドの設定 有無に応答してコン トローラ 1 3及びバッ クアツプ電圧供給 回路 14にサスペン ドステータス信号を出力する。 FIG. 1 shows a configuration of a personal computer to which the present invention is applied. The computer system 10 (hereinafter referred to as the system) is a set of system components. In this embodiment, the CPU 11 and the basic input / output system (system BIOS) particularly related to the power control operation are used. ) Only 12 is shown, and other components are omitted. CPU 11 is a register that holds data indicating whether suspend mode is set. It has 1 1a. The CPU 11 controls the entire system 10 and executes an interrupt routine of the system BIOS 12 in response to an interrupt signal from the power controller 13 described later. Further, the CPU 11 outputs a suspend status signal to the controller 13 and the backup voltage supply circuit 14 in response to whether or not the suspend mode is set.
電源コン トロ一ラ 1 3はシステム 1 0への電源の供給を制 御する。 より詳細には、 電源コン ト ローラ 13は、 電源スィ ツチ 1 3 aを有する。 スィ ツチ 1 3 aは、 電源のオン又はォ フ状態を直接指示するスイ ッチではなく、 オン、 オフの切換 えを指示するスィ ツチである。 電源コン ト ローラ 1 3は、 電 源スィ ッチ 13 aが操作されたことを検出し、 C P U 1 1に 割り込み信号を出力する。 更に、 電源コン トローラ 1 3は、 サスペン ドモー ド又はブー トモ一ドの設定に応じて、 ドライ ブ信号をバッ クアツプ電圧供給回路 14に、 メ イ ン ドライブ 信号をメィ ン電源ュニッ ト 1 5に、 リセッ ト信号をシステム 1 0に送出する。 又、 電源コ ン ト ローラ 1 3は、 システム B I 0 S 12との間でシリアル通信を行なう。  The power controller 13 controls the supply of power to the system 10. More specifically, the power supply controller 13 has a power supply switch 13a. The switch 13a is not a switch for directly instructing the power on or off state, but a switch for instructing on / off switching. The power controller 13 detects that the power switch 13 a has been operated, and outputs an interrupt signal to the CPU 11. Further, the power controller 13 sends the drive signal to the backup voltage supply circuit 14, the main drive signal to the main power supply unit 15, and the drive signal according to the setting of the suspend mode or the boot mode. Send a reset signal to system 10. The power controller 13 performs serial communication with the system BIOS12.
バックアツプ電圧供铪回路 14は、 前記ドライブ信号及び 前記サスペン ドステータス信号に応答し、 メ イ ン電源ュニッ ト 1 5から供給される電圧 V ecとサブ電源ュニッ ト 1 6 から供給される電圧 B A Tの一方を選択する こ と によ り C P U 1 1や RAM (図示せず) 等のバッ クアツプ用の電圧 RAMVをシステム 1 0及び電源コ ン ト ローラ 1 3に供給す る o メ イ ン電源ュニッ ト 1 5は、 電源コ ン トローラ 1 3から送 られるメイ ン ドライブ信号に応答してオン (電圧供給) ォ フ (電圧供給停止) 制御される。 オン状態において、 前記メ イ ン電源ユニッ ト 1 5は、 システム 1 0に動作電圧 + 1 2 V 及び— 9 Vを供給すると共にバッ クアツプ電圧供給回路 14 及びシステム 1 0に電圧 Vcc ( + 5 V) を供給する。 The backup voltage supply circuit 14 responds to the drive signal and the suspend status signal, and outputs a voltage Vec supplied from the main power supply unit 15 and a voltage BAT supplied from the sub power supply unit 16. By selecting one of the two, the backup voltage RAMV such as the CPU 11 or RAM (not shown) is supplied to the system 10 and the power controller 13 o The main power supply unit 15 is controlled to be turned on (supply voltage) or off (stop voltage supply) in response to a main drive signal sent from the power supply controller 13. In the ON state, the main power supply unit 15 supplies the operating voltage +12 V and −9 V to the system 10 and supplies the voltage Vcc (+5 V) to the backup voltage supply circuit 14 and the system 10. ).
サブ電源ュニッ ト 1 6は、 バッテリ等の電圧生成装置を内 蔵し、 バッ クアツプ電圧供給回路 14に電圧 B A Tを供給す o  The sub power supply unit 16 incorporates a voltage generator such as a battery and supplies the voltage B A T to the backup voltage supply circuit 14.o
次に図 2を参照して前記バッ クアツプ電圧供給回路 14の 回路構成例を説明する。 バッ クアツプ電圧供給回路 14にお いて、 C P U 1 1から送出されるサスペン ドステータス信号 は、 抵抗 14 1を介して Nチャネル F E T (電界効果 トラン ジスタ) 142のゲー トに供給される。 この F E T 142の ソースは接地され、 ドレイ ンは Nチャネル F E T 143のゲ ー トに接続される。 F E T 143のソースは接地され、 ドレ イ ンは、 Pチャネル F E T 14 5のゲ一 卜に接続されている。 Pチャネル F E T 14 5のゲー 卜 とソースは抵抗 144を介 して接続されている。 F E T 14 5のソースには、 サブ電源 ユニッ ト 1 6から供給される電圧 B ATが印加される。  Next, a circuit configuration example of the backup voltage supply circuit 14 will be described with reference to FIG. In the backup voltage supply circuit 14, the suspend status signal sent from the CPU 11 is supplied to the gate of the N-channel FET (field effect transistor) 142 via the resistor 141. The source of FET 142 is grounded, and the drain is connected to the gate of N-channel FET 143. The source of FET 143 is grounded, and the drain is connected to the gate of P-channel FET145. The gate and source of the P-channel FET 145 are connected via a resistor 144. The voltage BAT supplied from the sub power supply unit 16 is applied to the source of the FET 145.
F E T 1 4 5の ドレイ ンは、 選択回路 14 6の入力端子 B A Tに接続されている。 又、 選択回路 146の入力端子 The drain of FET145 is connected to the input terminal BAT of the selection circuit 146. Also, input terminal of selection circuit 146
V I Nには、 メ イ ン電源ュニッ ト 1 5から供給される電圧V IN is the voltage supplied from the main power supply unit 15
V ccが印加される。 更に、 選択回路 1 46の制御端子 S E L には、 電源コン トローラ 1 3から ドライブ信号が入力される。 選択回路 146は、 ドライブ信号力 レベルである場合、 入力端子 V I Nに印加される電圧 V "を、 "L" レベルであ る場合には、 入力端子 B ATに印加される電圧 B ATを選択 し、 ノ ッ クァップ電圧 RAMVと してシステム 1 0及び電源 コ ン ト ローラ 1 3に出力する。 又、 選択回路 146から出 力される RAMVは、 抵抗 14 7及び抵抗 14 1を介して F E T 142のゲー トに、 抵抗 148を介して F E T 142 の ドレイ ンと F E T 1 3のゲ一 トに印加される。 V cc is applied. Further, a drive signal is input to the control terminal SEL of the selection circuit 146 from the power supply controller 13. The selection circuit 146 selects the voltage V "applied to the input terminal VIN when the drive signal level is at the level, and selects the voltage BAT applied to the input terminal BAT when the level is at the" L "level. The RAMV is output to the system 10 and the power supply controller 13 as the knock-up voltage RAMV, and the RAMV output from the selection circuit 146 is connected to the FET 142 via the resistors 147 and 141. The gate is applied to the drain of the FET 142 and the gate of the FET 13 via the resistor 148.
抵抗 141, 147, 148、 F E T 142 , 143によ つてスイ ッチング制御回路 140が構成されている。 スイ ツ チング制御回路 140は、 C P U 1 1より送られるサスペン ドステータス信号に応答して F E T 145のオン Zオフ制御 を行なう。 スイ ッチング制御回路 140により、 ブー トモー ドにおけるこのパーソナルコ ンピュータのオフ時に C P U 1 1に過電流が流れることが防止される。  The switching control circuit 140 is composed of the resistors 141, 147, 148 and the FETs 142, 143. Switching control circuit 140 performs on / off control of FET 145 in response to a suspend status signal sent from CPU 11. Switching control circuit 140 prevents an overcurrent from flowing through CPU 11 when the personal computer is off in the boot mode.
図 3は、 バッ クアップ電圧供給回路 14の各構成要素と、 周辺構成要素との具体的な接続構成を示す。  FIG. 3 shows a specific connection configuration between each component of the backup voltage supply circuit 14 and peripheral components.
図 3において、 メ イ ン電源ュニッ ト 1 5は、 パ一ソナルコ ンピュータ本体に着脱可能な A Cアダプタ 1 51、 パーソナ ルコンピュータ本体に着脱可能なメ イ ンバッテリ 1 52及び 本体に固定の D C ZD Cコ ンバータ 1 53により構成され る。 A Cアダプタ 1 51の出力電圧は、 逆流防止ダイォー ド 1 54を介して D CZD Cコンバータ 1 53に供給されると 共にダイオー ド 1 55を介して F E T 145のソースに印加 される。 メイ ンバッテリ 1 52の出力電圧は、 逆流防止ダイ オード 1 56を介して D Cノ D Cコ ンバータ 1 53に供給さ れると共に、 ダイオー ド 1 5 5を介して F E T 14 5のソ一 スに印加される。 In FIG. 3, the main power supply unit 15 has an AC adapter 151 that can be attached to and detached from the personal computer, a main battery 152 that can be attached to and detached from the personal computer, and a DC ZD C It consists of an inverter 153. The output voltage of the AC adapter 151 is supplied to the DC / DC converter 153 via the backflow prevention diode 154 and is also applied to the source of the FET 145 via the diode 155. The output voltage of the main battery 1 52 is It is supplied to the DC converter 153 via the diode 156 and is applied to the source of the FET 145 via the diode 155.
D C/D Cコンバータ 1 53は、 電源コ ン トローラ 1 3か ら送られるメイ ン ドライブ信号に応答して動作し、 A Cァダ プタ 1 5 1又はメ イ ンバッテリ 1 52から供給される電圧を 変圧 (直流 Z直流変換) し、 + 1 2 V、 一 9 V及び + 5 V ( V cc) の動作電圧を生成し、 前述のシステム 1 0に供給す サブ電源ュニッ ト 1 6は、 充電可能なバッテリで構成され るサプバッテリ 1 6 1及び逆流防止ダィオー ド 1 62によつ て構成される。 サブ電源ユニッ ト 1 6は、 この実施例のパー ソナルコ ン ピュータ本体に内蔵されている。 サブバッテリ 1 6 1の出力電圧は、 ダイオー ド 1 62を介し、 電圧 B AT と して F E T 14 5のソースに印加される。  The DC / DC converter 153 operates in response to the main drive signal sent from the power controller 13 and transforms the voltage supplied from the AC adapter 151 or the main battery 152 ( DC to DC conversion), generates operating voltages of +12 V, 19 V and +5 V (V cc), and supplies them to the system 10 described above. The sub power supply unit 16 is a rechargeable battery And a backflow prevention diode 162. The sub power supply unit 16 is built in the personal computer body of this embodiment. The output voltage of sub-battery 161 is applied via diode 162 as the voltage BAT to the source of FET 145.
選択回路 146は、 D C /D Cコ ンバータ 146 a及びダ ィォ一 ド 146 bにより構成される。 D C/D Cコ ンバータ 146 aの入力端子には、 前記 F E T 14 5の ドレイ ン端子 が接続されている。 D C / D Cコ ンバータ 146 aは、 電 源コ ン ト ローラ 1 3から送られる ドライ ブ信号に応答し、 F E T 14 5から供給される電圧を変圧して R A M V (+ 5 V) を生成する。 又、 ダイオー ド 146 bのアノー ドには、 D C/D Cコ ンバータ 1 53から出力される + 5 Vが印加ざ れる。 選択回路 146は、 D CZD Cコ ンバータ 146 a又 はダイオー ド 146 bから出力される電圧をバッ クアップ用 の電圧 RAM Vとしてシステム 1 0に供給する。 更に、 電圧 R A M Vは、 抵抗 1 3 b と逆流防止用ダイオー ド 1 3 dを 介して電源コ ン ト ローラ 1 3の電源端子に供給され、 抵抗 1 3 dを介して電源コン トローラ 1 3のモニタ用端子に供給 される。 The selection circuit 146 includes a DC / DC converter 146a and a diode 146b. The input terminal of the DC / DC converter 146a is connected to the drain terminal of the FET 145. The DC / DC converter 146a responds to the drive signal sent from the power supply controller 13 and transforms the voltage supplied from the FET 145 to generate RAMV (+5 V). Further, +5 V output from the DC / DC converter 153 is applied to the anode of the diode 146 b. The selection circuit 146 is for backing up the voltage output from the D CZD C converter 146a or the diode 146b. Is supplied to the system 10 as RAM V. Further, the voltage RAMV is supplied to the power supply terminal of the power supply controller 13 via the resistor 13b and the backflow prevention diode 13d, and the monitor of the power supply controller 13 is provided via the resistor 13d. Supplied to the connection terminal.
電源コン トローラ 1 3の電源端子には、 動作電圧として、 メィ ン電源ュニッ ト 1 5から、 A Cアダプタ 1 5 1又はメイ ンバッテリ 1 5 2の出力電圧 V Iがレギユレ一夕 1 3 cを介 して供給される。 レギユレ一タ 1 3 cから電源コン トローラ 1 3への動作電圧の供耠が停止した場合、 コ ン ト ローラ 1 3 の電源端子 (即ちダイォ一 ド 1 3 bの力ソー ド) は、 レギュ レータ 1 3 cを介して接地される。  The output voltage VI of the AC adapter 151 or the main battery 152 from the main power supply unit 15 is supplied to the power supply terminal of the power supply controller 13 as the operating voltage via the regulator 13c. Supplied. When the supply of the operating voltage from the regulator 13 c to the power controller 13 is stopped, the power terminal of the controller 13 (that is, the force source of the diode 13 b) is connected to the regulator. Grounded via 13c.
バックアツプ電圧 R AM Vは、 図 2を参照して前述したよ うに、 スイ ッチング制御回路 1 4 0内の抵抗 1 4 7 , 1 4 8 及び C P U 1 1にも供給される。  The backup voltage RAMV is also supplied to the resistors 144, 148 and CPU 11 in the switching control circuit 140, as described above with reference to FIG.
C P U 1 1 は、 サスペン ドステータス信号をスィ ツチング 制御回路 14 0及び電源コ ン ト ローラ 1 3に出力する。 この 実施例では、 レベルのサスペン ドステータス信号はほ ぼ 0 Vであり、 レベルのサスペン ドステータス信号は、 C P U 1 1 のサスペン ドステータス信号用の出力端子がォー プン状態になること、 言い換えればハイィ ンピーダンス状態 になることを意味する。  The CPU 11 outputs a suspend status signal to the switching control circuit 140 and the power supply controller 13. In this embodiment, the level suspend status signal is almost 0 V, and the level suspend status signal indicates that the output terminal of the CPU 11 for the suspend status signal is open, in other words. It means that it goes into a high impedance state.
次に上述したパーソナルコンピュータの動作を図 4乃至図 7に示されるタイ ミ ングチャー トを参照して説明する。  Next, the operation of the above-described personal computer will be described with reference to timing charts shown in FIGS.
図 4 ( a ) 〜 (! 1 ) は、 ブー トモー ドにおける動作電圧供 給オフ状態からォン状態に変化する際の各信号の状態及びタ ィ ミ ングを示す。 Figures 4 (a) to (! 1) show the operating voltage supply in the boot mode. The status and timing of each signal when changing from the supply off state to the on state are shown.
ブー トモ一ドで、 且つこのパーソナルコ ンピュータがオフ の状態においては、 後述するよう F E T 145がオフであり、 D C /D C コ ンバータ 1 4 6 a は電圧を出力せず、 D CZ D Cコンバータ 1 53はメイ ン ドライブ信号によりオフ して いるので選択回路 146はバッ クアツプ電圧 R A M Vを出力 しない (図 4 (h) ) 。 C P U 1 1は、 "H" レベルのサス ベン ドステータス信号を出力する (ハイイ ンピーダンス状態 に設定) (図 4 ( b ) ) 。 これにより、 F E T 14 5はオフ となる。  In the boot mode and when the personal computer is off, the FET 145 is off as described later, the DC / DC converter 146a does not output voltage, and the DC / DC converter Is turned off by the main drive signal, the selection circuit 146 does not output the backup voltage RAMV (Fig. 4 (h)). The CPU 11 outputs a "H" level suspend status signal (set to high impedance state) (Fig. 4 (b)). As a result, F ET 145 is turned off.
この状態で電源スィ ッチ 1 3 aが図 4 (a ) に示されるよ うに、 一定期間以上押されると、 電源コン トローラ 1 3は、 電源スィ ツチ 1 3 aがォン操作されたことを検出する (現在 時点で、 パーソナルコ ンピュー夕がオフであるから、 電源ス イ ッチ 1 3 aの操作がォン操作であることが判断できる) o この検出に応答して電源コ ン トロール 1 3は、 バッ クアップ 電圧 R A MVがモニタ端子に供給されているか否かを判断す る。 この場合、 図 4 ( h ) に示すように R AMVは供給され ていなので、 電源コン トローラ 1 3は、 ブー トモー ドが設定 されていると判定する。 そして、 電源コン トローラ 1 3は、 メイ ン ドライブ信号を " H " レベルとする (図 4 ( d ) ) 。 D C / D Cコ ンバータ 1 53は、 前記メ イ ン ドライブ信号力く "H" レベルとなるのに応答して起動し、 動作電圧 + 1 2 V, - 9 V, + 5 V ( V cc) を生成し、 これをシステム 1 0に供 耠する。 電源コン トロ一ラ 1 3は、 電圧 V"が + 5 Vとなる と、 これに応答して ドライブ信号を "H" レベルとすると共 に レベルの リ セッ ト信号を一定期間出力する (図 4 ( e ) , ( f ) , ( g ) ) 。 ドライ ブ信号が レベル となるのに応答して選択回路 146は、 メイ ン電源ュニッ ト 1 5から供給される電圧 V"を RAMVとして出力する (図 4 (h) ) 。 又、 システム 1 0は、 リセッ ト信号に応答して システム 1 0全体の初期リセッ トを行なう。 In this state, when the power switch 13a is pressed for a certain period of time as shown in Fig. 4 (a), the power controller 13 confirms that the power switch 13a has been turned on. Detect (Personal computer is off at the moment, so it can be determined that power switch 13a is on). O In response to this detection, power control 1 Step 3 determines whether the backup voltage RA MV is being supplied to the monitor terminal. In this case, as shown in FIG. 4 (h), RAMV is supplied, so the power supply controller 13 determines that the boot mode is set. Then, the power supply controller 13 sets the main drive signal to the “H” level (FIG. 4D). The DC / DC converter 153 is activated in response to the main drive signal becoming “H” level, and changes the operating voltages +12 V, -9 V, +5 V (V cc). And provide it to system 10 耠When the voltage V becomes +5 V, the power controller 13 responds to this by setting the drive signal to the “H” level and outputting a level reset signal for a certain period of time (Fig. 4 (e), (f), (g)) In response to the drive signal becoming the level, the selection circuit 146 outputs the voltage V "supplied from the main power supply unit 15 as RAMV ( Figure 4 (h)). Further, the system 10 performs an initial reset of the entire system 10 in response to the reset signal.
図 5 (a:) 〜 (h) のタイ ミ ングチャー トは、 C P U 1 1 力《サスペン ドモー ドで、 且つ、 パーソナルコ ンピュータ力くォ フ状態からオン状態に変化する際の各信号の状態及びタイ ミ ングを示す。  The timing charts in Fig. 5 (a :) to (h) show the state of each signal when the CPU 11 is in the suspend mode and when the personal computer changes from the power off state to the on state. Indicates timing.
図 5 ( b ) 及び (h) に示されるように、 サスペン ドモ一 ドで、 且つ、 このノ、。一ソナルコ ン ピュータがオフの場合、 C P U 1 1は、 "L" レベルのサスペン ドステータス信号を 出力する (図 5 ( e ) ) 。 従って、 F E T 145はオン状態 となり、 メイ ン電源ュニッ ト 1 5又はサブ電源ュニッ ト 1 6 から供耠ざれる電圧が選択回路 146に供給される。 D CZ D Cコンバータ 146 aは供給された電圧を変圧し、 バツク 了ップ電圧 R AM Vとして C P U 1 1、 スィ ッチング制御回 路 140及び電源コン ト ローラ 1 3に出力する。  As shown in FIGS. 5 (b) and 5 (h), in the suspend mode, and in FIG. When one of the personal computers is off, the CPU 11 outputs an "L" level suspend status signal (Fig. 5 (e)). Therefore, the FET 145 is turned on, and the voltage supplied from the main power supply unit 15 or the sub power supply unit 16 is supplied to the selection circuit 146. The DCZDC converter 146a transforms the supplied voltage and outputs it as the backup voltage RAMV to the CPU 11, switching control circuit 140, and power supply controller 13.
上述した状態で、 このパーソナルコンビュ一タをォンする ために、 電源スィ ツチ 1 3 aが一定期間以上操作された場合 (図 5 (a ) ) 、 電源コ ン トローラ 13は、 前記電源スィ ッ チ 1 3 aの操作を検出し、 この検出に応答してバックアップ 電圧 RAMV ( + 5 V ) がモニタ端子に供給されているか否 かを判定する。 図 5 ( h ) に示すように、 電源コ ン ト ローラIn the state described above, if the power switch 13a is operated for a certain period of time to turn on the personal computer (FIG. 5 (a)), the power controller 13 is turned on by the power switch. Detects the operation of switch 13a and backs up in response to this detection. Determines whether voltage RAMV (+5 V) is supplied to the monitor terminal. As shown in Fig. 5 (h), the power controller
1 3にはバッ クアツプ電圧 RAM V ( + 5 V ) が供給されて おり、 電源コ ン ト ローラ 1 3は、 C P U 1 1がサスペン ド モー ドである こ とを判定する。 この後、 電源コ ン ト ローラ 1 3は、 メ イ ン ドライ ブ信号を レベルとする (図 5The backup voltage RAM V (+5 V) is supplied to 13, and the power supply controller 13 determines that CPU 11 is in the suspend mode. After this, the power controller 13 sets the main drive signal to the level (Fig. 5
( d ) ) 。 D CZD Cコンバータ 1 53は、 メイ ン ドライブ 信号が "H" レベルとなることに応答して起動し、 動作電圧 + 1 2 V, - 9 V, + 5 V ( V cc) を生成し、 これらをシス テム 1 0に供給する。 電源コ ン ト ローラ 1 3は、 前記 Vccが + 5 Vとなると、 これに応答して ドライブ信号を "H" レべ ルとする (図 5 ( e ) , (g) ) 。 ドライブ信号が レ ベルとなるのに応答して D CZD Cコンバータ 146 aは動 作を停止し、 メ イ ン電源ユニ ッ ト 1 5から供給される電圧 V ccがバッ クアツプ電圧 R AMVと して出力される。 (d)). The D CZD C converter 153 is activated in response to the main drive signal becoming “H” level, and generates operating voltages +12 V, -9 V, +5 V (V cc). Is supplied to the system 10. When the Vcc reaches +5 V, the power supply controller 13 sets the drive signal to the “H” level in response to this (FIGS. 5 (e) and (g)). In response to the level of the drive signal, the D CZD C converter 146a stops operating, and the voltage V cc supplied from the main power supply unit 15 becomes the backup voltage RAMV. Is output.
その後、 電源コ ン ト ローラ 1 3は、 割り込み信号を一定時 間 " L" レベルとする。 C P U 1 1は、 この割り込み信号に 応答してサスペン ドモ一 ド時に退避したデータを所定の位置 に復帰 ( リ ス ト ア) し、 動作電圧の供給が停止される直前の 状態を再現する。 更に、 C P U 1 1はこれらの処理が終了す ると、 "L" レベルであるサスペン ドステータス信号を "H" レベル (ハイイ ン ピーダンス状態) にする (図 5 ( b ) ) 。 これによつて、 F E T 145がオフ状態となり、 A Cァダプ タ 1 5 1、 メ イ ンバッ テ リ ー 1 5 2及びサブ電源ユニッ ト 1 6から選択回路 146への電圧の供給は停止する。 図 6 (a) 〜 (h) のタイ ミ ングチャー トは、 ブー トモー ドにおけるパーソナルコ ンピュータのオン状態からオフ状態 に変化する際の各信号の状態及びタイ ミ ングを示す。 After that, the power controller 13 sets the interrupt signal to "L" level for a certain period of time. In response to the interrupt signal, the CPU 11 restores (restores) the data saved in the suspend mode to a predetermined position, and reproduces a state immediately before the supply of the operating voltage is stopped. Further, when these processes are completed, the CPU 11 sets the "L" level suspend status signal to the "H" level (high impedance state) (FIG. 5 (b)). As a result, the FET 145 is turned off, and the supply of voltage from the AC adapter 151, the main battery 152 and the sub power supply unit 16 to the selection circuit 146 is stopped. The timing charts in Figs. 6 (a) to 6 (h) show the state and timing of each signal when the personal computer changes from the on state to the off state in the boot mode.
システム 1 0に対する動作電圧の供給を停止するように電 源スィ ッチ 1 3 aが操作される (図 6 ( a ) ) 力、、 又はメイ ン電源ュニッ ト 1 6から出力される動作電圧が所定の値以下 になつた場合、 電源コ ン ト ローラ 1 3は、 前記スィ ツチ操作 又は電圧状態を検出し、 C P U 1 1に送出する割り込み信号 を一定期間 レベルとする (図 6 ( c ) ) 。 更に、 電源 コン ト ローラ 13は、 システム B I O S 1 2に動作電圧の供 耠停止を要求する システムパワーオフ リ クエス トを送信する。  The power switch 13a is operated to stop supplying the operating voltage to the system 10 (Fig. 6 (a)), or the operating voltage output from the main power unit 16 is When the voltage falls below the predetermined value, the power controller 13 detects the switch operation or the voltage state and sets the interrupt signal to be sent to the CPU 11 to the level for a certain period (FIG. 6 (c)). . Further, the power supply controller 13 transmits a system power off request requesting the system BIOS 12 to stop supplying the operating voltage.
C P U 1 1及びシステム B I O S 12は、 システムパワー オフ リ クエス ト及び割り込み信号に応答し、 レジスタ 1 1 a を参照してサスペン ドモ一 ドが設定されているか否かを判定 する。 サスペン ドモー ドが設定されていないと判断した場合、 C P U 1 1はサスペン ドステータス信号を "H" レベル (ハ ィイ ンピーダンス状態) に維持し (図 6 (b ) ) 、 システム B I 0 S 12は電源コン トローラ 13に対して動作電圧の供 給停止を許可する システムパワーオフコマン ドを出力する。  The CPU 11 and the system BIOS 12 respond to the system power off request and the interrupt signal, and refer to the register 11a to determine whether the suspend mode is set. If the CPU 11 determines that the suspend mode is not set, the CPU 11 maintains the suspend status signal at the “H” level (high impedance state) (FIG. 6 (b)), and the system BI 0 S 12 Outputs a system power off command that permits the power supply controller 13 to stop supplying the operating voltage.
電源コ ン ト ローラ 1 3は、 システムパワーオフコマン ドに 応答し、 システム 1 0に対する リ セッ ト信号を一定時間 "L" レベルとする (図 6 ( f ) ) 。 このリセッ ト信号により シス テム 1 0は初期リセッ 卜 される。  The power controller 13 responds to the system power-off command, and sets the reset signal for the system 10 to the “L” level for a certain period of time (FIG. 6 (f)). The reset signal resets the system 10 initially.
電源コ ン ト ローラ 1 3は、 システムパワーオフコマン ドを 受け取った後、 メ イ ン ドライブ信号を " L " レベルとする (図 6 ( d) ) 。 メ イ ン電源ュニッ ト 1 5の D CZD Cコ ン バータ 1 53は、 前記メ イ ン ドライブ信号に応答して動作を 停止する。 これによつて、 システム 1 0への動作電圧の供給 が停止される (図 6 ( g ) ) 。 更に、 電源コ ン ト ローラ 1 3 は、 ドライブ信号も "L" レベルとする (図 6 ( e ) :) 。 こ の ドライバ信号に応答して、 D CZD Cコンバータ 146 a が起動する。 しかし、 C P U 1 1から出力されるサスペン ドステータス信号力く " H " レベル (ハイ イ ン ピーダンス状 態) に維持され、 これによりスィ ッチング制御回路 140は F E T 14 5をオフ状態とするため、 D CZD Cコ ンバータ 146 aには A Cアダプタ 1 5 1、 メ イ ンバッテリ 1 52及 びサブ電源ュニッ ト 1 6から電圧が印加されない。 従って、 C P U 1 1及び電源コ ン ト ローラ 1 3に供給されるバッ クァ ップ電圧 R A M Vは 0 Vとなる (図 6 (h) ) 。 After receiving the system power off command, the power controller 13 sets the main drive signal to "L" level. (Fig. 6 (d)). The DCZDC converter 153 of the main power supply unit 15 stops operating in response to the main drive signal. As a result, the supply of the operating voltage to the system 10 is stopped (FIG. 6 (g)). Further, the power controller 13 also sets the drive signal to "L" level (FIG. 6 (e) :). In response to this driver signal, the DCZC converter 146a is activated. However, the suspend status signal output from the CPU 11 is maintained at the "H" level (high-impedance state), which causes the switching control circuit 140 to turn off the FET 145. No voltage is applied to the CZD C converter 146a from the AC adapter 151, the main battery 152, and the sub power supply unit 16. Therefore, the backup voltage RAMV supplied to the CPU 11 and the power controller 13 becomes 0 V (FIG. 6 (h)).
以上の動作によってブー トモ一 ドにおいて、 ノ、。一ソナルコ ンピュー夕がオフする。  By the above operation, in boot mode, One son computer evening turns off.
図 7 ( a ) 〜 ( h ) のタイ ミ ングチヤ一 トは、 サスペン ド モー ドにおけるパーソナルコンピュータのオン状態からオフ 状態に変化する際の各信号の状態及びタイ ミ ングを示す。  The timing charts in FIGS. 7A to 7H show the state and timing of each signal when the personal computer changes from the on state to the off state in the suspend mode.
システム 1 0に対する動作電圧の供給を停止するために電 源スイ ッチ 1 3 aが一定期間操作される (図 7 ( a ) 、 か、 又はメィ ン電源ュニッ ト 1 6から出力される動作電圧が所定 の値以下になつた場合、 電源コ ン トローラ 1 3は、 前記スィ ッチ操作又は電圧状態を検出し、 C P U 1 1に送出する割り 込み信号を一定期間 "L" レベルとする (図 7 ( c ) ) と共 にシステム B I 0 S 1 2にシステムパワーオフ リ クエス トを 送信する。 The power switch 13a is operated for a certain period to stop supplying the operating voltage to the system 10 (Fig. 7 (a), or the operating voltage output from the main power unit 16). When the power supply voltage falls below a predetermined value, the power supply controller 13 detects the switch operation or the voltage state and sets the interrupt signal to be sent to the CPU 11 to the “L” level for a certain period (see FIG. 7 (c)) Sends a system power off request to system BI 0 S 12.
C P U 1及びシステム B I O S 1 2は、 システムパワーォ フ リ クエス ト及び割り込み信号に応答し、 レジスタ 1 1 aを 参照してサスペン ドモ一 ドが設定されているか否かを判定す る。 サスペン ドモー ドが設定されている と判断した場合、 C P U 1 1は C P U 1 1が内蔵するレジスタ (図示せず) に 各種データ (システムデータ) を退避する。 退避処理が終了 すると、 C P U 1 1は、 サスペン ドステータス信号を "L" レベルとする (図 7 C b ) ) 。  The CPU 1 and the system BIOS 12 respond to the system power request and the interrupt signal, and refer to the register 11a to determine whether or not the suspend mode is set. If it is determined that the suspend mode is set, the CPU 11 saves various data (system data) to a register (not shown) included in the CPU 11. Upon completion of the evacuation processing, the CPU 11 sets the suspend status signal to the “L” level (FIG. 7Cb)).
電源コン ト ローラ 1 3は、 "L" レベルのサスペン ドステ —タス信号に応答して ドライブ信号を "L" レベルとする (図 7 ( e ) ) 。 割り込み信号が発生してから ドライブ信 号力《 " L " レベルとなるまでにタイムラグ T Lが生じる。 こ のタイムラグ T Lの間も、 C P U 1 1より レベルのサ スペン ドステータス信号がスィ ツチング制御回路 140に供 铪される。 このため、 F E T 145はオンする。 これにより F E T 145を介して D CZD Cコンバータ 146 aに電圧 が供給される。  The power controller 13 sets the drive signal to the “L” level in response to the “L” level suspend status signal (FIG. 7 (e)). A time lag T L occurs from the time the interrupt signal is generated until the drive signal level becomes “L” level. During this time lag TL, a suspend status signal of a level higher than CPU11 is supplied to the switching control circuit 140. For this reason, FET145 turns on. As a result, a voltage is supplied to the DCZDC converter 146a via the FET 145.
従って、 このタイムラグの間、 電源コン トローラ 1 3から 送出される レベルの ドライ ブ信号に応答して D C / D Cコ ンバータ 1 4 6 aが動作し、 これによ り選択回路 1 4 6よりバッ クア ップ電圧 R A M V (+ 5 V) 力《 C P U 1 1、 電源コ ン ト ローラ 1 3及びスイ ッ チング制御回路 140に供給される (図 7 (h) ) 。 又、 電源コ ン ト ローラ 1 3は、 ドライブ信号を レべ ルとすると共にメイ ン ドライブ信号をも " L " レベルとするTherefore, during this time lag, the DC / DC converter 1466a operates in response to the drive signal of the level sent from the power supply controller 13 to thereby perform the backup from the selection circuit 1446. Step voltage RAMV (+5 V) Power << Supplied to CPU 11, power controller 13 and switching control circuit 140 (Fig. 7 (h)). In addition, the power controller 13 sets the drive signal to the level and the main drive signal to the "L" level.
(図 7 ( d ) ) 。 メ イ ン電源ユニッ ト 1 5の D C ZD Cコ ン バー夕 1 53は、 レベルのメ イ ン ドライブ信号に応答 して動作を停止する。 これによ つて、 メ イ ン電源ユニッ ト 1 5からシステム 1 0への動作電圧の供給が停止する (図 7(Fig. 7 (d)). The DCZDC converter 153 of the main power supply unit 15 stops operating in response to the level main drive signal. This stops the supply of operating voltage from the main power supply unit 15 to the system 10 (Fig. 7
(g) ) 。 (g)).
C P U 1 1から出力されるサスペン ドステータス信号は、 " L " レベルに維持されるため、 C P U 1 1、 電源コ ン ト ローラ 1 3及びスィ ツ チ ング制御回路 1 4 0に供給される R AMVは + 5 Vに維持される。  Since the suspend status signal output from the CPU 11 is maintained at "L" level, the R AMV supplied to the CPU 11, the power controller 13 and the switching control circuit 140 is supplied. Is maintained at +5 V.
以上詳記したようにこの発明によれば、 電源管理機能を有 する C P Uが適用される電子機器において、 F E T等の素子 により構成されるスィ ツチング回路と、 サスペン ドモー ドの 設定を検出する電源コ ン ト ローラ とによってサスペン ドモー ド及びブー トモ一ド用の処理及び電源電圧の制御を確実に実 行することが可能となる。 又、 この発明により無駄な電源電 圧の消費を低減することができる。  As described above in detail, according to the present invention, in an electronic device to which a CPU having a power management function is applied, a switching circuit including an element such as an FET and a power supply for detecting a setting of a suspend mode are provided. The controller makes it possible to reliably execute processing for the suspend mode and the boot mode and control the power supply voltage. Further, according to the present invention, useless consumption of power supply voltage can be reduced.
尚、 前記 C P U 1 1 と しては、 例えばィ ンテル社の開発し た 386 S Lと して知られている 1チップマイ ク ロプロセッ サ及ぴそれと同等の機能を有するものを利用することができ o  As the CPU 11, for example, a one-chip microprocessor known as 386 SL developed by Intel Corporation and a CPU having the same function can be used.
更に、 従来、 前記電子機器に動作電圧が供給されていない 状態、 即ち電子機器がオフ状態である時、 電源装置をバーソ ナルコンピュータ本体から着脱した場合に生じる C P Uの暴 走等を防止することも可能である。 Further, in the related art, when the operating voltage is not supplied to the electronic device, that is, when the electronic device is in an off state, when the power supply unit is detached from the personal computer main unit, the CPU may be damaged. It is also possible to prevent running and the like.
例えば、 ブー トモー ド、 且つパーソナルコ ンピュータがォ フの状態で、 コ ンビユ ータの本体からメ イ ンバッテリ 1 52 が取り外されたと仮定する (尚、 A Cアダプタ 1 5 1は外部 交流電源装置に接続されていないとする) 。 この状態では、 C P U 1 1の出力するサスペン ドステータス信号は、 "H" レベル (ハイイ ンピーダンス状態) であり、 F E T 145は オフである。 このため、 メイ ン電源ュニッ ト 1 5の着脱にか かわらず、 D CZD Cコンバータ 146 aに電圧は供給され ず、 バックアップ電圧 R A MVは 0 Vを維持する。  For example, assume that the main battery 152 is removed from the main body of the computer in the boot mode and the personal computer is turned off. (Note that the AC adapter 151 is connected to the external AC power supply.) If not). In this state, the suspend status signal output from the CPU 11 is at the "H" level (high impedance state), and the FET 145 is off. Therefore, regardless of whether the main power supply unit 15 is attached or detached, no voltage is supplied to the DCZDC converter 146a, and the backup voltage RAMV maintains 0 V.
次に、 サスペン ドモー ド、 且つノヽ0—ソナルコ ン ピュータ がオフの状態で、 コ ンピュータの本体からメイ ンバッテリ 1 52が取り外されたと仮定する。 サスペン ドモー ド、 且つ パーソナルコンピュータがォフの状態では、 C P U 1 1の出 力するサスペン ドステータス信号は、 "L" レベルであり、 従って F E T 14 5はオ ンである。 このため、 D CZD C コ ンバータ 1 46 aに電圧が供給され、 バッ クアツプ電圧 RAMVは 5 Vである。 この状態で、 メ イ ン電源ユニッ ト 1 5が取り外されると、 レギユレ一タ 1 3 cへの電圧の供給 が停止し、 電源コン トローラ 1 3の電源端子はレギュレー夕 1 3 Cを介して接地され、 電源コン トローラ 13の動作は停 止する。 しかし、 サスペン ドステータス信号は "L" レベル が維持され、 F E T 145はオンのままである。 更に、 ドラ イブ信号は レベルのままであり、 D CZD Cコ ンバー タ 146 aはバックアップ電圧 RAM Vを出力し続ける。 又、 電源コ ン トロ一ラ 1 3の動作時に、 電源コントローラ 1 3の モニタ端子に供給されていたバッ クアツプ電圧 RAM Vは、 逆流防止ダイォ一 ド 1 3 dを介してレギユ レ一夕 1 3 cに供 給される。 そして、 バッ クアップ電圧 RAM Vは、 レギユ レ —タ 1 3 c内で接地される。 Next, it is assumed that the main battery 152 is removed from the main body of the computer in the suspend mode and the computer 0 is turned off. In the suspend mode and when the personal computer is off, the suspend status signal output from the CPU 11 is at the “L” level, and the FET 145 is on. Therefore, a voltage is supplied to the DCZDC converter 146a, and the backup voltage RAMV is 5V. In this state, when the main power supply unit 15 is removed, the supply of voltage to the regulator 13c stops, and the power supply terminal of the power supply controller 13 is grounded via the regulator 13C. Then, the operation of the power supply controller 13 stops. However, the suspend status signal remains at "L" level, and FET 145 remains on. Further, the drive signal remains at the level, and the DCZDC converter 146a continues to output the backup voltage RAMV. or, During the operation of the power controller 13, the backup voltage RAM V supplied to the monitor terminal of the power controller 13 is applied to the regulator 13 c via the backflow prevention diode 13 d. Supplied. The backup voltage RAM V is grounded in the regulator 13c.
この状態で、 メィ ン電源ュニッ ト 1 5が再び取り付けられ ると、 レギユレ一夕 1 3 cへの電圧の供給が再開し、 レギュ レー夕 1 3 Cは電源コ ン ト ロ一ラ 1 3の電源端子に動作電圧 を供給する。 同時に、 バッ クアツプ電圧 RAM Vは、 電源コ ン ト ローラ 1 3のモニタ端子に供給される。 電源コ ン ト 口 —ラ 1 3は動作を開始し、 モニタ端子にバッ クァップ電圧 R A M Vが供給されていることを検出し、 C P U 1 1がサス ペンドモ一 ドであると判定する。 電源コン トローラ 13は、 サスペン ドモ一 ド設定の判定に応答して ドライブ信号を " L ' レベルと し、 これにより D C/D Cコ ンバータ 146 aはバ ッ クアツプ電圧 RAM Vを出力し続ける。  In this state, when the main power supply unit 15 is attached again, the supply of voltage to the regulator 13c resumes, and the regulator 13C is connected to the power controller 13 Supply operating voltage to power supply terminal. At the same time, the backup voltage RAM V is supplied to the monitor terminal of the power controller 13. Power supply port —Laser 13 starts operating, detects that backup voltage R AMV is supplied to the monitor terminal, and determines that CPU 11 is in the suspend mode. The power controller 13 sets the drive signal to the “L” level in response to the determination of the suspend mode setting, whereby the DC / DC converter 146a keeps outputting the backup voltage RAMV.
又、 システム 1 0内に設けられた、 図示しないリアルタイ ムク ロ ッ ク ( R T C ) のタイマ処理により、 システム 1 0に 対して動作電圧の供給を開始する場合にも、 この発明を適用 する こ とができる。  The present invention can also be applied to the case where the supply of the operating voltage to the system 10 is started by a real-time clock (RTC) timer process (not shown) provided in the system 10. Can be.
又、 電源コン ト ローラ 1 3に上述した所定の処理がなされ ているか監視する監視機構を設けるこ とにより、 より確実な 電源電圧供給の制御が可能となる。 例えば、 サスペン ドス テ一タス信号が " L " レベルであ る時、 バッ ク ア ッ プ電圧 R A M Vが 0 Vである場合や、 電源コ ン トローラ 1 3から出 力される割り込み信号に応答して C P U 1 1がレジューム処 理を行なつた後、 C P U 1 1から送られるサスペン ドステー タス信号が レベル (ハイイ ンピーダンス状態) も しく は " L " レベルに変化しない場合、 電源コン トロ一ラ 1 3は- エラー発生と判定し、 システム 1 0に対する電源電圧の供給 を直ちに停止するか、 あるいは C P U 1 1にレジュ一ム処理 を要求し、 レジユーム処理終了後にシステム 1 0に対する電 源電圧の供給を停止する等のエラ一処理を行なう。 産業上の利用可能性 Further, by providing the power supply controller 13 with a monitoring mechanism for monitoring whether or not the above-described predetermined processing is performed, more reliable control of the power supply voltage can be performed. For example, when the suspend status signal is at the “L” level, when the backup voltage RAMV is 0 V, or when the power supply When the CPU 11 performs the resume processing in response to the input interrupt signal, and the suspend status signal sent from the CPU 11 does not change to the level (high impedance state) or the "L" level The power supply controller 13 determines that an error has occurred and immediately stops supplying power to the system 10 or requests the CPU 11 to resume processing, and after the resuming processing is completed, the power supply controller 13 resumes processing. Error processing such as stopping supply of power supply voltage to Industrial applicability
以上詳記したようにこの発明によれば、 電源管理機能を有 する C P ϋが適用される電子機器において、 F E T等の素子 により構成されるスイ ッチング回路と、 サスペン ドモー ドの 設定を検出する電源コ ン ト ローラとによってサスペン ドモー ド及びブー トモ一 ドの処理及び電源電圧の供給制御を確実に 実行することが可能となる。  As described above in detail, according to the present invention, in an electronic device to which a CP having a power management function is applied, a switching circuit including an element such as an FET and a power supply for detecting a setting of a suspend mode are provided. The controller makes it possible to reliably execute the suspend mode and the boot mode processing and control the supply of the power supply voltage.
更に、 従来、 前記電子機器に動作電圧が供給されていない 状態、 即ち電子機器がオフ状態である時、 電源装置をパーソ ナルコンピュータ本体から着脱した場合に生じる C P Uの暴 走等を防止することも可能である。  Further, conventionally, when the operating voltage is not supplied to the electronic device, that is, when the electronic device is in an off state, it is possible to prevent runaway of the CPU which occurs when the power supply device is detached from the personal computer main body. It is possible.
従って、 この発明に係る電源制御システムは、 リ ジューム 機能及び電源管理機能を有する C P Uが適用された電子機器 等の電源制御に有効である。  Therefore, the power supply control system according to the present invention is effective for power supply control of an electronic device or the like to which a CPU having a resume function and a power supply management function is applied.

Claims

請求の範囲  The scope of the claims
1 , メ イ ン電源装置 ( 1 5 ) とサブ電源装置 ( 1 6 ) とを有 するデータ処理装置 ( 1 0 ) の電源制御システムにおいて、 前記データ処理装置 ( 1 0 ) への動作電圧の供給又は供給 停止を指示する電源スィ ッ チ ( 1 3 a ) を有し、 前記電源 スィ ッ チ ( 1 3 a ) の操作に応答して前記メ イ ン電源装置1, in a power supply control system of a data processing device (10) having a main power supply device (15) and a sub power supply device (16), supply of an operating voltage to the data processing device (10); Or a power switch (13a) for instructing a stop of the supply, and the main power supply device responding to the operation of the power switch (13a).
( 1 5 ) 又は前記サブ電源装置 ( 1 6 ) のいずれか一方を選 択するための選択信号を出力し、 前記電源スィ ッチ ( 1 3 a ) の操作が前記データ処理装置 ( 1 0 ) に対して動作電圧の供 給停止を指示する場合、 出力停止信号を出力する制御手段(15) or a selection signal for selecting one of the sub power supply devices (16), and the operation of the power switch (13a) is performed by the data processing device (10). Control means that outputs an output stop signal when instructing the
( 1 3 ) と、 (1 3) and
前記制御手段 ( 1 3 ) から出力される前記選択信号に応答 .し、 前記メ イ ン電源装置 ( 1 5 ) と前記サブ電源装置 ( 1 6 ) の出力する電圧の一方を選択して出力する選択手段 ( 14 6 ) と、 ―  In response to the selection signal output from the control means (13), one of the voltages output from the main power supply (15) and the sub power supply (16) is selected and output. Selection means (146), and-
サスペン ドモー ドの設定有無を示すデータを記憶する記憶 手段 ( 1 1 a ) を有し、 前記制御手段 ( 1 3 ) から出力され る出力停止信号に応答して前記記億手段 ( 1 1 a ) を参照し、 サスペン ドモ一 ドの設定の有無を判定し、 このサスペン ドモ 一 ドの設定に応じたスィ ツチング信号を出力する処理手段 ( 1 1 ) と、  Storage means (11a) for storing data indicating whether or not the suspend mode has been set, and said storage means (11a) in response to an output stop signal output from said control means (13) Processing means (11) for determining whether or not the suspend mode is set, and outputting a switching signal in accordance with the setting of the suspend mode;
前記処理手段 ( 1 1 ) から出力される前記スィ ッチング信 号に応答して前記サブ電源装置 ( 1 6 ) から前記選択手段 ( 1 4 6 ) への電力の供給をオン オフ制御するスィ ッチン グ手段 ( 145) とを具備する電源制御システム。 A switch for controlling on / off of the supply of power from the sub power supply (16) to the selection means (146) in response to the switching signal output from the processing means (11). Power supply control system comprising:
2. 前記メ イ ン電源装置 ( 1 5) は、 前記データ処理装置 ( 1 0) に着脱可能な A Cアダプタ (1 51) と、 バッテリ ( 1 52) 及び前記 A Cアダプタ (1 51 ) 又は前記バッテ リ ( 1 5 2) の出力電圧を変圧する第 1のコ ンバータ手段 ( 1 53) を有する請求の範囲第 1項記載の電源制御システ ム0 2. The main power supply (15) includes an AC adapter (151) detachable from the data processor (10), a battery (152) and the AC adapter (151) or the battery. Li (1 5 2) first converter means power control system according claim 1, wherein having (1 53) for transforming the output voltage of 0
3. 前記制御手段 ( 1 3) は、 前記処理手段 ( 1 1 ) から出 力されるスィ ッチング信号に応答して前記第 1のコ ンバータ 手段 (1 53) のオン Zオフを指示する ドライブ信号を出力 し、  3. The control means (13) is a drive signal for instructing the first converter means (153) to turn on and off in response to a switching signal output from the processing means (11). And output
前記第 1のコ ンバータ手段 ( 1 5 3) は、 前記制御手段 (1 3) から出力される前記ドライプ信号に応答して ONZ 0 F F制御される請求の範囲第 2項記載の電源制御システム。 3. The power supply control system according to claim 2, wherein said first converter means (153) is ONZ0FF controlled in response to said drive signal output from said control means (13).
4. 前記処理手段 (1 1 ) は、 前記データ処理装置 ( 1 0) への動作電圧の供給が停止している際に所定データを保持す るように、 前記選択手段 ( 146) から電圧を供給される請 求の範囲第 3項記載の電源制御システム。 4. The processing means (11) outputs a voltage from the selection means (146) so as to hold predetermined data when supply of the operating voltage to the data processing device (10) is stopped. The power supply control system according to claim 3, which is the scope of the request to be supplied.
5. 前記サブ電源装置 ( 1 6 ) は、 前記データ処理装置 (1 0) に内蔵され、  5. The sub power supply (16) is built in the data processor (10),
前記選択手段 (146) は、 前記サブ電源装置 (1 6) の 出力電圧を変圧する第 2のコ ンバータ手段 (146 a) を有 する請求の範囲第 4項記載の電源制御システム。  The power supply control system according to claim 4, wherein said selection means (146) includes second converter means (146a) for transforming an output voltage of said sub power supply device (16).
PCT/JP1992/001254 1991-09-30 1992-09-30 Power supply control system WO1993007556A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP3278601A JPH0594236A (en) 1991-09-30 1991-09-30 Power source controller
JP3/278601 1991-09-30

Publications (1)

Publication Number Publication Date
WO1993007556A1 true WO1993007556A1 (en) 1993-04-15

Family

ID=17599545

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1992/001254 WO1993007556A1 (en) 1991-09-30 1992-09-30 Power supply control system

Country Status (3)

Country Link
JP (1) JPH0594236A (en)
DE (1) DE4293171T1 (en)
WO (1) WO1993007556A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457248A (en) * 2019-08-07 2019-11-15 深圳市兴威帆电子技术有限公司 A method of improving the reliability of real-time timepiece chip serial data transmission

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5513359A (en) * 1993-07-23 1996-04-30 International Business Machines Corporation Desktop computer having a single-switch suspend/resume function
TWI427471B (en) * 2011-07-28 2014-02-21 Quanta Comp Inc Rack server system and operation method thereof
TWI454092B (en) 2011-09-29 2014-09-21 Quanta Comp Inc Server cluster and control mechanism
CN114379809A (en) * 2014-08-08 2022-04-22 深圳市大疆创新科技有限公司 Unmanned vehicles energy supply station
WO2016019567A1 (en) 2014-08-08 2016-02-11 SZ DJI Technology Co., Ltd. Systems and methods for uav battery exchange
WO2016078093A1 (en) 2014-11-21 2016-05-26 SZ DJI Technology Co., Ltd. System and method for managing unmanned aerial vehicles

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0327419A (en) * 1989-06-23 1991-02-05 Toshiba Corp Personal computer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1545169A (en) * 1977-09-22 1979-05-02 Burroughs Corp Data processor system including data-save controller for protection against loss of volatile memory information during power failure
DE10332078B3 (en) * 2003-07-11 2005-01-13 Technische Universität Braunschweig Carolo-Wilhelmina Machining a workpiece made from a titanium-based alloy comprises heating the workpiece in a hydrogen-containing atmosphere, cooling, machining, and heating in a hydrogen-free atmosphere to dissolve the hydrogen

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0327419A (en) * 1989-06-23 1991-02-05 Toshiba Corp Personal computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457248A (en) * 2019-08-07 2019-11-15 深圳市兴威帆电子技术有限公司 A method of improving the reliability of real-time timepiece chip serial data transmission

Also Published As

Publication number Publication date
DE4293171T1 (en) 1993-11-18
JPH0594236A (en) 1993-04-16

Similar Documents

Publication Publication Date Title
JP2747971B2 (en) Power supply device for portable information processing equipment and driving method thereof
US5664203A (en) Peripheral device input-initiated resume system for combined hibernation system and back-up power supply for computer
JP5562486B2 (en) Computer system, method and computer program product for programming a real time clock
US9444456B2 (en) Circuit and method for powering an integrated circuit having first and second power regulators respectively configured and arranged to provide regulated power at main and standby power levels
JP2004508126A (en) Portable ultrasound system with battery backup for effective shutdown and restart
JP2004508125A (en) Portable ultrasound system with effective shutdown and startup functions
JP2001178018A (en) Power supply controller, method of controlling power supply, and storage medium
JPH07200093A (en) Equipment and method for management of electric power of computer system
JP2983111B2 (en) Electrical equipment
US6408397B1 (en) Using RTC wake-up to enable recovery from power failures
US8250406B2 (en) Operational state preservation in the absence of AC power
JPS61288725A (en) Power source control system for electronic equipment
US6275947B1 (en) Control circuit and method to wake up or turn on computer via peripheral device
US6272630B1 (en) Method and device for reserving wake-up functions of computer system after power loss
WO1993007556A1 (en) Power supply control system
JP2001103740A (en) Power source circuit
US7251738B2 (en) Method of remotely controlling power to an information handling system via a peripheral bus after a loss of power
JP5281625B2 (en) Computer reset method and computer
JP3202695B2 (en) Electronics
JP2007503057A (en) Power management in AC power shortage
JP2002041189A (en) Unintegruptible power supply device
WO2012126345A1 (en) Computer startup method, startup apparatus, state transition method, and state transition apparatus
JP2007503055A (en) Power button and device activation event processing method without AC power
JP2001175364A (en) Power supply circuit
JP2947693B2 (en) Power supply

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): DE US

ENP Entry into the national phase

Ref document number: 1993 66010

Country of ref document: US

Date of ref document: 19930913

Kind code of ref document: A

RET De translation (de og part 6b)

Ref document number: 4293171

Country of ref document: DE

Date of ref document: 19931118

WWE Wipo information: entry into national phase

Ref document number: 4293171

Country of ref document: DE