KR20010087876A - CPU clock control method - Google Patents
CPU clock control method Download PDFInfo
- Publication number
- KR20010087876A KR20010087876A KR1020000011691A KR20000011691A KR20010087876A KR 20010087876 A KR20010087876 A KR 20010087876A KR 1020000011691 A KR1020000011691 A KR 1020000011691A KR 20000011691 A KR20000011691 A KR 20000011691A KR 20010087876 A KR20010087876 A KR 20010087876A
- Authority
- KR
- South Korea
- Prior art keywords
- clock
- cpu
- central processing
- processing unit
- cpu clock
- Prior art date
Links
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/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/324—Power saving characterised by the action undertaken by lowering 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/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
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
Description
본 발명은 중앙처리장치의 클럭제어방법에 관한 것으로, 더욱 상세하게는 시스템의 어떤 환경에서도 사용 효율을 떨어뜨리지 않으면서 전원관리를 효율적으로 할 수 있는 중앙처리장치의 클럭제어방법에 관한 것이다.The present invention relates to a clock control method of a central processing unit, and more particularly, to a clock control method of a central processing unit that can efficiently manage power without degrading use efficiency in any environment of the system.
일반적으로 퍼스널 컴퓨터에서 키보드, 마우스 등 외부 입력장치가 일정시간 동안 사용되지 않는 경우, 아이들(idle), 도즈 모드(doze mode)로 정의하고, 이때바이오스(BIOS)는 중앙처리장치에 공급되는 클럭속도를 떨어뜨려 전력소비를 줄이는 파워관리를 수행한다. 이러한 상태를 중앙처리장치 클럭 스로틀링(CPU clock throttling)이라고 한다.In general, when an external input device such as a keyboard or a mouse is not used for a certain time in a personal computer, it is defined as an idle mode or a doze mode, and a BIOS is a clock speed supplied to a central processing unit. Perform power management to reduce power consumption by lowering power consumption. This state is called CPU clock throttling.
현재 퍼스널 컴퓨터에서 주로 사용되는 파워관리소자용 칩(PIIX4E)은 12.5%(원래 속도가 100이라면 12.5% 줄인 87.5로 변환), 25%, 37.5%, 50%, 62.5%, 75%, 87.5% 등으로 7가지 레벨의 중앙처리장치 클럭 스로틀 비율을 지원하고 있다.The power management device chip (PIIX4E) used mainly in personal computers is 12.5% (converted to 87.5, which is 12.5% reduced if the original speed is 100), 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, etc. It supports seven levels of CPU clock throttle rate.
다음은 시스템이 아이들 상태에 진입했을때, 어떻게 CPU 클럭이 조절되는가에 대해서 설명한다.The following describes how the CPU clock is adjusted when the system enters the idle state.
도 1은 일반적인 중앙처리장치 클럭 제어 시스템 구성도이고, 도 2는 종래 시스템 관리를 수행하는 롬 바이어스에서 파워 상태 천이를 위한 동작 흐름도이다.1 is a block diagram of a general CPU clock control system, and FIG. 2 is a flowchart illustrating a power state transition in a ROM bias for performing conventional system management.
시스템이 정상적으로 동작하고 있을때, 중앙처리장치(CPU)(10)는 클럭 발생기인 시스템 PLL(15)로부터 클럭신호(HCLK)를 공급받아 동작한다(제 100 단계).When the system is operating normally, the CPU 10 receives and receives the clock signal HCLK from the system PLL 15, which is a clock generator (step 100).
롬 바이어스는, 키보드, 마우스와 같은 외부입력장치로부터의 계속해서 입력이 되고 있는지를 감시하고, 만약 일정시간 동안 외부입력장치로부터 입력이 없을때(제 110 단계), 사용자가 중앙처리장치(10)를 사용하고 있지 않다고 판단한다. 따라서 롬 바이어스는 중앙처리장치(10)의 정상동작으로 인한 전력소비를 방지하기 위해서, 파워관리용 칩인 PIIX4E(20)의 중앙처리장치 클럭 스로틀 관련된 레지스터를 이용해서 원하는 중앙처리장치 클럭 스로틀 비율로 설정한다. 이러한 동작으로부터 시스템의 상태는 아이들 상태에 진입된다(제 120 단계).The ROM bias monitors whether input is continuously input from an external input device such as a keyboard or a mouse, and if there is no input from the external input device for a predetermined time (step 110), the user may enter the central processing unit 10. Determine that you are not using. Therefore, the ROM bias is set to the desired CPU clock throttle ratio by using the CPU clock throttle related register of the PIIX4E 20, which is a power management chip, in order to prevent power consumption due to the normal operation of the CPU 10. do. From this operation the state of the system enters the idle state (step 120).
상기 단계에 의한 롬 바이어스가 CPU 클럭 스로틀 비율은 다음의 과정으로설정된다.The ROM bias by the above step is set to the CPU clock throttle ratio in the following process.
우선, 파워관리용 칩인 PIIX4E(20)의 중앙처리장치 클럭 조절기능을 인에이블 한다(I/O 레지스터 11h, CC_EN 비트를 "1"로 세팅). 그리고 7개 레벨 중에서 중앙처리장치 클럭 스로틀 비율을 정한다(I/O 레지스터 10h, THTL_DTY 비트 설정, 3비트로 구성). 마지막으로 중앙처리장치 클럭 스로틀 기능을 인에이블한다(I/O 레지스터 10h, THTL_EN 비트를 "1"로 세팅).First, the CPU clock control function of the PIIX4E 20, a power management chip, is enabled (I / O register 11h and the CC_EN bit set to "1"). The CPU clock throttle rate is set from seven levels (I / O register 10h, THTL_DTY bit set, and 3 bits). Finally, enable the CPU clock throttle function (I / O register 10h, setting the THTL_EN bit to "1").
상기 과정에 의한 파워관리용 칩인 PIIX4E(20)의 중앙처리장치 클럭 스로틀 기능이 설정되면, 상기 칩(20)은 STPCLK# 신호를 이용해서 정해진 스로틀 비율에 의해 일정시간은 중앙처리장치(10)가 정상적으로 동작하도록 하고, 나머지 시간은 중앙처리장치(10)가 동작되지 않도록 중앙처리장치 클럭을 정지시킨다.When the central processing unit clock throttle function of the power management chip PIIX4E 20 according to the above process is set, the chip 20 is set by the central processing unit 10 by a throttle ratio determined by using the STPCLK # signal. Normal operation is performed, and the remaining time stops the CPU clock so that the CPU 10 is not operated.
이러한 방법으로 시스템이 아이들 상태에 진입했을때, 평균적인 중앙처리장치 속도를 시스템이 온 동작시보다 떨어뜨려서 소비전력을 줄이고, 특히 노트북 시스템에서 배터리 사용시간을 늘일 수 있도록 한다.In this way, when the system enters the idle state, the average central processor speed is lowered than when the system is on, reducing power consumption, especially in notebook systems.
그러나 종래의 퍼스널 컴퓨터의 바이오스는 아이들 상태에 진입시 보편적으로 50%의 CPU 클럭 스로틀을 설정하고 있다.However, the BIOS of a conventional personal computer generally sets a CPU clock throttle of 50% when entering an idle state.
따라서 종래의 시스템에서는 아이들 상태 진입시에, 중앙처리장치 클럭 스로틀 비율이 컴퓨터의 사용환경에 관계없이 무조건적으로 50%로 설정하기 때문에, 그 이상의 중앙처리장치 클럭 스로틀을 요구하는 시스템 환경에서 화상 및 음성이 끊어지는 문제점이 발생되었다.Therefore, in the conventional system, when the idle state is entered, the CPU clock throttle ratio is set to 50% unconditionally regardless of the computer's operating environment, so that image and audio may not be displayed in a system environment that requires more CPU clock throttle. The problem of breaking occurred.
일 예로, 윈도우 환경에서 소프트웨어 DVD 또는 비디오 CD 재생 등, 중앙처리장치의 클럭을 많이 사용하는 응용 프로그램이 실행된 상태에서, 시스템이 아이들 상태에 진입이 되면서 중앙처리장치 클럭 속도가 50%로 떨어지게 되면, DVD/비디오 CD를 재생하는 화면이 느려지거나 소리가 끊어지는 등의 문제가 발생되었다. 물론, 이러한 것을 해소하기 위해서 아이들 상태 진입시 중앙처리장치 클럭 스로틀 비율을 25% 또는 12.5%로 낮추고 설정하면, 상기 문제점은 해결되지만 전력 소비를 많이 줄이지 못하는 문제점이 다시 발생된다.For example, if a CPU-intensive application such as playing a software DVD or video CD in a Windows environment is running, the CPU clock speed drops to 50% as the system enters the idle state. Problems such as slowing down the sound or interrupting the sound when playing a DVD / Video CD have occurred. Of course, in order to solve this problem, if the CPU clock throttle ratio is set to 25% or 12.5% at the time of entering the idle state, the problem is solved, but the problem of not reducing the power consumption much occurs again.
즉, 종래의 시스템은 아이들 상태 진입시 적용되는 중앙처리장치 클럭 스로틀 비율이 시스템 사용 환경에 관계없이 한가지로만 설정되었고, 이것을 사용자가 조절할 수 없는 문제점이 있었다.That is, in the conventional system, the CPU clock throttle ratio applied when entering the idle state is set to only one regardless of the system use environment, and there is a problem that the user cannot adjust it.
또한, 종래의 시스템은 중앙처리장치 클럭 스로틀 비율이 50% 이상인 경우, DVD/비디오 CD 연주 등의 사용 환경에서 화면 및 소리가 끊어지는 문제점이 발생되었다.In addition, in the conventional system, when the CPU clock throttle ratio is 50% or more, a problem occurs that the screen and the sound are cut off in the use environment such as DVD / Video CD playing.
그리고 종래의 시스템에서 중앙처리장치 클럭 스로틀 비율을 무조건적으로 25% 이하로 낮추게 되면, 소비전력 절감 효과가 줄어드는 문제점이 발생되었다.In addition, in the conventional system, when the CPU clock throttle ratio is unconditionally lowered to 25% or less, a problem of reducing power consumption is generated.
퍼스널 시스템이 구현하는 중앙처리장치 클럭 스로틀 관련된 파워 관리는 배터리 사용시간을 늘릴 수는 있지만, 사용환경에 따라서 시스템 성능을 저하시키는 문제점을 안고 있다. 따라서 본 발명에서는 중앙처리장치 클럭 스로틀링을 통해 배터리 사용시간을 늘리면서도 사용환경에 따라서 시스템 사용 성능에 영향을 미치지 않고 정상적으로 동작하도록 중앙처리장치 클럭 스로틀 비율을 조절하려고 한다.Power management related to the central clock clock throttle implemented by the personal system can increase battery life, but it has a problem of degrading system performance depending on the usage environment. Therefore, the present invention attempts to adjust the CPU clock throttle ratio so as to increase the battery usage time through the CPU clock throttling and to operate normally without affecting the system usage performance according to the usage environment.
따라서 본 발명의 목적은 중앙처리장치 클럭 스로틀링을 통하여 전력소모를 줄일 수 있는 중앙처리장치의 클럭제어방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a clock control method of a central processing unit that can reduce power consumption through central processing unit clock throttling.
특히, 본 발명은 노트북 시스템에서 배터리 사용시간을 늘릴 수 있는 중앙처리장치의 클럭제어방법을 제공하도록 한다.In particular, the present invention is to provide a clock control method of a central processing unit that can increase the battery life in the notebook system.
본 발명의 다른 목적은 퍼스널 컴퓨터 사용 중 어떤 환경에서도 시스템 성능을 떨어뜨리지 않고 효율적으로 전원관리를 수행할 수 있는 중앙처리장치의 클럭제어방법을 제공함에 있다.Another object of the present invention is to provide a clock control method of a central processing unit that can efficiently perform power management without degrading system performance in any environment during use of a personal computer.
도 1은 일반적인 중앙처리장치 클럭 제어 시스템 구성도,1 is a block diagram of a general CPU clock control system;
도 2는 종래 시스템 관리를 수행하는 롬 바이어스에서 파워 상태 천이를 위한 동작 흐름도,2 is an operation flowchart for power state transition in ROM bias performing conventional system management;
도 3은 본 발명에 따른 중앙처리장치의 클럭제어방법의 동작 흐름도,3 is an operation flowchart of a clock control method of a central processing unit according to the present invention;
도 4는 본 발명에 따른 시스템 사용환경에서의 중앙처리장치 클럭 스로틀 예시도.Figure 4 illustrates a central processing unit clock throttle in a system use environment according to the present invention.
상기 목적을 달성하기 위한 본 발명에 따른 중앙처리장치의 클럭제어방법은, 컴퓨터 중앙처리장치의 클럭제어방법에 있어서, 절전 모드 진입시, BIOS를 이용하여 현재 시스템 사용환경을 구별해내는 단계와; 현재 시스템 사용환경에 따라서 중앙처리장치 클럭 스로틀을 적절하게 설정하는 단계와; 설정된 중앙처리장치 클럭 스로틀에 의해서 중앙처리장치의 클럭 제어가 이루어지는 단계를 포함하여 구성된다.A clock control method of a central processing unit according to the present invention for achieving the above object comprises the steps of: distinguishing the current system use environment using a BIOS when entering the power saving mode; Setting the CPU clock throttle appropriately according to the current system usage environment; And controlling the clock of the CPU by the set CPU clock throttle.
본 발명의 현재 시스템 사용환경은, DVD-ROM 드라이브에서 사용되는 ATAPI 커맨드를 이용하여 검출하는 것을 특징으로 한다.The present system use environment of the present invention is characterized by detecting by using an ATAPI command used in a DVD-ROM drive.
본 발명의 상기 현재 시스템 사용환경 구별단계는, DVD, 비디오 CD, 오디오CD들 중에서 어떤 매체가 재생 중인지를 판단하는 것을 특징으로 한다.The current system use environment discriminating step of the present invention is characterized in that it is determined which medium is being played among DVD, video CD, and audio CD.
본 발명의 상기 현재 시스템 사용환경이 DVD 재생중일때, 중앙처리장치의 클럭 스로틀을 정상치에서 25% 감소시켜서 설정하는 것을 특징으로 한다.When the current system use environment of the present invention is playing a DVD, the clock throttle of the central processing unit is set to be reduced by 25% from the normal value.
본 발명의 상기 현재 시스템 사용환경이 비디오 CD 연주중일때, 중앙처리장치의 클럭 스로틀을 정상치에서 50% 감소시켜서 설정하는 것을 특징으로 한다.When the current system use environment of the present invention is playing a video CD, the clock throttle of the central processing unit is set to be reduced by 50% from the normal value.
본 발명의 상기 현재 시스템 사용환경이 오디오 CD 연주중일때, 중앙처리장치의 클럭 스로틀을 정상치에서 87.5% 감소시켜서 설정하는 것을 특징으로 한다.When the current system use environment of the present invention is playing an audio CD, the clock throttle of the central processing unit is set by decreasing 87.5% from the normal value.
이하 첨부한 도면을 참조하여 본 발명에 따른 중앙처리장치의 클럭제어방법에 대해서 상세하게 설명한다.Hereinafter, a clock control method of a CPU according to the present invention will be described in detail with reference to the accompanying drawings.
먼저, 본 발명은 아이들 모드를 사용환경에 따라서 크게 4가지 아이들 모드로 세분화시킨다. 그리고 각 환경에 맞는 중앙처리장치 클럭 스로틀 비율을 세팅한다.First, the present invention divides the idle mode into four idle modes according to the usage environment. Then set the CPU clock throttle rate for each environment.
상기 4가지 아이들 모드는, DVD가 재생중 아이들 모드로 진입하는 경우, 비디오 CD가 재생중 아이들 모드로 진입하는 경우, 오디오 CD가 재생중 아이들 모드로 진입하는 경우, 그 외의 일반적인 환경에서 아이들 모드로 진입하는 경우로 구분한다.The four idle modes include an idle mode when the DVD enters an idle mode during playback, a video CD enters an idle mode during playback, or an audio CD enters an idle mode during playback. It is divided into the case of entry.
따라서 본 발명은 DVD, 비디오 CD, 오디오 CD 중에서 어느 것이 연주 주인 것을 바이오스 또는 하드웨어를 이용하여 알아내고, 이를 기초로 각 경우에 맞는 중앙처리장치 클럭 스로틀 비율로 파워 관리를 수행한다.Therefore, according to the present invention, any of the DVD, the video CD, and the audio CD are found out by using a BIOS or hardware, and based on this, power management is performed at the central processing unit clock throttle ratio for each case.
다음은 시스템 아이들 모드 진입시, 각 사용환경에 영향을 주지 않는 중앙처리장치 클럭 스로틀 비율을 찾기 위한 동작에 대해서 설명한다.The following describes the operation to find the CPU clock throttle rate that does not affect each environment when entering the system idle mode.
우선, 아이들 모드 진입시 중앙처리장치 클럭 스로틀 비율을 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%로 설정하는 바이오스를 각각 만들고, 4가지 사용환경에서 아이들 모드 진입시 중앙처리장치 클럭 스로틀 비율이 각각 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%일때, 사용환경에 문제가 일어나는지를 확인한다.First, create a BIOS that sets the central clock clock throttle ratios at 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, and 87.5% when entering idle mode, and then enters the central processing when entering idle mode in four operating environments. When the device clock throttle rates are 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, and 87.5% respectively, check whether the problem occurs in the environment.
상기 실험을 위한 시스템은 펜티엄 Ⅱ 266MHz, 메인 메모리 64MB로 선택하였다.The system for this experiment was chosen to be Pentium II 266MHz, 64MB main memory.
상기 실험 결과 각 사용환경에 따라서 다음의 정보를 확인할 수 있다.According to the experiment result, the following information can be confirmed according to each use environment.
첫째, DVD가 재생 중인 경우, 중앙처리장치 클럭 스로틀 비율이 37.5%를 넘으면 화면/음성이 끊어지는 문제가 발생되었다.First, when the DVD is playing, a problem occurs that the picture / audio is cut off when the CPU clock throttle ratio exceeds 37.5%.
둘째, 비디오 CD가 재생 중인 경우, 중앙처리장치 클럭 스로틀 비율이 62.5%를 넘으면 화면/음성이 끊어지기 시작하였다.Secondly, when the video CD is playing, the screen / audio begins to break when the CPU clock throttle ratio exceeds 62.5%.
셋째, 오디오 CD가 재생 중인 경우, 중앙처리장치 클럭 스로틀 비율에 관계없이 정상적으로 동작하였다.Third, when the audio CD was being played, it operated normally regardless of the CPU clock throttle rate.
넷째, 그 외의 일반적인 환경에서, 중앙처리장치 클럭 스로틀 비율을 50% 정도로 하면 문제가 발생되지 않았다.Fourth, in other general circumstances, if the CPU clock throttle ratio was about 50%, no problem occurred.
상기 정보를 이용하여, DVD 재생 중인 경우에는 중앙처리장치 클럭 스로틀 비율을 25%로 설정하고, 비디오 CD 재생중인 경우에는 50%로 설정하고, 오디오 CD 재생중인 경우 최대 87.5%로 설정하고, 그 외의 경우는 50%로 설정하여, 각 환경에서 문제를 발생하지 않으면서도 가능한 최대의 중앙처리장치 클럭 스로틀링 비율을설정해 시스템의 전력소모를 최소화하였다.Using the above information, the CPU clock throttle rate is set to 25% when playing DVD, 50% when playing video CD, and up to 87.5% when playing audio CD. In the case of 50%, the system's power consumption was minimized by setting the maximum CPU clock throttling rate possible without causing problems in each environment.
다음은 도 3을 참조해서 본 발명에 따른 중앙처리장치의 클럭제어방법을 보다 상세하게 설명한다.Next, the clock control method of the CPU according to the present invention will be described in more detail with reference to FIG. 3.
시스템이 정상적으로 동작하고 있을때, 중앙처리장치(CPU)(10)는 클럭 발생기인 시스템 PLL(15)로부터 클럭신호(HCLK)를 공급받아 동작한다(제 200 단계).When the system is operating normally, the CPU 10 receives the clock signal HCLK from the system generator PLL 15, which is a clock generator, and operates it (step 200).
롬 바이어스는, 키보드, 마우스와 같은 외부입력장치로부터 계속해서 입력이 되고 있는지를 감시하고, 만약 일정시간 동안 외부입력장치로부터 입력이 없을때(제 210 단계), 사용자가 중앙처리장치(10)를 사용하고 있지 않다고 판단한다. 따라서 롬 바이어스는 중앙처리장치(10)의 정상동작으로 인한 전력소비를 방지하기 위해서, 파워관리용 칩인 PIIX4E(20)의 중앙처리장치 클럭 스로틀 관련된 레지스터를 이용해서 현재 시스템 환경에 따른 중앙처리장치 클럭 스로틀 비율을 설정한다.The ROM bias monitors whether the input is continuously input from an external input device such as a keyboard or a mouse, and if the user does not input from the external input device for a predetermined time (step 210), the user may enter the central processing unit 10. We judge that we do not use. Therefore, the ROM bias uses the CPU clock throttle related register of the PIIX4E 20, a power management chip, to prevent power consumption due to the normal operation of the CPU 10. Set the throttle rate.
우선, 바이오스는, DVD 재생 중, 비디오 CD 재생 중, 오디오 CD 재생 중인 경우를 구별한다. 즉, 상기 3가지 환경이 모두 DVD-ROM 드라이브에서 구동됨을 이용하여, ATAPI(AT Attachment Packet Interface) 커맨드를 DVD-ROM 드라이브에게 전달하면 응답으로 얻어지는 데이터 패킷을 사용하여, 각각을 구별해낸다.First, the BIOS distinguishes between the case of DVD playback, video CD playback, and audio CD playback. That is, all of the three environments are driven by the DVD-ROM drive, and when the AT Attachment (ATAPI) command is transmitted to the DVD-ROM drive, the data packets obtained in response are used to distinguish each of them.
오디오 CD와 데이터 CD를 구별하는 ATAPI 커맨드는 "Read Subchannel" (42h), 데이터 CD 중 비디오 CD와 DVD를 구별하는 ATAPI 커맨드는 "Read DVD Structure" (ADh), 비디오 CD 만을 구별하는 ATAPI 커맨드는 "Read TOC"를 이용하여, CD의 4초 부분 데이터를 읽으면 "비디오_CD"라는 스트링이 나타난다.The ATAPI command that distinguishes an audio CD from a data CD is "Read Subchannel" (42h), the ATAPI command that distinguishes a video CD from a data CD is "Read DVD Structure" (ADh), and the ATAPI command that distinguishes a video CD is " Using "Read TOC", reading the 4-second partial data of a CD results in the string "Video_CD".
따라서 상기 제 210 단계로부터 시스템을 아이들 상태로 진입하기 위해서, 우선, 바이오스가 "Read Subchannel(42h)" ATAPI 커맨드 패킷을 DVD-ROM 드라이브에 보내면, 상기 DVD-ROM 드라이브로부터 받은 응답 데이터 중에서 6번째 바이트의 비트2가 "1"이면 데이터 CD(비디오 CD, 또는 DVD)를 나타낸다. 그리고 상기 6번째 바이트의 비트2가 "0"이면 오디오 CD임을 나타낸다.Therefore, in order to enter the system into the idle state from step 210, first, when the BIOS sends a "Read Subchannel (42h)" ATAPI command packet to the DVD-ROM drive, the sixth byte of the response data received from the DVD-ROM drive Bit 2 of " 1 " indicates a data CD (video CD or DVD). And if bit 2 of the 6th byte is "0", it means that it is an audio CD.
이러한 과정으로부터 오디오 CD와 데이터 CD를 구별하고, 데이터 CD 인 경우 비디오 CD 임을 묻는 ATAPI 커맨드와 DVD 임을 묻는 ATAPI 커맨드로부터 현재 시스템의 사용 환경을 구별해낸다(제 220 단계, 제 230 단계, 제 240 단계).From this process, the audio CD and the data CD are distinguished, and in the case of the data CD, the ATAPI command asking for a video CD and the ATAPI command asking for a DVD are distinguished (steps 220, 230, and 240). .
이후, 현재 시스템 사용 환경에 따라서 중앙처리장치 클럭 스로틀 비율을 설정한다.Then, the CPU clock throttle rate is set according to the current system usage environment.
상기 제 220 단계에서 DVD 연주 중일때는, 중앙처리장치 클럭 스로틀 비율을 25%로 설정하고(제 225 단계), 상기 제 230 단계에서 비디오 CD 연주 중일때는 중앙처리장치 클럭 스로틀 비율을 50%로 설정한다(제 235 단계). 그리고 제 240 단계에 의한 오디오 CD 연주 중일때는, 중앙처리장치 클럭 스로틀 비율을 87.5%로 설정하고(제 245 단계), 그 외의 환경에서는 중앙처리장치 클럭 스로틀 비율을 50%로 설정한다(제 250 단계). 상기 과정을 정리하여 표로 나타낸 것을 도 4에 도시하고 있다.When the DVD is being played in step 220, the CPU clock throttle rate is set to 25% (step 225), and when the video CD is being played in step 230, the CPU clock throttle rate is set to 50%. (Step 235). When the audio CD is played in step 240, the CPU clock throttle rate is set to 87.5% (step 245), and in other environments, the CPU clock throttle rate is set to 50% (step 250). ). FIG. 4 shows a table listing the above processes.
상기 과정에 의한 현재 시스템 상태에 따른 파워관리용 칩인 PIIX4E(20)의 중앙처리장치 클럭 스로틀 기능이 설정되면, 상기 칩(20)은 STPCLK# 신호를 이용해서 정해진 스로틀 비율에 의해 일정시간은 중앙처리장치(10)가 정상적으로 동작하도록 하고, 나머지 시간은 중앙처리장치(10)가 동작되지 않도록 중앙처리장치 클럭을 정지시킨다.When the CPU clock throttle function of the PIIX4E 20, a power management chip according to the current system state, is set, the chip 20 performs central processing for a predetermined time by a throttle ratio determined by using the STPCLK # signal. The device 10 is allowed to operate normally, and the rest of the time stops the CPU clock so that the CPU 10 is not operated.
이러한 방법으로 시스템이 아이들 상태에 진입했을때, 평균적인 중앙처리장치 속도를 시스템이 온 동작시보다 떨어뜨려서 소비전력을 줄이고, 특히 노트북 시스템에서 배터리 사용시간을 늘일 수 있도록 한다.In this way, when the system enters the idle state, the average central processor speed is lowered than when the system is on, reducing power consumption, especially in notebook systems.
이상 설명한 바와 같이 본 발명은 퍼스널 컴퓨터의 사용환경을 DVD, 비디오 CD, 오디오 CD 연주 중인 경우와 그 외의 경우로 분류하였다. 그러나 퍼스널 컴퓨터의 사용환경은 상기 경우 외에도 다른 경우(wave file, mp3 file, 디지털 오디오)가 있으며, 이러한 시스템 사용환경에 대한 검출방법에 따라서 적절한 중앙처리장치 클럭 스로틀을 추가로 설정하는 것도 물론 가능하다.As described above, the present invention is classified into a use environment of a personal computer in the case of playing a DVD, a video CD, an audio CD, and other cases. However, the personal computer usage environment may be different (wave file, mp3 file, digital audio) in addition to the above cases, and it is of course possible to additionally set an appropriate central processing unit clock throttle according to the detection method for the system usage environment. .
이상 설명한 바와 같이, 본 발명에 따른 중앙처리장치 클럭제어방법은, 아이들 상태 진입에 따른 중앙처리장치 클럭 스로틀 비율을 시스템 사용환경 별로 가변적으로 적용하므로써, 중앙처리장치 클럭을 많이 사용하는 응용 프로그램이 실행 중 처리속도가 느려지는 문제를 해결할 수 있다. 또한, 본 발명은 전원관리가 중요한 노트북 시스템에서 효율적인 전원관리로 인하여 배터리 사용시간을 연장할 수 있는 잇점이 있다. 구체적으로, 중앙처리장치 클럭 스로틀링을 하지 않은 경우 3시간 10분 동안 배터리가 사용 가능하다고 하면, 중앙처리장치 클럭을 최대 87.5%까지 스로틀링을 하면 3시간 22분으로 배터리 사용시간을 12분 더 연장하는 것이가능하다.As described above, the CPU clock control method according to the present invention executes an application program that uses a lot of CPU clocks by varying the CPU clock throttle ratio according to the idle state for each system use environment. This can solve the problem of slow processing speed. In addition, the present invention has the advantage that it is possible to extend the battery life time due to the efficient power management in the notebook system, the power management is important. Specifically, if the battery is available for 3 hours and 10 minutes without CPU clock throttling, throttling the CPU clock up to 87.5% will increase the battery life to 12 hours and 12 minutes. It is possible to extend.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020000011691A KR20010087876A (en) | 2000-03-09 | 2000-03-09 | CPU clock control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020000011691A KR20010087876A (en) | 2000-03-09 | 2000-03-09 | CPU clock control method |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20010087876A true KR20010087876A (en) | 2001-09-26 |
Family
ID=19653484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020000011691A KR20010087876A (en) | 2000-03-09 | 2000-03-09 | CPU clock control method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20010087876A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100382232B1 (en) * | 2002-05-31 | 2003-05-09 | Palm Palm Tech | Mobile terminal having enhanced power managing function and power managing method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5142684A (en) * | 1989-06-23 | 1992-08-25 | Hand Held Products, Inc. | Power conservation in microprocessor controlled devices |
JPH04257010A (en) * | 1991-02-08 | 1992-09-11 | Nec Corp | System clock switching mechanism |
KR960042296A (en) * | 1995-05-17 | 1996-12-21 | 김주용 | Power operation method to reduce power consumption of the system |
KR19990038563A (en) * | 1997-11-06 | 1999-06-05 | 윤종용 | Computer with clock control |
-
2000
- 2000-03-09 KR KR1020000011691A patent/KR20010087876A/en not_active Application Discontinuation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5142684A (en) * | 1989-06-23 | 1992-08-25 | Hand Held Products, Inc. | Power conservation in microprocessor controlled devices |
JPH04257010A (en) * | 1991-02-08 | 1992-09-11 | Nec Corp | System clock switching mechanism |
KR960042296A (en) * | 1995-05-17 | 1996-12-21 | 김주용 | Power operation method to reduce power consumption of the system |
KR19990038563A (en) * | 1997-11-06 | 1999-06-05 | 윤종용 | Computer with clock control |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100382232B1 (en) * | 2002-05-31 | 2003-05-09 | Palm Palm Tech | Mobile terminal having enhanced power managing function and power managing method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4611210B2 (en) | Non-main CPU / OS based operating environment | |
US7340621B2 (en) | Power conservation techniques for a digital computer | |
US7225347B2 (en) | Method and apparatus for enabling a low power mode for a processor | |
US9361248B2 (en) | I/O co-processor coupled hybrid computing device | |
US6108426A (en) | Audio power management | |
US20030226047A1 (en) | Portable terminal with enhanced power management function and method for managing power of the same | |
WO2006045230A1 (en) | A computer and method for achieving electrical equipment application with low power consumption | |
JP2001022464A (en) | Device and method for hibernation, recording medium stored with same, and computer applied with same | |
US7051144B2 (en) | Portable computer system and control method for reducing power consumption therein | |
EP2000883A2 (en) | Information processing apparatus and method of controlling the same | |
US7096299B2 (en) | Method and apparatus for transferring system context information between mobile computer and base station | |
JP2006048131A (en) | Information processing device and display luminance control method | |
JP2005323296A (en) | Recording medium, information processing apparatus, control method, and program | |
JP2003195985A (en) | Electronic equipment system, electronic equipment, peripheral device and power source control method | |
US20020162035A1 (en) | Interface circuit and disk drive apparatus | |
KR20010087876A (en) | CPU clock control method | |
US20120170666A1 (en) | Power optimization for special media playback scenarios | |
US20040255174A1 (en) | Method of controlling the operational mode of a computer system | |
JP2000003233A (en) | Computer system and method for controlling wake-up of the same system | |
KR100934243B1 (en) | How to control CIFIL clock frequency in portable electronic devices | |
KR101521907B1 (en) | Apparatus and method for playing media files | |
JPH11191262A (en) | Power management device and method therefor | |
KR102297007B1 (en) | Method for standby power and power consumption of monitor and monitor for performing the same | |
JP2010123181A (en) | Device and method for processing information | |
KR20000032874A (en) | Device and method for generating clock signal of low frequency |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
N231 | Notification of change of applicant | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application | ||
J201 | Request for trial against refusal decision | ||
J301 | Trial decision |
Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20030630 Effective date: 20050331 Free format text: TRIAL NUMBER: 2003101002564; TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20030630 Effective date: 20050331 |