KR20060056643A - Method and apparatus for power management on computer system - Google Patents
Method and apparatus for power management on computer system Download PDFInfo
- Publication number
- KR20060056643A KR20060056643A KR1020040095802A KR20040095802A KR20060056643A KR 20060056643 A KR20060056643 A KR 20060056643A KR 1020040095802 A KR1020040095802 A KR 1020040095802A KR 20040095802 A KR20040095802 A KR 20040095802A KR 20060056643 A KR20060056643 A KR 20060056643A
- Authority
- KR
- South Korea
- Prior art keywords
- cpu
- clock
- mode
- signal
- power saving
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/08—Clock generators with changeable or programmable clock frequency
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3243—Power saving in microcontroller unit
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
컴퓨터 시스템의 전원 관리 방법 및 장치가 제공된다. A method and apparatus for power management of a computer system is provided.
본 발명의 실시예에 따른 컴퓨터 시스템의 전원 관리 방법은, 컴퓨터 사용 환경에 따른 절전 모드 및 상기 절전 모드 적용 시간을 선택적으로 설정하는 단계, 입력부를 통한 신호 입력 여부에 따라 상기 절전 모드와 관련된 인터럽트 신호를 발생시키는 단계, 상기 인터럽트 신호에 따라, 현재 CPU가 낮은 CPU 클럭 모드로 동작하고 있는지를 판단하는 단계, 상기 판단 결과에 따라 클럭 제어부를 제어하여, 상기 CPU의 동작 모드를 낮은 CPU 클럭 모드로 전환하는 단계; 및 타이머부를 이용하여 상기 절전 모드 적용 시간을 카운트하고, 상기 카운트 결과에 따라 상기 CPU의 동작 모드를 상기 낮은 CPU 클럭 모드로 유지하는 단계를 포함한다.According to an embodiment of the present invention, a power management method of a computer system may include selectively setting a power saving mode according to a computer usage environment and a power saving mode application time, and an interrupt signal related to the power saving mode according to whether a signal is input through an input unit. Determining whether the current CPU is operating in a low CPU clock mode according to the interrupt signal, and controlling a clock controller according to the determination result to switch the operation mode of the CPU to a low CPU clock mode. Doing; And counting the power saving mode application time using a timer unit, and maintaining the operation mode of the CPU in the low CPU clock mode according to the count result.
중앙처리부(CPU), 클럭(clock), 컴퓨터, 전원 관리(power management)Central Processing Unit (CPU), clock, computer, power management
Description
도 1은 종래 컴퓨터 시스템에서의 전원 관리 방법을 흐름도로 나타낸 것이다.1 is a flowchart illustrating a power management method in a conventional computer system.
도 2는 본 발명의 실시예에 따른 컴퓨터 시스템에서, 전원 관리 장치의 구조를 나타낸 것이다.2 illustrates a structure of a power management device in a computer system according to an embodiment of the present invention.
도 3은 본 발명의 실시예에 따른 컴퓨터 시스템의 전원 관리 방법을 흐름도로 나타낸 것이다.3 is a flowchart illustrating a power management method of a computer system according to an exemplary embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
200 : 컴퓨터 시스템200: computer system
210 : CPU210: CPU
220 : 클럭 공급부220: clock supply unit
230 : 클럭 제어부230: clock control unit
240 : 입력부240: input unit
250 : 바이오스250 bios
본 발명은 전원 관리에 관한 것으로, 보다 상세하게는 컴퓨터 시스템의 전원 관리 방법 및 장치에 관한 것이다.The present invention relates to power management, and more particularly, to a power management method and apparatus for a computer system.
컴퓨터 시스템은 일반적으로 도즈 모드(Doze Mode), 스탠바이 모드(Stand By Mode), 서스팬드 모드(Suspend Mode), 하드디스크 파워 다운(HDD Power Down) 등과 같이 4단계의 절전 모드를 제공한다. Computer systems typically provide four power-saving modes: Doze Mode, Stand By Mode, Suspend Mode, and HDD Power Down.
4단계의 절전 모드에 대하여 살펴보면 다음과 같다. 먼저, 도즈 모드(Doze Mode)는 CPU의 속도 즉, CPU에 공급되는 클럭 수를 떨어뜨려 전력 소비를 줄이는 단계로, CPU 외의 다른 장치는 원래대로 동작시킨다. 스탠바이 모드(Standby Mode)는 하드디스크 및 모니터의 전원을 끄고, 나머지 장치들은 원래 속도대로 움직이는 단계이다. 서스팬드 모드(Suspend Mode)는 설정된 시간 예를 들어, 1분~1시간의 시간이 지나면, CPU를 제외한 모든 장치의 전원을 자동으로 차단하여 전력 소비를 줄이는 단계이다. 이에 비해, 하드디스크 파워 다운(HDD Power Down)은 하드디스크의 디스크 회전이 정지하여 전력 소비를 줄이는 단계이다. The power saving mode of step 4 is as follows. First, the doze mode is a step of reducing power consumption by reducing the speed of the CPU, that is, the number of clocks supplied to the CPU, and allowing devices other than the CPU to operate as they are. Standby mode turns off hard disks and monitors, and the rest of the devices move at their original speed. The suspend mode is a step in which power consumption is reduced by automatically shutting down all devices except the CPU after a set time, for example, 1 minute to 1 hour. In contrast, HDD power down is a step in which the rotation of the disk of the hard disk is stopped to reduce power consumption.
한편, 사용자는 CMOS 셋업에서 전원 관리 기능의 사용 여부를 설정할 수 있는데, 일반적으로 Max Saving, Min Saving, User Define의 세 가지 항목을 제공한다. 여기서, Max Saving은 도즈 모드, 스탠바이 모드, 서스팬드 모드, 하드디스크 파워 다운 모드의 순서로 절전 상태에 들어가는데, 각 단계는 1분 간격으로 진행된다. Min Saving은 하드디스크를 제외한 모든 장치에 1시간 간격으로 절전 모드가 설정되는 항목이고, User Define은 절전 단계에 돌입하는 시간을 사용자 임의로 설 정할 수 있는 항목이다. 운영체제 예를 들어, 윈도우가 제공하는 절전 관리 기능을 이용하려면, COMS 셋업의 전력 관리 메뉴(Power Management Setup)에서 위의 세 가지 항목 중 하나를 선택해야 한다.On the other hand, the user can set whether to use the power management function in CMOS setup. Generally, three items are provided: Max Saving, Min Saving, and User Define. Here, Max Saving enters a power saving state in the following order: dose mode, standby mode, suspend mode, hard disk power down mode, and each step is performed at 1 minute intervals. Min Saving is an item in which power saving mode is set in every hour except for hard disks, and User Define is an item in which user can arbitrarily set the time to enter the power saving step. Operating system For example, to use the power saving management function provided by Windows, you have to select one of the above three items in the Power Management Setup of COMS Setup.
도 1은 전술한 바와 같은 전원 관리 모드가 실행되는 과정을 흐름도로 나타낸 것이다. 컴퓨터 시스템이 정상적으로 동작하고 있는 경우, CPU는 클럭 공급부로부터 클럭 신호를 공급받아 동작한다(S110). 예를 들어, 컴퓨터 시스템에 1.8GHz로 동작 가능한 CPU가 사용되었다면, CPU에 1.8GHz의 클럭이 공급될 수 있도록 한다. 이 후, 바이오스는 키보드나 마우스로부터 일정 시간동안 입력되는 신호가 없었는지를 판단한다(S120). 1 is a flowchart illustrating a process of executing a power management mode as described above. When the computer system is operating normally, the CPU operates by receiving a clock signal from the clock supply unit (S110). For example, if a CPU capable of operating at 1.8 GHz is used in a computer system, the CPU can be supplied with a clock of 1.8 GHz. Thereafter, the BIOS determines whether there is no signal input for a predetermined time from the keyboard or the mouse (S120).
판단 결과, 키보드나 마우스로부터 신호 입력이 있었다면, 바이오스는 CPU에 정상적인 클럭이 공급되도록 하여, 컴퓨터 시스템이 정상 모드로 동작할 수 있도록 한다(S110). 판단 결과, 키보드나 마우스로부터 신호 입력이 없다면, 사용자가 컴퓨터를 사용하지 않는다고 판단하여 전원 관리 모드를 실행한다(S130). 전원 관리 모드가 실행되면, CPU에 공급되는 클럭의 속도를 줄여 CPU의 동작 속도가 감소시키고, 이로써 전력 소모를 줄인다(S140). 이 후, 마우스나 키보드로부터 신호가 입력되면(S150), 컴퓨터 시스템은 전원 관리 모드에서 깨어나 다시 정상 모드로 작동하게 된다(S110).As a result of the determination, if there is a signal input from the keyboard or the mouse, the BIOS enables the normal clock to be supplied to the CPU, so that the computer system can operate in the normal mode (S110). As a result of the determination, if there is no signal input from the keyboard or the mouse, it is determined that the user does not use the computer to execute the power management mode (S130). When the power management mode is executed, the operation speed of the CPU is reduced by reducing the speed of the clock supplied to the CPU, thereby reducing power consumption (S140). Thereafter, when a signal is input from the mouse or the keyboard (S150), the computer system wakes up from the power management mode and operates again in the normal mode (S110).
그러나 종래 컴퓨터 시스템의 전원 관리 방법은, 소정의 시간 동안 입력 장치 예를 들어, 키보드나 마우스를 통한 입력이 없는 경우에만 전원 관리 모드로 전환된다. 다시 말해, 컴퓨터 시스템을 사용하고 있는 중에는 컴퓨터가 어떠한 동작 을 하고 있느냐에 상관 없이, CPU는 최대로 동작하게 된다.However, the power management method of the conventional computer system switches to the power management mode only when there is no input through an input device, for example, a keyboard or a mouse, for a predetermined time. In other words, no matter what your computer is doing while the computer system is in use, the CPU will run at its maximum.
따라서 키보드를 이용한 타이핑 작업이나 마우스를 이용한 간단한 입력 작업 등과 같이, CPU의 최소 동작 환경에서도 정상적으로 동작 가능한 경우에도 CPU를 최대로 동작시키게 되므로, 불필요한 전력 소비가 발생한다는 문제점이 있다. Therefore, since the CPU is operated to the maximum even when the CPU is normally operated even in the minimum operating environment of the CPU, such as a typing operation using a keyboard or a simple input operation using a mouse, there is a problem in that unnecessary power consumption occurs.
본 발명은 상기한 문제점을 개선하기 위해 안출된 것으로, 입력 신호의 유무에 따라 CPU에 공급되는 클럭을 제어하여 컴퓨터 시스템의 전원을 관리할 수 있는 방법 및 장치를 제공하는데 목적이 있다. SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a method and apparatus capable of managing a power supply of a computer system by controlling a clock supplied to a CPU according to the presence or absence of an input signal.
그러나 본 발명의 목적들은 상기에 언급된 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다. However, the objects of the present invention are not limited to the above-mentioned objects, and other objects not mentioned will be clearly understood by those skilled in the art from the following description.
상기 목적을 달성하기 위하여 본 발명의 실시예에 따른 컴퓨터 시스템의 전원 관리 장치는, 사용자의 명령을 입력 받아 입력 신호를 발생하는 입력부, 상기 입력 신호에 따라 인터럽트 신호를 발생하는 인터럽트 발생부 및 상기 인터럽트 신호에 따라, 클럭 제어부에서 제공되는 복수개의 CPU 클럭 스로틀 비율들 중에서 어느 하나의 CPU 스로틀 비율을 선택하고, 상기 선택된 CPU 스로틀 비율에 따른 클럭이 상기 CPU에 공급되도록 하여 상기 CPU의 동작 모드를 낮은 CPU 클럭 모드로 전환하는 바이오스를 포함한다.In order to achieve the above object, a power management apparatus of a computer system according to an embodiment of the present invention includes an input unit for generating an input signal by receiving a user's command, an interrupt generator for generating an interrupt signal according to the input signal, and the interrupt According to the signal, a CPU throttle ratio of any one of the plurality of CPU clock throttle ratios provided by the clock control unit is selected, and the clock according to the selected CPU throttle ratio is supplied to the CPU to lower the operation mode of the CPU BIOS to switch to clock mode.
또 상기 목적을 달성하기 위하여 본 발명의 실시예에 따른 컴퓨터 시스템의 전원 관리 방법은, 컴퓨터 사용 환경에 따른 절전 모드 및 상기 절전 모드 적용 시간을 선택적으로 설정하는 단계, 입력부를 통한 신호 입력 여부에 따라 상기 절전 모드와 관련된 인터럽트 신호를 발생시키는 단계, 상기 인터럽트 신호에 따라, 현재 CPU가 낮은 CPU 클럭 모드로 동작하고 있는지를 판단하는 단계, 상기 판단 결과에 따라 클럭 제어부를 제어하여, 상기 CPU의 동작 모드를 낮은 CPU 클럭 모드로 전환하는 단계 및 타이머부를 이용하여 상기 절전 모드 적용 시간을 카운트하고, 상기 카운트 결과에 따라 상기 CPU의 동작 모드를 상기 낮은 CPU 클럭 모드로 유지하는 단계를 포함한다.In addition, in order to achieve the above object, a power management method of a computer system according to an embodiment of the present invention comprises the steps of selectively setting a power saving mode and a power saving mode application time according to a computer usage environment, depending on whether a signal is input through an input unit; Generating an interrupt signal related to the power saving mode, determining whether the current CPU is operating in a low CPU clock mode according to the interrupt signal, controlling a clock controller according to the determination result, and operating mode of the CPU Switching to a low CPU clock mode and counting the power saving mode application time using a timer unit, and maintaining an operation mode of the CPU in the low CPU clock mode according to the count result.
기타 실시예들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있으며, 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다.Specific details of other embodiments are included in the detailed description and drawings, and the advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings.
그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.However, the present invention is not limited to the embodiments disclosed below, but may be embodied in various different forms, and the present embodiments merely make the disclosure of the present invention complete and common knowledge in the technical field to which the present invention belongs. It is provided to fully inform the person having the scope of the invention, which is defined only by the scope of the claims. Like reference numerals refer to like elements throughout.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 2는 본 발명의 실시예에 따른 컴퓨터 시스템(200)의 구조를 도시한 것이다. 이를 참조하여 본 발명의 실시예에 따른 컴퓨터 시스템을 설명하면 다음과 같 다. 2 illustrates a structure of a
본 발명의 실시예에 따른 컴퓨터 시스템(200)은 입력부(240), 클럭 공급부(220), 바이오스(Basic Input Ouput System, BIOS)(250), 인터럽트 발생부(280), 클럭 제어부(230), CPU(210), 메모리부(270) 및 타이머부(260)를 포함한다. The
입력부(240)는 사용자의 명령을 입력 받아 입력 신호를 발생하는 부분으로 키보드, 마우스 중에서 적어도 하나 이상으로 구성될 수 있다. 키보드에는 다수의 키가 구비되며, 사용자에 의해 인가되는 경우, 각각의 키는 소정의 키신호를 발생시킨다. 마우스의 경우, 휠의 움직임이나 마우스의 움직임 및 좌우 버튼 클릭에 따라 입력 신호가 발생된다. The
클럭 공급부(220)는, 컴퓨터 시스템(200)에 전원이 공급되면, 일정한 주기의 클럭을 발생시켜 CPU(210)에 제공한다. 예를 들어, 컴퓨터 시스템(200)에 1.8GHz의 클럭으로 동작하는 CPU(210)가 사용된 경우, 클럭 공급부(220)는 1.8GHz의 클럭을 발생시켜, CPU(210)에 공급한다. When power is supplied to the
다음으로, 본 발명의 실시예에 따른 바이오스(250)는 컴퓨터의 사용 환경에 따른 절전 모드 및 상기 절전 모드의 적용 시간을 제공하는 것이 바람직하다. 즉, 현재 CMOS 셋업에서 제공되는 Max Saving, Min Saving, User Define 등의 절전 모드 외에 컴퓨터 사용 환경에 따른 절전 모드를 제공하여, 컴퓨터 사용 환경에 따른 절전 모드의 설정 및 상기 절전 모드의 적용 시간 등을 사용자가 선택적으로 설정할 수 있도록 한다. Next, the
이렇게 사용자의 선택에 따라 컴퓨터 사용 환경에 따른 절전 모드가 설정된 경우, 컴퓨터 시스템(200)이 부팅되면, 바이오스(250)는 인터럽트 신호 요청 커맨드(comand)를 인터럽트 발생부(280)에 전달한다. 인터럽트 발생부(280)는 이 인터럽트 신호 요청 커맨드(comand)에 따라, CMOS 셋업에서 설정된 절전 모드를 적용시킬 수 있는 인터럽트 신호를 발생한다. When the power saving mode is set according to the user's selection, the
또 바이오스(250)는, 인터럽트 발생부(280)로부터 인터럽트 신호를 받아, 현재 CPU(210)의 동작 모드를 확인하고, 확인 결과에 따라 CPU의 동작 모드를 낮은 CPU 클럭 모드로 전환한다. 이 때, 바이오스(250)는, 클럭 제어부(230)에서 제공되는 복수개의 CPU 클럭 스로틀(CPU clock throttling) 비율 중에서 어느 하나의 값을 선택하고, 선택된 CPU 클럭 스로틀 비율만큼 감소된 클럭이 CPU(210)에 공급될 수 있도록 한다. In addition, the
여기서 CPU 스로틀 비율이란, CPU의 원래 속도에 비해 감소된 속도가 얼마인지를 나타내는 비율을 뜻한다. 좀더 구체적으로 살펴보면, 클럭 제어부(230)는 예를 들어, PIIX4E 칩으로 구현될 수 있는데, PIIX4E 칩은 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5% 등의 7가지 레벨의 CPU 클럭 스로틀 비율을 지원한다. 여기서, 스로틀 비율이 12.5% 라 함은, 현재 CPU에 공급되는 클럭에 비해 12.5%만큼이 감소된 클럭을 의미한다. 즉, CPU(210)에 공급되는 클럭을 100이라고 했을 때, 100에서 12.5%만큼 감소된 클럭 즉, 87.5만큼의 클럭을 뜻한다. Here, the CPU throttle ratio means a ratio indicating how much the reduced speed is compared with the original speed of the CPU. More specifically, the
전원 관리를 위해 CPU(210)의 동작 모드를 낮은 CPU 클럭 모드로 전환하려는 경우, 바이오스(250)는 클럭 제어부(230)에서 제공되는 CPU 클럭 스로틀 비율 중에서 어느 하나의 CPU 클럭 스로틀 비율을 선택하여, 선택된 CPU 스로틀 비율에 해당 하는 클럭이 CPU에 공급되도록 한다.When switching the operation mode of the
예를 들어, 낮은 CPU 클럭 모드로의 전환시, 바이오스가 12.5%라는 CPU 클럭 스로틀 비율에 따라 CPU의 동작 모드를 전환시킨다면, 클럭 제어부(230)는 클럭 공급부(220)를 제어하여 87.5(현재 CPU에 공급되는 클럭이 100이라고 했을 경우)만큼의 클럭이 CPU(210)로 제공되도록 한다.For example, when switching to the low CPU clock mode, if the BIOS switches the operation mode of the CPU according to the CPU clock throttle ratio of 12.5%, the
클럭 제어부(230)는 바이오스(250)에서 제공되는 신호에 따라 클럭 공급부(220)에서 출력되는 클럭을 일정 시간 동안 정지시킴으로써, 감소된 클럭이 CPU(210)에 공급되도록 한다. CPU(210)에 공급되는 클럭이 감소하게 되면, 그 결과, CPU(210)의 동작 속도가 감소되어 전력 소비를 줄일 수 있다. 이 때, 감소된 클럭은, CMOS 셋업에서 미리 설정되어 있는 시간동안만 CPU(210)에 제공된다. 예를 들어, CMOS 셋업에서 컴퓨터 사용 환경에 따른 절전 모드 적용 시간이 1시간으로 설정된 경우라면, 감소된 클럭은 1시간 동안 CPU(210)에 공급된다. 다시 말해, CPU(210)는 1시간동안 낮은 CPU 클럭 모드로 동작한다. 이러한 클럭 제어부는 앞서 예시한 바와 같이, PIIX4E 칩으로 구현될 수 있으나 이에 한정되지는 않는다.The
CPU(210)는 클럭 공급부(220)로부터 클럭 신호를 제공받아 동작한다.The
한편, 인터럽트 발생부(280)는 바이오스(250)에서 전달된 인터럽트 신호 요청 커맨드(comand)에 따라 입력부(240)를 통한 신호 입력이 있는지를 감지한다. 만약, 신호가 감지되면, 인터럽트 신호를 발생시키고, 발생된 인터럽트 신호를 바이오스(250)에 전달함으로써 컴퓨터 사용 환경에 따른 절전 모드가 실행될 수 있도록 한다. 인터럽트 신호는 마우스의 움직임, 휠의 움직임, 좌우 버튼의 클릭 등과 같 이 마우스에 의한 신호 및 키보드의 키신호 등과 같은 입력 신호 등에 의해 발생될 수 있다. 이러한 인터럽트 발생부(240)는 소프트웨어적 또는 하드웨어적으로 구현될 수 있으며, 소프트웨어와 하드웨어가 병합된 펌웨어의 형태로도 구현될 수 있다. 소프트웨어적으로 구현된 경우, 도 2에 도시된 바와 같이, 바이오스(250)의 일부로 구현될 수도 있다.Meanwhile, the interrupt
메모리부(270)에는, 통상의 CPU 클럭 모드에 대한 정보 등이 저장된다. 여기서 통상의 CPU 클럭 모드란, 인터럽트 발생부에서 발생된 인터럽트 신호에 의해 제어되지 않는 상태를 의미한다. 인터럽트 신호에 의해 CPU(210)의 동작 모드가 낮은 CPU 클럭 모드로 전환된 후, 설정된 시간이 경과되면, CPU(210)의 동작 모드는 통상의 CPU 클럭 모드로 복원된다. 이 때, 바이오스(250)는 메모리부에 저장되어 있는 정보를 참조하여, CPU의 동작 모드가 이전의 상태로 전환되도록 한다. 이러한 메모리부(270)는 캐쉬, ROM, PROM, EPROM, EEPROM, 플래쉬, SRAM 및 DRAM과 같은 형태의 메모리 소자로 구현될 수 있으나, 이에 한정되지는 않는다.The
한편, CPU(210)의 동작 모드가 낮은 CPU 클럭 모드로 전환된 후, 바이오스(250)는 타이머부(260)를 이용하여, 설정된 시간을 카운트한다. 이 때, 타이머부(260)를 통해 카운트되는 시간은 COMS 셋업에서 설정하거나 변경할 수 있다. 예를 들어, CMOS 셋업에서, 컴퓨터 사용 환경에 따른 절전 모드 적용 시간을 '1시간'으로 설정하였다면, 타이머부(260)는 '1시간'이라는 시간을 카운트하게 된다. 이렇게 미리 설정되어 있는 시간을 카운트한 결과, 설정된 시간 예를 들어, 1시간이 경과되었다면, 타이머부(260)는 이에 대한 신호를 발생시켜, 바이오스(250)에 알린다. On the other hand, after the operation mode of the
이외에도 본 발명에 따른 컴퓨터 시스템(200)은 하드디스크나 CD-ROM, DVD-ROM 등과 같은 보조 기억 장치(미도시), CPU에 의한 명령 처리 결과를 가시적인 형태로 출력하는 디스플레이부(미도시), 컴퓨터 시스템에 전원을 공급하는 전원 공급부(미도시) 등이 포함될 수 있으며, 각 장치들은 PCI 인터페이스, IDE 인터페이스, ISA 인터페이스, 메모리 버스 및 시스템 버스 중에서 적어도 하나의 인터페이스를 통해 CPU(210)와 데이터 및 제어 신호를 교환한다. In addition, the
다음으로, 도 3은 본 발명의 실시예에 따른 컴퓨터 시스템(200)의 전원 관리 방법을 흐름도로 나타낸 것이다. 이를 참조하여 본 발명의 실시예에 따른 전원 관리 방법을 설명하면 다음과 같다. 3 is a flowchart illustrating a power management method of the
본 발명의 실시예에 따른 컴퓨터 시스템의 전원 관리 방법을 설명하기 위해, 컴퓨터 사용 환경에 따른 절전 모드 및 상기 절전 모드 적용 시간이 미리 설정되는 것이 바람직하다(S300). 이하 본 발명의 실시예에서는 입력부 관련 절전 모드를 인에이블(enable)되어 있고, 상기 절전 모드 적용 시간이 '1시간'으로 설정된 경우를 예로 들어 설명하기로 한다. In order to explain the power management method of the computer system according to an embodiment of the present invention, it is preferable that the power saving mode and the power saving mode application time according to the computer use environment are set in advance (S300). In the following embodiment of the present invention, a power saving mode related to the input unit is enabled and the power saving mode application time is set to '1 hour'.
위와 같이 경우, 컴퓨터 시스템(200)을 부팅하게 되면, 바이오스(250)는 인터럽트 발생부(280)로 인터럽트 신호 발생 요청 커맨드(comand)를 보내어, 키보드나 마우스 등의 입력부(240)를 통해 신호가 입력되는 경우, 인터럽트 신호가 발생될 수 있도록 한다(S310). In this case, when booting the
한편, 부팅 후 CPU(210)는 운영체제에서 제공하는 전원 관리 모드에 따라 통상의 CPU 클럭 모드로 동작하게 된다. 예를 들면, 윈도우와 같은 운영체제에서는 [ 휴대용/랩톱], [프리젠테이션], [항상 켜기], [최소 전원 관리], [최대 배터리] 등의 전원 관리 항목을 제공한다. 이와 같은 전원 관리 항목 중에서 만약, [항상 켜기]라는 전원 관리 항목이 기본 값으로 설정되어 있다고 한다면, 바이오스(250)는 CPU(210)가 최대 동작 모드로 동작할 수 있도록 한다. 좀더 구체적으로, 컴퓨터 시스템(200)에 1.8GHz 클럭으로 동작하는 CPU(210)가 사용된 경우라면, 바이오스(250)는 CPU(210)에 1.8GHz의 클럭이 공급될 수 있도록 하여, CPU(210)가 최대 동작 모드로 동작하도록 한다.Meanwhile, after booting, the
이 후, 인터럽트 발생부(280)는 입력부(240)를 통해 신호가 입력되었는지를 판단한다(S320). 판단 결과, 신호 입력이 없는 경우, CPU(210)는 통상의 CPU 클럭 모드로 동작한다(S370). 판단 결과, 신호 입력이 있는 경우, 해당 신호는 바이오스(250)를 통해 인터럽트 발생부(280)로 전달되고, 인터럽트 발생부(280)는 인터럽트 신호를 발생하여 바이오스(250)에 전달한다(S330). 예를 들어, 키보드를 통해 타이핑을 하는 경우, 타이핑시 발생된 키신호가 바이오스(250)를 통해 인터럽트 발생부(280)로 전달되고, 인터럽트 발생부(280)는 전달된 신호를 감지하여, 인터럽트 신호를 발생시킨다. Thereafter, the interrupt
이후, 바이오스(250)는 CPU(210)가 현재, 낮은 CPU 클럭 모드로 동작하고 있는지를 판단한다(S340). 즉, 현재 클럭 공급부(220)에서 CPU(210)로 제공되는 클럭을 체크함으로써, 현재 CPU(210)의 동작 모드를 판별한다.Thereafter, the
판단 결과, 현재 CPU(210)의 동작 모드가 낮은 CPU 클럭 모드가 아니라면, CPU(210)에 제공되는 클럭수를 낮추어 CPU(210)의 동작 모드가 낮은 CPU 클럭 모드 드로 전환될 수 있도록 한다(S350). 이 때의 낮은 CPU 클럭 모드란, 사용자가 불편함 없이 타이핑 작업을 할 수 있게 하는 정도의 CPU 속도를 뜻한다. 예를 들어, 낮은 CPU 클럭 모드로의 전환시, 50%의 CPU 클럭 스로틀 비율로 클럭을 감소시켰을 때에도, 사용자가 불편함 없이 마우스 조작이나 타이핑 작업을 할 수 있다면, 바이오스(250)는 낮은 CPU 클럭 모드로의 전환시, 50%의 CPU 클럭 스로틀 비율에 따라 전환될 수 있도록 한다. 그 결과, 클럭 제어부(230)는 클럭 공급부(220)에서 출력되는 클럭을 제어하여, 현재 CPU(210)에 제공되는 클럭에 비해 50%가 감소된 클럭이 CPU(210)에 공급되도록 한다. 예를 들어, CPU(210)에 1.8GHz의 클럭이 공급되고 있었다면, 1.8GHz에서 50%가 감소된 클럭 즉, 900MHz의 클럭이 공급되도록 한다. As a result of the determination, if the current operation mode of the
한편, 바이오스(250)는 인터럽트 신호를 전달받은 후, 타이머부(260)를 이용하여 설정된 시간을 카운트한다(S360). 앞서 설명한 예에서, 컴퓨터 사용 환경에 따른 절전 모드 적용 시간이 1시간으로 설정되었으므로, 타이머부(260)는 '1시간'이라는 시간을 카운트하게 된다. 설정된 시간을 카운트한 결과, 설정된 시간이 경과되면, 타이머부(260)는 이에 따른 신호를 발생하여 바이오스(250)에 알린다. Meanwhile, after receiving the interrupt signal, the
이 후, 바이오스(250)는 CPU(210)의 동작 모드를 통상의 CPU 크럭 모드로 전환한다(S370). 예를 들어, 입력부(240)를 통해 신호가 입력되기 전, CPU(210)의 동작 모드가 최대 동작 모드였다면, CPU(210)의 동작 모드를 최대 동작 모드로 복구시킨다.Thereafter, the
이 후, 바이오스(250)는 입력부를 통해 신호가 입력되었는지를 다시 검사한다(S320). 검사 결과, 신호가 입력 되었다면, 입력된 신호를 인터럽트 발생부(280) 에 전달하여 인터럽트 신호가 발생되도록 한다(S330). 이 후, 현재 CPU(210)의 동작 모드가 낮은 CPU 클럭 모드인지를 판단하고(S340), 판단 결과에 따라 CPU의 동작 모드를 낮은 CPU 클럭 모드로 전환한다(S350). 바이오스는 전술한 바와 같은 과정을 반복하여, 컴퓨터의 사용 환경에 따른 절전 모드가 실행되도록 함으로써, 키보드를 이용한 타이핑 작업 등과 같이 단순한 작업을 하는 경우에도 컴퓨터 시스템의 전원을 관리할 수 있도록 한다.Thereafter, the
이상과 같이 예시된 도면을 참조로 하여, 본 발명에 따른 컴퓨터 시스템의 전원 관리 방법 및 장치에 대하여 설명하였으나, 본 발명은 본 명세서에 개시된 실시예와 도면에 의해 한정되지 않으며, 그 발명의 기술사상 범위 내에서 당업자에 의해 다양한 변형이 이루어질 수 있음은 물론이다.Although the power management method and apparatus of a computer system according to the present invention have been described with reference to the drawings illustrated as above, the present invention is not limited to the embodiments and drawings disclosed herein, and the technical spirit of the present invention. Of course, various modifications may be made by those skilled in the art within the scope.
상기한 바와 같이 본 발명에 의한 컴퓨터 시스템의 전원 관리 방법 및 장치에 따르면 다음과 같은 효과가 하나 혹은 그 이상 있다.As described above, the power management method and apparatus for a computer system according to the present invention have one or more of the following effects.
첫째, 컴퓨터의 사용 환경에 따른 절전 모드가 실행되도록 함으로써, 키보드를 이용한 타이핑 작업 등과 같이, 단순한 작업을 하는 경우에도 컴퓨터 시스템의 전원을 관리할 수 있다는 장점이 있다.First, the power saving mode according to the use environment of the computer is executed, and thus, the power supply of the computer system can be managed even in a simple operation such as a typing operation using a keyboard.
둘째, 시스템 사용 중에도 CPU의 동작 모드를 조절할 수 있으므로, 노트북과 같은 휴대용 컴퓨터 시스템에 있어서, 배터리의 사용 시간을 연장시킬 수 있다는 장점이 있다. Second, since the operation mode of the CPU can be adjusted while the system is in use, the portable computer system such as a notebook has an advantage of extending the battery usage time.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040095802A KR20060056643A (en) | 2004-11-22 | 2004-11-22 | Method and apparatus for power management on computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040095802A KR20060056643A (en) | 2004-11-22 | 2004-11-22 | Method and apparatus for power management on computer system |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20060056643A true KR20060056643A (en) | 2006-05-25 |
Family
ID=37152336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040095802A KR20060056643A (en) | 2004-11-22 | 2004-11-22 | Method and apparatus for power management on computer system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20060056643A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008091677A1 (en) * | 2007-01-25 | 2008-07-31 | Hewlett-Packard Development Company, L.P. | System and method for implementing a quiet operating mode in a computing system |
-
2004
- 2004-11-22 KR KR1020040095802A patent/KR20060056643A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008091677A1 (en) * | 2007-01-25 | 2008-07-31 | Hewlett-Packard Development Company, L.P. | System and method for implementing a quiet operating mode in a computing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5410109B2 (en) | Power control system and power control method | |
US8176341B2 (en) | Platform power management based on latency guidance | |
US6760850B1 (en) | Method and apparatus executing power on self test code to enable a wakeup device for a computer system responsive to detecting an AC power source | |
US8656196B2 (en) | Hardware automatic performance state transitions in system on processor sleep and wake events | |
US8255713B2 (en) | Management of link states using plateform and device latencies | |
US6092209A (en) | Method and apparatus for managing power consumption of peripheral devices of personal computers | |
US8522054B2 (en) | Stand-by mode management method for use in a stand-by mode of a computer system with stand-by mode management module | |
JP2004139547A (en) | Power source control method of portable computer | |
CN103765409A (en) | Power efficient processor architecture | |
US7447928B2 (en) | Method for booting computer multimedia systems with a hot key standby state | |
WO2013126415A2 (en) | Method and system for scheduling requests in a portable computing device | |
KR100385020B1 (en) | An automatic security code verifying method of a computer system operated by a remote controller | |
JP3805913B2 (en) | Method for waking up computer system from standby mode and wakeup control circuit | |
KR100714677B1 (en) | Computer system and method for performing switch-over of operating system | |
TWI667569B (en) | Computer wake-up method and computer power saving method | |
US6851065B2 (en) | System and method for executing resume tasks during a suspend routine | |
KR20070112660A (en) | Power management apparatus and method | |
US8713337B2 (en) | Power management method for reducing power of host when turning off main monitor and computer system applying the same | |
KR20060056643A (en) | Method and apparatus for power management on computer system | |
KR101087429B1 (en) | Platform power management based on latency guidance | |
TWI489260B (en) | Stand-by management method and related management module and computer system | |
JP2002082743A (en) | Electronic equipment and storage medium stored with electronic equipment control program | |
JP3860467B2 (en) | Power saving method and system for computer | |
JP2000231425A (en) | Computer system and activity ratio deciding device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |