# US 2008/0290847 A1 · Method and apparatus for controlling a supply current for a circuit or a plurality of circuit blocks

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

- Number: US 2008/0290847 A1
- Document ID: US20080290847A1
- Status: Published application
- Kind: A1
- Application number: 11/753,870
- Filed: 2007-05-25
- Published: 2008-11-27
- Earliest claimed: 2007-05-25
- Assignees: Infineon Technologies AG
- Inventors: Peter Mahrla
- Web page: https://patentgrep.com/patent/US20080290847A1

## CPC

- G06F 1/26: Power supply means, e.g. regulation thereof (for memories G11C)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for controlling a supply current for a circuit comprises setting a target value of a quantity related to a supply current, said target value being different from a presently established value of the quantity, and adjusting the quantity until a value of the quantity corresponds to the target value. A method for controlling a supply current to a plurality of circuit blocks comprises providing a plurality of partial supply currents to the plurality of circuit blocks, setting at least one target value of a quantity related to at least one of the partial supply currents, checking whether a predetermined condition which depends on the at least one set target value is achieved, and if the predetermined condition is not achieved, changing at least one among the at least one target values and the at least one partial supply currents to achieve the predetermined condition.

## Claims

### Claim 1

A method for controlling a supply current for a circuit, comprising:
setting a target value of a quantity, the quantity being related to the supply current, the target value being different from a presently established value of the quantity; and
adjusting the quantity until a value of the quantity corresponds to the target value.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the quantity is adjusted in a stepwise manner over time.

### Claim 3 (depends on 1)

The method according to claim 1, wherein setting the target value of the quantity comprises setting a target value of a clock frequency.

### Claim 4 (depends on 3)

The method according to claim 3, wherein adjusting the quantity comprises adjusting the clock frequency in a stepwise manner.

### Claim 5 (depends on 1)

The method according to claim 1, wherein adjusting the quantity comprises adding or subtracting predetermined amounts to the quantity over time.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the predetermined amounts are equal.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising adjusting the predetermined amounts by calculating a difference between the presently established value of the quantity and the target value of the quantity; and dividing the calculated difference by an integer.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the quantity is adjusted at equally spaced times.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising: providing a supply current to the circuit comprising a static, time-invariant component and a dynamic time-varying component, wherein the dynamic component of the supply current is changed over time.

### Claim 10 (depends on 4)

The method according to claim 4, wherein the adjusting the clock frequency comprises adding or removing clock pulses to or from a clock pulse train.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the target value of the quantity is set upon receipt of a request for adjusting the quantity.

### Claim 12 (depends on 1)

The method according to claim 1, wherein in addition to controlling the supply current for the circuit, controlling at least one further quantity for a second circuit.

### Claim 13 (depends on 11)

The method according to claim 11, wherein upon receiving a first request for adjusting a first quantity for a first circuit and receiving a second request for adjusting a second quantity for a second circuit, adjusting the first quantity of the first circuit before adjusting the second quantity of the second circuit.

### Claim 14

A method for controlling a supply current to a plurality of circuit blocks, comprising:
providing a plurality of partial supply currents to the plurality of circuit blocks;
setting at least one target value of a quantity representative of at least one of the partial supply currents;
checking whether a predetermined condition which depends on the at least one set target value is achieved; and
if the predetermined condition is not achieved, changing at least one among the at least one target values and the at least one partial supply currents to achieve the predetermined condition.

### Claim 15 (depends on 14)

The method according to claim 14, further comprising:
calculating a fictitious total supply current from the set target values;
calculating an actual total supply current from the partial supply currents;
calculating a difference between the fictitious total supply current and the actual total supply current; and
if the calculated difference is above a predetermined threshold, correcting at least one among the at least one target values and the at least one partial supply currents so that a corrected difference between a corrected fictitious total supply current and the actual total supply current is below the predetermined threshold.

### Claim 16 (depends on 14)

The method according to claim 14, wherein setting target values of quantities comprises setting target values of clock frequencies supplied to the respective circuit blocks.

### Claim 17 (depends on 14)

The method according to claim 14, wherein at least one of the target values is set upon receipt of a request for adjusting the partial supply current for a respective one of the circuit blocks.

### Claim 18 (depends on 14)

The method according to claim 14, wherein the changing comprises maintaining at least one target value and correcting at least one of the partial supply currents to achieve the predetermined condition.

### Claim 19

An apparatus for controlling a supply current to a plurality of circuit blocks, comprising:
a plurality of current calculation blocks wherein each current calculation block is representative of one circuit block of the plurality of circuit blocks for controlling a partial supply current to the respective circuit block, and wherein each one of the current calculation blocks is connected with a respective storage device to store a target value of a quantity related to the partial supply current;
a checking device to check whether a predetermined condition which depends on one of the plurality of target values is achieved; and
a correcting device to correct at least one of the target values or at least one of the partial supply currents to achieve the predetermined condition, wherein the correcting device is activated by the checking device if the predetermined condition is not achieved.

### Claim 20 (depends on 19)

The apparatus according to claim 19, further comprising:
a first calculation tool to calculate a fictitious total supply current from the set target values;
a second calculation tool to calculate an actual total supply current from the partial supply currents, a third calculation tool to calculate a difference between the fictitious total supply current and the actual total supply current; and
a determining device to determine whether the calculated difference is above a predetermined threshold.

### Claim 21 (depends on 20)

The apparatus according to claim 20, further comprising:
a control unit, said control unit comprising the third calculation tool and the determining device.

### Claim 22 (depends on 19)

The apparatus according to claim 19, further comprising:
a clock frequency generator to generate and supply a clock signal having a clock frequency to each one of the plurality of circuit blocks, wherein
the quantity related to the supply current is the clock frequency.

### Claim 23 (depends on 22)

The apparatus according to claim 22, wherein one of the plurality of current calculation blocks comprises:
a first storage device to store a target value of the clock frequency;
a second storage device to store an actual value of the clock frequency; and
a comparing device to compare the target value of the clock frequency with the actual value of the clock frequency to determine the amount of change of the clock frequency and the corresponding amount of change of the supply current.

### Claim 24 (depends on 23)

The apparatus according to claim 23, further comprising:
a third storage device to store the fictitious total supply current; and
a fourth storage device to store the actual total supply current, wherein said third and fourth storage devices are coupled to the third calculation tool.
