# US 2025/0147572 A1 · Method, apparatus, and system for calibrating a processor power level estimate

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

- Number: US 2025/0147572 A1
- Document ID: US20250147572A1
- Status: Published application
- Kind: A1
- Application number: 19/014,013
- Filed: 2025-01-08
- Published: 2025-05-08
- Earliest claimed: 2021-09-10
- Assignees: Ampere Computing LLC
- Applicants: Ampere Computing LLC
- Inventors: Sarthak RAINA; Sanjay Bhikhubhai PATEL; Hoan TRAN; Mitrajit CHATTERJEE; Abhishek NIRAJ; Anuradha RAGHUNATHAN
- Web page: https://patentgrep.com/patent/US20250147572A1

## CPC

- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- G06F 1/324: by lowering clock frequency
- G01R 21/133: by using digital technique
- G06F 1/3296: by lowering the supply or operating voltage
- 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)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- 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

A system and method are described herein for estimating power usage of various components of a CPU and controlling voltage regulators based on the estimated power usage. The power estimates may be based on digital power meter readings at each component, on voltage information from a voltage regulator, and on other power information. This power information is transmitted over a mesh interconnect disposed throughout the CPU such that power estimation can be accurately calculated and used to control voltage regulators without being limited by external bus speeds. More of the power management processes and components may be disposed on the CPU and connected to the mesh interconnect. These power management processes include various calibrations, adjustments, and limits so as efficiently manage and use the more rapidly processed power estimations.

## Claims

### Claim 1

A method for processor power management, comprising:
receiving first power information from a digital power meter (DPM) associated with a first component of a system-on-a-chip;
receiving second power information from a voltage regulator (VR) associated with the first component of the system-on-a-chip;
generating a power estimate value based on the first power information and the second power information; and
generating comparison information based on the first power information, the second power information, and a prior error representing a difference between a read power usage and an estimated power usage of the first component during a prior iteration of a calibration process, the first power information, the second power information, and the prior error all being direct inputs in generating the comparison information,
wherein a power to the first component or the system-on-a-chip is controlled based on the power estimate value or the comparison information.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining a correction value based on the comparison information;
generating a corrected first power information by applying the correction value to the first power information;
generating a corrected power estimate value based on the corrected first power information and the second power information; and
outputting the corrected power estimate value to a dynamic voltage and frequency scaling (DVFS) component to manage the power to the first component and/or a system power to the system-on-a-chip.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
receiving at a proportional-integral-derivative (PID) controller the corrected power estimate; and
generating a control value at the PID controller;
calibrate a processor complex (PCP) power via the DVFS component based on the control value and/or the corrected power estimate.

### Claim 4 (depends on 1)

The method of claim 1,
wherein the DPM measures a first power usage of the first component, the first power information including the first power usage,
wherein the first component is a memory controller, a peripheral component interconnect express (PCIe) root complex, a processor core, a system management controller, or a common interface management controller.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
measuring, via the DPM, a first power usage from the first component, the first power information including the first power usage; and
scaling the first power usage based on at least one parameter of the component,
wherein the first component is a PCIe root complex and the at least one parameter is a PCIe vector, or
wherein the first component is a processor core and the at least one parameter is a voltage or a temperature of the processor core.

### Claim 6 (depends on 5)

The method of claim 5,
wherein the first component is the PCIe root complex and the at least one parameter is the PCIe vector, and
wherein the PCIe vector includes a message signaled interrupt from a bus interface.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
estimating a power leakage of the first component;
scaling the power leakage based on a voltage or a temperature of the first component.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
measuring, via a DPM, a first power usage from the first component, the first power information including the first power usage; and
scaling the first power usage based on at least one parameter of the component,
wherein the first component is a PCIe root complex and the at least one parameter is a PCIe vector,
wherein the PCIe root complex is connected to the at least one processor core via a bus interface.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving third power information from another digital power meter (DPM) associated with a second component of the system-on-a-chip;
receiving fourth power information from another voltage regulator (VR) associated with the second component of the system-on-a-chip;
generating the power estimate value based on the first power information, the second power information, the third power information, and the fourth power information,
wherein at least one DPM is connected to each processor core of at least four processor cores of the system-on-a-chip.

### Claim 10 (depends on 1)

The method of claim 1,
wherein the system-on-a-chip further includes at least four processor cores and at least one memory controller,
wherein each processor core of the at least four processor cores and each of the at least one memory controller is connected to at least one corresponding, different DPM,
wherein separate power information from each corresponding, different DPM is combined together with the first power information and the second power information to calculate the power estimate value,
wherein a PCP power to at least one of the at least four processor cores or to the at least one memory controller is controlled by a dynamic voltage and frequency scaling (DVFS) component based on the power estimate value.

### Claim 11 (depends on 1)

The method of claim 1,
wherein the first power information is repeatedly received with a first duration between receipts of two consecutive first power information,
wherein the second power information is repeatedly received with a second duration between receipts of two consecutive second power information,
wherein within a current time interval, if the first power information is received and the second power information is not received, generating the power estimate value based on the first power information received in the current time interval and the second power information received in a previous time interval, and
wherein within the current time interval, if the first power information is not received and the second power information is received, generating the power estimate value based on the first power information received in the previous time interval and the second power information received in the current time interval.

### Claim 12

A power management circuit, comprising:
a first input receiving first power information from a digital power meter (DPM) connected to a first component of a system-on-a-chip;
a second input receiving second power information from a voltage regulator (VR) connected to the first component of the system-on-a-chip;
a power estimation component determining a power estimate value based on the first power information and the second power information and generating comparison information based on the first power information, the second power information, and a prior error representing a difference between a read power usage and an estimated power usage of the first component during a prior iteration of a calibration process, the first power information, the second power information, and the prior error all being direct inputs in generating the comparison information,
wherein a power of the first component or the system-on-a-chip is controlled based on the power estimate value or the comparison information.

### Claim 13 (depends on 12)

The power management circuit of claim 12,
wherein the power estimation component further determines a correction value based on the comparison information, generates a corrected first power information by applying the correction value to the first power information, and generates a corrected power estimate value based on the corrected first power information and the second power information,
wherein the power estimation transmits the corrected power estimate value to a dynamic voltage and frequency scaling (DVFS) component that manages the power to the first component or the system-on-a-chip.

### Claim 14 (depends on 13)

The power management circuit of claim 13, further comprising;
a proportional-integral-derivative (PID) controller that receives the corrected power estimate and generates a control value at the PID controller;
wherein the DVFS component calibrates a processor complex (PCP) power based on the control value and/or the corrected power estimate.

### Claim 15 (depends on 12)

The power management circuit of claim 12,
wherein the DPM measures a first power usage of the first component, the first power information including the first power usage,
wherein the first component is a memory controller, a peripheral component interconnect express (PCIe) root complex, a processor core, a system management controller, or a common interface management controller.

### Claim 16 (depends on 12)

The power management circuit of claim 12,
wherein the DPM measures a first power usage from the first component as the first power information and scales the first power usage based on at least one parameter of the component,
wherein the first component is a PCIe root complex and the at least one parameter is a PCIe vector, or
wherein the first component is a processor core and the at least one parameter is a voltage or a temperature of the processor core.

### Claim 17 (depends on 12)

The power management circuit of claim 12, wherein the PCIe vector includes a message signaled interrupt from a bus interface of the at least one processor core.

### Claim 18 (depends on 12)

The power management circuit of claim 12,
wherein the power estimation component determines a power leakage of the first component and scales the power leakage based on a voltage or a temperature of the first component, and
wherein the power leakage is a static power leakage or a dynamic power leakage.

### Claim 19 (depends on 18)

The power management circuit of claim 18, wherein the power leakage of the first component is based on a power leakage value read from a programmable fuse of the first component.

### Claim 20 (depends on 12)

The power management circuit of claim 12,
wherein the first power information is repeatedly received with a first duration between receipts of two consecutive first power information,
wherein the second power information is repeatedly received with a second duration between receipts of two consecutive second power information,
wherein within a current time interval, if the first power information is received and the second power information is not received, the power estimation component generates the power estimate value based on the first power information received in the current time interval and the second power information received in a previous time interval, and
wherein within the current time interval, if the first power information is not received and the second power information is received, the power estimation component generates the power estimate value based on the first power information received in the previous time interval and the second power information received in the current time interval.

### Claim 21

An apparatus comprising means for:
receiving first power information from a digital power meter (DPM) associated with a first component of a system-on-a-chip;
receiving second power information from a voltage regulator (VR) associated with the first component of the system-on-a-chip;
generating a power estimate value based on the first power information and the second power information; and
generating comparison information based on the first power information, the second power information, and a prior error representing a difference between a read power usage and an estimated power usage of the first component during a prior iteration of a calibration process, the first power information, the second power information, and the prior error all being direct inputs in generating the comparison information,
wherein a power to the first component or the system-on-a-chip is controlled based on the power estimate value or the comparison information.

### Claim 22

A non-transitory computer readable medium storing one or more computer executable instructions that when executed on one or more processors causes the one or more processors to perform the method of:
receiving first power information from a digital power meter (DPM) associated with a first component of a system-on-a-chip;
receiving second power information from a voltage regulator (VR) associated with the first component of the system-on-a-chip;
generating a power estimate value based on the first power information and the second power information; and
generating comparison information based on the first power information, the second power information, and a prior error representing a difference between a read power usage and an estimated power usage of the first component during a prior iteration of a calibration process, the first power information, the second power information, and the prior error all being direct inputs in generating the comparison information,
wherein a power to the first component or the system-on-a-chip is controlled based on the power estimate value or the comparison information.
