# US 2025/0093926 A1 · Adaptive On-Chip Digital Power Estimator

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

- Number: US 2025/0093926 A1
- Document ID: US20250093926A1
- Status: Published application
- Kind: A1
- Application number: 18/959,244
- Filed: 2024-11-25
- Published: 2025-03-20
- Earliest claimed: 2019-09-26
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Laurent F. Chaouat; Saharsh Samir Oza; Hamza Saigol
- Web page: https://patentgrep.com/patent/US20250093926A1

## CPC

- G06F 1/26: Power supply means, e.g. regulation thereof (for memories G11C)
- G06F 1/3243: {Power saving in microcontroller unit}
- G04F 10/005: {Time-to-digital converters [TDC] (analog-to-digital converters with intermediate conversion to time or phase H03M1/50, H03M1/60)}
- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/3062: {where the monitored property is the power consumption (power management in a computing system G06F1/3203)}
- G06F 1/3225: of memory devices
- G06F 1/324: by lowering clock frequency
- G06F 1/3296: by lowering the supply or operating voltage
- G06F 2201/86: Event-based monitoring
- G06F 2201/88: Monitoring involving counting
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G04F: TIME-INTERVAL MEASURING (measuring pulse characteristics G01R, e.g. G01R29/02; in radar or like systems G01S)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Systems, apparatuses, and methods for implementing a dynamic power estimation (DPE) unit that adapts weights in real-time are described. A system includes a processor, a DPE unit, and a power management unit (PMU). The DPE unit generates a power consumption estimate for the processor by multiplying a plurality of weights by a plurality of counter values, with each weight multiplied by a corresponding counter. The DPE unit calculates the sum of the products of the plurality of weights and plurality of counters. The accumulated sum is used as an estimate of the processor's power consumption. On a periodic basis, the estimate is compared to a current sense value to measure the error. If the error is greater than a threshold, then an on-chip learning algorithm dynamically adjust the weights. The PMU uses the power consumption estimates to keep the processor within a thermal envelope.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A processor, comprising:
a learning system; and
dynamic power estimation circuitry configured to:
generate a set of weights for a plurality of values of the learning system to generate an estimate of power consumption of the processor; and
tune the learning system according to a difference between the generated estimate and a measured power consumption of the processor.

### Claim 22 (depends on 21)

The processor of claim 21, further comprising:
power management circuitry configured to:
adjust a power performance state of the processor based on a power consumption estimate generated by the dynamic power estimation circuitry.

### Claim 23 (depends on 21)

The processor of claim 21, wherein the dynamic power estimation circuitry is configured to generate power consumption estimates based at least in part on one or more events occurring within the processor.

### Claim 24 (depends on 23)

The processor of claim 23, wherein the one or more events are tracked by one or more counters whose respective values are weighted according to respective weights of the set of weights.

### Claim 25 (depends on 21)

The processor of claim 21, wherein, responsive to the generated estimate differing from the measured power consumption of the processor by at least a threshold amount, the dynamic power estimation circuitry further configured to:
generate another estimate of power consumption of the processor using one or more modified weights generated the tuning of the learning system.

### Claim 26 (depends on 21)

The processor of claim 21, wherein the dynamic power estimation circuitry is configured to tune the learning system based on a stochastic gradient descent algorithm.

### Claim 27 (depends on 21)

The processor of claim 21, wherein the dynamic power estimation circuitry is configured to compare an estimate of power consumption of the processor to measured power consumption of the processor on a periodic basis.

### Claim 28

A method, comprising:
generating, by a learning system implemented by dynamic power estimation circuitry of a processor, a set of weights for a plurality of values to generate an estimate of power consumption of the processor; and
tuning the learning system according to a difference between the generated estimate and a measured power consumption of the processor.

### Claim 29 (depends on 28)

The method of claim 28, further comprising:
adjusting, by power management circuitry of the processor, a power performance state of the processor based on a power consumption estimate generated by the dynamic power estimation circuitry.

### Claim 30 (depends on 28)

The method of claim 28, further comprising generating, by the dynamic power estimation circuitry, power consumption estimates based at least in part on one or more events occurring within the processor.

### Claim 31 (depends on 30)

The method of claim 30, wherein the one or more events are tracked by one or more counters whose respective values are weighted according to respective weights of the set of weights.

### Claim 32 (depends on 28)

The method of claim 28, further comprising:
generating, by the dynamic power estimation circuitry responsive to the generated estimate differing from the measured power consumption of the processor by at least a threshold amount, another estimate of power consumption of the processor using one or more modified weights generated the tuning of the learning system.

### Claim 33 (depends on 28)

The method of claim 28, wherein tuning the learning system is performed according to a stochastic gradient descent algorithm.

### Claim 34 (depends on 28)

The method of claim 28, further comprising:
comparing an estimate of power consumption of the processor to measured power consumption of the processor on a periodic basis.

### Claim 35

A system comprising:
processing circuitry, further comprising:
a learning system; and
dynamic power estimation circuitry configured to:
generate a set of weights for a plurality of values of the learning system to generate an estimate of power consumption of the processing circuitry; and
tune the learning system according to a difference between the generated estimate and a measured power consumption of the processing circuitry.

### Claim 36 (depends on 35)

The system of claim 35, the processing circuitry further comprising:
power management circuitry configured to:
adjust a power performance state of the processing circuitry based on a power consumption estimate generated by the dynamic power estimation circuitry.

### Claim 37 (depends on 35)

The system of claim 35, wherein the dynamic power estimation circuitry is configured to generate power consumption estimates based at least in part on one or more events occurring within the processing circuitry.

### Claim 38 (depends on 37)

The system of claim 37, wherein the one or more events are tracked by one or more counters whose respective values are weighted according to respective weights of the set of weights.

### Claim 39 (depends on 35)

The system of claim 35, wherein, responsive to the generated estimate differing from the measured power consumption of the processing circuitry by at least a threshold amount, the dynamic power estimation circuitry further configured to:
generate another estimate of power consumption of the processing circuitry using one or more modified weights generated the tuning of the learning system.

### Claim 40 (depends on 35)

The system of claim 35, wherein the dynamic power estimation circuitry is further configured to:
to tune the learning system based on a stochastic gradient descent algorithm; and
compare an estimate of power consumption of the processor to measured power consumption of the processor on a periodic basis.
