KR20070099181A - Power management system and method thereof - Google Patents

Power management system and method thereof Download PDF

Info

Publication number
KR20070099181A
KR20070099181A KR1020060030238A KR20060030238A KR20070099181A KR 20070099181 A KR20070099181 A KR 20070099181A KR 1020060030238 A KR1020060030238 A KR 1020060030238A KR 20060030238 A KR20060030238 A KR 20060030238A KR 20070099181 A KR20070099181 A KR 20070099181A
Authority
KR
South Korea
Prior art keywords
voltage
performance
data
scaling
register
Prior art date
Application number
KR1020060030238A
Other languages
Korean (ko)
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 KR1020060030238A priority Critical patent/KR20070099181A/en
Publication of KR20070099181A publication Critical patent/KR20070099181A/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • H02M3/10Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • H02M3/156Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
    • H02M3/158Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators including plural semiconductor devices as final control devices for a single load
    • 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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C5/00Details of stores covered by group G11C11/00
    • G11C5/14Power supply arrangements, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels
    • G11C5/147Voltage reference generators, voltage or current regulators; Internally lowered supply levels; Compensation for voltage drops
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/0003Details of control, feedback or regulation circuits
    • H02M1/0032Control circuits allowing low power mode operation, e.g. in standby mode
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/10Technologies improving the efficiency by using switched-mode power supplies [SMPS], i.e. efficient power electronics conversion e.g. power factor correction or reduction of losses in power supplies or efficient standby modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

A system and a method for controlling electric power of an electronic system are provided to control an operation voltage by monitoring a performance of the system for managing electric power in real-time. A system for managing electric power includes a regulator(110), a register(130), and a scheduler(140). The regulator receives a supply voltage and generates an operation voltage. The register is operated by receiving the operation voltage and configured so as to store valid data. The power scheduler controls the regulator to vary gradually a target voltage after the operation voltage is set as the target voltage in response to variation of a driving frequency. The power scheduler recognizes whether the data is varied for every variations of the target voltage and determines a scaling voltage level of the operation voltage according to the recognized result.

Description

전자장치 시스템의 전력 제어 장치 및 제어 방법{Power Management System and method thereof}Power control device and control method of electronic device system

도 1은 일반적인 주파수-전압 피드백 루프 방식의 내부전압 제어 스킴을 보여주는 블록도;1 is a block diagram showing an internal voltage control scheme of a typical frequency-voltage feedback loop scheme;

도 2는 본 발명의 전압 스케일링을 구현하기 위한 장치를 설명하는 블록도;2 is a block diagram illustrating an apparatus for implementing the voltage scaling of the present invention;

도 3은 도 2의 퍼포먼스 측정회로의 구성을 보여주는 블록도;3 is a block diagram showing the configuration of the performance measurement circuit of FIG.

도 4a는 본 발명의 데이터 보존회로(Balloon Latch)를 보여주는 회로도;4A is a circuit diagram showing a data storage circuit (Balloon Latch) of the present invention;

도 4b는 도 4a의 데이터 보존회로(Balloon Latch)의 제어 동작을 설명하는 타이밍도;FIG. 4B is a timing diagram for explaining the control operation of the data retention circuit (Balloon Latch) of FIG. 4A;

도 5는 본 발명의 퍼포먼스 측정회로의 배치를 설명하는 도면;5 is a view for explaining an arrangement of the performance measuring circuit of the present invention;

도 6a는 본 발명에 따른 전력 제어 블록의 제어 알고리즘의 일 실시예를 설명하는 순서도;6A is a flow chart illustrating one embodiment of a control algorithm of a power control block in accordance with the present invention;

도 6b는 본 발명에 따른 전력 제어 블록의 제어 알고리즘의 다른 실시예를 설명하는 순서도;6B is a flow chart illustrating another embodiment of a control algorithm of a power control block according to the present invention;

도 7a는 고속 모드에서 저속 모드로의 전환시 전압 스케일링 동작을 설명하는 타이밍도;7A is a timing diagram illustrating a voltage scaling operation in switching from a high speed mode to a low speed mode;

도 7b는 저속 모드에서 고속 모드로의 전환시 전압 스케일링 동작을 설명하 는 타이밍도. 7B is a timing diagram illustrating a voltage scaling operation in switching from a low speed mode to a high speed mode.

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

11 : 주파수 설정 레지스터 12 : 감산기11: frequency setting register 12: subtractor

13 : 전압 제어부 14 : 링 오실레이터13: voltage control unit 14: ring oscillator

15 : 주파수 카운터 110 : 전압 레귤레이터15: frequency counter 110: voltage regulator

120 : 퍼포먼스 측정회로 121 : 발진 회로120: performance measurement circuit 121: oscillation circuit

122 : 측정 활성화 회로 123 : 클록 분주기122: measurement enable circuit 123: clock divider

124 : 주파수 카운터 125 : 래치 활성화 회로124: frequency counter 125: latch enable circuit

126 : 레지스터 127 : 비교기126: register 127: comparator

128 : 상한 레지스터 129 : 하한 레지스터128: upper limit register 129: lower limit register

130 : 레지스터 세트 131 : 메인 플립플롭130: register set 131: main flip-flop

132 : 데이터 보존회로 132: data preservation circuit

140 : 전력 제어 블록(Power Scheduler)140: power control block (Power Scheduler)

150 : 위상 고정 루프150: phase locked loop

본 발명은 반도체 시스템에 관한 것으로, 특히 반도체 시스템의 동작 모드 변동에 따른 최적 전압을 공급하는 전압 제어 장치 및 제어 방법에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor system, and more particularly, to a voltage control device and a control method for supplying an optimum voltage according to a change in an operation mode of a semiconductor system.

최근, 모바일 트랜드의 급격한 변화에 따라 마이크로프로세서와 같은 반도체 장치는 속도나 신뢰성과 같은 성능과 함께 전력소비의 최소화가 중요한 이슈로 등장하고 있다. 소비자들은 휴대의 용이성과 더불어 장시간 운용이 가능한 모바일 시스템을 선호하는 경향이 있다. 모바일 시스템의 장기간 운용을 위해서 큰 용량의 배터리를 구비하는 것으로 가능하지만, 이는 휴대성을 제한하기 때문에 모바일 시스템에서는 특수한 경우 이외에는 채택될 수 없다. 반면에, 제한된 배터리의 전력소모를 최소화하는 다양한 장치와 방법들이 적극적으로 시도 및 구현되고 있다. 프로세서의 고속처리가 불필요한 시점이나 동작에서는 저속의 주파수로 구동하여 동적 전류(Dynamic Current)의 소모를 최소화할 수 있다. 또는, 특정 디바이스 또는 블록에 대해서 전원을 차단하여 누설 전류(Leakage Current)로 야기되는 전력 소모를 차단하는 방식들이 이용된다. 전원을 원천적으로 차단하거나, 최소한의 전원만을 공급하는 슬립(Sleep)모드로 전환하는 방식은 대기 시간이 긴 모바일 시스템에서 폭넓게 사용된다. 슬립 모드 사용 방식은 시스템 중에서 사용되지 않는 모듈이나 장치는 슬립 모드로 전환하여 전원을 차단하거나, 최소한의 전원만을 공급하여 데이터 유지만 가능하도록 구성한다.Recently, with the rapid change in mobile trends, semiconductor devices such as microprocessors have emerged as an important issue for minimizing power consumption along with performance such as speed and reliability. Consumers tend to prefer mobile systems for ease of portability and long-term operation. Although it is possible to have a large capacity battery for long-term operation of the mobile system, this is limited in portability, and therefore cannot be adopted except in special cases in the mobile system. On the other hand, various devices and methods for minimizing the power consumption of limited batteries have been actively tried and implemented. When the processor does not need high-speed processing or operation, driving at a low frequency can minimize the consumption of dynamic current. Alternatively, schemes are used in which power is cut off for a specific device or block to cut off power consumption caused by leakage current. Power-off or switching to sleep mode with minimal power is widely used in high-latency mobile systems. In the sleep mode usage method, a module or device not used in the system is switched to the sleep mode to cut off the power, or supply the minimum power to maintain the data.

반면에, 동작의 대기 상태가 아닌 동작 중에서 이루어지는 다이나믹 스케일링 방식이 저전력 시스템의 구현을 위해 널리 사용되고 있다. 다이나믹 스케일링 방식은 동작 특성의 저하를 최소화하면서 전력 소모를 최소화하는 전력 제어 방법이다. 다이나믹 스케일링(Dynamic Scaling) 방식은 굳이 모바일 시스템뿐 아니라 데스크 탑 시스템에서도 칩의 온도증가 및 열화 등에 의한 신뢰성 저하에 대하여 유용하다. 다이나믹 스케일링 방식의 저전력 스킴으로는 동작 중에 주파수를 변경 하는 다이나믹 주파수 스케일링(Dynamic Frequency Scaling) 및 전압을 변경하는 다이나믹 전압 스케일링(Dynamic Voltage Scaling)이 대표적이다. On the other hand, a dynamic scaling method that is performed in an operation other than a standby state of an operation is widely used for implementing a low power system. Dynamic scaling is a power control method that minimizes power consumption while minimizing degradation of operating characteristics. Dynamic Scaling is useful not only in mobile systems but also in desktop systems against reliability degradation caused by chip temperature and deterioration. The dynamic scaling low power schemes include dynamic frequency scaling, which changes frequency during operation, and dynamic voltage scaling, which changes voltage.

도 1은 일반적인 다이나믹 스케일링에서 사용되는 전압 스케일링 동작을 구성하는 주파수-전압 피드백 루프를 설명하는 회로도이다. 도 1을 참조하면, 전력 제어부(Power Scheduler, 도시는 생략)로부터 변경하려는 동작 주파수(fset)의 크기가 주파수 설정 데이터(Freq_Data)로 주파수 설정 레지스터(11)에 입력된다. 감산기(12)는 구동 클록(CLK)의 현재 주파수(fCLK)를 주파수 카운터(15)로부터 전달받아 차감하여 차신호(Err)를 생성하여 전압 제어부(13)로 전달한다. 전압 제어부(13)는 차신호(Err)의 부호와 레벨에 응답하여 배터리나 외부 전원(VBAT)을 스위칭하고 필터링(L-C 필터)하여 내부전압(VDD)로 출력한다. 내부전압(VDD)에 따라서 링 오실레이터(14)는 대응하는 주파수의 구동 클록(CLK)을 생성하고 주파수 카운터(15)에 의해서 카운트 된 데이터가 현재의 주파수(fCLK)로 피드백된다. 이러한 주파수-전압 피드백 루프에 의해서 내부전압(VDD)이 설정되는 주파수에 적절한 크기로 시스템으로 공급될 수 있다. 상술한 다이나믹 스케일링에 대한 구체적인 기술적 구성은 "A Dynamic Voltage Scaled Microprocessor System, IEEE JSSC, VOL.35, Nov.2000"에 상세히 소개되어 있으며 본 발명의 레퍼런스에 포함된다. 상술한 다이나믹 스케일링 방식은 주파수 설정 레지스터(11)에 저장된 주파수 크기와 출력되는 내부전압(VDD)에 대응하는 링 오실레이터(14)의 출력 주파수가 일치하는 경우 주파수-전압 피드백 루프는 안정화된다. 그러나 이러한 전압 스케일링 방식은 이상적인 경우에 해당한다. 일반적으로 내부전압(VDD)과 주파수의 관계는 칩의 공정상태 및 동작 온도 등의 다양한 요인들로 인해 선형관계로 정의될 수 없다. 따라서, 대부분의 경우 설정 주파수에 대응하는 내부전압(VDD)은 칩의 동작 온도, 공정변화 등을 보상할 수 있는 정도의 큰 마진(Margin)을 두는 것으로 안정성을 확보하고 있다. 이러한 경우에 내부전압(VDD)은 상대적으로 큰 폭의 마진(Margin)을 갖도록 설계되어야 하고 이는 저전력 설계의 제한 요소로 작용한다. 즉 내부전압의 마진에 따르는 전력 소모가 필연적이다. 1 is a circuit diagram illustrating a frequency-voltage feedback loop constituting a voltage scaling operation used in general dynamic scaling. Referring to FIG. 1, the magnitude of the operating frequency fset to be changed from the power controller (Power Scheduler, not shown) is input to the frequency setting register 11 as frequency setting data Freq_Data. The subtractor 12 receives and subtracts the current frequency f CLK of the driving clock CLK from the frequency counter 15 to generate a difference signal Err, and transmits the difference signal Err to the voltage controller 13. The voltage controller 13 switches, filters, and filters the battery or the external power supply VBAT in response to the sign and level of the difference signal Err, and outputs the result to the internal voltage VDD. According to the internal voltage VDD, the ring oscillator 14 generates a driving clock CLK of the corresponding frequency and the data counted by the frequency counter 15 is fed back to the current frequency f CLK . By this frequency-voltage feedback loop, the internal voltage VDD may be supplied to the system in a size appropriate for the frequency at which the internal voltage VDD is set. Detailed technical configuration of the above-described dynamic scaling is introduced in detail in "A Dynamic Voltage Scaled Microprocessor System, IEEE JSSC, VOL. 35, Nov. 2000" and is included in the reference of the present invention. The dynamic scaling scheme described above is stabilized when the frequency magnitude stored in the frequency setting register 11 and the output frequency of the ring oscillator 14 corresponding to the output internal voltage VDD coincide. However, this voltage scaling is an ideal case. In general, the relationship between the internal voltage (VDD) and the frequency cannot be defined as a linear relationship due to various factors such as the process state and operating temperature of the chip. Therefore, in most cases, the internal voltage VDD corresponding to the set frequency has a high margin to compensate for the chip operating temperature, process change, and the like, thereby securing stability. In this case, the internal voltage VDD should be designed to have a relatively large margin, which is a limiting factor of the low power design. In other words, power consumption due to the margin of the internal voltage is inevitable.

본 발명은 상술한 문제점을 해결하기 위하여 제안된 것으로, 본 발명의 목적은 전압 스케일링의 마진 폭을 최소화할 수 있는 전압 스케일링 장치 및 방법을 제공하는 데 있다.The present invention has been proposed to solve the above problems, and an object of the present invention is to provide a voltage scaling apparatus and method that can minimize the margin width of voltage scaling.

본 발명의 다른 목적은 실시간으로 디바이스의 퍼포먼스를 측정하여 동작 오류가 발생하지 않는 최소 전압으로 스케일링할 수 있는 장치 및 방법을 제공하는 데 있다.Another object of the present invention is to provide an apparatus and method capable of measuring the performance of a device in real time and scaling to a minimum voltage at which no operation error occurs.

상기 목적을 달성하기 위하여 본 발명에 따른 전력 관리 장치는, 공급 전압을 입력받아 동작 전압을 발생하는 전압 조정 회로와; 상기 동작 전압을 공급받아 동작하며, 유효한 데이터를 저장하도록 구성된 레지스터와; 그리고 동작 주파수의 변경에 응답하여 상기 동작 전압이 목표 전압으로 설정된 후 상기 목표 전압이 단계적으로 변화되도록 상기 전압 조정 회로를 제어하는 전력 제어 블록을 포함하며, 상기 전력 제어 블록은 상기 목표 전압이 단계적으로 변화될 때마다 상기 유효한 데이터가 변경되었는지의 여부를 판별하고, 판별 결과에 따라 상기 동작 전압의 스케일링 전압 레벨을 결정한다.In order to achieve the above object, a power management device according to the present invention comprises: a voltage adjusting circuit which receives a supply voltage and generates an operating voltage; A register operative to receive the operating voltage and configured to store valid data; And a power control block for controlling the voltage adjusting circuit so that the target voltage is gradually changed after the operating voltage is set to the target voltage in response to the change of the operating frequency, wherein the power control block is configured to step by step the target voltage. Each time a change is made, it is determined whether or not the valid data has changed, and a scaling voltage level of the operating voltage is determined according to the determination result.

바람직한 실시예에 있어서, 상기 목표 전압은 마진이 포함된 동작 전압이다.In a preferred embodiment, the target voltage is an operating voltage including margin.

바람직한 실시예에 있어서, 상기 전력 제어 블록은 상기 동작 주파수가 높아질 때 상기 동작 전압이 상기 목표 전압으로 증가되도록 상기 전압 조정회로를 제어한다.In a preferred embodiment, the power control block controls the voltage adjusting circuit so that the operating voltage is increased to the target voltage when the operating frequency is increased.

바람직한 실시예에 있어서, 상기 동작 전압이 상기 목표 전압으로 증가된 후, 상기 전력 제어 블록은 상기 목표 전압이 단계적으로 감소하도록 상기 전압 조정 회로를 제어한다.In a preferred embodiment, after the operating voltage is increased to the target voltage, the power control block controls the voltage regulation circuit so that the target voltage decreases step by step.

바람직한 실시예에 있어서, 상기 전력 제어 블록은 상기 동작 주파수가 낮아질 때 상기 동작 전압이 상기 목표 전압으로 낮아지도록 상기 전압 조정회로를 제어한다.In a preferred embodiment, the power control block controls the voltage adjusting circuit to lower the operating voltage to the target voltage when the operating frequency is lowered.

바람직한 실시예에 있어서, 상기 동작 전압이 상기 목표 전압으로 낮아진 후, 상기 전력 제어 블록은 상기 목표 전압이 단계적으로 감소하도록 상기 전압 조정 회로를 제어한다.In a preferred embodiment, after the operating voltage is lowered to the target voltage, the power control block controls the voltage regulation circuit so that the target voltage decreases step by step.

바람직한 실시예에 있어서, 상기 전력 제어 블록은 상기 레지스터에 저장된 유효 데이터로서 테스트 패턴을 저장하도록 구성된다. In a preferred embodiment, the power control block is configured to store a test pattern as valid data stored in the register.

바람직한 실시예에 있어서, 상기 동작 전압이 상기 목표 전압으로 천이된 후, 상기 목표 전압이 단계적으로 감소되는 스케일링 동작 동안, 상기 전력 제어 블록은 상기 레지스터에 저장된 유효 데이터가 상기 테스트 패턴과 일치하는 지의 여부를 판별한다.In a preferred embodiment, during a scaling operation in which the target voltage is gradually reduced after the operating voltage transitions to the target voltage, the power control block determines whether valid data stored in the register matches the test pattern. Determine.

바람직한 실시예에 있어서, 상기 레지스터에 저장된 유효 데이터가 상기 테스트 패턴과 일치하지 않을 때, 상기 전력 제어 블록은 상기 목표 전압보다 낮게 그리고 현재의 감소된 목표 전압보다 높게 상기 동작 전압을 결정한다.In a preferred embodiment, when the valid data stored in the register does not match the test pattern, the power control block determines the operating voltage below the target voltage and above the current reduced target voltage.

바람직한 실시예에 있어서, 상기 전력 제어 블록에 의해서 제어되며, 상기 동작 전압이 상기 목표 전압으로 증가된 후 상기 목표 전압이 단계적으로 감소되는 스케일링 동작 동안 상기 결정된 동작 전압의 성능 마진을 측정하도록 구성된 성능 측정 회로를 더 포함한다.In a preferred embodiment, the performance measure controlled by the power control block and configured to measure the performance margin of the determined operating voltage during a scaling operation in which the target voltage is gradually reduced after the operating voltage is increased to the target voltage. It further includes a circuit.

바람직한 실시예에 있어서, 상기 스케일링 동작이 완료된 후, 상기 성능 측정 회로는 상기 측정된 성능 마진을 벗어났는 지의 여부를 실시간으로 모니터링한다.In a preferred embodiment, after the scaling operation is completed, the performance measurement circuitry monitors in real time whether the measured performance margin is out of range.

바람직한 실시예에 있어서, 상기 측정된 성능 마진을 벗어날 때, 상기 성능 측정 회로는 상기 전력 제어 블록으로 인터럽트 정보를 제공한다.In a preferred embodiment, when out of the measured performance margin, the performance measurement circuitry provides interrupt information to the power control block.

바람직한 실시예에 있어서, 상기 전력 제어 블록은 상기 인터럽트 정보에 응답하여 상기 스케일링 동작을 재개한다.In a preferred embodiment, the power control block resumes the scaling operation in response to the interrupt information.

상술한 목적을 달성하기 위한 본 발명의 모바일 시스템은 데이터 처리 장치와; 그리고 상기 데이터 처리 장치에 공급되는 동작 전압을 제어하는 전력 제어 장치를 포함하며, 상기 전력 제어 장치는 청구항 1에 기재된 전력 제어 장치로 구성된다. A mobile system of the present invention for achieving the above object and a data processing device; And a power control device for controlling an operating voltage supplied to the data processing device, wherein the power control device is comprised of the power control device according to claim 1.

상술한 목적을 달성하기 위한 본 발명의 전력 관리 장치는 내부 전압을 조정하는 전압 레귤레이터; 상기 내부전압을 전원으로 제공받는 레지스터; 상기 내부전압을 전원으로 제공받고, 동작 가능 전원전압이 상기 레지스터보다 낮으며, 상기 레지스터와 데이터 교환이 가능한 데이터 보존회로; 상기 전압 레귤레이터가 선택된 클록 신호의 주파수에 대응하는 내부전압의 레벨을 출력하도록 스케일링 동작을 수행하는 전력 제어 블록을 포함하되, 상기 스케일링 동작시, 상기 전력 제어 블록의 제어에 따라 상기 레지스터의 데이터는 상기 데이터 보존회로에 백업되고, 상기 내부전압은 제 1 레벨로부터 상기 레지스터의 동작 오류가 발생하는 제 2 레벨까지 단계적으로 변화된다.Power management device of the present invention for achieving the above object is a voltage regulator for adjusting the internal voltage; A resistor receiving the internal voltage as a power source; A data preserving circuit provided with the internal voltage as a power source, the operable power supply voltage being lower than the resistor, and capable of exchanging data with the register; And a power control block configured to perform a scaling operation such that the voltage regulator outputs a level of an internal voltage corresponding to a frequency of a selected clock signal. In the scaling operation, data of the register is controlled according to control of the power control block. Backed up to the data preservation circuit, the internal voltage is changed step by step from the first level to the second level where an operation error of the register occurs.

바람직한 실시예에 있어서, 상기 스케일링 동작 동안, 상기 전력 제어 블록은 상기 레지스터의 동작 오류 검출시, 상기 제 2 레벨보다 높은 전압을 선택하여 상기 전압 레귤레이터가 출력하도록 제어하고, 상기 데이터 보존회로에 백업 된 데이터를 상기 레지스터로 복원한다. In a preferred embodiment, during the scaling operation, the power control block selects a voltage higher than the second level to control the voltage regulator to output when the operation error of the register is detected, and is backed up to the data preserving circuit. Restore data to the register.

바람직한 실시예에 있어서, 상기 전력 제어 블록은 상기 레지스터와 상기 데이터 보존회로에 저장된 데이터를 비교하는 수단을 통하여 동작 오류를 검출한다.In a preferred embodiment, the power control block detects an operation error through means for comparing the data stored in the register with the data preservation circuit.

바람직한 실시예에 있어서, 상기 전력 제어 블록은 상기 레지스터로 테스트 패턴을 제공하여 동작 오류를 검출한다.In a preferred embodiment, the power control block provides a test pattern to the register to detect operational errors.

바람직한 실시예에 있어서, 상기 데이터 보존회로는 MTCMOS(Multi-Threshold Complementary Metal Oxide Semiconductor) 플립-플롭이다. In a preferred embodiment, the data preservation circuit is a multi-threshold complementary metal oxide semiconductor (MTCMOS) flip-flop.

바람직한 실시예에 있어서, 상기 전력 제어 블록에 의해서 선택된 내부전압 레벨의 퍼포먼스 마진을 제공하기 위한 퍼포먼스 측정회로를 더 포함한다.In a preferred embodiment, the apparatus further includes a performance measuring circuit for providing a performance margin of the internal voltage level selected by the power control block.

바람직한 실시예에 있어서, 상기 퍼포먼스 측정회로는, 현재의 퍼포먼스를 감지하여 퍼포먼스 데이터로 출력하는 퍼포먼스 감지부; 상기 선택된 주파수에서의 퍼포먼스 허용 범위를 저장하는 마진 레지스터; 상기 퍼포먼스 데이터와 상기 퍼포먼스 허용 범위를 비교하여 상기 허용 범위를 벗어나는 경우 상기 인터럽트 신호를 출력하는 비교기를 포함한다.In a preferred embodiment, the performance measurement circuit, the performance detection unit for detecting the current performance and outputting the performance data; A margin register for storing a performance tolerance at the selected frequency; And a comparator for comparing the performance data with the performance allowable range and outputting the interrupt signal when the performance allowable range is exceeded.

바람직한 실시예에 있어서, 상기 퍼포먼스 감지부는, 상기 내부전압의 레벨과 동작 온도에 따라 변동하는 주파수의 퍼포먼스 감지 신호를 생성하는 발진회로; 상기 퍼포먼스 감지 신호의 주파수를 측정하는 카운터; 상기 카운터로부터의 퍼포먼스 데이터를 일시 저장하고, 상기 비교기와 상기 전력 제어 블록으로 제공하는 퍼포먼스 데이터 레지스터를 포함한다.In an exemplary embodiment, the performance sensing unit may include an oscillation circuit configured to generate a performance sensing signal having a frequency varying according to the level of the internal voltage and an operating temperature; A counter for measuring a frequency of the performance detection signal; And a performance data register for temporarily storing performance data from the counter and providing the comparator and the power control block.

바람직한 실시예에 있어서, 상기 발진회로는 상기 클록 신호와는 독립적인 주파수의 주기신호를 생성한다.In a preferred embodiment, the oscillator circuit generates a periodic signal of a frequency independent of the clock signal.

바람직한 실시예에 있어서, 상기 마진 레지스터는, 상기 퍼포먼스 허용 범위의 하한값이 저장되는 하한 레지스터; 및 상기 퍼포먼스 허용 범위의 상한값이 저장되는 상한 레지스터를 포함한다.In a preferred embodiment, the margin register, the lower limit register in which the lower limit value of the performance allowable range is stored; And an upper limit register in which an upper limit value of the performance allowable range is stored.

바람직한 실시예에 있어서, 상기 퍼포먼스 측정부는 복수 개가 구비된다.In a preferred embodiment, the performance measuring unit is provided with a plurality.

바람직한 실시예에 있어서, 상기 전력 제어 블록은 상태 기계로 구성된다.In a preferred embodiment, the power control block consists of a state machine.

바람직한 실시예에 있어서, 상기 전력 제어 블록은 프로그램된 소프트웨어로 구성된다.In a preferred embodiment, the power control block consists of programmed software.

상기 목적을 달성하기 위한 본 발명의 다른 특징에 따른 레지스터의 데이터를 스케일링 동작 동안 백업하기 위한 데이터 보존 회로를 구비하고, 선택되는 클록 주파수에서 동작 가능한 최소의 전압으로 스케일링하는 반도체 시스템의 내부전압 스케일링 방법은, 상기 레지스터의 데이터를 데이터 보존회로에 백업하는 단계; 상기 내부전압을 스케일링 초기전압으로 레벨 변동하는 단계; 상기 내부전압의 스케일링 초기전압으로부터 스케일링 스텝 전압만큼 차감하는 단계; 차감된 이후의 상기 내부전압에서의 반도체 장치의 동작 오류를 체크하는 단계; 동작 오류의 검출시, 상기 내부전압을 상기 동작 오류의 발생 이전 레벨로 복구하고, 상기 데이터 보존회로에 저장된 데이터를 상기 레지스터로 복구하는 데이터 복구 단계를 포함한다. An internal voltage scaling method of a semiconductor system having a data preserving circuit for backing up data of a register during a scaling operation according to another aspect of the present invention for achieving the above object, and scaling to a minimum voltage operable at a selected clock frequency. The method may include: backing up data of the register to a data storage circuit; Level changing the internal voltage to a scaling initial voltage; Subtracting a scaling step voltage from the scaling initial voltage of the internal voltage; Checking an operation error of the semiconductor device at the internal voltage after subtraction; And a data recovery step of recovering the internal voltage to a level before the occurrence of the operation error and restoring data stored in the data preservation circuit to the register upon detection of an operation error.

바람직한 실시예에 있어서, 상기 동작 오류를 체크하는 단계는 동작 오류가 발생하지 않는 경우에는 현재의 내부전압에서 상기 스케일링 스텝 전압을 차감하는 단계로 이동한다.In a preferred embodiment, the checking of the operation error is shifted to subtracting the scaling step voltage from the current internal voltage when no operation error occurs.

바람직한 실시예에 있어서, 상기 반도체 장치는 퍼포먼스 상태에 따라서 변동되는 발진 주파수를 측정하여 퍼포먼스 데이터로 출력하는 퍼포먼스 측정회로를 더 포함한다.In a preferred embodiment, the semiconductor device further includes a performance measuring circuit for measuring the oscillation frequency that varies in accordance with the performance state and outputs it as performance data.

바람직한 실시예에 있어서, 상기 데이터 복구 단계는 상기 동작 오류가 발생하는 시점에서 출력되는 상기 퍼포먼스 데이터를 참조하여 상기 퍼포먼스 측정회로의 퍼포먼스 마진 값을 설정한다.In a preferred embodiment, the data recovery step sets a performance margin value of the performance measurement circuit with reference to the performance data output at the time when the operation error occurs.

바람직한 실시예에 있어서, 상기 내부전압을 스케일링 초기전압으로 레벨 변 동하는 단계는,상기 클록 주파수가 이전보다 증가된 경우에는 이전보다 높은 스케일링 초기전압으로, 상기 클록 주파수가 이전보다 감소된 경우에는 이전보다 낮은 스케일링 초기 전압으로 변동한다.In a preferred embodiment, the step of level shifting the internal voltage to a scaling initial voltage is a higher scaling initial voltage than before when the clock frequency is increased than before, and when the clock frequency is decreased than before. Fluctuates to a lower scaling initial voltage.

상기 목적을 달성하기 위한 본 발명의 다른 특징에 따르면, 레지스터의 데이터를 스케일링 동작 동안 백업하기 위한 데이터 보존 회로를 구비하고, 선택되는 클록 주파수에서 동작 가능한 최소의 전압으로 스케일링하는 반도체 시스템의 내부전압 스케일링 방법은, 상기 내부전압을 스케일링 초기전압으로 레벨 변동하는 단계; 상기 레지스터의 데이터를 데이터 보존회로에 백업하는 단계; 상기 내부전압의 스케일링 초기전압으로부터 스케일링 스텝 전압만큼 차감하는 단계; 차감된 이후의 상기 내부전압에서의 반도체 장치의 동작 오류를 체크하는 단계; 동작 오류의 검출시, 상기 내부전압을 상기 동작 오류의 발생 이전 레벨로 복구하고, 상기 데이터 보존회로에 저장된 데이터를 상기 레지스터로 복구하는 데이터 복구 단계를 포함한다. According to another aspect of the present invention for achieving the above object, there is provided a data preserving circuit for backing up data of a register during a scaling operation, and scaling an internal voltage of a semiconductor system to scale to a minimum voltage operable at a selected clock frequency. The method includes level shifting the internal voltage to a scaling initial voltage; Backing up the data of the register to a data preservation circuit; Subtracting a scaling step voltage from the scaling initial voltage of the internal voltage; Checking an operation error of the semiconductor device at the internal voltage after subtraction; And a data recovery step of recovering the internal voltage to a level before the occurrence of the operation error and restoring data stored in the data preservation circuit to the register upon detection of an operation error.

바람직한 실시예에 있어서, 상기 동작 오류를 체크하는 단계는 상기 레지스터로 테스트 패턴을 제공하여 강하된 전압에서 정상적으로 데이터 저장이 가능한지를 검출한다.In a preferred embodiment, the checking of the operation error provides a test pattern to the register to detect whether data can be stored normally at the dropped voltage.

바람직한 실시예에 있어서, 상기 동작 오류의 체크 후, 동작 오류가 발생하지 않는 경우에는 상기 데이터 보존 회로의 백업 된 데이터를 상기 레지스터로 복원하는 단계를 포함한다.In a preferred embodiment, after checking the operation error, if the operation error does not occur, restoring the backed up data of the data preservation circuit to the register.

바람직한 실시예에 있어서, 상기 반도체 장치는 퍼포먼스 상태에 따라서 변 동되는 발진 주파수를 측정하여 퍼포먼스 데이터로 출력하는 퍼포먼스 측정회로를 더 포함한다. In a preferred embodiment, the semiconductor device further includes a performance measuring circuit for measuring the oscillation frequency that is changed according to the performance state and outputs the performance data.

바람직한 실시예에 있어서, 상기 데이터 복구 단계는 상기 동작 오류가 발생하는 시점에서 출력되는 상기 퍼포먼스 데이터를 참조하여 상기 퍼포먼스 측정회로의 퍼포먼스 마진 값을 설정한다.In a preferred embodiment, the data recovery step sets a performance margin value of the performance measurement circuit with reference to the performance data output at the time when the operation error occurs.

바람직한 실시예에 있어서, 상기 내부전압을 스케일링 초기전압으로 레벨 변동하는 단계는, 상기 클록 주파수가 이전보다 증가된 경우에는 이전보다 높은 스케일링 초기전압으로, 상기 클록 주파수가 이전보다 감소된 경우에는 이전보다 낮은 스케일링 초기 전압으로 변동된다.In a preferred embodiment, the step of level shifting the internal voltage to a scaling initial voltage is a scaling initial voltage higher than before when the clock frequency is increased than before, and when the clock frequency is decreased than before. Fluctuates to low scaling initial voltage.

이상에서 설명한 전력 제어 장치 및 제어 방법에 따르면, 생산시에 설정되는 마진보다 낮은 동작전압으로 스케일링이 가능하여 소모전력을 감소시킬 수 있다. 또한, 실시간으로 측정되는 장치의 성능(퍼포먼스)을 참조하여 능동적으로 최적 전압을 탐색하여 설정할 수 있는 전력 제어 수단을 제공할 수 있다. According to the power control apparatus and control method described above, it is possible to scale to an operating voltage lower than the margin set at the time of production, thereby reducing power consumption. In addition, it is possible to provide a power control means capable of actively searching for and setting an optimum voltage with reference to the performance (performance) of the device measured in real time.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 가장 바람직한 실시예를 첨부된 도면을 참조하여 설명하기로 한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art may easily implement the technical idea of the present invention. do.

도 2는 본 발명의 바람직한 실시예를 보여주는 블록도이다. 도 2를 참조하면, 본 발명의 전압 스케일링 시스템은 설정이 완료된 주파수의 클록에서 내부전압(VDD)의 스케일링이 이루어진다. 특히, 전압 스케일링 동작 동안, 퍼포먼스 측정회로(PMD,120)가 집적회로의 퍼포먼스(Performance)를 측정하여 오류가 발생되는 시점의 퍼포먼스 값을 전력 제어 블록(140)으로 알려주고 이때의 퍼포먼스 값을 저장하여 전압 제어에 사용한다. 전압 스케일링 구간 동안 발생하는 동작 오류(Function Fail)에 대비하기 위하여 레지스터의 데이터는 이후에 설명하게 되는 밸룬 래치(Balloon Latch)로 구성가능한 데이터 보존회로(132)에 저장한다. 동작 오류가 발생하는 시점의 제반 설정 데이터는 저장되고, 데이터 보존회로(132)에 저장된 데이터는 동작 오류 이후에 메인 플립플롭(131)으로 복구된다. 이러한 동작은 이하에서 상세히 설명될 것이다. 2 is a block diagram showing a preferred embodiment of the present invention. Referring to FIG. 2, in the voltage scaling system of the present invention, scaling of the internal voltage VDD is performed at a clock of a set frequency. In particular, during the voltage scaling operation, the performance measurement circuit PMD 120 measures the performance of the integrated circuit to inform the power control block 140 of the performance value at the time when an error occurs and to store the performance value at this time. Used for voltage control. In order to prepare for a function failure occurring during the voltage scaling period, the data of the register is stored in the data preservation circuit 132 configurable as a balloon latch, which will be described later. All the setting data at the time of the operation error are stored, and the data stored in the data preservation circuit 132 is restored to the main flip-flop 131 after the operation error. This operation will be described in detail below.

전압 레귤레이터(110)는 외부 전원전압(VEXT)으로부터 내부전압(VDD)을 생성한다. 모바일 시스템에서 외부 전원전압(VEXT)은 한정된 용량을 가진 배터리(Battery)로부터 제공될 것이다. 전압 레귤레이터(110)의 출력인 내부전압(VDD)은 후술하게 되는 전력 제어 블록(140)에 의해서 제어되며, 다양한 레벨의 내부전압(VDD)으로 조정될 수 있다.The voltage regulator 110 generates the internal voltage VDD from the external power supply voltage VEXT. In mobile systems, the external supply voltage VEXT will be provided from a battery having a limited capacity. The internal voltage VDD, which is the output of the voltage regulator 110, is controlled by the power control block 140, which will be described later, and may be adjusted to various levels of the internal voltage VDD.

퍼포먼스 측정회로(120)는 동작중인 칩의 특정 블록 또는 칩 전체의 퍼포먼스를 측정하여 주기적으로 출력한다. 퍼포먼스 데이터는 퍼포먼스 측정회로(120)가 위치한 칩 영역의 제반 동작특성을 나타낸다. 예를 들면, 칩 영역의 구동 주파수, 온도, 구동 전압 및 공정 특성에 따라 시간상으로 변화하는 동작 특성을 지시하는 데이터이다. 따라서 퍼포먼스 측정회로(120)는 칩 영역의 동작상태를 감지하여 데이터로 출력하는 센서로서 동작한다. 퍼포먼스 측정회로(120)는 상술한 전압 레귤레이터(110)에서 생성된 내부전압(VDD)으로 구동된다. 퍼포먼스 측정회로(120)는 전력 제어 블록(140)으로부터의 퍼포먼스 측정을 위한 제어신호(EN1, EN2)에 응답 하여 퍼포먼스 데이터(P_DATA, P_FAULT)를 출력한다. 또한, 전압 스케일링이 종료된 이후에는 상한 및 하한 퍼포먼스(UB_PD, LB_PD)를 입력받아 저장한다. 그리고 정상 동작중 상한 및 하한 퍼포먼스 값(UB_PD, LB_PD)을 벗어나는 퍼포먼스 상태가 감지되는 경우에 인터럽트(P_FAULT)를 전력 제어 블록(140)으로 출력한다. The performance measuring circuit 120 periodically measures the performance of a specific block or the entire chip of the chip in operation. The performance data represents general operating characteristics of the chip area where the performance measuring circuit 120 is located. For example, data indicating operation characteristics that change in time according to the driving frequency, temperature, driving voltage, and process characteristics of the chip region. Therefore, the performance measuring circuit 120 operates as a sensor that detects the operating state of the chip area and outputs the data. The performance measuring circuit 120 is driven by the internal voltage VDD generated by the voltage regulator 110 described above. The performance measuring circuit 120 outputs the performance data P_DATA and P_FAULT in response to the control signals EN1 and EN2 for performance measurement from the power control block 140. After the voltage scaling is completed, the upper and lower limit performances UB_PD and LB_PD are received and stored. When a performance state outside the upper and lower limit performance values UB_PD and LB_PD is detected during normal operation, the interrupt P_FAULT is output to the power control block 140.

레지스터 세트(130)는 시스템의 설정 데이터(Configuration Data)나 상태 데이터(Status Data) 등이 저장되어 있어, 어떠한 경우에든 데이터가 보존되어야 하는 데이터 저장영역이다. 하지만, 본 발명의 전압 스케일링 방식에 따르면, 내부전압(VDD)이 소정의 스케일링 스텝 전압(ΔVsc) 단위로 낮아지며, 스케일링 루프의 마지막 단계에서는 정상적인 동작을 보장할 수 없는 레벨까지 이르게 된다. 즉, 마지막 스텝에서 레지스터는 동작 오류(Function Fail)를 일으키게 된다. 따라서, 레지스터 세트(130)는 전압 스케일링 동작의 진행시에 반드시 과도하게 다운된 내부전압(VDD)으로 야기되는 동작 오류를 겪게 될 것이다. 이러한 오류로부터 레지스터에 저장된 데이터를 보존하기 위한 방법으로 본 발명의 레지스터 세트(130)는 MTCMOS(Multi-Threshold Complementary Metal Oxide Semiconductor) 플립-플롭(또는 밸룬 래치-Balloon Latch)으로 구성되는 데이터 보존회로(132)를 구비한다. 전압 스케일링 루프를 진행하기 이전, 또는 도중에 반드시 모든 메인 플립플롭(131)의 데이터는 상술한 데이터 보존회로(132)에 저장되어야 한다. 전압 스케일링 동작의 진행 중, 최초로 동작 오류(Function Fail)가 발생하게 되면, 데이터 보존회로(132)에 저장된 데이터가 오류가 발생한 메인 플립플롭(131)의 원래 데이터로 복구될 것이다. 데이터 보존회로(132)의 설명은 이후에 도시되는 도 4a 및 도 4b에서 상세히 후술하기로 한다. The register set 130 is a data storage area in which configuration data, status data, and the like of the system are stored, and data should be stored in any case. However, according to the voltage scaling method of the present invention, the internal voltage VDD is lowered by a predetermined scaling step voltage ΔVsc and reaches a level at which the normal operation cannot be guaranteed at the last stage of the scaling loop. In other words, in the last step, the register causes a function failure. Accordingly, the register set 130 will suffer an operation error caused by an excessively down internal voltage VDD in the course of the voltage scaling operation. As a method for preserving data stored in a register from such an error, the register set 130 of the present invention is a data preservation circuit composed of a multi-threshold complementary metal oxide semiconductor (MTCMOS) flip-flop (or a balloon latch-balloon). 132. Before or during the voltage scaling loop, the data of all main flip-flops 131 must be stored in the data preservation circuit 132 described above. If a function failure occurs for the first time during the voltage scaling operation, the data stored in the data preservation circuit 132 will be restored to the original data of the main flip-flop 131 in which the error occurs. The description of the data preservation circuit 132 will be described later in detail with reference to FIGS. 4A and 4B.

전력 제어 블록(140)은 이미 설정된 클록(CLK)의 주파수에서 최적의 퍼포먼스를 갖는 내부전압(VDD)을 결정하는 제반 스케일링 동작을 제어한다. 클록신호(CLK)의 주파수 선택이 완료되면, 전력 제어 블록(140)은 선택된 클록 주파수에서 동작 가능한 최저의 내부전압(VDD)을 검출하는 전압 스케일링 루프를 진행한다. 클록 주파수가 증가된 경우에는 클록 주파수의 증가에 대응하는 내부전압(VDD) 레벨로 상승한 이후에, 소정의 스텝 전압 크기로 내부전압(VDD)을 낮추어 가면서 스케일링 루프를 진행하게 될 것이다. 반면에, 낮은 클록 주파수로의 설정 시에는, 내부전압(VDD)을 감소된 클록 주파수의 크기에 대응하는 만큼, 강하한 이후에 구동 가능한 최소의 내부전압(VDD)으로의 스케일링 루프가 진행될 것이다. 전압 스케일링 루프는 후술하게 되는 도 6a 및 6b의 순서도를 통해서 상세히 설명될 것이다.The power control block 140 controls the overall scaling operation of determining the internal voltage VDD having the optimal performance at the frequency of the clock CLK. When the frequency selection of the clock signal CLK is completed, the power control block 140 goes through a voltage scaling loop that detects the lowest internal voltage VDD operable at the selected clock frequency. When the clock frequency is increased, the scaling loop will proceed while increasing the internal voltage VDD level corresponding to the increase of the clock frequency and lowering the internal voltage VDD to a predetermined step voltage level. On the other hand, when setting to a low clock frequency, the scaling loop will proceed to the minimum internal voltage VDD that can be driven after the internal voltage VDD drops to correspond to the magnitude of the reduced clock frequency. The voltage scaling loop will be described in detail with the flowcharts of FIGS. 6A and 6B described below.

전력 제어 블록(140)은 마이크로프로세서나 기타 응용 집적회로의 내부에 포함되는 제어 로직과 같은 하드웨어적인 구성으로 구현될 수 있다. 그러나 칩의 레이아웃 면적의 최소화가 우선시되는 경우, 하드웨어적인 구성요소의 추가 없이 운영 체제(Operating System)로 구현될 수 있음은 이 분야에서 통상의 지식을 습득한 자들에게는 잘 알려져 있다. The power control block 140 may be implemented in a hardware configuration such as control logic included in a microprocessor or other application integrated circuit. However, if minimization of the layout area of the chip is a priority, it can be realized by an operating system without adding hardware components. It is well known to those skilled in the art.

위상 고정 루프(150)는 전원전압이나 온도에 영향을 받지 않는 클록 신호(CLK)를 생성하기 위한 회로이다. 특히 전력 제어 블록(140)에 의해 선택된 주파수의 클록 신호를 생성하여 시스템으로 공급한다.The phase locked loop 150 is a circuit for generating a clock signal CLK that is not affected by a power supply voltage or a temperature. In particular, a clock signal of a frequency selected by the power control block 140 is generated and supplied to the system.

이상에서 설명된 전압 스케일링 시스템은 SOC(System On Chip)와 같은 경우 단일 칩 내에서도 구현 가능하지만, 상호 분리된 모듈을 포함하는 시스템 내에서 구현 가능하다. 전압 스케일링이 완료되면 각각의 퍼포먼스 측정회로(120)에는 퍼포먼스 데이터의 상한과 하한값(UB_PD, LB_PD)이 저장되고, 정상 동작 중에 이러한 상한 및 하한을 벗어나는 퍼포먼스 측정치가 감지되면 인터럽트 신호(P_FAULT)를 전력 제어 블록(140)으로 출력하여 내부전압(VDD)의 재조정이 필요함을 알릴 수 있다. The voltage scaling system described above may be implemented in a single chip in the case of a system on chip (SOC), but may be implemented in a system including separate modules. When the voltage scaling is completed, each performance measurement circuit 120 stores the upper and lower limit values UB_PD and LB_PD of the performance data, and when the performance measurement values exceeding the upper and lower limits are detected during normal operation, the interrupt signal P_FAULT is powered. The output to the control block 140 may indicate that the internal voltage VDD needs to be readjusted.

도 3은 상술한 도 2에서 설명된 퍼포먼스 측정회로(120)의 구성을 간략히 보여주는 블록도이다. 도 3을 참조하면, 주파수의 크기 형태로 출력되는 퍼포먼스 데이터(P_DATA)가 제어 신호(EN1, EN2)에 의해서 주기적으로 래치되고, 외부로 출력될 것이다. FIG. 3 is a block diagram briefly illustrating a configuration of the performance measuring circuit 120 described with reference to FIG. 2. Referring to FIG. 3, the performance data P_DATA output in the form of the magnitude of the frequency may be periodically latched by the control signals EN1 and EN2 and output to the outside.

발진회로(121)는 내부전압(VDD)의 레벨 변동, 칩의 동작 온도, 공정 변화 등의 변수에 따라서 변동의 폭을 갖는 주파수의 신호를 생성한다. 발진회로(121)는 현재 동작 중인 칩의 퍼포먼스의 상태를 의미하는 퍼포먼스 상태를 주파수의 변동형식으로 출력하게 될 것이다. 일반적으로 온도가 낮을수록, 내부전압(VDD)이 높을수록 출력되는 구형파의 주파수는 높아진다. 바람직하게는, 발진회로(121)는 소정의 게이트가 직렬 연결되는 링 오실레이터(Ring Oscillator)로 구성될 수 있다. 발진회로(121)는 퍼포먼스 측정회로(120)에서 퍼포먼스 정도를 감지하여 퍼포먼스 크기에 일정수준 비례하는 주파수(fosc)의 주기신호를 출력한다. 일반적으로 위상 고정 루프(PLL)와 같은 발진회로는 온도 및 전압에 대해 안정된 주파수의 주기신호를 생성하는 것이 바람직하다. 그러나 본 발명의 발진회로(121)는 시스템을 구동하는 클록 신호를 생성하는 구성이라기보다는 시스템의 온도 및 공정, 내부전압(VDD)의 변화와 같은 시스템의 오류와 노이즈(Noise)를 유발하는 부정적인 인자들을 감지하는 구성이다. 이러한 요인들은 발진회로(121)의 주파수 변동으로 측정되고, 이러한 주파수 변동은 일정한 주기별로 카운트 되어 퍼포먼스 데이터(P_DATA)로 도출된다. 발진회로(121)의 출력 주파수는 상술한 위상 고정 루프(PLL)와 같은 클록 공급 회로와는 독립된 퍼포먼스 센싱(Performance Sensing) 회로이다. The oscillation circuit 121 generates a signal having a frequency of variation in accordance with variables such as level variation of the internal voltage VDD, operating temperature of the chip, and process variation. The oscillator circuit 121 may output a performance state representing a performance state of a currently operating chip in a frequency variation form. In general, the lower the temperature, the higher the internal voltage (VDD), the higher the frequency of the square wave output. Preferably, the oscillator circuit 121 may be configured as a ring oscillator in which a predetermined gate is connected in series. The oscillation circuit 121 detects the degree of performance in the performance measuring circuit 120 and outputs a periodic signal of a frequency (fosc) proportional to the size of the performance. In general, an oscillation circuit such as a phase locked loop (PLL) preferably generates a periodic signal of a stable frequency with respect to temperature and voltage. However, the oscillation circuit 121 of the present invention is not a configuration for generating a clock signal for driving the system, but rather a negative factor that causes errors and noise in the system, such as a change in system temperature, process, and internal voltage (VDD). Configuration to detect them. These factors are measured by the frequency variation of the oscillator circuit 121, and the frequency variation is counted by a certain period and derived as the performance data P_DATA. The output frequency of the oscillation circuit 121 is a performance sensing circuit independent of a clock supply circuit such as the phase locked loop PLL described above.

감지 활성화 회로(122)는 전력 제어 블록(140)으로부터의 활성화 신호(EN1)에 응답하여 발진회로(121)가 출력하는 퍼포먼스 감지신호(fosc)의 주파수 측정 주기를 생성한다. 활성화 신호(EN1)가 하이 레벨로 입력되면, 클록 신호(CLK)가 제 1 AND 게이트(AG1)로부터 출력된다.The sensing activation circuit 122 generates a frequency measuring period of the performance sensing signal fosc output by the oscillating circuit 121 in response to the activation signal EN1 from the power control block 140. When the activation signal EN1 is input at the high level, the clock signal CLK is output from the first AND gate AG1.

클록 분주기(123)는 감지 활성화 회로(122)로부터 출력되는 클록 신호(CLK)의 주파수를 분주하여, 퍼포먼스 감지신호(fosc)의 주파수를 측정하게 되는 펄스를 출력한다. 클록 분주기(123)는 퍼포먼스 감지신호(fosc)의 주파수를 측정되는 주기를 일정한 폭을 갖는 펄스신호로 출력한다. 전압 스케일링 동작이 일어나기 전에 이루어지는 클록(CLK) 주파수의 스케일링 동작시, 클록 분주기(123)는 주파수의 분배비율을 조정하여 상술한 발진회로(121)로부터 출력되는 퍼포먼스 감지신호(fosc)가 카운트 되는 주기(T)를 조정한다. 만일 클록 신호(CLK)의 주파수가 감소되는 주파수 스케일링 시에는 이전의 클록 주파수에서의 분주 비율보다 작게(주기를 작게) 하여 펄스의 폭이 좁아지도록 설정한다. 클록 신호(CLK)의 주파수가 증가하는 경우, 클록 분주기(123)는 분주 비율을 크게(주기를 크게) 하여 출력되는 펄스의 폭 을 확장한다. 이러한 동작을 통해서, 클록 신호(CLK)의 주파수와 비례하는 퍼포먼스 값이 고정된 주파수의 발진회로(121)의 퍼포먼스 감지신호(fosc)와 합성될 수 있다.The clock divider 123 divides the frequency of the clock signal CLK output from the sensing activation circuit 122 and outputs a pulse for measuring the frequency of the performance sensing signal fosc. The clock divider 123 outputs a period in which the frequency of the performance detection signal fosc is measured as a pulse signal having a constant width. In the scaling operation of the clock CLK frequency before the voltage scaling operation occurs, the clock divider 123 adjusts the distribution ratio of the frequency to count the performance detection signal fosc output from the oscillation circuit 121 described above. Adjust the period (T). If the frequency scaling in which the frequency of the clock signal CLK is decreased, the pulse width is set to be narrower (smaller period) than the division ratio at the previous clock frequency. When the frequency of the clock signal CLK increases, the clock divider 123 enlarges the division ratio to increase the width of the output pulse. Through this operation, a performance value proportional to the frequency of the clock signal CLK may be combined with the performance detection signal fosc of the oscillation circuit 121 having a fixed frequency.

카운터(124)는 제 3 AND게이트(AG3)로부터 출력되는 구형파의 주파수를 카운트한다. 래치 활성화 회로(125)는 카운터(124)로부터 출력되는 퍼포먼스 측정치(P_DATA)를 레지스터(126)에 래치하는 시점을 제어하는 회로이다. 레지스터(126)는 래치 인에이블 신호(L_EN)에 응답하여 카운터(124)로부터의 퍼포먼스 데이터(P_DATA)를 래치하여 후술하게 되는 비교기(127)와 전력 제어 블록(140) 등으로 공급한다. The counter 124 counts the frequency of the square wave output from the third AND gate AG3. The latch activation circuit 125 is a circuit for controlling the timing at which the performance measurement value P_DATA output from the counter 124 is latched in the register 126. The register 126 latches the performance data P_DATA from the counter 124 in response to the latch enable signal L_EN and supplies it to the comparator 127, the power control block 140, and the like, which will be described later.

비교기(127)는 발진회로(121)에 의해서 감지되어 이진 데이터(Binary data)로 전환된 현재의 퍼포먼스 데이터(P_DATA)와 전력 제어 블록(140)에 의해서 설정된 상한 및 하한 퍼포먼스 값을 비교한다. 만일 측정된 퍼포먼스 측정치(P_DATA)가 퍼포먼스 상한값(UB_PD)과 퍼포먼스 하한값(LB_PD)의 범위를 벗어나는 경우, 이는 이미 설정된 주파수와 내부전압(VDD) 하에서 동작 에러를 유발할 가능성이 큰 경우를 의미하므로 전력 제어 블록(140)으로 인터럽트 신호(P_FAULT)를 전달한다. 전력 제어 블록(140)은 인터럽트 신호(P_FAULT)를 감지하여 현재의 퍼포먼스 측정치가 상한 퍼포먼스를 초과하는 경우 내부전압(VDD)을 강하시키는 전압 스케일링 동작을 수행하여 안정된 내부전압(VDD)이 시스템 또는 칩에 제공되도록 제어한다. 반면, 현재의 퍼포먼스 측정치(P_DATA)가 하한 퍼포먼스(LB_PD) 이하인 경우, 내부전압(VDD)을 상승시키기 위한 전압 스케일링 동작을 수행하여 안정된 내부전압(VDD) 이 시스템 또는 칩에 제공되도록 제어한다.The comparator 127 compares the current performance data P_DATA detected by the oscillator circuit 121 and converted into binary data with the upper and lower performance values set by the power control block 140. If the measured performance measurement value P_DATA is out of the range between the performance upper limit value UB_PD and the performance lower limit value LB_PD, this means that there is a high possibility of causing an operation error under the preset frequency and internal voltage VDD. The interrupt signal P_FAULT is transmitted to the block 140. The power control block 140 detects the interrupt signal P_FAULT and performs a voltage scaling operation that lowers the internal voltage VDD when the current performance measurement exceeds the upper limit performance so that the stable internal voltage VDD is a system or chip. To be provided to the control. On the other hand, when the current performance measurement value P_DATA is less than or equal to the lower limit performance LB_PD, the voltage scaling operation for raising the internal voltage VDD is performed to control the stable internal voltage VDD to be provided to the system or the chip.

이상에서 설명된 퍼포먼스 측정회로(120)의 각 구성들은 각각 전력 제어 블록(140)에 의해서 스케일링이 완료된 이후에 선택되는 내부전압(VDD)에 대한 퍼포먼스 상한 및 하한값이 입력된다. 퍼포먼스 상한값(UB_PD)과 퍼포먼스 하한값(LB_PD)의 폭은 결국 실시간으로 측정되는 퍼포먼스 데이터() 이 설정되는 시스템의 퍼포먼스 마진을 의미한다. 그러나 이후에 설명되는 전압 스케일링에 의해서 설정되는 퍼포먼스 값의 마진은 전압 스케일링을 수행하지 않는 시스템에 비해서 훨씬 작은 마진폭을 가질 수 있다. 따라서, 안정된 범위 내에서 칩이나 시스템이 동작 가능한 최소 크기의 내부전압(VDD)으로 설정이 가능하다.Each of the components of the performance measuring circuit 120 described above is input to the upper and lower performance limits for the internal voltage VDD selected after the scaling is completed by the power control block 140, respectively. The width of the performance upper limit value (UB_PD) and the performance lower limit value (LB_PD) means the performance margin of the system where the performance data measured in real time is set. However, the margin of the performance value set by the voltage scaling described later may have a much smaller margin than a system that does not perform voltage scaling. Therefore, it is possible to set the internal voltage VDD of the minimum size at which the chip or the system can operate within a stable range.

도 4a는 본 발명의 레지스터 세트(130)에 포함되는 데이터 보존 회로(132)의 일 예로서의 밸룬 래치를 간략히 보여주는 회로도이다. 도 4a를 참조하면, 데이터 보존회로(132)는 메인 플립플롭(131)에 저장된 데이터를 동작 오류(Function Fail)를 거치게 되는 전압 스케일링 동작시에 백업한다. 전압 스케일링 동작이 종료 또는 완료된 이후에 데이터 보존 회로(132)에 저장된 데이터가 다시 메인 플립플롭(131)에 복구될 것이다. 본 발명에서는 전압 스케일링 동작 중에 이루어지는 데이터 백업 동작에 대해서 설명하기로 한다.4A is a circuit diagram schematically illustrating a balun latch as an example of the data retention circuit 132 included in the register set 130 of the present invention. Referring to FIG. 4A, the data preservation circuit 132 backs up data stored in the main flip-flop 131 during a voltage scaling operation that undergoes an operation failure. After the voltage scaling operation is terminated or completed, the data stored in the data preservation circuit 132 will be restored to the main flip-flop 131 again. In the present invention, a data backup operation performed during the voltage scaling operation will be described.

메인 플립플롭(131)은 정상적인 동작 시에 데이터를 저장하는 플립플롭 회로이다. 그러나 전압 스케일링 모드로 돌입하게 되면 제어신호(B2)에 의해서 저장된 데이터를 제2전송 게이트(TG2)를 경유하여 데이터 보존회로(132)로 전달한다. 슬립 모드나 전압 스케일링 동작이 종료된 이후에는 다시 제어신호(B2)에 응답하여 제 2 전송 게이트(TG2)를 경유하여 되돌아오는 데이터를 수신하여 저장한다. 일반적으로 상술한 데이터 보존회로(132) 측으로의 데이터 입출력을 위해서 메인 플립플롭(131)은 마스터 플립플롭(Master F/F)과 슬레이브 플립플롭(Slave F/F)로 구성될 수 있다. 메인 플립플롭(131)은 또한 스케일링에 의해 강하된 내부전압(VDD)에서의 동작 오류(Function Fail)를 점검하기 위한 수단이 구비될 수 있다. 특히 동작 오류(Function Fail)의 여부를 전력 제어 블록(140)에 의한 테스트 패턴(ECH_PTN)에 의해서 체크하는 경우, 테스트 패턴(ECH_PTN)의 입력 수단 및 전력 제어 블록(140)으로의 출력수단을 구비하게 될 것이다. The main flip-flop 131 is a flip-flop circuit that stores data during normal operation. However, when entering the voltage scaling mode, the data stored by the control signal B2 is transferred to the data preservation circuit 132 via the second transfer gate TG2. After the sleep mode or the voltage scaling operation ends, the data returned through the second transmission gate TG2 is received and stored in response to the control signal B2 again. In general, the main flip-flop 131 may include a master flip-flop (Master F / F) and a slave flip-flop (Slave F / F) for data input / output to the data storage circuit 132. The main flip-flop 131 may also be provided with means for checking for a function failure in the internal voltage VDD dropped by scaling. In particular, when checking whether a function failure is detected by the test pattern ECH_PTN by the power control block 140, an input means of the test pattern ECH_PTN and an output means to the power control block 140 are provided. Will be done.

데이터 보존회로(132)는 일반적으로 밸룬 래치(Balloon Latch)로 통칭된다. 메인 플립플롭(131)은 고속 동작을 위해 낮은 문턱전압(Low threshold voltage) 특성의 소자들로 구성하여 액티브 모드(Active mode)에서 고속으로 동작한다. 반면에, 데이터 보존 회로(132)의 밸룬 래치는 높은 문턱전압(High threshold voltage) 특성의 인버터들(HINV1, HINV2)로 구성된다. 본 발명의 전압 스케일링 모드로 전환시, 메인 플립플롭(131)의 데이터를 데이터 보존회로(132)로 백업하여, 내부전압(VDD)의 레벨 강하에 의해 메인 플립플롭(131)의 데이터가 소실되더라도 높은 문턱전압 특성의 데이터 보존회로(132)에 저장된 데이터는 보존될 수 있다. The data preservation circuit 132 is generally referred to as a balloon latch. The main flip-flop 131 is composed of elements having low threshold voltage characteristics for high speed operation and operates at high speed in an active mode. On the other hand, the balun latch of the data preservation circuit 132 is composed of inverters HINV1 and HINV2 having high threshold voltage characteristics. When switching to the voltage scaling mode of the present invention, the data of the main flip-flop 131 is backed up to the data preserving circuit 132 so that the data of the main flip-flop 131 is lost due to the level drop of the internal voltage VDD. Data stored in the data preservation circuit 132 having a high threshold voltage characteristic may be preserved.

데이터의 백업 및 복원 동작에 대해서 살펴보면, 레지스터 세트(130)의 각 레지스터 회로는 전압 스케일링 동작이 실시되기 이전에 메인 플립플롭(131)의 데이터를 데이터 보존 회로(132)에 데이터를 백업하게 된다. 본 발명의 전압 스케일링 동작은 설정된 주파수의 클록 신호(CLK)에서 동작 가능한 최소 전압을 검출하기 위해서 단계적으로 내부전압(VDD)을 낮추면서 동작 오류를 체크하게 된다. 따라서, 전압 스케일링의 마지막 루프에서는 반드시 동작 오류(Function Fail)를 거치게 된다. 동작 오류가 발생하여 레지스터에 저장된 데이터가 소실되더라도 데이터 보존 회로(132)에 백업된 데이터가 존재하기 때문에 시스템의 설정(Configuration)이나 상태(Status)는 동작 오류 이전으로 완전 복구가 가능하다. Referring to the data backup and restore operations, each register circuit of the register set 130 backs up the data of the main flip-flop 131 to the data preserving circuit 132 before the voltage scaling operation is performed. In the voltage scaling operation of the present invention, an operation error is checked while lowering the internal voltage VDD step by step in order to detect a minimum voltage that is operable in a clock signal CLK of a set frequency. Therefore, the last loop of voltage scaling necessarily goes through a function failure. Even if an operation error occurs and the data stored in the register is lost, since the data stored in the data preservation circuit 132 exists, the configuration or status of the system can be completely recovered before the operation error.

도 4b는 전압 스케일링 동작이 개시되는 시점에서 상술한 도 4a의 레지스터 세트(130)을 제어하기 위한 제어신호들을 보여주는 파형도이다. 도 4b를 참조하면, 전력 제어 블록(140)은 전압 스케일링이 활성화되는 시점을 지시하는 모드 신호(/SC)에 따라서, 데이터 백업 및 복구를 제어하는 제어신호(B1, B2)를 출력한다. 제어신호(B1)는 메인 플립플롭(131)과 데이터 보존회로(132) 사이를 연결하는 제2전송게이트(TG2)를 제어한다. 제어신호(B2)는 메인 플립플롭(131)의 데이터가 백업되는 시점 및 데이터 보존회로(132)의 데이터가 복구되는 시점에 제2전송 게이트(TG2)를 오픈(Open)하도록 출력된다. 제어신호(B2)는 각각 메인 플립플롭(131)과 데이터 보존회로(312)의 밸룬 래치(Balloon latch)의 출력을 활성화한다. 상술한 모드 신호(/SC)와 제어신호(B1, B2)는 전력 제어 블록(140) 내에서 하드웨어적으로 생성할 수도 있다. 또는 모드 신호(/SC)에 응답하여 제어신호를 생성하도록 집적회로 내에서 구성될 수도 있다. 만일 운영체제(OS)에서 상술한 전력 제어 블록(140)의 제반 동작들을 구성하는 경우에는 소프트웨어로 프로그램될 수 있음은 이 분야에서 통상의 지식을 습득한 자들에게는 잘 알려져 있다. 4B is a waveform diagram illustrating control signals for controlling the register set 130 of FIG. 4A described above at the time when the voltage scaling operation is started. Referring to FIG. 4B, the power control block 140 outputs control signals B1 and B2 for controlling data backup and recovery according to a mode signal / SC indicating a time point at which voltage scaling is activated. The control signal B1 controls the second transfer gate TG2 connecting between the main flip-flop 131 and the data preservation circuit 132. The control signal B2 is output to open the second transfer gate TG2 at the time when the data of the main flip-flop 131 is backed up and when the data of the data preservation circuit 132 is restored. The control signal B2 activates the output of the balloon latch of the main flip-flop 131 and the data preservation circuit 312, respectively. The above-described mode signal / SC and the control signals B1 and B2 may be generated in hardware within the power control block 140. Or in an integrated circuit to generate a control signal in response to the mode signal / SC. It is well known to those skilled in the art that the operating system OS may be programmed in software when configuring the above-described operations of the power control block 140.

도 5는 단일 칩 내에서 퍼포먼스 측정회로(120, PMD)의 배치 방식을 간략히 설명하기 위한 도면이다. 도 5를 참조하면, 퍼포먼스 측정회로(120, PMD)는 칩 내에서 복수의 블록별로 형성될 수 있으며, 각 블록의 퍼포먼스를 측정하여 상한 및 하한 퍼포먼스 설정치를 벗어나는 경우에는 전력 제어 블록(140)으로 인터럽트 신호(P_FAULT)를 전달한다. 도 5에 도시된 단일 칩은 6개 블록으로 구분되었으나 본 발명은 이에 국한되지 않는다. 각 블록은 단일 칩 내에서의 기능별 구분(Functional Division)이 될 수도 있으며, 전력 소모량(Power Dissipation)에 따라 구획될 수 있다. 복수의 블록에 각각 퍼포먼스 측정회로(120, PMD)를 구비하는 경우에는 각각의 전압 스케일링을 통해서 설정되는 상한 및 하한 퍼포먼스 값(UB_PD, LB_PD)은 상이한 값을 가질 수 있다. 각기 다른 기능을 수행하는 블록에 대하여 퍼포먼스 측정회로(120, PMD)를 개별적으로 구성하는 경우, 블록 특성이 최대한 반영되는 인터럽트 신호(P_FAULT)를 생성하게 되므로 전압 스케일링의 효율을 증대시킬 수 있다.FIG. 5 is a diagram for briefly explaining a method of arranging the performance measurement circuit 120 (PMD) in a single chip. Referring to FIG. 5, the performance measurement circuit 120 (PMD) may be formed for each of a plurality of blocks in a chip, and when the performance of each block is measured to deviate from the upper and lower limit performance settings, the performance control circuit 120 may transmit to the power control block 140. Delivers the interrupt signal (P_FAULT). The single chip illustrated in FIG. 5 is divided into six blocks, but the present invention is not limited thereto. Each block may be a functional division within a single chip and may be partitioned according to power dissipation. When each of the plurality of blocks includes the performance measurement circuits 120 and PMD, the upper and lower limit performance values UB_PD and LB_PD set through voltage scaling may have different values. When the performance measurement circuit 120 (PMD) is individually configured for blocks that perform different functions, an interrupt signal P_FAULT that generates the maximum block characteristics can be generated, thereby increasing the efficiency of voltage scaling.

도 6a는 본 발명의 전력 제어 블록(140)에 의해 구성되는 스케일링 알고리즘의 일 실시예를 보여주는 순서도이다. 이하 본 발명에 따른 전력 제어 블록(140)의 최적 내부전압(VDD)을 검출하는 제반 스케일링 동작이 참조 도면들에 의거하여 상세히 설명될 것이다.6A is a flow diagram illustrating one embodiment of a scaling algorithm configured by the power control block 140 of the present invention. Hereinafter, various scaling operations for detecting the optimal internal voltage VDD of the power control block 140 according to the present invention will be described in detail with reference to the accompanying drawings.

다이나믹 스케일링 동작에서 전력 제어 블록(140)은 입력되는 명령어나 상태 데이터(Status Data)를 참조하여 클록(CLK) 주파수를 전환한다(S10). 전환된 주파수에 최적화된 내부전압(VDD)을 검색하는 전압 스케일링 동작을 수행하면 반드시 동작 오류(Function fail)가 발생하게 될 것이다. 따라서, 칩의 내부에 유지되는 데이터 및 상태(Status)의 소실을 막기 위해서 데이터 보존회로(132)로의 백업 동작이 실시된다(S20). 백업이 완료된 이후에는 전원전압을 스케일링 초기전압으로 설정한다. 주파수의 전환이 하이 퍼포먼스에서 로우 퍼포먼스로 전환되는 경우 내부전압(VDD)은 낮은 스케일링 초기 전압(VDN_INI)에서부터 시작될 것이다. 그러나 로우 퍼포먼스에서 하이 퍼포먼스로 전환되는 경우 주파수 증가에 따라 스케일링의 시작은 높은 스케일링 초기 전압(VUP_INI)에서 시작될 것이다. 전력 제어 블록(140)은 미세 스케일링이 이루어지기 이전에 큰 폭의 내부전압(VDD) 변환 동작을 실시한다(S30). 스케일링 초기 전압으로의 전환이 이루어진 이후에는 현재의 내부전압(VDD)에 대하여 스케일링 스텝 전압(ΔVsc)만큼 차감하는 스케일링 동작시 실시된다(S40). 스케일링 스텝 전압(ΔVsc)만큼 차감된 내부전압(VDD)에 대하여 시스템의 오류가 발생하지는 않았는지 동작 점검을 실시한다. 그러나 이미 데이터 보존회로(132)에 저장된 데이터는 칩의 내부전압(VDD)의 강하로 인한 오류에는 영향을 받지 않는다. 나머지 제반 구성들에 대한 오류 체크를 실시하여, 내부전압(VDD)의 강하에 따르는 정상 동작 여부를 점검하게 될 것이다(S50). 동작 점검(Function Check) 이후에는 동작 점검의 결과에 따라, 전압 스케일링 동작의 계속 진행 여부를 결정하게 된다. 만일 동작 오류가 발생되지 않았다면 스케일링 스텝 전압(ΔVsc)의 크기만큼 더 차감하는 스케일링 동작을 진행하는 단계(S40)으로 복귀될 것이다. 그러나 현재 스케일링 동작에 의해서 오류가 발생한 경우, 하한 퍼포먼스 데이터를 검출한 것으로 판단할 수 있기 때문에 스케일링 스텝 전압(ΔVsc)만큼 강하를 지속하는 스케일링 루프를 종료한다(S60). 동작 오류를 유발하게 되는 내부전 압(VDD)이 검출되었기 때문에 전력 제어 블록(140)은 동작 오류를 유발하게 되는 바로 이전의 내부전압(VDD)으로 레벨을 고정할 것이다. 또는, 안정성을 확보하기 위하여 그 이상의 레벨을 선택할 수 있다. 그리고 전압 스케일링 동작의 초기에 데이터 보존회로(132)에 백업했던 제반 데이터들을 칩이나 시스템의 소자들에 복원하게 된다(S70). 전압 스케일링 동작이 마지막 단계에서는 동작 오류를 유발했던 최초의 내부전압(VDD)을 참조하여, 공정과 동작 특성을 고려한 하한 및 상한 퍼포먼스 데이터를 결정하게 된다(S80). 이때 상한 퍼포먼스와 하한 퍼포먼스는 전압 스케일링에 따르는 일종의 마진(Margin)이라 할 수 있다. 그러나 이러한 마진은 스케일링 동작이 없는 경우, 제품 양산시에 설정하게 되는 마진보다는 훨씬 좁은 폭을 갖게 된다. 따라서, 큰 마진에 따르는 전압의 소실분을 스케일링에 의해서 감소시킬 수 있으며, 이는 전력의 절감으로 직결된다. 이러한 단계들을 포함하는 본 발명의 전압 스케일링 동작에 따르면, 선택되는 클록 신호의 주파수 하에서, 동작 가능한 최소의 전압으로 설정이 가능하여 전력 소모의 최소화가 가능하다. 또한, 하한 및 상한의 퍼포먼스 값을 설정하여 각 퍼포먼스 측정회로(120)에 저장한다. 정상 동작중에 퍼포먼스 값의 이상이 발생하게 되면, 퍼포먼스 측정회로(120)는 인터럽트 신호(P_FAULT)를 출력하여 전압의 재스케일링이 필요함을 전력 제어 블록(140) 또는 운영체제(OS)로 알려준다. 상술한 다이나믹 스케일링 스킴에 따르면, 항상 최소의 동작 가능한 전압으로 전압 스케일링이 이루어져 전력의 소모를 최소화할 수 있다. In the dynamic scaling operation, the power control block 140 switches the clock CLK frequency with reference to an input command or status data (S10). If a voltage scaling operation for searching the internal voltage VDD optimized for the switched frequency is performed, a function failure will necessarily occur. Therefore, in order to prevent the loss of data and status held in the chip, a backup operation to the data storage circuit 132 is performed (S20). After the backup is completed, set the power supply voltage to the scaling initial voltage. When the frequency shifts from high performance to low performance, the internal voltage (VDD) will start from the low scaling initial voltage (VDN_INI). However, when switching from low performance to high performance, scaling will begin at the high scaling initial voltage (VUP_INI) as the frequency increases. The power control block 140 performs a large internal voltage VDD conversion operation before fine scaling is performed (S30). After switching to the scaling initial voltage is performed during the scaling operation to subtract the current internal voltage VDD by the scaling step voltage ΔVsc (S40). The internal voltage VDD subtracted by the scaling step voltage ΔVsc is checked to see if an error of the system has occurred. However, data already stored in the data preservation circuit 132 is not affected by errors due to the drop of the internal voltage VDD of the chip. By performing error checking on the remaining components, it will be checked whether it is operating normally according to the drop of the internal voltage VDD (S50). After the operation check, it is determined whether to continue the voltage scaling operation according to the operation check result. If no operation error has occurred, the process returns to step S40 where the scaling operation is further subtracted by the magnitude of the scaling step voltage ΔVsc. However, if an error occurs due to the current scaling operation, it can be determined that the lower limit performance data has been detected, and thus the scaling loop that continues the drop by the scaling step voltage ΔVsc is terminated (S60). Since the internal voltage VDD causing the operation error is detected, the power control block 140 will fix the level to the internal voltage VDD just before the operation error. Alternatively, higher levels may be selected to ensure stability. In operation S70, all data backed up to the data preserving circuit 132 at the initial stage of the voltage scaling operation are restored to the devices of the chip or the system. In the last step of the voltage scaling operation, the lower limit and upper limit performance data considering the process and operation characteristics are determined by referring to the first internal voltage VDD that caused an operation error (S80). In this case, the upper limit performance and the lower limit performance may be referred to as a margin due to voltage scaling. However, these margins are much narrower than the margins set during mass production without scaling operations. Thus, the loss of voltage due to a large margin can be reduced by scaling, which leads directly to power savings. According to the voltage scaling operation of the present invention including these steps, it is possible to set the minimum voltage that can operate under the frequency of the clock signal to be selected, thereby minimizing power consumption. In addition, the performance values of the lower limit and the upper limit are set and stored in each performance measurement circuit 120. If an abnormality in the performance value occurs during normal operation, the performance measurement circuit 120 outputs an interrupt signal P_FAULT to inform the power control block 140 or the operating system (OS) that voltage rescaling is required. According to the above-described dynamic scaling scheme, voltage scaling is always performed at a minimum operable voltage, thereby minimizing power consumption.

도 6b는 전력 제어 블록(140)이 수행하는 스케일링 알고리즘의 다른 실시예 를 설명하는 순서도이다. 도 6b를 참조하면, 전력 제어 블록(140)에 의한 동작 오류(Function Fail)를 체크하는 방식이 도 6a와는 달리 테스트 패턴(ECH_PTN)에 의해서 이루어진다. 이하 본 발명에 따른 전력 제어 블록(140)의 최적 내부전압(VDD)을 검출하는 제반 스케일링 동작이 참조 도면들에 의거하여 상세히 설명될 것이다.6B is a flowchart illustrating another embodiment of a scaling algorithm performed by the power control block 140. Referring to FIG. 6B, a method of checking a function failure by the power control block 140 is performed by a test pattern ECH_PTN unlike FIG. 6A. Hereinafter, various scaling operations for detecting the optimal internal voltage VDD of the power control block 140 according to the present invention will be described in detail with reference to the accompanying drawings.

스케일링 동작에서 전력 제어 블록(140)은 입력되는 명령어나 상태 데이터(Status Data)를 참조하여 클록(CLK) 주파수를 전환한다(S110). 이후에는 전원전압을 스케일링 초기전압으로 설정한다. 주파수의 전환이 하이 퍼포먼스에서 로우 퍼포먼스로 전환되는 경우 내부전압(VDD)은 낮은 스케일링 초기 전압(VDN_INI)에서부터 시작될 것이다. 그러나 로우 퍼포먼스에서 하이 퍼포먼스로 전환되는 경우 주파수 증가에 따라 높은 스케일링 초기 전압(VUP_INI)에서 시작될 것이다. 스케일링 초기전압(VDN_INI, VUP_INI)은 큰 마진을 가진 내부전압(VDD)에 해당된다. 전력 제어 블록(140)은 스케일링 스텝(ΔVsc) 만큼의 스케일링이 이루어지기 이전에 큰 폭의 내부전압(VDD) 변환 동작을 실시한다(S120). 내부전압(VDD)의 스케일링 초기전압으로의 전환 이후에 데이터 보존회로(132)에 메인 플립플롭(131)의 데이터를 백업한다. 이러한 동작 순서는, 테스트 패턴(ECH_PTN)에 의해서 동작 오류(Function Fail)를 체크하기 위해서 테스트 패턴(ECH_PTN)을 매 스케일링 루프마다 메인 플립플롭(131)으로 입력해야 하기 때문이다(S130). 현재의 내부전압(VDD)으로부터 스케일링 스텝(ΔVsc)만큼 차감하는 내부전압 스케일링 동작을 실시한다(S140). 다음 단계로, 스케일링 스텝(ΔVsc)만큼 강하된 내부전압(VDD)에서 메인 플립플롭(131)의 동작 오류(Function Fail) 여부를 체크한다. 본 발명의 도 6a의 실시예에 도시 된 알고리즘과는 달리 다른 실시예에 따르면, 동작 오류(Function Fail)의 체크는 테스트 패턴(ECH_PTN)에 의해서 이루어진다. 동작 오류 체크는 전력 제어 블록(140)은 테스트 패턴을 메인 플립플롭(131)으로 입력하고, 입력된 데이터를 다시 피드백 받아서 일치 여부를 판단하는 것으로 구성될 수 있다. 또는, 메인 플립플롭(131)의 셋(Set)이나 리셋(Reset) 설정을 인가하고 기대값과 비교하는 동작을 통하여 설정된 내부전압(VDD) 하에서 동작 오류를 체크할 수 있다(S150). 동작 점검(Function Check) 이후에는 동작 점검의 결과에 따라, 전압 스케일링 동작의 계속 진행 여부를 결정하게 된다. 만일 동작 오류가 발생하지 않았다면 테스트 패턴(ECH_PTN)에 의해 설정된 메인 플립플롭(131)으로 데이터 보존회로(132)에 저장된 데이터를 복원한다. 그리고 내부전압(VDD)의 스케일링이 더 진행되어야 하기 때문에 단계(S130)으로 복귀한다(S190). 그러나 현재 스케일링된 내부전압(VDD)에 대해 동작 오류가 발생한 경우, 하한 퍼포먼스 데이터를 검출한 것으로 판단할 수 있기 때문에 스케일링 루프를 종료한다. 먼저 내부전압(VDD)을 동작 오류가 발생한 바로 이전 스텝, 또는 소정의 스텝 이전의 내부전압(VDD)으로 복원하고, 데이터 보존회로(132)에 저장된 데이터를 메인 플립플롭(131)으로 복원시킨다(S170). 전압 스케일링 동작이 마지막 단계에서는 동작 오류를 유발했던 최초의 내부전압(VDD)을 참조하여, 공정과 동작 특성을 고려한 하한 및 상한 퍼포먼스 데이터를 결정하게 된다(S180). 이때 상한 퍼포먼스와 하한 퍼포먼스는 전압 스케일링 동작을 통해 획득한 본 발명의 마진(Margin)폭으로 정의될 수 있다. 본 발명의 퍼포먼스 데이터로 표현되는 마진은 스케일링 동작이 없는 경우, 생산 공정에서 설정하게 내부전 압(VDD)에 적용되는 마진보다는 훨씬 좁은 폭을 갖게 된다. 따라서, 큰 마진에 따르는 전압의 소실분을 스케일링에 의해서 감소시킬 수 있으며, 이는 전력의 절감으로 직결된다. In the scaling operation, the power control block 140 switches the clock CLK frequency with reference to an input command or status data (S110). After that, set the power supply voltage to the scaling initial voltage. When the frequency shifts from high performance to low performance, the internal voltage (VDD) will start from the low scaling initial voltage (VDN_INI). However, when switching from low to high performance, it will start at a high scaling initial voltage (VUP_INI) as the frequency increases. The scaling initial voltages VDN_INI and VUP_INI correspond to an internal voltage VDD having a large margin. The power control block 140 performs a large internal voltage VDD conversion operation before scaling by the scaling step ΔVsc is performed (S120). After the switching of the internal voltage VDD to the scaling initial voltage, the data of the main flip-flop 131 is backed up to the data preserving circuit 132. This operation sequence is because the test pattern ECH_PTN must be input to the main flip-flop 131 for each scaling loop in order to check the operation failure by the test pattern ECH_PTN (S130). An internal voltage scaling operation is performed to subtract the current internal voltage VDD by the scaling step ΔVsc (S140). In the next step, the main flip-flop 131 is checked for an operation failure in the internal voltage VDD dropped by the scaling step ΔVsc. Unlike the algorithm shown in the embodiment of FIG. 6A of the present invention, according to another embodiment, the check of the function failure is performed by the test pattern ECH_PTN. In the operation error check, the power control block 140 may be configured to input a test pattern to the main flip-flop 131, and receive feedback of the input data again to determine whether there is a match. Alternatively, an operation error may be checked under the set internal voltage VDD by applying a set or reset setting of the main flip-flop 131 and comparing the set value with the expected value (S150). After the operation check, it is determined whether to continue the voltage scaling operation according to the operation check result. If the operation error does not occur, the data stored in the data preservation circuit 132 is restored to the main flip-flop 131 set by the test pattern ECH_PTN. Since the scaling of the internal voltage VDD must proceed further, the process returns to step S130 (S190). However, when an operation error occurs with respect to the currently scaled internal voltage VDD, the scaling loop ends because it is determined that the lower limit performance data has been detected. First, the internal voltage VDD is restored to the internal voltage VDD immediately before the operation error or the predetermined step, and the data stored in the data storage circuit 132 is restored to the main flip-flop 131 ( S170). In the last step of the voltage scaling operation, the lower limit and upper limit performance data considering the process and operation characteristics are determined by referring to the first internal voltage VDD that caused an operation error (S180). In this case, the upper limit performance and the lower limit performance may be defined as a margin width of the present invention obtained through the voltage scaling operation. The margin represented by the performance data of the present invention has a much narrower width than the margin applied to the internal voltage VDD to be set in the production process when there is no scaling operation. Thus, the loss of voltage due to a large margin can be reduced by scaling, which leads directly to power savings.

상술한 본 발명의 알고리즘에 따르면, 선택되는 클록 신호의 주파수 하에서, 동작 가능한 최소의 전압으로 설정이 가능하여 전력 소모의 최소화가 가능하다. 또한, 하한 및 상한의 퍼포먼스 값을 설정하여 각 퍼포먼스 측정회로(120)에 저장한다. 정상 동작중에 실시간으로 모니터링되는 퍼포먼스 값의 이상이 발생하게 되면, 퍼포먼스 측정회로(120)는 인터럽트 신호(P_FAULT)를 출력하여 전압의 재스케일링이 필요함을 전력 제어 블록(140) 또는 운영체제(OS)로 알려준다. 상술한 다이나믹 스케일링 스킴에 따르면, 항상 최소의 동작 가능한 전압으로 전압 스케일링이 이루어져 전력의 소모를 최소화할 수 있다. According to the algorithm of the present invention described above, it is possible to set the minimum voltage that can be operated under the frequency of the selected clock signal, thereby minimizing power consumption. In addition, the performance values of the lower limit and the upper limit are set and stored in each performance measurement circuit 120. If an abnormality in the performance value monitored in real time occurs during normal operation, the performance measurement circuit 120 outputs an interrupt signal P_FAULT to indicate that the voltage rescaling is required to the power control block 140 or the operating system (OS). Inform. According to the above-described dynamic scaling scheme, voltage scaling is always performed at a minimum operable voltage, thereby minimizing power consumption.

도 7a는 본 발명의 하이 퍼포먼스 상태에서 로우 퍼포먼스 상태로의 전압 스케일링 동작을 보여주는 주파수 대비 내부전압(VDD)의 파형도이다. 도 7a를 참조하면, 전력 제어 블록(140)은 클록 신호(CLK)의 주파수가 (f1) 에서 (f1')으로 변동된 이후에 내부전압(VDD)을 최초 스케일링 전압 (VDN_INI)으로 설정한다. 여기서, 최소 스케일링 전압(VDN_INI)은 양산시 설정되는 마진이 고려된 전압 레벨일 수 있다. 전력 제어 블록(140)은 최초 스케일링 전압 (VDN_INI)로부터 스케일링 루프를 반복하면서 스케일링 스텝 전압(ΔVsc)만큼 내부전압(VDD)을 강하시킨다. 내부전압(VDD)의 강하가 반복되다가, 동작 오류를 유발하게 되는 최후 스케일링 전압 (VDN_FIN)을 검출하게 되면, 전압 스케일링 루프는 종료된다. 최후 스케일링 전압 (VDN_FIN)의 바로 이전 전압 또는 두 스텝 이전의 전압이 내부전압(VDD)으로 설정되고, 퍼포먼스 측정회로(120)의 상한 및 하한 퍼포먼스 값이 설정될 것이다. 도시된 도면에서 동작 오류가 발생하는 바로 이전 전압을 내부전압(VDD)으로 설정하는 경우, 마진을 포함하는 내부전압(VDN_INI)에 비해 ΔV 만큼 강하된 내부전압으로 스케일링 될 수 있다. 이 경우 전압의 제곱에 비례하는 전력소모 특성을 갖는 시스템에서 ΔV의 제곱에 비례하는 크기의 전력을 절감할 수 있다.FIG. 7A is a waveform diagram of an internal voltage VDD versus frequency showing voltage scaling operation from a high performance state to a low performance state of the present invention. Referring to FIG. 7A, the power control block 140 sets the internal voltage VDD to the initial scaling voltage VDN_INI after the frequency of the clock signal CLK is changed from f1 to f1 '. Here, the minimum scaling voltage VDN_INI may be a voltage level considering a margin set during mass production. The power control block 140 drops the internal voltage VDD by the scaling step voltage ΔVsc while repeating the scaling loop from the initial scaling voltage VDN_INI. When the drop of the internal voltage VDD is repeated and the last scaling voltage VDN_FIN is detected, which causes an operation error, the voltage scaling loop ends. The voltage immediately before the last scaling voltage VDN_FIN or the voltage two steps before is set to the internal voltage VDD, and the upper and lower performance values of the performance measuring circuit 120 will be set. When the voltage immediately before the operation error is set to the internal voltage VDD in the illustrated figure, it may be scaled to the internal voltage lowered by ΔV compared to the internal voltage VDN_INI including the margin. In this case, in a system having a power consumption characteristic proportional to the square of the voltage, power of a magnitude proportional to the square of ΔV can be saved.

도 7b는 로우 퍼포먼스 상태에서 하이 퍼포먼스 상태로 전환되는 시점에서의 다이나믹 전압 스케일링 동작을 설명하는 파형도이다. 도 7b를 참조하면, 클록 신호(CLK)의 동작 주파수가 (f2)로부터 (f2')으로 증가됨에 따라 전력 제어 블록(140)은 전압 레귤레이터(110)를 제어하여 내부전압(VDD)의 레벨은 V2로부터 최초 스케일링 전압 (VUP_INI)로 상승시킨다. 그 이후에는 클록 신호(CLK)의 주파수 (f2')에 대해서 구동 가능한 최소의 내부전압(VDD)을 찾기 위한 전압 스케일링 동작이 실시된다. 전력 제어 블록(140)은 최초 스케일링 전압(VUP_INI)으로부터 스케일링 스텝 전압(ΔVsc)만큼씩 차감하여 동작 오류가 발생하는 최후 스케일링 전압(VUP_FIN)까지 스케일링 루프를 진행한다. 그 이후에는 주파수 (f2')에 동작 가능한 최소의 내부전압(VDD) 및 본 발명의 마진(Margin)에 해당하는 상한 및 하한 퍼포먼스 값을 설정하여 각각 퍼포먼스 측정회로(120)에 포함된 레지스터에 저장한다. FIG. 7B is a waveform diagram illustrating a dynamic voltage scaling operation at the time of switching from a low performance state to a high performance state. Referring to FIG. 7B, as the operating frequency of the clock signal CLK increases from (f2) to (f2 '), the power control block 140 controls the voltage regulator 110 so that the level of the internal voltage VDD is increased. Raise from V2 to the initial scaling voltage (VUP_INI). Thereafter, a voltage scaling operation is performed to find a minimum internal voltage VDD that can be driven with respect to the frequency f2 'of the clock signal CLK. The power control block 140 performs a scaling loop from the initial scaling voltage VUP_INI by the scaling step voltage ΔVsc to the last scaling voltage VUP_FIN where an operation error occurs. Thereafter, the minimum internal voltage VDD operable at the frequency f2 'and the upper and lower performance values corresponding to the margin of the present invention are set and stored in the registers included in the performance measurement circuit 120, respectively. do.

상술한 도 7a 및 도 7b에 따르면, 본 발명의 전력 제어 블록(140)은 클록신호(CLK)의 주파수 변동에 따라 최초 스케일링 전압(VDN_INI, VUP_INI)으로부터 스 케일링 스텝 전압(ΔVsc)만큼씩 내부전압(VDD)을 강하하는 전압 스케일링 동작을 실시한다. 이러한 동작을 통하여 설정되는 클록 신호의 주파수에 최소 내부전압(VDD)으로의 설정이 가능하며, 하한 및 상한 퍼포먼스 데이터로 표현되는 마진을 최소화하여 전력 소모를 극대화할 수 있다. 전압 스케일링 동작 동안 발생하게 되는 동작 오류의 영향으로부터 시스템을 보호하기 밸룬 래치 등으로 구성 가능한 데이터 보존 회로가 구비되어야 함을 물론이다. 7A and 7B, the power control block 140 according to the present invention is internally scaled by the scaling step voltage ΔVsc from the initial scaling voltages VDN_INI and VUP_INI according to the frequency variation of the clock signal CLK. A voltage scaling operation for dropping the voltage VDD is performed. Through this operation, the frequency of the clock signal set can be set to the minimum internal voltage (VDD), and the power consumption can be maximized by minimizing the margins represented by the lower limit and the upper limit performance data. It goes without saying that a data preservation circuit configurable with a balun latch or the like should be provided to protect the system from the effects of operational errors occurring during voltage scaling operations.

한편, 본 발명의 상세한 설명에서는 구체적인 실시예에 관하여 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 상술한 실시예에 국한되어 정해져서는 안되며 후술하는 특허청구범위뿐만 아니라 이 발명의 특허청구범위와 균등한 것들에 의해 정해져야 한다.On the other hand, in the detailed description of the present invention has been described with respect to specific embodiments, various modifications are of course possible without departing from the scope of the invention. Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be defined by the equivalents of the claims of the present invention as well as the following claims.

상술한 바와 같이 본 발명에 따른 반도체 시스템의 전압 스케일링 장치는 동작 주파수에서 구동 가능한 최소의 내부전압(VDD)으로 설정 가능하기 때문에 전력 소모를 최소화할 수 있다. 또한 예상치 못한 요인들에 의해서 발생할 전압 강하에 따르는 동작 오류를 실시간으로 측정되는 퍼포먼스 데이터를 참조하여 적응적으로 스케일링 하므로 동작의 안정성을 확보할 수 있다.As described above, the voltage scaling apparatus of the semiconductor system according to the present invention can be set to a minimum internal voltage VDD that can be driven at an operating frequency, thereby minimizing power consumption. In addition, the stability of the operation can be secured by adaptively scaling the operation error according to the voltage drop caused by unexpected factors with reference to the performance data measured in real time.

Claims (38)

공급 전압을 입력받아 동작 전압을 발생하는 전압 조정 회로와;A voltage adjusting circuit which receives a supply voltage and generates an operating voltage; 상기 동작 전압을 공급받아 동작하며, 유효한 데이터를 저장하도록 구성된 레지스터와; 그리고A register operative to receive the operating voltage and configured to store valid data; And 동작 주파수의 변경에 응답하여 상기 동작 전압이 목표 전압으로 설정된 후 상기 목표 전압이 단계적으로 변화되도록 상기 전압 조정 회로를 제어하는 전력 제어 블록을 포함하며,And a power control block for controlling the voltage adjusting circuit to change the target voltage step by step after the operating voltage is set to the target voltage in response to the change of the operating frequency, 상기 전력 제어 블록은 상기 목표 전압이 단계적으로 변화될 때마다 상기 유효한 데이터가 변경되었는지의 여부를 판별하고, 판별 결과에 따라 상기 동작 전압의 스케일링 전압 레벨을 결정하는 전력 관리 장치.And the power control block determines whether the valid data has changed each time the target voltage is changed in stages, and determines the scaling voltage level of the operating voltage according to the determination result. 제 1 항에 있어서,The method of claim 1, 상기 목표 전압은 마진이 포함된 동작 전압인 전력 관리 장치.And the target voltage is an operating voltage including a margin. 제 1 항에 있어서,The method of claim 1, 상기 전력 제어 블록은 상기 동작 주파수가 높아질 때 상기 동작 전압이 상기 목표 전압으로 증가되도록 상기 전압 조정회로를 제어하는 전력 관리 장치.And the power control block controls the voltage adjusting circuit to increase the operating voltage to the target voltage when the operating frequency is increased. 제 3 항에 있어서,The method of claim 3, wherein 상기 동작 전압이 상기 목표 전압으로 증가된 후, 상기 전력 제어 블록은 상기 목표 전압이 단계적으로 감소하도록 상기 전압 조정 회로를 제어하는 전력 관리 장치.And after the operating voltage is increased to the target voltage, the power control block controls the voltage adjusting circuit to decrease the target voltage in steps. 제 1 항에 있어서,The method of claim 1, 상기 전력 제어 블록은 상기 동작 주파수가 낮아질 때 상기 동작 전압이 상기 목표 전압으로 낮아지도록 상기 전압 조정회로를 제어하는 전력 관리 장치.And the power control block controls the voltage adjusting circuit so that the operating voltage is lowered to the target voltage when the operating frequency is lowered. 제 5 항에 있어서,The method of claim 5, 상기 동작 전압이 상기 목표 전압으로 낮아진 후, 상기 전력 제어 블록은 상기 목표 전압이 단계적으로 감소하도록 상기 전압 조정 회로를 제어하는 전력 관리 장치.And after the operating voltage is lowered to the target voltage, the power control block controls the voltage adjusting circuit to decrease the target voltage in steps. 제 1 항에 있어서,The method of claim 1, 상기 전력 제어 블록은 상기 레지스터에 저장된 유효 데이터로서 테스트 패턴을 저장하도록 구성된 전력 관리 장치.And the power control block is configured to store a test pattern as valid data stored in the register. 제 7 항에 있어서,The method of claim 7, wherein 상기 동작 전압이 상기 목표 전압으로 천이된 후, 상기 목표 전압이 단계적으로 감소되는 스케일링 동작 동안, 상기 전력 제어 블록은 상기 레지스터에 저장 된 유효 데이터가 상기 테스트 패턴과 일치하는 지의 여부를 판별하는 전력 관리 장치.During the scaling operation in which the target voltage is gradually reduced after the operating voltage transitions to the target voltage, the power control block determines whether or not valid data stored in the register matches the test pattern. Device. 제 8 항에 있어서,The method of claim 8, 상기 레지스터에 저장된 유효 데이터가 상기 테스트 패턴과 일치하지 않을 때, 상기 전력 제어 블록은 상기 목표 전압보다 낮게 그리고 현재의 감소된 목표 전압보다 높게 상기 동작 전압을 결정하는 전력 관리 장치.And when the valid data stored in the register does not match the test pattern, the power control block determines the operating voltage below the target voltage and above the current reduced target voltage. 제 1 항에 있어서,The method of claim 1, 상기 전력 제어 블록에 의해서 제어되며, 상기 동작 전압이 상기 목표 전압으로 증가된 후 상기 목표 전압이 단계적으로 감소되는 스케일링 동작 동안 상기 결정된 동작 전압의 성능 마진을 측정하도록 구성된 성능 측정 회로를 더 포함하는 전력 관리 장치.And a performance measurement circuit controlled by the power control block and configured to measure a performance margin of the determined operating voltage during a scaling operation in which the target voltage is gradually reduced after the operating voltage is increased to the target voltage. Management device. 제 10 항에 있어서,The method of claim 10, 상기 스케일링 동작이 완료된 후, 상기 성능 측정 회로는 상기 측정된 성능 마진을 벗어났는 지의 여부를 실시간으로 모니터링하는 전력 관리 장치.And after the scaling operation is completed, the performance measuring circuit monitors in real time whether the measured performance margin is out of range. 제 11 항에 있어서,The method of claim 11, 상기 측정된 성능 마진을 벗어날 때, 상기 성능 측정 회로는 상기 전력 제어 블록으로 인터럽트 정보를 제공하는 전력 관리 장치.The performance measurement circuitry provides interrupt information to the power control block when it deviates from the measured performance margin. 제 12 항에 있어서,The method of claim 12, 상기 전력 제어 블록은 상기 인터럽트 정보에 응답하여 상기 스케일링 동작을 재개하는 전력 관리 장치.And the power control block resumes the scaling operation in response to the interrupt information. 데이터 처리 장치와; 그리고A data processing device; And 상기 데이터 처리 장치에 공급되는 동작 전압을 제어하는 전력 제어 장치를 포함하며, 상기 전력 제어 장치는 청구항 1에 기재된 전력 제어 장치로 구성되는 모바일 시스템.And a power control device for controlling an operating voltage supplied to said data processing device, said power control device comprising the power control device of claim 1. 내부전압을 조정하는 전압 레귤레이터;A voltage regulator for adjusting an internal voltage; 상기 내부전압을 전원으로 제공받는 레지스터;A resistor receiving the internal voltage as a power source; 상기 내부전압을 전원으로 제공받고, 동작 가능 전원전압이 상기 레지스터보다 낮으며, 상기 레지스터와 데이터 교환이 가능한 데이터 보존회로;A data preserving circuit provided with the internal voltage as a power source, the operable power supply voltage being lower than the resistor, and capable of exchanging data with the register; 상기 전압 레귤레이터가 선택된 클록 신호의 주파수에 대응하는 내부전압의 레벨을 출력하도록 스케일링 동작을 수행하는 전력 제어 블록을 포함하되, 상기 스케일링 동작시, 상기 전력 제어 블록의 제어에 따라 상기 레지스터의 데이터는 상기 데이터 보존회로에 백업되고, 상기 내부전압은 제 1 레벨로부터 상기 레지스터의 동작 오류가 발생하는 제 2 레벨까지 단계적으로 변화되는 것을 특징으로 하는 전력 관리 장치.And a power control block configured to perform a scaling operation such that the voltage regulator outputs a level of an internal voltage corresponding to a frequency of a selected clock signal. In the scaling operation, data of the register is controlled according to control of the power control block. Backed up in a data preservation circuit, wherein said internal voltage is varied step by step from a first level to a second level at which an operational error of said register occurs. 제 15 항에 있어서, The method of claim 15, 상기 스케일링 동작동안, 상기 전력 제어 블록은 상기 레지스터의 동작 오류 검출시, 상기 제 2 레벨보다 높은 전압을 선택하여 상기 전압 레귤레이터가 출력하도록 제어하고, 상기 데이터 보존회로에 백업 된 데이터를 상기 레지스터로 복원하는 것을 특징으로 하는 전력 관리 장치.During the scaling operation, the power control block selects a voltage higher than the second level to control the voltage regulator to output when the operation error of the register is detected, and restores data backed up to the data preserving circuit to the register. Power management device, characterized in that. 제 16 항에 있어서,The method of claim 16, 상기 전력 제어 블록은 상기 레지스터와 상기 데이터 보존회로에 저장된 데이터를 비교하는 수단을 통하여 동작 오류를 검출하는 것을 특징으로 하는 전력 관리 장치.And the power control block detects an operation error through means for comparing the data stored in the register and the data preservation circuit. 제 16 항에 있어서,The method of claim 16, 상기 전력 제어 블록은 상기 레지스터로 테스트 패턴을 제공하여 동작 오류를 검출하는 것을 특징으로 하는 전력 관리 장치.And the power control block provides a test pattern to the register to detect an operation error. 제 15 항에 있어서,The method of claim 15, 상기 데이터 보존회로는 MTCMOS(Multi-Threshold Complementary Metal Oxide Semiconductor) 플립-플롭인 전력 관리 장치.The data preserving circuit is a multi-threshold complementary metal oxide semiconductor (MTCMOS) flip-flop. 제 15 항에 있어서,The method of claim 15, 상기 전력 제어 블록에 의해서 선택된 내부전압 레벨의 퍼포먼스 마진을 제공하기 위한 퍼포먼스 측정회로를 더 포함하는 전력 관리 장치.And a performance measurement circuit for providing a performance margin of the internal voltage level selected by the power control block. 제 20 항에 있어서,The method of claim 20, 상기 퍼포먼스 측정회로는,The performance measurement circuit, 현재의 퍼포먼스를 감지하여 퍼포먼스 데이터로 출력하는 퍼포먼스 감지부;A performance sensing unit for sensing the current performance and outputting the performance data; 상기 선택된 주파수에서의 퍼포먼스 허용 범위를 저장하는 마진 레지스터;A margin register for storing a performance tolerance at the selected frequency; 상기 퍼포먼스 데이터와 상기 퍼포먼스 허용 범위를 비교하여 상기 허용 범위를 벗어나는 경우 상기 인터럽트 신호를 출력하는 비교기를 포함하는 전력 관리 장치.And a comparator for comparing the performance data with the performance allowance and outputting the interrupt signal when the performance allowance is out of the allowable range. 제 21 항에 있어서,The method of claim 21, 상기 퍼포먼스 감지부는,The performance detection unit, 상기 내부전압의 레벨과 동작 온도에 따라 변동하는 주파수의 퍼포먼스 감지 신호를 생성하는 발진회로;An oscillation circuit for generating a performance sensing signal of a frequency varying in accordance with the internal voltage level and an operating temperature; 상기 퍼포먼스 감지 신호의 주파수를 측정하는 카운터;A counter for measuring a frequency of the performance detection signal; 상기 카운터로부터의 퍼포먼스 데이터를 일시 저장하고, 상기 비교기와 상기 전력 제어 블록으로 제공하는 퍼포먼스 데이터 레지스터를 포함하는 전력 관리 장 치.And a performance data register for temporarily storing performance data from the counter and providing the comparator and the power control block. 제 22 항에 있어서,The method of claim 22, 상기 발진회로는 상기 클록 신호와는 독립적인 주파수의 주기신호를 생성하는 전력 관리 장치. And the oscillator circuit generates a periodic signal having a frequency independent of the clock signal. 제 21 항에 있어서,The method of claim 21, 상기 마진 레지스터는,The margin register is, 상기 퍼포먼스 허용 범위의 하한값이 저장되는 하한 레지스터; 및A lower limit register that stores a lower limit of the performance allowable range; And 상기 퍼포먼스 허용 범위의 상한값이 저장되는 상한 레지스터를 포함하는 전력 관리 장치.And an upper limit register in which an upper limit value of the performance allowable range is stored. 제 20 항에 있어서,The method of claim 20, 상기 퍼포먼스 측정부는 복수 개가 구비되는 것을 특징으로 하는 반도체 장치.The performance measuring unit is provided with a plurality of semiconductor devices. 제 15 항에 있어서,The method of claim 15, 상기 전력 제어 블록은 상태 기계로 구성 가능한 것을 특징으로 하는 반도체 장치.And the power control block is configurable as a state machine. 제 15 항에 있어서,The method of claim 15, 상기 전력 제어 블록은 프로그램된 소프트웨어로 구성되는 것을 특징으로 하는 반도체 장치.And the power control block is composed of programmed software. 레지스터의 데이터를 스케일링 동작 동안 백업하기 위한 데이터 보존 회로를 구비하고, 선택되는 클록 주파수에서 동작 가능한 최소의 전압으로 스케일링하는 반도체 시스템의 내부전압 스케일링 방법에 있어서,A data preservation circuit for backing up data in a register during a scaling operation, the internal voltage scaling method of a semiconductor system for scaling to a minimum voltage operable at a selected clock frequency, 상기 레지스터의 데이터를 데이터 보존회로에 백업하는 단계;Backing up the data of the register to a data preservation circuit; 상기 내부전압을 스케일링 초기전압으로 레벨 변동하는 단계;Level changing the internal voltage to a scaling initial voltage; 상기 내부전압의 스케일링 초기전압으로부터 스케일링 스텝 전압만큼 차감하는 단계;Subtracting a scaling step voltage from the scaling initial voltage of the internal voltage; 차감된 이후의 상기 내부전압에서의 반도체 장치의 동작 오류를 체크하는 단계;Checking an operation error of the semiconductor device at the internal voltage after subtraction; 동작 오류의 검출시, 상기 내부전압을 상기 동작 오류의 발생 이전 레벨로 복구하고, 상기 데이터 보존회로에 저장된 데이터를 상기 레지스터로 복구하는 데이터 복구 단계를 포함하는 반도체 장치의 내부전압 스케일링 방법.And restoring the internal voltage to a level before the occurrence of the operation error and restoring data stored in the data preservation circuit to the register upon detection of an operation error. 제 28 항에 있어서,The method of claim 28, 상기 동작 오류를 체크하는 단계는 동작 오류가 발생하지 않는 경우에는 현재의 내부전압에서 상기 스케일링 스텝 전압을 차감하는 단계로 이동하는 내부전압 스케일링 방법.And checking the operation error moves to subtracting the scaling step voltage from a current internal voltage when an operation error does not occur. 제 28 항에 있어서,The method of claim 28, 상기 반도체 시스템은 퍼포먼스 상태에 따라서 변동되는 발진 주파수를 측정하여 퍼포먼스 데이터로 출력하는 퍼포먼스 측정회로를 더 포함하는 것을 특징으로 하는 내부전압 스케일링 방법.The semiconductor system further comprises a performance measuring circuit for measuring the oscillation frequency that varies in accordance with the performance state to output as performance data. 제 30 항에 있어서,The method of claim 30, 상기 데이터 복구 단계는 상기 동작 오류가 발생하는 시점에서 출력되는 상기 퍼포먼스 데이터를 참조하여 상기 퍼포먼스 측정회로의 퍼포먼스 마진 값을 설정하는 내부전압 스케일링 방법. And the data recovery step sets a performance margin value of the performance measurement circuit with reference to the performance data output at the time when the operation error occurs. 제 28 항에 있어서,The method of claim 28, 상기 내부전압을 스케일링 초기전압으로 레벨 변동하는 단계는,Level shifting the internal voltage to a scaling initial voltage, 상기 클록 주파수가 이전보다 증가된 경우에는 이전보다 높은 스케일링 초기전압으로, 상기 클록 주파수가 이전보다 감소된 경우에는 이전보다 낮은 스케일링 초기 전압으로 변동되는 것을 특징으로 하는 내부전압 스케일링 방법. And when the clock frequency is increased than before, the scaling initial voltage is higher than before, and when the clock frequency is decreased than before, the internal voltage scaling method is changed. 레지스터의 데이터를 스케일링 동작 동안 백업하기 위한 데이터 보존 회로를 구비하고, 선택되는 클록 주파수에서 동작 가능한 최소의 전압으로 스케일링하는 반도체 시스템의 내부전압 스케일링 방법에 있어서,A data preservation circuit for backing up data in a register during a scaling operation, the internal voltage scaling method of a semiconductor system for scaling to a minimum voltage operable at a selected clock frequency, 상기 내부전압을 스케일링 초기전압으로 레벨 변동하는 단계;Level changing the internal voltage to a scaling initial voltage; 상기 레지스터의 데이터를 데이터 보존회로에 백업하는 단계;Backing up the data of the register to a data preservation circuit; 상기 내부전압의 스케일링 초기전압으로부터 스케일링 스텝 전압만큼 차감하는 단계;Subtracting a scaling step voltage from the scaling initial voltage of the internal voltage; 차감된 이후의 상기 내부전압에서의 반도체 장치의 동작 오류를 체크하는 단계;Checking an operation error of the semiconductor device at the internal voltage after subtraction; 동작 오류의 검출시, 상기 내부전압을 상기 동작 오류의 발생 이전 레벨로 복구하고, 상기 데이터 보존회로에 저장된 데이터를 상기 레지스터로 복구하는 데이터 복구 단계를 포함하는 반도체 장치의 내부전압 스케일링 방법.And restoring the internal voltage to a level before the occurrence of the operation error and restoring data stored in the data preservation circuit to the register upon detection of an operation error. 제 33 항에 있어서,The method of claim 33, wherein 상기 동작 오류를 체크하는 단계는 상기 레지스터로 테스트 패턴을 제공하여 강하된 전압에서 정상적으로 데이터 저장이 가능한지를 검출하는 단계인 것을 특징으로 하는 내부전압 스케일링 방법.The checking of the operation error is a step of providing a test pattern to the register to detect whether data can be stored normally at the dropped voltage. 제 33 항에 있어서,The method of claim 33, wherein 상기 동작 오류의 체크 후, 동작 오류가 발생하지 않는 경우에는 상기 데이터 보존 회로의 백업 된 데이터를 상기 레지스터로 복원하는 단계를 포함하는 내부전압 스케일링 방법.Restoring the backed up data of the data preservation circuit to the register if the operation error does not occur after checking the operation error. 제 33 항에 있어서, The method of claim 33, wherein 상기 반도체 시스템은 퍼포먼스 상태에 따라서 변동되는 발진 주파수를 측정하여 퍼포먼스 데이터로 출력하는 퍼포먼스 측정회로를 더 포함하는 것을 특징으로 하는 내부전압 스케일링 방법.The semiconductor system further comprises a performance measuring circuit for measuring the oscillation frequency that varies in accordance with the performance state to output as performance data. 제 33 항에 있어서,The method of claim 33, wherein 상기 데이터 복구 단계는 상기 동작 오류가 발생하는 시점에서 출력되는 상기 퍼포먼스 데이터를 참조하여 상기 퍼포먼스 측정회로의 퍼포먼스 마진 값을 설정하는 내부전압 스케일링 방법. And the data recovery step sets a performance margin value of the performance measurement circuit with reference to the performance data output at the time when the operation error occurs. 제 33 항에 있어서,The method of claim 33, wherein 상기 내부전압을 스케일링 초기전압으로 레벨 변동하는 단계는,Level shifting the internal voltage to a scaling initial voltage, 상기 클록 주파수가 이전보다 증가된 경우에는 이전보다 높은 스케일링 초기전압으로, 상기 클록 주파수가 이전보다 감소된 경우에는 이전보다 낮은 스케일링 초기 전압으로 변동되는 것을 특징으로 하는 내부전압 스케일링 방법. And when the clock frequency is increased than before, scaling to a higher initial voltage scaling than before, and when the clock frequency is decreased than before, changing to an initial scaling voltage lower than before.
KR1020060030238A 2006-04-03 2006-04-03 Power management system and method thereof KR20070099181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060030238A KR20070099181A (en) 2006-04-03 2006-04-03 Power management system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060030238A KR20070099181A (en) 2006-04-03 2006-04-03 Power management system and method thereof

Publications (1)

Publication Number Publication Date
KR20070099181A true KR20070099181A (en) 2007-10-09

Family

ID=38804672

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060030238A KR20070099181A (en) 2006-04-03 2006-04-03 Power management system and method thereof

Country Status (1)

Country Link
KR (1) KR20070099181A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150092477A (en) * 2014-02-05 2015-08-13 주식회사 그리드위즈 Smart power supply apparatus
WO2017172027A1 (en) * 2016-03-29 2017-10-05 Intel Corporation Systems, methods and devices for dynamic power management of devices using game theory
KR20180071056A (en) * 2016-12-19 2018-06-27 서울대학교산학협력단 Apparatus and method for dynamic frequency scaling, and recording medium
US11467546B2 (en) 2019-09-04 2022-10-11 Samsung Electronics Co., Ltd. Semiconductor device and prediction method for resource usage in semiconductor device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150092477A (en) * 2014-02-05 2015-08-13 주식회사 그리드위즈 Smart power supply apparatus
WO2017172027A1 (en) * 2016-03-29 2017-10-05 Intel Corporation Systems, methods and devices for dynamic power management of devices using game theory
US9934048B2 (en) 2016-03-29 2018-04-03 Intel Corporation Systems, methods and devices for dynamic power management of devices using game theory
US10671404B2 (en) 2016-03-29 2020-06-02 Intel Corporation Systems, methods and devices for dynamic power management of devices using game theory
KR20180071056A (en) * 2016-12-19 2018-06-27 서울대학교산학협력단 Apparatus and method for dynamic frequency scaling, and recording medium
US11467546B2 (en) 2019-09-04 2022-10-11 Samsung Electronics Co., Ltd. Semiconductor device and prediction method for resource usage in semiconductor device
US11740597B2 (en) 2019-09-04 2023-08-29 Samsung Electronics Co., Ltd. Semiconductor device and prediction method for resource usage in semiconductor device

Similar Documents

Publication Publication Date Title
US8479030B2 (en) Power management of components having clock processing circuits
US6510400B1 (en) Temperature control circuit for central processing unit
KR101316788B1 (en) Semiconductor integrated circuit device
US8179111B2 (en) Methods, systems, and devices for power-on sequence for a circuit
US20070011477A1 (en) Method, system, and apparatus for dynamically configuring the operating point utilized for thermal management of an integrated circuit
JP2009522688A (en) System and method for operating integrated circuit components at independent frequencies and / or voltages
US20120023382A1 (en) Data processing system and method for regulating a voltage supply to functional circuitry of the data processing system
JP3853675B2 (en) System and method for managing power consumption using an on-chip voltage monitor
JP2022175280A (en) Information processing device and control method for information device
JP2007520008A (en) Method and apparatus for overclocking in a digital processing system
WO1998006022A2 (en) Methods and circuits for dynamically adjusting a supply voltage and/or a frequency of a clock signal in a digital circuit
KR20170131512A (en) Clock generation circuit with fast start standby mode
US11201626B1 (en) Phase locked loop device and method of operating ihe same
CN110764964A (en) Storage device and control method thereof
US20130127550A1 (en) Frequency scaling of variable speed systems for fast response and power reduction
KR20070099181A (en) Power management system and method thereof
US8117466B2 (en) Data processing device and power supply voltage generator that control a power supply voltage during an auxiliary period, and method of controlling the power supply voltage thereof during an auxiliary period
WO2005050425A1 (en) Method and device for regulating a voltage supply to a semiconductor device
US9219475B2 (en) Power arbitration method and apparatus having a control logic circuit for assessing and selecting power supplies
JP2015119311A (en) Semiconductor device
JP5890998B2 (en) Semiconductor device and power supply method
WO2010131104A2 (en) Method and device for controlling power-on of a processing circuit
US20230195207A1 (en) Electronic device and method of controlling temperature in same
JP3359613B2 (en) Voltage detection circuit and voltage detection method
JP2012226558A (en) Semiconductor integrated circuit device and load current stabilization circuit

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid