# US 2003/0217295 A1 · Method and apparatus for power management using system and request tokens

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0217295 A1
- Document ID: US20030217295A1
- Status: Published application
- Kind: A1
- Application number: 10/145,502
- Filed: 2002-05-14
- Published: 2003-11-20
- Earliest claimed: 2002-05-14
- Assignees: ATI Technologies, Inc.
- Inventors: Greg Sadowski
- Web page: https://patentgrep.com/patent/US20030217295A1

## CPC

- G06F 1/26: Power supply means, e.g. regulation thereof (for memories G11C)
- G06F 1/28: Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A power management control circuit and method thereof includes a power register that contains a number of request tokens for at least one power consumption module. The number of request tokens represents a power adjust level of the at least one power consumption module. The power management control circuit and method thereof further includes a power controller coupled to the power register, wherein the power controller determines whether to adjust the power consumption module based on a comparison of a number of system tokens with the number of request tokens for the power consumption module. The power management control circuit and the method thereof further includes a token generator coupled to the power controller. The token generator generates the predetermined number of system tokens and a token valid signal for clearing an up token register and a down token register for each predetermined time interval.

## Claims

### Claim 1

A power management control circuit comprising:
a power register containing a number of request tokens for at least one power consumption module, wherein the number of request tokens represents a power adjust level of the at least one power consumption module; and
a power controller operably coupled to the power register, wherein the power controller determines whether to adjust the power consumption module based on a comparison of a number of system tokens with the number of request tokens for the power consumption module.

### Claim 2 (depends on 1)

The power management control circuit of claim 1 further comprising:
a token generator operably coupled to the power controller, wherein the token generator generates the number of system tokens and provides the system tokens to the power controller.

### Claim 3 (depends on 2)

The power management control circuit of claim 2 wherein the token generator periodically generates and provides the numerical amount of system tokens to the power controller at a predetermined time interval.

### Claim 4 (depends on 2)

The power management control circuit of claim 2 wherein the power controller further comprises:
a system token register which stores the system tokens; and
a comparator operably coupled to the power register and the system token register, wherein the comparator compares the number of request tokens with the number of system tokens and instructs the power controller whether to adjust the power of the power consumption module.

### Claim 5 (depends on 4)

The power management control circuit of claim 4 wherein the system tokens include a plurality of up tokens and a plurality of down tokens and the system token register further comprises:
an up token register which stores the plurality of up tokens generated by the token generator;
a down token register which stores the plurality of down tokens generated by the token generator.

### Claim 6 (depends on 5)

The power management control circuit of claim 5 wherein when the power consumption module requests an increase in power and the comparator instructs the power controller to adjust the power, the plurality of up tokens is decreased by the corresponding request token value and when the power consumption module requests a decrease in power and the comparator instructs the power controller to adjust power, the plurality of down tokens is decreased by the corresponding request token value.

### Claim 7 (depends on 5)

The power management control circuit of claim 5 wherein when the power consumption module requests an increase in power and the comparator instructs the power controller to adjust the power, the plurality of down tokens is increased by the corresponding request token value and when the power consumption module requests a decrease in power and the comparator instructs the power controller to adjust power, the plurality of up tokens is increased by the corresponding request token value.

### Claim 8 (depends on 1)

The power management control circuit of claim 1 wherein the system token and the request token represent a predetermined unit of power adjustment.

### Claim 9 (depends on 1)

The power management control circuit of claim 1 wherein the power consumption module includes at least one of a processing block, a clock selector, and a voltage power supply and wherein the control circuit is a graphics processing circuit.

### Claim 10

A power management control circuit comprising:
at least one power consumption module having a power adjust level;
a power register containing at least one request token for each of the at least one power consumption modules, wherein the number of request tokens corresponds to the power adjust level of the at least one power consumption module;
a power controller operably coupled to the power register and the at least one power consumption module, wherein the power controller determines whether to adjust the power consumption module based on a comparison of a number of system tokens with the number of request tokens for the power consumption module; and
a token generator operably coupled to the power controller, wherein the token generator generates the number of system tokens and provides the system tokens to the power controller.

### Claim 11 (depends on 10)

The power management control circuit of claim 10 wherein the power controller further comprises:
a system token register which stores the system tokens; and
a comparator operably coupled to the power register and the system token register, wherein the comparator compares the number of request tokens with the number of system tokens and instructs the power controller whether to adjust the power of the power consumption module.

### Claim 12 (depends on 11)

The power management control circuit of claim 11 wherein the system tokens comprise a plurality of up tokens and a plurality of down tokens and the system token register further comprises:
an up token register which stores the plurality of up tokens generated by the token generator; and
a down token register which stores the plurality of down tokens generated by the token generator.

### Claim 13 (depends on 12)

The power management control circuit of claim 12 wherein when the power consumption module requests an increase in power and the comparator instructs the power controller to adjust the power, the plurality of up tokens is decreased by the corresponding request token value and when the power consumption module requests a decrease in power and the comparator instructs the power controller to adjust power, the plurality of down tokens is decreased by the corresponding request token value.

### Claim 14 (depends on 12)

The power management control circuit of claim 12 wherein when the power consumption module requests an increase in power and the comparator instructs the power controller to adjust the power, the plurality of down tokens is increased by the corresponding request token value and when the power consumption module requests a decrease in power and the comparator instructs the power controller to adjust power, the plurality of up tokens is increased by the corresponding request token value.

### Claim 15 (depends on 10)

The power management control circuit of claim 10 wherein the system token and the request token represent a predetermined unit of power adjustment.

### Claim 16 (depends on 15)

The power management control circuit of claim 15 wherein the token generator periodically generates and provides the numerical amount of system tokens to the power controller at a predetermined time interval and wherein the control circuit is a graphics processing circuit.

### Claim 17

A method for power management comprising:
receiving a power change request;
comparing a number of request tokens, corresponding to the power change request, with a number of system tokens; and
determining whether to enable the power change request based on the comparison of the number of power change request tokens with the number of system tokens.

### Claim 18 (depends on 17)

The method for power management of claim 17, prior to comparing the power change request token value, further comprising:
retrieving the number of request tokens from a power register; and
receiving the number of system tokens from a token generator.

### Claim 19 (depends on 18)

The method for power management of claim 18 wherein the system tokens comprise a number of up tokens and a number of down tokens, the method further comprising:
if the power change request is to increase power and the determination is made to enable the power change request, decreasing the number of up tokens by the corresponding number of request tokens; and
if the power change request is to decrease power and the determination is made to enable the power change request, decreasing the number of down tokens by the corresponding number of request tokens.

### Claim 20 (depends on 18)

The method for power management of claim 18 wherein the system tokens comprise a number of up tokens and a number of down tokens, the method further comprising:
if the power change request is to increase power and the determination is made to enable the power change request, increasing the number of down tokens by the corresponding number of request tokens; and
if the power change request is to decrease power and the determination is made to enable the power change request, increasing the number of up tokens by the corresponding number of request tokens.

### Claim 21 (depends on 19)

The method for power management of claim 19 wherein the step of determining whether to enable the power change request further comprises:
comparing the number of request tokens with the number of system tokens;
if the power change request is to increase power, enabling the power change request if the number of up tokens is not less than the number of request tokens; and
if the power change request is to decrease power, enabling the power change request if the number of down tokens is not less than the number of request tokens.

### Claim 22

A method for power management comprising:
receiving a power change request;
retrieving a number of request tokens from a power register where the number of request tokens corresponds to the power change request; and
receiving the number of system tokens from a token generator, where the system tokens comprise a number of up tokens and a number of down tokens;
comparing the number of request tokens, corresponding to the power change request, with a number of system tokens; and
determining whether to enable the power change request based on the comparison of the number of power change request tokens with the number of system tokens.

### Claim 23 (depends on 22)

The method for power management of claim 22 further comprising:
if the power change request is to increase power and the determination is made to enable the power change request, decreasing the number of up tokens by the corresponding number of request tokens; and
if the power change request is to decrease power and the determination is made to enable the power change request, decreasing the number of down tokens by the corresponding number of request tokens.

### Claim 24 (depends on 23)

The method for power management of claim 23 further comprising:
if the power change request is to increase power and the determination is made to enable the power change request, increasing the number of down tokens by the corresponding number of request tokens; and
if the power change request is to decrease power and the determination is made to enable the power change request, increasing the number of up tokens by the corresponding number of request tokens.

### Claim 25 (depends on 24)

The method of claim 24 further comprising:
if the power change request is to increase power and the number of request tokens is greater than the number of up tokens, waiting for an enabled decrease power change request and re-comparing the number of request tokens with the number of up tokens; and
if the power change request is to decrease power and the number of request tokens is greater than the number of down tokens, waiting for an enabled increase power change request and re-comparing the number of request tokens with the number of down tokens.

### Claim 26 (depends on 22)

The method for power management of claim 22 wherein the step of determining whether to enable the power change request further comprises:
comparing the number of request tokens with the number of system tokens;
if the power change request is to increase power, enabling the power change request if the number of up tokens is not less than the number of request tokens; and
if the power change request is to decrease power, enabling the power change request if the number of down tokens is not less than the number of request tokens.

### Claim 27

A power management graphics processing system comprising:
at least one power consumption module having a power adjust value;
a power register containing at least one request token for each of the at least one power consumption modules, wherein the number of request tokens corresponds to the power adjust value of the at least one power consumption module;
a power controller operably coupled to the power register and the at least one power consumption module, wherein the power controller includes a comparator that determines whether to adjust the power consumption module based on a comparison of a number of system tokens with the number of request tokens for the power consumption module;
a token generator operably coupled to the power controller, wherein the token generator generates the number of system tokens and provides the system tokens to the power controller; and
a system token register coupled to the power controller comprising an up token register and a down token register wherein the number of system tokens includes a number of tokens stored within the up token register and a number of down tokens stored within the down token register.

### Claim 28 (depends on 27)

The power management graphics processing circuit of claim 27 wherein when the power consumption module requests an increase in power and the comparator instructs the power controller to adjust the power, the plurality of up tokens is decreased by the corresponding request token value and when the power consumption module requests a decrease in power and the comparator instructs the power controller to adjust power, the plurality of down tokens is decreased by the corresponding request token value.

### Claim 29 (depends on 27)

The power management graphics processing circuit of claim 27 wherein when the power consumption module requests an increase in power and the comparator instructs the power controller to adjust the power, the plurality of down tokens is increased by the corresponding request token value and when the power consumption module requests a decrease in power and the comparator instructs the power controller to adjust power, the plurality of up tokens is increased by the corresponding request token value.

### Claim 30 (depends on 27)

The power management graphics processing circuit of claim 27 wherein each of the system tokens and each of the request tokens represent a predetermined unit of power adjustment.

### Claim 31 (depends on 27)

The power management graphics processing circuit of claim 27 wherein the token generator periodically generates and provides the number of system tokens to the power controller at a predetermined time interval.
