# US 2024/0201768 A1 · Voltage droop and overshoot management using non-linear slope detection

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

- Number: US 2024/0201768 A1
- Document ID: US20240201768A1
- Status: Published application
- Kind: A1
- Application number: 18/082,494
- Filed: 2022-12-15
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Ramon Bertran Monfort; Pradeep Bhadravati Parashurama; Nitish Jindal; Alper Buyuktosunoglu
- Web page: https://patentgrep.com/patent/US20240201768A1

## CPC

- G06F 1/305: {in the event of power-supply fluctuations}
- G06F 1/28: Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- 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 computer-implemented method for detecting n-level slopes for a voltage level in a processor, wherein n is greater than 1, includes monitoring a voltage in a processor for a voltage level corresponding to a predefined first edge, and monitoring for a voltage level corresponding to a predefined second edge within a first count limit from detection of the predefined first edge. In response to detecting the predefined second edge within the first count limit, the computer-implemented method includes monitoring for a voltage level corresponding to a predefined third edge within a second count limit from detection of the predefined second edge, and in response to detecting the predefined third edge within the second count limit, determining whether to adjust a power applied to the processor based on the monitored voltage levels.

## Claims

### Claim 1

A computer-implemented method for detecting n-level slopes for a voltage level in a processor, wherein n is greater than 1, the method comprising:
monitoring a voltage in a processor for a voltage level corresponding to a predefined first edge;
monitoring for a voltage level corresponding to a predefined second edge within a first count limit from detection of the predefined first edge;
in response to detecting the predefined second edge within the first count limit, monitoring for a voltage level corresponding to a predefined third edge within a second count limit from detection of the predefined second edge; and
in response to detecting the predefined third edge within the second count limit, determining whether to adjust a power applied to the processor based on the monitored voltage levels.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, comprising, in response to not detecting a predefined second edge within the first count limit, restarting the method.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein each of the first count limit and the second count limit is a predefined number of cycles.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the monitoring is by an n-level slope detector, wherein n is an integer greater than 1, the n-level slope detector comprising a voltage sensor for monitoring voltage levels.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein n is an integer greater than 2.

### Claim 6 (depends on 4)

The computer implemented method of claim 4, wherein the voltage sensor is functional as a digital droop sensor (DDS).

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, comprising, after detecting the predefined third edge within the second count limit, detecting a shape of a non-linear slope comprising the voltage levels detected at the predefined first edge, the predefined second edge, and the predefined third edge, wherein the power is adjusted based on the detected shape of the non-linear slope.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein each predefined edge and each count limit are configured according to a processing behavior of the processor.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the method is performed for each core in the processor.

### Claim 10

A computer program product, the computer program product for detecting n-level slopes for a voltage level in a processor, wherein n is greater than 1, comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and/or executable by a computer to cause the computer to:
monitor, by a slope detector, a voltage in a processor for a voltage level corresponding to a predefined first edge;
monitor, by the slope detector, for a voltage level corresponding to a predefined second edge within a first count limit from the detection of the predefined first edge;
in response to detecting the predefined second edge within the first count limit, monitor, by the slope detector, for a voltage level corresponding to a predefined third edge within a second count limit from detection of the predefined second; and
in response to detecting the predefined third edge within the second count limit, determine whether to adjust a power applied to a processor based on the monitored voltage levels.

### Claim 11 (depends on 10)

The computer program product of claim 10, the program instructions readable and/or executable by the computer to cause the computer to: in response to not detecting a second edge within the first count limit, restart the program instruction.

### Claim 12

A system comprising
a processing circuit, wherein the circuit comprises an n-level slope detector, n being greater than 1, wherein the n-level slope detector comprises a voltage sensor; and
logic integrated with the processing circuit, executable by the processing circuit, or integrated with and executable by the processing circuit, the logic being configured to:
monitor, by the slope detector, a voltage level of the processing circuit for a voltage level corresponding to a predefined first edge;
monitor, by the slope detector, for a voltage level corresponding to a predefined second edge within a first count limit from detection of the first edge;
in response to detecting the predefined second edge within the first count limit, monitor, by the slope detector, for a voltage level corresponding to a predefined third edge within a second count limit from detection of the first edge; and
in response to detecting the predefined third edge within the second count limit, determining, whether to adjust a power applied to the processing circuit based on the monitored voltage levels.

### Claim 13 (depends on 12)

The system of claim 12, the logic being configured to: in response to not detecting a second edge within the first count limit, restart the logic being configured to monitor, by the slope detector, for a voltage level corresponding to a predefined first edge.

### Claim 14 (depends on 12)

The system as recited in claim 12, wherein each predefined edge and each count limit is configured according to a processing behavior of the processing circuit.

### Claim 15

A computer-implemented method for using a slope trace based on voltage levels of a processor, the method comprising:
detecting a plurality of slopes using a slope trace;
storing data from the plurality of slopes in a log, the data comprising a minimum count and a maximum count for a transition between a predefined high edge and a predefined low edge for each of the detected plurality of slopes; and
selecting a configuration for a slope detector based on a set of data from the plurality of slopes, wherein the selection includes a maximum count below a predefined count threshold.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein the slope trace counts a number of cycles in the transition from the predefined high edge to the predefined low edge.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, further comprising,
updating the log with additional slopes detected by the slope traces; and
selecting a next configuration for the slope detector.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, wherein the processor is remote from a power management engine running the method for using the slope trace based on the processor, wherein the updating comprises:
receiving, from the processor, the additional slopes detected by the slope trace, and
selecting a next slope configuration for the slope detector based on the updated log of the slopes received from the processor.

### Claim 19

A computer-implemented method for calibration of a slope detector based on a processor having the slope detector, the method comprising:
repeating the following operations for a plurality of power cycles:
increasing power on the processor for a predefined duration of time,
recording a minimum count and a maximum count between a high edge and a low edge detected while monitoring a voltage level applied to a processor during the increasing the power, and
applying a throttle;
storing data of each of the plurality of power cycles, the data comprising voltage levels at each high edge and low edge, and the maximum count during transition from each high edge to each low edge, respectively;
selecting a set of cycles from the plurality of power cycles, the set of cycles having high edge-low edge combinations corresponding to a predefined difference in voltage levels; and
programming the slope detector on the processor with a configuration corresponding to data of one of the selected set of cycles having a minimum value of the maximum count in the transition between the high edge and the low edge.

### Claim 20 (depends on 19)

The computer-implemented method of claim 19, wherein the high edge is selected to be less than the voltage level captured in the absence of increasing the power, wherein the low edge is selected to be one above a sensor filter edge of the sensor capturing the respective voltage levels.

### Claim 21 (depends on 19)

The computer-implemented method of claim 19, wherein the configuration includes a relative voltage level value for a predefined high edge, a relative voltage level value for a predefined low edge, and a count limit value between the predefined high edge and the low edge corresponding to the minimum value of the maximum count, the values based on the data of the one of the selected set of cycles.

### Claim 22 (depends on 19)

The computer-implemented method of claim 19, further comprising, while running a reference workload on the processor, monitoring a throttle response using the n-slope detector having the programmed configuration.

### Claim 23 (depends on 19)

The computer-implemented method of claim 19, wherein the processor is remote from a power management engine running the calibration of the n-slope detector, wherein the method further comprises monitoring the n-slope detector having the programmed configuration.

### Claim 24 (depends on 23)

The computer-implemented method of claim 23, wherein the monitoring comprises:
receiving, from the processor, recorded data corresponding to a slope trace of the processor, and
re-calibrating a configuration of the n-slope detector.

### Claim 25 (depends on 24)

The computer-implemented method of claim 24, wherein re-calibrating the configuration of the n-slope detector includes restarting the method.
