KR101047540B1 - Electronic device and its power consumption control method - Google Patents

Electronic device and its power consumption control method Download PDF

Info

Publication number
KR101047540B1
KR101047540B1 KR1020090086403A KR20090086403A KR101047540B1 KR 101047540 B1 KR101047540 B1 KR 101047540B1 KR 1020090086403 A KR1020090086403 A KR 1020090086403A KR 20090086403 A KR20090086403 A KR 20090086403A KR 101047540 B1 KR101047540 B1 KR 101047540B1
Authority
KR
South Korea
Prior art keywords
clock frequency
idle
rate
load ratio
load
Prior art date
Application number
KR1020090086403A
Other languages
Korean (ko)
Other versions
KR20110028803A (en
Inventor
장진혁
Original Assignee
엠텍비젼 주식회사
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 엠텍비젼 주식회사 filed Critical 엠텍비젼 주식회사
Priority to KR1020090086403A priority Critical patent/KR101047540B1/en
Publication of KR20110028803A publication Critical patent/KR20110028803A/en
Application granted granted Critical
Publication of KR101047540B1 publication Critical patent/KR101047540B1/en

Links

Images

Classifications

    • 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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/08Clock generators with changeable or programmable clock frequency
    • 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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3228Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands

Abstract

전자 기기 및 그 전력 소모 조절 방법이 개시된다. 전자 디바이스는 유휴 태스크(Idle Task)의 동작 시간을 측정하는 유휴 시간 측정부, 상기 유휴 태스크의 동작 시간을 이용하여 상기 복수의 태스크의 부하율을 연산하는 부하율 연산부 및 상기 연산된 부하율에 상응하여 클럭 주파수를 조절하는 클럭 변환부를 포함한다. 본 발명에 의해, 유휴 태스크에 머무는 시간을 최소화 하도록 클럭을 조절하여 전체 시스템의 전력 소모를 줄일 수 있는 효과가 있다. An electronic device and a method of controlling power consumption thereof are disclosed. The electronic device includes an idle time measuring unit measuring an operating time of an idle task, a load rate calculating unit calculating a load ratio of the plurality of tasks using the operating time of the idle task, and a clock frequency corresponding to the calculated load ratio. It includes a clock converter for adjusting the. According to the present invention, it is possible to reduce the power consumption of the entire system by adjusting the clock to minimize the time spent in the idle task.

전력, 프로세서, 유휴, 클럭. Power, processor, idle, clock.

Description

전자 디바이스 및 그 전력 소모 조절 방법{Electronic device and power consumption control method}Electronic device and power consumption control method {Electronic device and power consumption control method}

본 발명은 전자 기기에 관한 것으로, 특히 전자 디바이스 및 그 전력 소모 조절 방법에 관한 것이다.The present invention relates to an electronic device, and more particularly, to an electronic device and a method of controlling power consumption thereof.

현재 전자 기기가 발달하면서 프로세서와 같은 다양한 고주파에서 동작하는 전자 부품이 다양한 용도, 제품에 사용되고 있다. 소프트웨어 기술 및 반도체 기술이 발전함에 따라 이러한 전자 부품은 다기능화되어 가고 있으나, 이를 작동하게 하는 배터리 전원에 대한 대용량화, 컴팩트화 및 컨트롤의 효율성에 대한 필요성은 증대되고 있다. BACKGROUND With the development of electronic devices, electronic components operating at various high frequencies such as processors are used in various applications and products. As software technology and semiconductor technology advance, these electronic components are becoming more multifunctional, but there is an increasing need for the capacity, compactness, and control efficiency of the battery power to operate them.

전력 컨트롤면에서 종래 기술을 살펴보면, 종래 기술은 중앙처리장치(CPU)의 부하를 측정하기 위해 모니터링하는 하드웨어 로직을 사용하거나 또는 소프트웨어적으로 대략적인 근사치를 사용하여 정확한 전력 컨트롤이 되지 않는다. 또한, 모니터링 하드웨어 로직은 불필요한 개발비용이 발생하고 프로세서의 단가가 상승하 는 요인이 되며 로직에 버그 등의 문제점이 발견되면 유지보수가 어려운 문제점이 있다. 또한, 하드웨어 모니터링 로직을 이용한 시스템의 경우 코어, 메모리, 버스 등에 걸리는 부하를 측정하기 위한 로직이 추가되기 때문에 설계의 복잡성이 높고, 버그 등의 문제가 발생시 유지보수가 어려우며 개발비용이 증가하여 제품의 단가도 높아지게 된다.Looking at the prior art in terms of power control, the prior art does not provide accurate power control using hardware logic to monitor to measure the load on the central processing unit (CPU) or using software approximate approximations. In addition, the monitoring hardware logic causes unnecessary development cost, increases the unit cost of the processor, and if a problem such as a bug is found in the logic, maintenance is difficult. In addition, in the case of a system using hardware monitoring logic, logic for measuring loads on cores, memory, and buses is added, which leads to high design complexity, difficulty in maintenance when problems such as bugs occur, and development costs increase. The unit price will also increase.

전력 컨트롤을 위하여 소프트웨어로 대략적인 근사치값을 사용하는 시스템의 경우 예를 들면, MP3는 전체 가용 클럭의 10%, WMA의 경우는 20%, DivX는 70%, WMV는 60% 등으로 설계된다. 이에 따른 문제점은 MP3의 경우라도 CBR(Constant BitRate), VBR(Variable BitRate) 등의 구분이 있을 수 있고, 비트 레이트가 48Khz, 44.1Khz, 8Khz 등으로 매우 다양하며 채널(Channel) 수(예를 들어 6Ch, 5.1Ch, Stereo, Mono)에 따라서도 클럭의 설정이 다양해야 한다. 또한, AVI로 통칭되는 동영상 컨텐츠의 경우도 비디오코덱이 DivX, Xvid, WMV, Mpeg2, Mpeg4 등으로 다양하고, 오디오코덱도 MP3, Ogg, WMA, AMR, AAC, DTS 등 매우 다양하며 코덱 내에서도 비트 레이트(BitRate), 샘플 레이트(SampleRate), 채널수 등이 다양하다. 이 모든 오디오, 동영상 코덱의 해상도, 프레임 레이트, 비트 레이트, 샘플 레이트, 채널수의 경우를 따지기는 현실적으로 불가능하고 향후 더 높거나 낮은 비트 레이트의 음원이 생기게 되면 유지보수가 어려운 문제점이 있다. For systems using approximate approximations in software for power control, for example, MP3 is designed to be 10% of the total available clock, 20% for WMA, 70% for DivX, and 60% for WMV. As a result, even in the case of MP3, there may be divisions such as CBR (Constant BitRate) and VBR (Variable BitRate), and bit rates are very diverse such as 48Khz, 44.1Khz, 8Khz and the number of channels (for example, 6Ch, 5.1Ch, Stereo, Mono) also requires a variety of clock settings. In addition, the video codec is variably divided into DivX, Xvid, WMV, Mpeg2, Mpeg4, etc., and the audio codec is also diverse in MP3, Ogg, WMA, AMR, AAC, DTS, etc. (BitRate), sample rate (SampleRate), number of channels, and the like vary. The resolution, frame rate, bit rate, sample rate, and number of channels of all these audio and video codecs are not practical, and there is a problem that maintenance is difficult when a higher or lower bit rate sound source is generated in the future.

전술한 배경기술은 발명자가 본 발명의 도출을 위해 보유하고 있었거나, 본 발명의 도출 과정에서 습득한 기술 정보로서, 반드시 본 발명의 출원 전에 일반 공중에게 공개된 공지기술이라 할 수는 없다.The background art described above is technical information possessed by the inventors for the derivation of the present invention or acquired during the derivation process of the present invention, and is not necessarily a publicly known technique disclosed to the general public before the application of the present invention.

본 발명은 유휴 태스크에 머무는 시간을 최소화 하도록 클럭을 조절하여 전체 시스템의 전력 소모를 줄일 수 있는 전자 디바이스 및 그 전력 소모 조절 방법을 제공하기 위한 것이다. An object of the present invention is to provide an electronic device and a method of controlling power consumption, which can reduce power consumption of an entire system by adjusting a clock to minimize a time spent in an idle task.

또한, 본 발명은 하드웨어 모니터링 로직을 이용한 시스템보다 설계의 복잡성이 낮아지고, 유지보수가 편리하며, 단가도 낮아지고, 소프트웨어 PWM을 쓰는 시스템에 비해 보다 효율적이고 정확한 클럭 조절 기능을 가지는 전자 디바이스 및 그 전력 소모 조절 방법을 제공하기 위한 것이다. In addition, the present invention provides an electronic device having lower design complexity, easier maintenance, lower cost, and more efficient and accurate clock adjustment than a system using software PWM, compared to a system using hardware monitoring logic. It is to provide a power consumption adjustment method.

본 발명이 제시하는 이외의 기술적 과제들은 하기의 설명을 통해 쉽게 이해될 수 있을 것이다.Technical problems other than the present invention will be easily understood through the following description.

본 발명의 일 측면에 따르면, 복수의 태스크가 동작되는 프로세서에서 이용되는 클럭 주파수를 조절하여 전력 소모를 조절하는 전자 디바이스에 있어서, 유휴 태스크(Idle Task)의 동작 시간을 측정하는 유휴 시간 측정부, 상기 유휴 태스크의 동작 시간을 이용하여 상기 복수의 태스크의 부하율을 연산하는 부하율 연산부 및 상기 연산된 부하율에 상응하여 상기 클럭 주파수를 조절하는 클럭 변환부를 포함하는 전자 디바이스가 제공된다. According to an aspect of the present invention, an electronic device for controlling power consumption by adjusting a clock frequency used in a processor on which a plurality of tasks are operated, the idle time measuring unit measuring an operating time of an idle task; An electronic device includes a load rate calculator configured to calculate a load ratio of the plurality of tasks using an operation time of the idle task, and a clock converter configured to adjust the clock frequency in correspondence with the calculated load ratio.

여기서, 상기 클럭 변환부는 상기 연산된 부하율을 미리 설정된 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율보다 작은 경우 상기 클럭 주파수를 작게 설정할 수 있다. The clock converter may compare the calculated load rate with a preset reference load rate and set the clock frequency smaller when the calculated load rate is smaller than the reference load rate.

또한, 상기 클럭 변환부는 상기 연산된 부하율을 소정의 범위를 가지는 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율의 범위 내에 있도록 상기 클럭 주파수를 조절할 수 있다. The clock converter may compare the calculated load rate with a reference load rate having a predetermined range, and adjust the clock frequency such that the calculated load rate is within the range of the reference load rate.

본 실시예는 상기 유휴 시간 측정부 및 상기 부하율 연산부 중 어느 하나 이상의 동작 주기를 설정하는 시간 지연부를 더 포함할 수 있고, 또한, 상기 연산된 부하율을 미리 설정된 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율보다 큰 경우 상기 클럭 주파수를 유지하는 신호를 생성하는 부하율 검증부를 더 포함할 수 있다. The present embodiment may further include a time delay unit configured to set an operation period of at least one of the idle time measuring unit and the load rate calculating unit. The calculated load rate may be compared with a preset reference load rate. The display device may further include a load rate verification unit configured to generate a signal maintaining the clock frequency when the reference load rate is greater than the reference load rate.

여기서, 상기 유휴 시간 측정부는 소정의 주기에 상응하여 상기 유휴 태스크의 동작 시간을 측정하는 모니터 태스크가 될 수 있으며, 상기 유휴 시간 측정부는 상기 프로세서에서 동작하는 태스크 내에서 구동되는 코덱의 비트 레이트가 변하는 시점에 이벤트 신호를 발생하는 이벤트 측정부를 더 포함하되, 상기 유휴 시간 측정부는 상기 이벤트 신호를 수신하는 경우 유휴 태스크의 동작 시간을 측정할 수 있다. Here, the idle time measuring unit may be a monitor task for measuring an operation time of the idle task in correspondence with a predetermined period, and the idle time measuring unit may change a bit rate of a codec driven in a task operating in the processor. The apparatus may further include an event measuring unit generating an event signal at the time point, and the idle time measuring unit may measure an operation time of an idle task when receiving the event signal.

또한, 상기 클럭 변환부는 상기 클럭 주파수를 다음과 같은 수식에 의해 조절할 수 있다. The clock converter may adjust the clock frequency by the following equation.

Ir = (r-1+K)/r Ir = (r-1 + K) / r

Lr = (1-K)/rLr = (1-K) / r

여기서, K는 유휴 태스크의 동작 시간에 따른 유휴율, (1-K)는 연산된 부하율, r은 클럭 주파수의 조절 계수, Ir은 조절되는 유휴율 및 Lr은 조절되는 부하율이며, 상기 조절되는 부하율은 90% 내지 100%가 될 수 있으며, 상기 클럭 변환부는 미리 설정된 단위만큼 가감하여 상기 클럭 주파수를 조절할 수도 있다. Here, K is the idle rate according to the operation time of the idle task, (1-K) is the calculated load rate, r is the adjustment factor of the clock frequency, Ir is the idle rate to be adjusted and Lr is the load factor to be adjusted, May be 90% to 100%, and the clock converter may adjust the clock frequency by adding or subtracting by a predetermined unit.

또한, 본 발명의 다른 실시예에 따르면, 전자 디바이스가 복수의 태스크가 동작되는 프로세서에서 이용되는 클럭 주파수를 조절하여 전력 소모를 조절하는 방법에 있어서, 유휴 태스크(Idle Task)의 동작 시간을 측정하는 단계, 상기 유휴 태스크의 동작 시간을 이용하여 상기 복수의 태스크의 부하율을 연산하는 단계 및 상기 연산된 부하율에 상응하여 상기 클럭 주파수를 조절하는 단계를 포함하는 전력 소모 조절 방법이 제공된다. In addition, according to another embodiment of the present invention, in the method for adjusting the power consumption by adjusting the clock frequency used in the processor in which the plurality of tasks are operated, the electronic device to measure the operating time of the idle task (Idle Task) Comprising a step of calculating the load ratio of the plurality of tasks using the operation time of the idle task, and adjusting the clock frequency corresponding to the calculated load ratio is provided.

여기서, 상기 클럭 주파수 조절 단계는, 상기 연산된 부하율을 미리 설정된 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율보다 작은 경우 상기 클럭 주파수를 작게 설정할 수 있다. The clock frequency adjusting may include comparing the calculated load rate with a preset reference load rate and setting the clock frequency smaller when the calculated load rate is smaller than the reference load rate.

또한, 상기 클럭 주파수 조절 단계는, 상기 연산된 부하율을 소정의 범위를 가지는 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율의 범위 내에 있도록 상기 클럭 주파수를 조절할 수 있다. The clock frequency adjusting may include comparing the calculated load rate with a reference load rate having a predetermined range, and adjusting the clock frequency so that the calculated load rate is within the range of the reference load rate.

여기서, 상기 동작 시간 측정 단계 및 상기 부하율 연산 단계 중 어느 하나 이상의 단계는 미리 설정된 동작 주기마다 수행될 수 있다. Here, any one or more steps of the operation time measurement step and the load factor calculation step may be performed for each preset operation period.

또한, 본 실시예는 상기 연산된 부하율을 미리 설정된 기준 부하율과 비교하 고, 상기 연산된 부하율이 상기 기준 부하율보다 큰 경우 상기 클럭 주파수를 유지하는 신호를 생성하는 단계를 더 포함할 수 있다. The present invention may further include comparing the calculated load factor with a preset reference load factor and generating a signal maintaining the clock frequency when the calculated load factor is greater than the reference load factor.

또한, 본 실시예는 상기 프로세서에서 동작하는 태스크 내에서 구동되는 코덱의 비트 레이트가 변하는 시점에 이벤트 신호를 발생하는 단계를 더 포함하되, 상기 동작 시간 측정 단계는 상기 이벤트 신호가 발생하는 경우 수행될 수 있다. The present invention may further include generating an event signal at a point in time at which a bit rate of a codec driven in a task operating in the processor is changed, wherein the operation time measuring step is performed when the event signal is generated. Can be.

여기서, 상기 클럭 주파수 조절 단계는, 상기 클럭 주파수를 다음과 같은 수식에 의해 조절할 수 있다. Here, the clock frequency adjustment step, the clock frequency can be adjusted by the following equation.

Ir = (r-1+K)/r Ir = (r-1 + K) / r

Lr = (1-K)/rLr = (1-K) / r

여기서, K는 유휴 태스크의 동작 시간에 따른 유휴율, (1-K)는 연산된 부하율, r은 클럭 주파수의 조절 계수, Ir은 조절되는 유휴율 및 Lr은 조절되는 부하율이며, 상기 조절되는 부하율은 90% 내지 100%가 될 수 있다. Here, K is the idle rate according to the operation time of the idle task, (1-K) is the calculated load rate, r is the adjustment factor of the clock frequency, Ir is the idle rate to be adjusted and Lr is the load factor to be adjusted, May be from 90% to 100%.

또한, 상기 클럭 변환부 및 상기 클럭 주파수 조절 단계는, 미리 저장된 참조 테이블에서 상기 부하율에 상응하는 상기 클럭 주파수를 추출하여 상기 클럭 주파수를 조절할 수 있다. The clock converter and the clock frequency adjusting step may adjust the clock frequency by extracting the clock frequency corresponding to the load factor from a pre-stored reference table.

또한, 본 발명의 또 다른 측면에 따르면, 상술한 전력 소모 조절 방법을 수행하기 위하여 디지털 처리 장치에 의해 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며 디지털 처리 장치에 의해 판독될 수 있는 프로그램을 기록한 기록매체가 제공된다.Further, according to another aspect of the present invention, in order to perform the above-described power consumption adjustment method, a program of instructions that can be executed by the digital processing apparatus is tangibly embodied, and a program that can be read by the digital processing apparatus is recorded. A record carrier is provided.

전술한 것 외의 다른 측면, 특징, 이점이 이하의 도면, 특허청구범위 및 발 명의 상세한 설명으로부터 명확해질 것이다.Other aspects, features, and advantages other than those described above will become apparent from the following drawings, claims and detailed description of the invention.

본 발명에 따른 전력 소모 조절 장치 및 그 방법은 유휴 태스크에 머무는 시간을 최소화 하도록 클럭을 조절하여 전체 시스템의 전력 소모를 줄일 수 있는 효과가 있다. The apparatus and method for controlling power consumption according to the present invention have the effect of reducing the power consumption of the entire system by adjusting the clock to minimize the time spent in idle tasks.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all changes, equivalents, and substitutes included in the spirit and scope of the present invention.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. Terms including ordinal numbers such as first and second may be used to describe various components, but the components are not limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

본 명세서에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. As used herein, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, action, component, part, or combination thereof described on the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. In the following description of the present invention with reference to the accompanying drawings, the same components are denoted by the same reference numerals regardless of the reference numerals, and redundant explanations thereof will be omitted. In the following description of the present invention, if it is determined that the detailed description of the related known technology may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 1은 본 발명의 실시예에 따른 전력 소모 조절 기능을 구비한 전자 디바이스의 주요 구성요소에 대한 블록 구성도이다. 1 is a block diagram of main components of an electronic device with a power consumption adjustment function according to an embodiment of the present invention.

도 1을 참조하면, 전자 디바이스는 프로세서(110), 전력 소모 조절 유닛을 포함한다. 이외에 전자 기기는 그 목적에 따라 다양한 구성 요소(예를 들어, 오디오 재생 장치인 경우 디코딩부, 출력부, 표시부 등)를 더 포함할 것이나, 본 발명의 요지와는 다소 거리감이 있으므로 이에 대한 설명은 생략한다.Referring to FIG. 1, an electronic device includes a processor 110 and a power consumption adjustment unit. In addition, the electronic device may further include various components (for example, a decoding unit, an output unit, a display unit, etc. in the case of an audio reproducing apparatus) according to the purpose, but since the electronic device is somewhat distanced from the gist of the present invention, description thereof will be provided. Omit.

전력 소모 조절 유닛은 유휴 시간 측정부(120), 부하율 연산부(130), 클럭 변환부(140), 메모리(150), 시간 지연부(160)를 포함한다. 전력 소모 유닛의 하나 이상의 구성 요소는 소프트웨어 프로그램으로 구현되거나, 프로세서 칩에서 해당 기능의 실행이 가능하도록 구현될 수도 있을 것이다.The power consumption adjusting unit includes an idle time measuring unit 120, a load rate calculating unit 130, a clock converting unit 140, a memory 150, and a time delay unit 160. One or more components of the power consuming unit may be implemented as a software program or may be implemented to enable the execution of the corresponding functions in the processor chip.

본 실시예는 프로세서(110)의 유휴 태스크(Idle Task)가 동작하는 동작 시간을 측정하고, 이를 소정의 범위내로 줄일 수 있도록 클럭 주파수를 조절하는 특징이 있다. 즉, 본 실시예는 프로세서에서 동작하는 운영체제인 OS의 유휴 태스크의 수행시간을 이용하여 코어, 메모리, 버스 등의 클럭 주파수를 조절함으로써 전력 소모를 감소시키는 특징이 있다. The present embodiment is characterized by measuring an operating time during which an idle task of the processor 110 operates, and adjusting a clock frequency to reduce it to a predetermined range. That is, the present embodiment is characterized in that power consumption is reduced by adjusting clock frequencies of cores, memories, buses, etc. using execution times of idle tasks of an OS operating in a processor.

프로세서(110)는 중앙 처리 장치(CPU)의 기능을 집적한 회로이다. 예를 들면, 프로세서(110)는 산술 논리 연산 장치(ALU), 레지스터, 프로그램 카운터, 명령 해독기, 제어 회로 등과 같은 기능부를 포함할 수 있다. 복수의 태스크가 동작되는 프로세서(110)에서는 일반적으로 클럭 신호가 사용되며, 본 실시예는 이러한 클럭 주파수를 특정 범위만큼 조절할 수 있다. The processor 110 is a circuit integrating the functions of a central processing unit (CPU). For example, the processor 110 may include functional units such as an arithmetic logic unit (ALU), registers, program counters, instruction decoders, control circuits, and the like. In the processor 110 in which a plurality of tasks are operated, a clock signal is generally used, and the present embodiment may adjust the clock frequency by a specific range.

본 실시예에 따른 전력 소모 조절 유닛은 프로세서(110)와 물리적으로 구분되는 별도의 칩으로 구현되거나 또는 프로세서(110) 내부에 소프트웨어적으로 구현될 수도 있다. 전자의 경우 전력 소모 조절 유닛은 프로세서(110)와 소정의 버스로 연결되어 신호를 송수신할 수 있다. 또한, 본 실시예는 RISC(Reduced Instruction Set Computer)를 사용하는 시스템에 있어 다양한 컨텐츠(오디오, 비디오, 이미지 등) 이용 시 CPU 부하율을 최대로 하는 코어, 메모리, 버스 등의 클럭을 연산하고, 이러한 클럭을 이용함으로 인해 전력 소모를 줄일 수 있다.The power consumption control unit according to the present embodiment may be implemented as a separate chip physically separated from the processor 110 or may be implemented in software inside the processor 110. In the former case, the power consumption adjusting unit may be connected to the processor 110 through a predetermined bus to transmit and receive a signal. In addition, the present embodiment calculates a clock of a core, a memory, a bus, etc. that maximizes the CPU load rate when using various contents (audio, video, images, etc.) in a system using a reduced instruction set computer (RISC). Using a clock can reduce power consumption.

유휴 시간 측정부(120)는 프로세서(110)에서 동작하는 유휴 태스크의 동작 시간을 측정한다. 유휴 태스크가 동작하는 시간 및/또는 동작률(유휴율)을 측정하는 방법은 다음과 같이 다양할 수 있다. 예를 들면, OS의 TCB(Task Control Block)에서 제공하는 스케쥴 카운트(Schedule Count)를 이용하는 방법, 모든 태스크의 스케쥴 카운트에서 유휴 태스크의 스케쥴 카운트가 차지하는 비율을 측정하는 방법, 유휴 태스크의 수행시간을 RTC(Real Time Clock)를 이용하여 측정하는 방법 등으로 다양할 수 있다. The idle time measuring unit 120 measures an operating time of an idle task operating in the processor 110. Methods of measuring the time and / or operation rate (idle rate) in which an idle task operates may vary as follows. For example, how to use the schedule count provided by the task control block (TCB) of the OS, how to measure the ratio of the schedule count of the idle task to the schedule count of all tasks, and the execution time of the idle task. The measurement may be performed using a real time clock (RTC).

또한, 유휴 시간 측정부(120)는 소정의 주기 또는 특정 시점에 상술한 바와 같은 측정 방법을 이용하면서, 유휴 태스크가 동작하는 시간 및/또는 동작률을 측정할 수 있다. 예를 들면, 유휴 시간 측정부(120)는 모니터 태스크, 타이머 및 이벤트 측정부 중 어느 하나 이상을 이용하여 측정 시점을 설정할 수 있다. In addition, the idle time measuring unit 120 may measure a time and / or an operation rate at which an idle task operates while using the above-described measuring method at a predetermined cycle or a specific time point. For example, the idle time measuring unit 120 may set a measurement time point using any one or more of a monitor task, a timer, and an event measuring unit.

유휴 시간 측정부(120)가 모니터 태스크인 경우 모니터 태스크는 소정의 주기, 예를 들면, 10ms, 100ms, 500ms, 1초 등의 주기에 한번 씩 유휴 태스크의 동작 시간 및/또는 동작률을 측정할 수 있다. 모니터 태스크는 그 우선순위가 가장 높게 설정됨으로써, 미리 설정된 주기에 정확하게 작동할 수 있도록 할 수 있다. When the idle time measuring unit 120 is a monitor task, the monitor task may measure an operation time and / or an operation rate of the idle task once every predetermined period, for example, 10 ms, 100 ms, 500 ms, 1 second, or the like. Can be. The monitor task can be set to have the highest priority, so that it can operate accurately at a predetermined cycle.

또한, 본 실시예는 타이머(Timer)를 더 포함할 수 있다. 타이머는 유휴 시간 측정부(120)가 미리 설정한 주기마다 작동할 수 있도록 시간을 측정하고, 연산 주기를 설정할 수 있다. In addition, the present embodiment may further include a timer. The timer may measure time so that the idle time measuring unit 120 may operate at a predetermined period, and set an operation period.

또한, 유휴 시간 측정부(120)는 이벤트 측정부(미도시)를 더 포함하며 태스크의 특정 이벤트 시점마다 작동할 수 있다. 예를 들면, 이벤트 측정부는 비트 레 이트(Bit Rate)가 변하는 오디오의 경우(예를 들면, VBR) 태스크 내에서 구동되는 코덱의 비트 레이트가 변하는 시점에서 이벤트 신호를 발생시키고, 이를 유휴 시간 측정부(120)에 전달할 수 있다. 여기서, 코덱이 동작하는 태스크의 수는 프로그램의 종류에 따라 하나 또는 복수가 될 수 있다. 예를 들면, 오디오의 경우 코덱은 오디오 태스크에서만 동작하지만, 동영상의 경우 코덱은 오디오 태스크 및 비디오 태스크에서 각각 동작할 수 있다. In addition, the idle time measurement unit 120 may further include an event measurement unit (not shown) and may operate at a specific event time point of the task. For example, in the case of audio (eg, VBR) where the bit rate changes, the event measuring unit generates an event signal at a time point when the bit rate of the codec driven in the task changes, and the idle time measuring unit Can be passed to 120. Here, the number of tasks for which the codec operates may be one or plural according to the type of program. For example, in the case of audio, the codec operates only in the audio task, but in the case of a video, the codec may operate in the audio task and the video task, respectively.

유휴 시간 측정부(120)는 변화된 비트 레이트가 기존보다 높아지는지 낮아지는지 판단하고, 비트 레이트의 높낮이에 상응하여 유휴 태스크가 동작하는 시간 및/또는 동작률을 측정할 수 있다. 비디오의 경우에도 이벤트 측정부는 상술한 바와 같이 비트 레이트의 변화 여부 및 I-Frame, P-Frame, B-Frame 등 연산량의 변화를 판단하여 이벤트 신호를 발생시키며, 유휴 시간 측정부(120)는 이러한 이벤트 신호를 수신하고 연산량의 변화에 상응하여 유휴 태스크의 동작 시간을 측정할 수 있다. The idle time measurement unit 120 may determine whether the changed bit rate is higher or lower than the conventional one, and measure the time and / or operation rate at which the idle task operates according to the height of the bit rate. Even in the case of video, the event measuring unit generates an event signal by determining whether the bit rate is changed and the amount of computation such as I-Frame, P-Frame, or B-Frame, as described above, and the idle time measuring unit 120 generates such an event signal. The operation time of the idle task can be measured by receiving the event signal and corresponding to the change in the amount of computation.

여기서, 이벤트 측정부는 이벤트 신호를 후술할 부하율 연산부(130)에 전달할 수 있으며, 부하율 연산부(130)는 비트 레이트의 변화량 또는 프레임의 연산량의 변화량을 이용하여 부하율의 변화량을 연산할 수도 있다. 예를 들면, 비트 레이트 또는 프레임의 연산량이 두배로 커지면, 부하율은 이에 상응하여 두배로 연산될 수 있다. Here, the event measuring unit may transmit the event signal to the load rate calculator 130, which will be described later, and the load rate calculator 130 may calculate the change amount of the load rate using the change amount of the bit rate or the change amount of the calculation amount of the frame. For example, if the bit rate or frame amount is doubled, the load rate can be doubled accordingly.

부하율 연산부(130)는 유휴 시간 측정부(120)에서 측정한 유휴 태스크의 동작 시간을 이용하여 프로세서(110)에서 동작하는 복수의 태스크의 부하율을 연산한 다. 본 실시예에 따른 유휴 태스크도 하나의 태스크이므로, 본 실시예에 따른 복수의 태스크의 부하율은 유휴 태스크의 부하율과 실제 작업 태스크의 부하율을 포함할 수 있다. 이하에서는, 전자의 부하율을 유휴율이라는 명칭으로 별도로 표현할 수 있다. The load factor calculator 130 calculates load ratios of a plurality of tasks operated by the processor 110 by using an operation time of an idle task measured by the idle time measurer 120. Since the idle task according to the present embodiment is also one task, the load rate of the plurality of tasks according to the present embodiment may include the load rate of the idle task and the load rate of the actual work task. In the following, the former load rate can be expressed separately under the name of the idle rate.

프로세서(110)에서 가용한 모든 클럭을 최대로 설정하면, 유휴 태스크는 실제 작업을 수행하는 태스크의 작업 후 남은 시간 동안 수행된다. 따라서 부하율 연산부(130)는 수신한 유휴 태스크의 동작 시간과 실제 작업을 수행하는 태스크의 동작 시간을 이용하여 실제 작업을 수행하는 태스크의 수행률인 부하율을 연산한다. When all clocks available in the processor 110 are set to the maximum, the idle task is performed for the remaining time after the task of performing the actual task. Therefore, the load factor calculator 130 calculates a load factor, which is a performance rate of the task performing the actual work, using the received operation time of the idle task and the operation time of the task that performs the actual work.

또한, 부하율 연산부(130)는 소정의 단위 시간 대비 유휴 태스크의 동작 시간을 나타내는 유휴 태스크의 동작률(유휴률)을 이용하여 부하율을 연산할 수 있다. 운영체제(OS)는 유휴 태스크를 반드시 포함한 복수의 태스크를 가질 수 있다. 따라서 부하율은 1에서 유휴율을 차감한 값이 될 수 있다. In addition, the load factor calculator 130 may calculate a load factor by using an operation rate (idle rate) of an idle task representing an operation time of an idle task with respect to a predetermined unit time. An operating system (OS) may have a plurality of tasks that necessarily include idle tasks. Thus, the load factor can be equal to 1 minus the idle rate.

클럭 변환부(140)는 부하율 연산부(130)에서 연산한 부하율을 이용하여 프로세서(110)에 입력되는 클럭 주파수를 변환시킬 수 있다. 클럭 주파수는 부하율에 상응하여 달라질 수 있으며, 예를 들면, 부하율 연산부(130)에서 연산한 부하율이 기준 부하율보다 작은 경우 클럭 주파수는 기존에 입력된 주파수보다 작게 설정되거나 또는 변경되지 않으며, 역으로 부하율 연산부(130)에서 연산한 부하율이 기준 부하율보다 큰 경우 클럭 주파수는 기존에 입력된 주파수보다 크게 설정되거나 또는 변경되지 않을 수 있다. The clock converter 140 may convert the clock frequency input to the processor 110 using the load factor calculated by the load factor calculator 130. The clock frequency may vary according to the load rate. For example, when the load rate calculated by the load rate calculation unit 130 is smaller than the reference load rate, the clock frequency is not set or changed to be smaller than the previously input frequency. When the load ratio calculated by the calculator 130 is greater than the reference load ratio, the clock frequency may be set larger than the previously input frequency or may not be changed.

여기서, 기준 부하율은 미리 메모리(150)에 저장될 수 있으며, 부하율 연산 부(130)에서 연산한 부하율과 비교되어 클럭을 조절하기 위한 부하율이다. 기준 부하율은 90 내지 100%가 될 수 있다. 기준 부하율은 특정값 또는 특정 범위로 설정될 수 있다. 후자의 경우 측정된 현재 부하율이 특정 범위 내에 존재할 수 있도록 클럭 주파수를 조절할 수 있다. 예를 들면, 부하율 연산부(130)에서 연산한 부하율이 기준 부하율의 하한값보다 작은 경우 클럭 주파수는 기존에 입력된 주파수보다 작게 설정되며, 역으로 부하율 연산부(130)에서 연산한 부하율이 기준 부하율의 상한값보다 큰 경우 클럭 주파수는 기존에 입력된 주파수보다 크게 설정될 수 있으며, 부하율 연산부(130)에서 연산한 부하율이 기준 부하율의 범위내에 있으면 클럭 주파수는 변경되지 않을 수 있다. 이러한 실시예에 따르면, 부하율이 특정 범위내에 유지되므로, 안정적으로 시스템을 구동할 수 있는 장점이 있다.Here, the reference load rate may be stored in the memory 150 in advance, and is a load rate for adjusting the clock compared to the load rate calculated by the load rate calculator 130. The reference load rate can be 90 to 100%. The reference load factor may be set to a specific value or a specific range. In the latter case, the clock frequency can be adjusted so that the measured current load factor is within a certain range. For example, when the load factor calculated by the load factor calculator 130 is smaller than the lower limit of the reference load factor, the clock frequency is set smaller than a frequency input previously, and conversely, the load factor calculated by the load factor calculator 130 is the upper limit value of the reference load factor. If greater, the clock frequency may be set larger than the frequency input previously, and the clock frequency may not be changed if the load rate calculated by the load rate calculator 130 is within the range of the reference load rate. According to this embodiment, since the load ratio is kept within a specific range, there is an advantage that can drive the system stably.

기준 부하율은 본 발명이 적용되는 전자 기기의 제조시 미리 설정되어 메모리(150)에 저장될 수 있다. 본 실시예는 기준 부하율을 사용자가 변경할 수 있도록 사용자 인터페이스를 구비하거나 또는 기준 부하율이 변경되지 않도록 사용자의 접근을 차단할 수 있다. The reference load ratio may be preset in the manufacture of an electronic device to which the present invention is applied and stored in the memory 150. According to the present embodiment, the user interface may be provided so that the user can change the reference load rate, or the user's access may be blocked so that the reference load rate is not changed.

클럭 변환부(140)는 하나의 프로세서(110) 또는 복수의 프로세서(110)에 상응하여 클럭 주파수를 변환시킬 수 있다. 즉, 클럭 변환부(140)에서 변환된 클럭 주파수는 프로세서(110)의 용도, 종류 등에 따라 다르게 설정될 수 있다. The clock converter 140 may convert a clock frequency corresponding to one processor 110 or a plurality of processors 110. That is, the clock frequency converted by the clock converter 140 may be set differently according to the purpose, type, etc. of the processor 110.

시간 지연부(160)는 유휴 시간 측정부(120) 및/또는 부하율 연산부(130)의 동작 주기를 정함으로써 소정의 지정 시간 동안 프로세서(110)의 작업이 유지될 수 있도록 할 수 있다. 예를 들면, 시간 지연부(160)는 동작 주기, 예를 들면, 200ms, 400ms를 설정하고, 설정된 주기에 한 번씩 유휴 시간 측정부(120) 및/또는 부하율 연산부(130)가 동작하도록 함으로써, 프로세서(110)의 작업이 원활히 수행될 수 있도록 할 수 있다. 시간 지연부(160)는 부하율 연산부(130)만의 동작 주기를 정하거나, 유휴 시간 측정부(120)만의 동작 주기를 정하거나, 또는 그 둘의 동작 주기를 별로도 또는 동일하게 정할 수 있다. The time delay unit 160 may maintain an operation of the processor 110 for a predetermined time by determining an operation period of the idle time measurement unit 120 and / or the load factor calculator 130. For example, the time delay unit 160 sets an operation period, for example, 200 ms and 400 ms, and allows the idle time measuring unit 120 and / or the load factor calculator 130 to operate once every set period. Work of the processor 110 may be smoothly performed. The time delay unit 160 may determine an operation cycle of only the load rate calculator 130, an operation cycle of only the idle time measurement unit 120, or may separately or identically define the operation cycle of the two.

도 2는 본 발명의 실시예에 따른 전력 소모 조절 방법을 도시한 도면이다. 프로세서(110)가 구동되는 시스템에 유휴 태스크, 태스크1, 태스크2가 1초 동안 동작하는 경우를 중심으로 설명한다. 2 is a view showing a power consumption adjustment method according to an embodiment of the present invention. A case where the idle task, task 1, and task 2 operate for one second in the system in which the processor 110 is driven will be described.

도 2의 (A)를 참조하면, 입력되는 클럭 주파수는 300MHz이며, 1초 동안 태스크1이 200ms 동안 동작하고, 태스크2가 300ms 동안 동작하면, 유휴 태스크는 500ms 동안 동작한다. 따라서 유휴 태스크가 동작하는 500ms는 낭비되는 시간이 되며, 이 시간 동안 프로세서(110)는 실제 작업을 수행하지 않으면서 전력을 소모하게 된다. 여기서, 상술한 유휴율은 50%, 부하율은 50%가 된다. Referring to FIG. 2A, the input clock frequency is 300 MHz, and when task 1 operates for 200 ms for 1 second and task 2 operates for 300 ms, the idle task operates for 500 ms. Therefore, 500 ms of idle tasks is a waste of time, during which time the processor 110 consumes power without performing actual work. Here, the above-mentioned idle rate is 50%, and the load rate is 50%.

도 2의 (B)를 참조하면, 프로세서(110)에 입력되는 주파수를 (A)의 50%, 즉, 150MHz으로 낮추면, 태스크1이 400ms, 태스크2가 600ms 동안 동작하며, 유휴 태스크는 동작 하지 않으므로(0ms), 전력 낭비 없이 효율적으로 동작하는 시스템이 될 수 있다. 여기서, 상술한 유휴율은 0%, 부하율은 100%가 된다. Referring to FIG. 2B, when the frequency input to the processor 110 is lowered to 50% of A, that is, 150 MHz, task 1 operates for 400 ms and task 2 operates for 600 ms, and the idle task does not operate. Therefore (0ms), it can be a system that operates efficiently without wasting power. Here, the above-mentioned idle rate is 0%, and the load rate is 100%.

따라서 (A)에서, 클럭 주파수가 300MHz일 때 100mA의 전력이 소모된다면, (B)에서, 클럭 주파수가 150MHz일 때 50mA의 전력이 소모되므로, (B)의 경우 전력 소모가 감소되는 효과가 있다. Accordingly, in (A), if 100 mA of power is consumed when the clock frequency is 300 MHz, in (B), since 50 mA of power is consumed when the clock frequency is 150 MHz, power consumption is reduced in (B). .

도 3은 본 발명의 실시예에 따른 전력 소모 조절 유닛의 클럭 주파수, 유휴율 및 부하율의 관계를 도시한 도면이다. 도 3을 참조하면, 유휴율과 부하율을 일반화시킨 수식이 제시된다. 3 is a diagram illustrating a relationship between a clock frequency, an idle rate, and a load rate of a power consumption control unit according to an exemplary embodiment of the present invention. Referring to FIG. 3, a formula generalizing idle rate and load rate is presented.

클럭 변환부(140)는 클럭 주파수를 높이거나 낮추기 위해서 참조 테이블을 이용하거나 소정의 비율만큼 적용하거나 또는 특정 단위만큼 가감할 수 있다. 본 실시예는 클럭 주파수에 소정의 비율만큼 적용하여 클럭 주파수를 조절하는 경우에 해당한다. The clock converter 140 may use a reference table, apply a predetermined ratio, or add or subtract by a specific unit to increase or decrease the clock frequency. This embodiment corresponds to the case of adjusting the clock frequency by applying a predetermined ratio to the clock frequency.

클럭 주파수가 F일 때, 측정하여 연산한 유휴율이 K, 부하율이 1-K라고 하면, 클럭 주파수를 r배로 조절한 경우(rF), 조절되는 유휴율(Ir)과 부하율(Lr)은 다음과 같다. When the clock frequency is F, the measured and calculated idle rate is K and the load rate is 1-K. When the clock frequency is adjusted by r times (rF), the adjusted idle rate (Ir) and load rate (Lr) are as follows. Is the same as

Ir = (r-1+K)/r (1)Ir = (r-1 + K) / r (1)

Lr = (1-K)/r (2)Lr = (1-K) / r (2)

본 실시예에 따르면, 부하율이 기준 부하율 이상이 되도록 클럭 주파수를 조절하기 위하여 상술한 클럭 변환부(140)는 (1-K)/r이 기준 부하율 이상이 되는 r값을 연산하여 클럭 주파수를 조절할 수 있다. According to the present embodiment, in order to adjust the clock frequency such that the load ratio is equal to or greater than the reference load ratio, the above-described clock converter 140 adjusts the clock frequency by calculating r values such that (1-K) / r is equal to or greater than the reference load ratio. Can be.

예를 들면, 1초 동안 100%의 부하(Load)로 동작할 때 설정 시간(예를 들면, 200만큼의 시간)을 사용할 수 있는 경우를 가정하여 설명하면 다음과 같다. 유휴 태스크 등의 태스크들의 스케쥴 카운트는 프로세서(110)가 동작하는 시점부터 계속 증가하므로, 유휴 시간 측정부(120)는 유휴 태스크에 관해 현재 1초 동안의 스케쥴 카운트를 얻기 위해서 유휴 태스크의 스케쥴 카운트를 추출하고 이 값에서 1초 전에 측정했던 스케쥴 카운트를 차감하면, 현재 1초 동안 유휴 태스크가 동작한 시간을 측정할 수 있다. 부하율 연산부(130)는 1초 동안 유휴 태스크가 동작한 시간으로부터 상술한 유휴율 및 부하율을 연산할 수 있다. For example, assuming that a setting time (for example, 200 hours) can be used when operating at 100% load for 1 second, it will be described below. Since the schedule count of tasks such as the idle task continues to increase from the time when the processor 110 operates, the idle time measuring unit 120 calculates the schedule count of the idle task in order to obtain the schedule count of the current 1 second with respect to the idle task. By extracting and subtracting the schedule count measured one second from this value, we can measure how long the idle task has been running for the current one second. The load rate calculator 130 may calculate the above-mentioned idle rate and load rate from a time when the idle task operates for one second.

만약, 200만큼의 시간동안 유휴 태스크가 동작하였다면, 이는 다른 태스크들은 동작을 하지 않았음을 나타내며, 이 경우 유휴율은 100%, 부하율은 0%가 된다. 또한, 100만큼의 시간동안 유휴 태스크가 동작하였다면, 이는 다른 태스크들은 100만큼의 시간동안 동작한 경우를 나타내며, 이 경우 유휴율은 50%, 부하율은 50%가 된다. 또한, 50만큼의 시간동안 유휴 태스크가 동작하였다면, 이는 다른 태스크들은 150만큼의 시간동안 동작한 경우를 나타내며, 이 경우 유휴율은 25%, 부하율은 75%가 된다. If the idle task has been running for 200 hours, this indicates that the other tasks have not been running, in which case the idle rate is 100% and the load rate is 0%. In addition, if the idle task has been running for 100 hours, this indicates that other tasks have been running for 100 hours, in which case the idle rate is 50% and the load rate is 50%. In addition, if the idle task has been running for 50 hours, this indicates that other tasks have been running for 150 hours, in which case the idle rate is 25% and the load rate is 75%.

기준 부하율이 100%인 경우, 부하율이 50%이면 상기 식(2)에서 K=0.5이므로, 클럭 주파수를 0.5배 즉, r을 0.5로 설정한 경우, 새로 설정된 부하율은 100%가 되며, 식(1)에 의하여 유휴율은 0%가 된다. 또한, 부하율이 75%인 경우, 상기 식(2)에서 K=0.25이므로, 클럭 주파수를 0.75배, 즉, r을 0.75로 설정한 경우, 새로 설정된 부하율은 100%가 되며, 식(1)에 의하여 유휴율은 0%가 된다. When the reference load ratio is 100%, if the load ratio is 50%, K = 0.5 in Equation (2). When the clock frequency is set to 0.5 times, that is, r is set to 0.5, the newly set load ratio becomes 100%. According to 1), the idle rate is 0%. In addition, when the load ratio is 75%, K = 0.25 in Equation (2). Therefore, when the clock frequency is set to 0.75 times, that is, r is set to 0.75, the newly set load rate becomes 100%. The idle rate is 0%.

또한, 기준 부하율이 95%인 경우, 부하율이 50%이면 상기 식(2)에서 K=0.5이 므로, 식(2)가 95%가 되는 r은 다음과 같이 구할 수 있다. In the case where the reference load ratio is 95%, if the load ratio is 50%, K = 0.5 in the above formula (2), and r, where the formula (2) becomes 95%, can be obtained as follows.

0.95 = (1-0.5)/r (3)0.95 = (1-0.5) / r (3)

r = 50/95 (4)r = 50/95 (4)

본 실시예에 따르면, 기준 부하율이 95% 정도인 경우 현재 클럭에 대한 정보를 충분히 얻을 수 있는 장점이 있다. 만약, 부하율이 100% 라면 현재 클럭으로 충분한지 아니면 부족한지 판단이 어렵기 때문이다. 또한, 부하율은 수시로 변할 수 있기 때문에 소정의 짧은 시간, 예를 들면, 100ms, 혹은 200ms 마다 유휴율 또는 부하율을 계속 연산하여 클럭 주파수를 변경할 수 있다. According to the present embodiment, when the reference load ratio is about 95%, the information on the current clock may be sufficiently obtained. If the load ratio is 100%, it is difficult to determine whether the current clock is sufficient or insufficient. In addition, since the load rate may change from time to time, the clock frequency can be changed by continuously calculating the idle rate or load rate every predetermined short time, for example, 100 ms or 200 ms.

도 4는 본 발명의 실시예에 따른 전력 소모 조절 유닛의 참조 테이블을 도시한 도면이다. 본 실시예는 클럭 변환부(140)가 참조 테이블을 이용하여 클럭 주파수를 조절하는 경우에 해당한다. 여기서, 참조 테이블은 예를 들어 메모리(150)에 저장되어 이용될 수 있다.4 is a diagram illustrating a reference table of a power consumption adjustment unit according to an embodiment of the present invention. This embodiment corresponds to the case where the clock converter 140 adjusts the clock frequency by using a reference table. Here, the reference table may be stored and used in the memory 150, for example.

도 4를 참조하면, 코어(Core), 버스(Bus), 메모리(Memory) 등에서 동작하는 각 프로세스마다 적용되는 각각의 클럭 주파수가 특정되어 있으며, 클럭 변환부(140)는 참조값(Reference Index)을 호출하여 해당 프로세스마다 클럭 주파수를 특정할 수 있다. 각 클럭 주파수는 부하율에 상응하여 정해질 수 있다. Referring to FIG. 4, each clock frequency applied to each process operating in a core, a bus, a memory, and the like is specified, and the clock converter 140 determines a reference index. You can call it to specify the clock frequency for that process. Each clock frequency may be determined in accordance with the load factor.

예를 들면, 참조값이 1인 경우 각 클럭 주파수는 코어에서 300, 버스에서 200, 메모리에서 100으로 설정되며, 참조값이 10인 경우 각 클럭 주파수는 코어에서 30, 버스에서 20, 메모리에서 10으로 설정될 수 있다. 본 예시에 따르면, 유휴율이 클수록(즉, 부하율이 작을수록) 큰 참조값을 호출하여 유휴율을 낮출 수 있다. 이외에도 프로세스별로 개별적으로 클럭 주파수를 조절하거나 클럭 주파수에서 특정 단위(예를 들면, 10단위, 20단위 등)를 가감함으로써 클럭 주파수를 조절하는 등 다양한 클럭 주파수 조절 방법이 본 발명에 적용될 수 있음은 물론이다. For example, if the reference value is 1, each clock frequency is set to 300 on the core, 200 on the bus, and 100 in memory. If the reference value is 10, each clock frequency is set to 30 on the core, 20 on the bus, and 10 on memory. Can be. According to this example, the larger the idle rate (that is, the smaller the load rate) can call the larger reference value to lower the idle rate. In addition, various clock frequency adjustment methods may be applied to the present invention, such as adjusting the clock frequency individually for each process or adjusting the clock frequency by adding or subtracting a specific unit (for example, 10 units, 20 units, etc.) from the clock frequency. to be.

도 5는 본 발명의 다른 실시예에 따른 전자 디바이스의 주요 부분에 대한 블록 구성도이다. 도 4를 참조하면, 프로세서(110), 유휴 시간 측정부(120), 부하율 연산부(130), 부하율 검증부(135), 클럭 변환부(140), 메모리(150), 시간 지연부(160)가 도시된다. 상술한 바와의 차이점을 위주로 설명한다. 5 is a block diagram of an essential part of an electronic device according to another embodiment of the present invention. 4, the processor 110, the idle time measuring unit 120, the load rate calculating unit 130, the load rate verifying unit 135, the clock converting unit 140, the memory 150, and the time delay unit 160. Is shown. The differences from the above will be explained mainly.

부하율 검증부(135)는 부하율 연산부(130)에서 연산한 프로세서(110)의 현재 부하율을 수신하여 이를 미리 설정된 기준 부하율과 비교하고, 비교 결과 현재 부하율이 기준 부하율보다 크거나 같은 경우 추가적으로 클럭 주파수를 변환시키지 않음으로써, 연산량을 줄임과 동시에 소모 전력량을 줄일 수 있는 특징이 있다. The load rate verification unit 135 receives the current load rate of the processor 110 calculated by the load rate calculation unit 130 and compares the current load rate with a preset reference load rate, and additionally sets a clock frequency when the current load rate is greater than or equal to the reference load rate. By not converting, the amount of power consumed can be reduced while reducing the amount of computation.

부하율 검증부(135)는 현재 부하율을 메모리(150)에 저장되거나 또는 미리 설정된 기준 부하율과 비교한다. 만약, 현재 부하율이 기준 부하율보다 작은 경우에는 클럭 주파수 변경 신호를 생성하여 클럭 변환부(140)에 전달하며, 클럭 변환부(140)는 클럭 주파수 변경 신호를 수신하는 경우에만, 상술한 바와 같이 클럭 주파수를 부하율에 상응하여 변경할 수 있다. 역으로, 현재 부하율이 기준 부하율보 다 큰 경우, 부하율 검증부(135)는 클럭 주파수를 유지하는 신호를 생성하며, 클럭 변환부(140)는 클럭 주파수를 유지하는 신호를 수신하거나 또는 클럭 주파수 변경 신호를 수신하지 않는 경우 클럭 주파수를 유지할 수 있다. The load rate verification unit 135 compares the current load rate with the reference load rate stored in the memory 150 or preset. If the current load rate is smaller than the reference load rate, the clock frequency change signal is generated and transmitted to the clock converter 140, and the clock converter 140 only receives the clock frequency change signal, as described above. The frequency can be changed to correspond to the load factor. Conversely, if the current load ratio is greater than the reference load ratio, the load ratio verification unit 135 generates a signal maintaining the clock frequency, and the clock converter 140 receives a signal maintaining the clock frequency or changes the clock frequency. If no signal is received, the clock frequency can be maintained.

도 6은 본 발명의 실시예에 따른 전력 소모 조절 방법의 흐름도이다.6 is a flowchart illustrating a power consumption adjustment method according to an embodiment of the present invention.

단계 S410에서, 유휴 시간 측정부(120)는 프로세서(110)에서 동작하는 유휴 태스크의 동작 시간을 측정한다. 단계 S415에서, 유휴 태스크의 동작 시간을 측정하는 방법은 상술한 바와 같이, 모니터 태스크를 이용하는 방법, 타이머를 통해 시간 측정 및 연산 주기 설정을 이용하는 방법 및 이벤트 측정부를 이용하여 태스크의 특정 이벤트 시점마다 작동하는 방법 등일 수 있다. In operation S410, the idle time measuring unit 120 measures an operating time of an idle task operating in the processor 110. In operation S415, the method for measuring an operation time of an idle task may be performed at a specific event time point of the task using a method using a monitor task, a method using time measurement and a calculation cycle setting through a timer, and an event measuring unit as described above. And the like.

단계 S420에서, 부하율 연산부(130)는 유휴 시간 측정부(120)에서 측정한 유휴 태스크의 동작 시간을 이용하여 프로세서(110)의 부하율을 연산한다. 프로세서(110)의 부하율은 유휴 태스크의 유휴율을 이용하여 산출할 수 있으므로, 본 발명은 부하율 연산부(130)가 유휴율을 산출하는 경우도 그 권리범위에 포함할 수 있다. In operation S420, the load factor calculator 130 calculates a load factor of the processor 110 by using an operation time of an idle task measured by the idle time measurer 120. Since the load rate of the processor 110 may be calculated using the idle rate of the idle task, the present invention may also include the right rate when the load rate calculator 130 calculates the idle rate.

단계 S430에서, 클럭 변환부(140)는 프로세서(110)의 부하율에 상응하여 프로세서(110)에 입력되는 클럭 주파수를 변환한다. 클럭 변환부(140)가 클럭 주파수를 높이거나 낮추기 위해 이용하는 방법은 상술한 바와 같이, 참조 테이블을 이용하는 방법, 소정의 비율만큼 적용하는 방법 및 특정 단위만큼 가감하는 방법 중 어느 하나 이상의 방법이 될 수 있다. In operation S430, the clock converter 140 converts the clock frequency input to the processor 110 according to the load ratio of the processor 110. The method used by the clock converter 140 to increase or decrease the clock frequency may be any one or more of a method using a reference table, a method applied by a predetermined ratio, and a method added or subtracted by a specific unit as described above. have.

단계 S440에서, 시간 지연부(160)는 상술한 바와 같이 유휴 시간 측정부(120) 및/또는 부하율 연산부(130)의 동작 주기를 정함으로써 소정의 지정 시간 동안 프로세서(110)의 작업이 유지될 수 있도록 할 수 있다. In operation S440, the time delay unit 160 determines an operation period of the idle time measurement unit 120 and / or the load factor calculator 130 as described above to maintain the operation of the processor 110 for a predetermined time. You can do that.

그 외 본 발명의 실시예에 따른 전력 소모 조절 장치에 대한 구체적인 임베디드 시스템, OS 등의 공통 플랫폼 기술과 통신 프로토콜, I/O 인터페이스 등 인터페이스 표준화 기술 등에 대한 구체적인 설명은 본 발명이 속하는 기술 분야의 통상의 지식을 가진자에게 자명한 사항이므로 생략하기로 한다.In addition, a specific description of a common platform technology such as an embedded system, an OS, a communication standard, an interface standardization technology such as an I / O interface, and the like, for a power consumption control device according to an embodiment of the present invention, As it is obvious to a person who has knowledge of O, it will be omitted.

본 발명에 따른 전력 소모 조절 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 즉, 기록 매체는 컴퓨터에 상술한 단계들을 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체가 될 수 있다.The method for controlling power consumption according to the present invention may be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. In other words, the recording medium may be a computer readable recording medium having recorded thereon a program for causing the computer to execute the above steps.

상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합한 형태로 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(Magnetic Media), CD-ROM, DVD와 같은 광기록 매체(Optical Media), 플롭티컬 디스크(Floptical Disk)와 같은 자기-광 매체(Magneto-Optical Media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다.The computer readable medium may include a program command, a data file, a data structure, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks such as floppy disks. -Magneto-Optical Media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like.

해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Those skilled in the art will appreciate that various modifications and changes can be made in the present invention without departing from the spirit and scope of the invention as set forth in the claims below.

도 1은 본 발명의 실시예에 따른 전력 소모 조절 장치의 블록 구성도. 1 is a block diagram of a power consumption control apparatus according to an embodiment of the present invention.

도 2는 본 발명의 실시예에 따른 전력 소모 조절 장치의 동작 방법을 도시한 도면. 2 is a view showing a method of operating a power consumption control apparatus according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 따른 전력 소모 조절 장치의 클럭 주파수, 유휴율 및 부하율의 관계를 도시한 도면. 3 is a diagram illustrating a relationship between a clock frequency, an idle rate, and a load rate of an apparatus for controlling power consumption according to an embodiment of the present invention.

도 4는 본 발명의 실시예에 따른 전력 소모 조절 장치의 참조 테이블을 도시한 도면. 4 is a diagram illustrating a reference table of an apparatus for controlling power consumption according to an embodiment of the present invention.

도 5는 본 발명의 다른 실시예에 따른 전력 소모 조절 장치의 블록 구성도. 5 is a block diagram of a power consumption control apparatus according to another embodiment of the present invention.

도 6은 본 발명의 실시예에 따른 전력 소모 조절 방법의 흐름도. 6 is a flow chart of a power consumption adjustment method according to an embodiment of the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

110 : 프로세서 120 : 유휴 시간 측정부110: processor 120: idle time measurement unit

130 : 부하율 연산부 135 : 부하율 검증부130: load factor calculator 135: load factor verification unit

140 : 클럭 변환부 150 : 메모리140: clock converting unit 150: memory

160 : 시간 지연부160: time delay unit

Claims (22)

복수의 태스크가 동작되는 프로세서에서 이용되는 클럭 주파수를 조절하여 전력 소모를 조절하는 전자 디바이스에 있어서, An electronic device for controlling power consumption by adjusting a clock frequency used in a processor in which a plurality of tasks are operated, 유휴 태스크(Idle Task)의 동작 시간을 측정하는 유휴 시간 측정부;An idle time measuring unit measuring an operation time of an idle task; 상기 유휴 태스크의 동작 시간을 이용하여 상기 복수의 태스크의 부하율을 연산하는 부하율 연산부; A load ratio calculator configured to calculate load ratios of the plurality of tasks by using an operation time of the idle task; 상기 연산된 부하율에 상응하여 상기 클럭 주파수를 조절하는 클럭 변환부; 및A clock converter which adjusts the clock frequency according to the calculated load ratio; And 상기 유휴 시간 측정부 및 상기 부하율 연산부 중 어느 하나 이상의 동작 주기를 설정하는 시간 지연부를 포함하는 전자 디바이스. And a time delay unit configured to set an operation period of at least one of the idle time measurement unit and the load factor calculator. 제1항에 있어서, The method of claim 1, 상기 클럭 변환부는 상기 연산된 부하율을 미리 설정된 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율보다 작은 경우 상기 클럭 주파수를 작게 설정하는 것을 특징으로 하는 전자 디바이스. And the clock converting unit compares the calculated load ratio with a preset reference load ratio, and sets the clock frequency smaller when the calculated load ratio is smaller than the reference load ratio. 제1항에 있어서, The method of claim 1, 상기 클럭 변환부는 상기 연산된 부하율을 미리 설정된 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율보다 큰 경우 상기 클럭 주파수를 크 게 설정하는 것을 특징으로 하는 전자 디바이스. And the clock converting unit compares the calculated load ratio with a preset reference load ratio and sets the clock frequency large when the calculated load ratio is greater than the reference load ratio. 제1항에 있어서, The method of claim 1, 상기 클럭 변환부는 상기 연산된 부하율을 소정의 범위를 가지는 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율의 범위 내에 있도록 상기 클럭 주파수를 조절하는 것을 특징으로 하는 전자 디바이스. And the clock converter compares the calculated load rate with a reference load rate having a predetermined range, and adjusts the clock frequency so that the calculated load rate is within the range of the reference load rate. 삭제delete 제1항에 있어서, The method of claim 1, 상기 연산된 부하율을 미리 설정된 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율보다 큰 경우 상기 클럭 주파수를 유지하는 신호를 생성하는 부하율 검증부를 더 포함하는 전자 디바이스. And a load ratio verification unit for comparing the calculated load ratio with a preset reference load ratio and generating a signal maintaining the clock frequency when the calculated load ratio is greater than the reference load ratio. 제1항에 있어서, The method of claim 1, 상기 유휴 시간 측정부는 소정의 주기에 상응하여 상기 유휴 태스크의 동작 시간을 측정하는 모니터 태스크인 것을 특징으로 하는 전자 디바이스. And the idle time measuring unit is a monitor task for measuring an operation time of the idle task in correspondence with a predetermined period. 제1항에 있어서, The method of claim 1, 상기 유휴 시간 측정부는 상기 프로세서에서 동작하는 태스크 내에서 구동되는 코덱의 비트 레이트가 변하는 시점에 이벤트 신호를 발생하는 이벤트 측정부를 더 포함하되, The idle time measuring unit may further include an event measuring unit generating an event signal at a time when a bit rate of a codec driven in a task operating in the processor is changed. 상기 유휴 시간 측정부는 상기 이벤트 신호를 수신하는 경우 유휴 태스크의 동작 시간을 측정하는 것을 특징으로 하는 전자 디바이스. The idle time measuring unit measures an operation time of an idle task when the event signal is received. 제1항에 있어서, The method of claim 1, 상기 클럭 변환부는 상기 클럭 주파수를 다음과 같은 수식에 의해 조절하는 것을 특징으로 하는 전자 디바이스. And the clock converter adjusts the clock frequency by the following equation. Ir = (r-1+K)/r Ir = (r-1 + K) / r Lr = (1-K)/rLr = (1-K) / r 여기서, K는 유휴 태스크의 동작 시간에 따른 유휴율, (1-K)는 연산된 부하율, r은 클럭 주파수의 조절 계수, Ir은 조절되는 유휴율 및 Lr은 조절되는 부하 율.Here, K is the idle rate according to the operation time of the idle task, (1-K) is the calculated load rate, r is the adjustment factor of the clock frequency, Ir is the idle rate is adjusted and Lr is the load rate is adjusted. 제9항에 있어서, 10. The method of claim 9, 상기 조절되는 부하율은 90% 내지 100%인 것을 특징으로 하는 전자 디바이스. The regulated load factor is 90% to 100%. 제1항에 있어서, The method of claim 1, 상기 클럭 변환부는 미리 저장된 참조 테이블에서 상기 부하율에 상응하는 상기 클럭 주파수를 추출하여 상기 클럭 주파수를 조절하는 것을 특징으로 하는 전자 디바이스. And the clock converter extracts the clock frequency corresponding to the load ratio from a pre-stored reference table to adjust the clock frequency. 제1항에 있어서, The method of claim 1, 상기 클럭 변환부는 미리 설정된 단위만큼 가감하여 상기 클럭 주파수를 조절하는 것을 특징으로 하는 전자 디바이스. And the clock converting unit adjusts the clock frequency by adding or subtracting the predetermined unit. 전자 디바이스가 복수의 태스크가 동작되는 프로세서에서 이용되는 클럭 주파수를 조절하여 전력 소모를 조절하는 방법에 있어서, A method of controlling power consumption by an electronic device adjusting a clock frequency used in a processor in which a plurality of tasks are operated, 유휴 태스크(Idle Task)의 동작 시간을 측정하는 단계;Measuring an operating time of an idle task; 상기 유휴 태스크의 동작 시간을 이용하여 상기 복수의 태스크의 부하율을 연산하는 단계; 및Calculating a load ratio of the plurality of tasks by using an operation time of the idle task; And 상기 연산된 부하율에 상응하여 상기 클럭 주파수를 조절하는 단계를 포함하되,Adjusting the clock frequency in accordance with the calculated load ratio; 상기 클럭 주파수를 조절하는 단계에서, 상기 클럭 주파수를 하기 수식에 의해 조절하는 것을 특징으로 하는 전력 소모 조절 방법. In the adjusting of the clock frequency, the clock frequency is adjusted by the following equation. Ir = (r-1+K)/rIr = (r-1 + K) / r Lr = (1-K)/rLr = (1-K) / r 여기서, K는 유휴 태스크의 동작 시간에 따른 유휴율, (1-K)는 연산된 부하율, r은 클럭 주파수의 조절 계수, Ir은 조절되는 유휴율 및 Lr은 조절되는 부하율.Where K is the idle rate according to the operation time of the idle task, (1-K) is the calculated load rate, r is the adjustment factor of the clock frequency, Ir is the idle rate to be adjusted and Lr is the load rate to be adjusted. 제13항에 있어서, The method of claim 13, 상기 클럭 주파수 조절 단계는,The clock frequency adjustment step, 상기 연산된 부하율을 미리 설정된 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율보다 작은 경우 상기 클럭 주파수를 작게 설정하는 것을 특징으로 하는 전력 소모 조절 방법. And comparing the calculated load ratio with a preset reference load ratio and setting the clock frequency smaller when the calculated load ratio is smaller than the reference load ratio. 제13항에 있어서, The method of claim 13, 상기 클럭 주파수 조절 단계는,The clock frequency adjustment step, 상기 연산된 부하율을 소정의 범위를 가지는 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율의 범위 내에 있도록 상기 클럭 주파수를 조절하는 것을 특징으로 하는 전력 소모 조절 방법. And comparing the calculated load rate with a reference load rate having a predetermined range, and adjusting the clock frequency so that the calculated load rate is within the range of the reference load rate. 제13에 있어서, The method according to claim 13, 상기 동작 시간 측정 단계 및 상기 부하율 연산 단계 중 어느 하나 이상의 단계는 미리 설정된 동작 주기마다 수행되는 것을 특징으로 하는 전력 소모 조절 방법. And at least one of the operation time measurement step and the load factor calculation step is performed at each preset operation period. 제13항에 있어서, The method of claim 13, 상기 연산된 부하율을 미리 설정된 기준 부하율과 비교하고, 상기 연산된 부하율이 상기 기준 부하율보다 큰 경우 상기 클럭 주파수를 유지하는 신호를 생성하는 단계를 더 포함하는 전력 소모 조절 방법. And comparing the calculated load ratio with a preset reference load ratio and generating a signal for maintaining the clock frequency when the calculated load ratio is greater than the reference load ratio. 제13항에 있어서, The method of claim 13, 상기 프로세서에서 동작하는 태스크 내에서 구동되는 코덱의 비트 레이트가 변하는 시점에 이벤트 신호를 발생하는 단계를 더 포함하되, Generating an event signal at a point in time at which a bit rate of a codec driven in a task operating in the processor is changed; 상기 동작 시간 측정 단계는 상기 이벤트 신호가 발생하는 경우 수행되는 것을 특징으로 하는 전력 소모 조절 방법. And measuring the operation time when the event signal is generated. 삭제delete 제13항에 있어서, The method of claim 13, 상기 조절되는 부하율은 90% 내지 100%인 것을 특징으로 하는 전력 소모 조절 방법. The regulated load ratio is 90% to 100% power consumption adjustment method. 제13항에 있어서, The method of claim 13, 상기 클럭 주파수 조절 단계는, 미리 저장된 참조 테이블에서 상기 부하율에 상응하는 상기 클럭 주파수를 추출하여 상기 클럭 주파수를 조절하는 것을 특징으로 하는 전력 소모 조절 방법. The adjusting of the clock frequency may include adjusting the clock frequency by extracting the clock frequency corresponding to the load ratio from a pre-stored reference table. 제13항 내지 제18항, 제20항 내지 제21항 중 어느 하나에 기재된 전력 소모 조절 방법을 수행하기 위하여 디지털 처리 장치에 의해 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며 디지털 처리 장치에 의해 판독될 수 있는 프로그램을 기록한 기록매체.A program of instructions that can be executed by a digital processing apparatus for performing the power consumption adjusting method according to any one of claims 13 to 18 and 20 to 21 is tangibly embodied. Recording medium recording a program that can be read.
KR1020090086403A 2009-09-14 2009-09-14 Electronic device and its power consumption control method KR101047540B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090086403A KR101047540B1 (en) 2009-09-14 2009-09-14 Electronic device and its power consumption control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090086403A KR101047540B1 (en) 2009-09-14 2009-09-14 Electronic device and its power consumption control method

Publications (2)

Publication Number Publication Date
KR20110028803A KR20110028803A (en) 2011-03-22
KR101047540B1 true KR101047540B1 (en) 2011-07-07

Family

ID=43934871

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090086403A KR101047540B1 (en) 2009-09-14 2009-09-14 Electronic device and its power consumption control method

Country Status (1)

Country Link
KR (1) KR101047540B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101881019B1 (en) * 2011-10-26 2018-07-24 삼성전자 주식회사 Device and method for saving a power in wireless terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010034850A1 (en) * 1991-12-17 2001-10-25 Atkinson Lee Warren Apparatus for reducing computer system power consumption
KR20040104713A (en) * 2002-05-09 2004-12-10 인텔 코오퍼레이션 Power management for integrated graphics device
KR20070059839A (en) * 2005-12-07 2007-06-12 한국전자통신연구원 Method and device managing power in embedded linux system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010034850A1 (en) * 1991-12-17 2001-10-25 Atkinson Lee Warren Apparatus for reducing computer system power consumption
KR20040104713A (en) * 2002-05-09 2004-12-10 인텔 코오퍼레이션 Power management for integrated graphics device
KR20070059839A (en) * 2005-12-07 2007-06-12 한국전자통신연구원 Method and device managing power in embedded linux system

Also Published As

Publication number Publication date
KR20110028803A (en) 2011-03-22

Similar Documents

Publication Publication Date Title
US7739532B2 (en) Method, apparatus and system for enhanced CPU frequency governers
US8478567B2 (en) Systems and methods for measuring the effectiveness of a workload predictor on a mobile device
US8225112B2 (en) Using historic load profiles to dynamically adjust operating frequency and available power to a handheld multimedia device processor core
US20170147055A1 (en) Systems and methods for providing local hardware limit management and enforcement
JP2018501569A (en) System and method for peak dynamic power management in portable computing devices
US8510740B2 (en) System and method of performing dynamic voltage and frequency scaling operations on a mobile device
CN102213997A (en) Method and apparatus for interrupt power management
US10509588B2 (en) System and method for controlling memory frequency using feed-forward compression statistics
US8320898B2 (en) Systems and methods for optimizing the configuration of a set of performance scaling algorithms
EP1860555A2 (en) Media subsystem, method and computer program product for adaptive media buffering
JP5275457B2 (en) Method and system for measuring task load
US20220393960A1 (en) Technologies for performance monitoring and management with empty polling
TW201627863A (en) Resource metrology method and apparatus
KR101047540B1 (en) Electronic device and its power consumption control method
US9632566B2 (en) Dynamically controlling power based on work-loop performance
JP2004521427A (en) Method and system for evaluating task progress
CN105828252B (en) A kind of distribution method and electronic equipment of microphone control
JP2007141020A (en) Data processor and electronic equipment
US20140122403A1 (en) Loading prediction method and electronic device using the same
WO2013126499A1 (en) System and method for managing electrical current in a portable computing device
KR100772502B1 (en) Apparatus for MPEG playback using dynamic working frequency and voltage scaling with decoding time prediction and method thereof
Lanoë et al. Consumption analysis and estimation in the design of GStreamer based multimedia applications
TW201316252A (en) Systems and methods for measuring the effectiveness of a workload predictor on a mobile device
TWI492158B (en) Load prediction method and electronic apparatus
KR101106720B1 (en) Method for controlling cpu voltage dynamically while playing h.264/svc video file

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20140701

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150629

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160630

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180627

Year of fee payment: 8