# US 2025/0093896 A1 · High-Speed Hardware-Based DVFS System Using Frequency Lock Loop and On-Die Voltage Controller

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

- Number: US 2025/0093896 A1
- Document ID: US20250093896A1
- Status: Published application
- Kind: A1
- Application number: 18/885,866
- Filed: 2024-09-16
- Published: 2025-03-20
- Earliest claimed: 2023-09-19
- Assignees: Mediatek Inc.
- Applicants: MediaTek Inc.
- Inventors: Anshul Varma; Hsin-Chen Chen
- Web page: https://patentgrep.com/patent/US20250093896A1

## CPC

- G05F 1/46: wherein the variable actually regulated by the final control device is DC (G05F1/625 takes precedence)
- H03L 7/0995: {the oscillator comprising a ring oscillator}
- G06F 1/08: Clock generators with changeable or programmable clock frequency
- G06F 1/324: by lowering clock frequency
- G06F 1/329: by task scheduling
- 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
- G05F: SYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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 voltage controller circuit is provided for dynamic frequency and voltage scaling. The voltage controller circuit receives an error signal indicating a frequency error and a code error. The frequency error indicates a first difference between a target frequency and an actual frequency generated by an oscillator, and the code error indicates a second difference between a minimum code and an actual code with which the oscillator is configured to generate the actual frequency. The minimum code corresponds to a maximum frequency that the oscillator generates for a processor to safely operate under a given voltage. The voltage controller circuit calculates a voltage correction value based on the error signal, a first gain parameter for the frequency error, and a second gain parameter for the code error, and sends a request to a power management circuit to cause an updated voltage to be supplied to the processor.

## Claims

### Claim 1

A method for dynamic frequency and voltage scaling, comprising:
receiving, by a voltage controller circuit, an error signal indicating a frequency error and a code error, wherein the frequency error indicates a first difference between a target frequency and an actual frequency generated by an oscillator, and the code error indicates a second difference between a minimum code and an actual code with which the oscillator is configured to generate the actual frequency, and wherein the minimum code corresponds to a maximum frequency that the oscillator generates for a processor to safely operate under a given voltage;
calculating, by the voltage controller circuit, a voltage correction value based on the error signal, a first gain parameter for the frequency error, and a second gain parameter for the code error; and
sending a request from the voltage controller circuit to a power management circuit to cause an updated voltage to be supplied to the processor.

### Claim 2 (depends on 1)

The method of claim 1, wherein the voltage correction value calculated by the voltage controller circuit includes the first gain parameter multiplied by the frequency error and the second gain parameter multiplied by the code error.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
obtaining a normalized first voltage adjustment by normalizing a product of the first gain parameter and the frequency error to a common scale;
obtaining a normalized second voltage adjustment by normalizing a product of the second gain parameter and the code error to the common scale; and
adding the normalized first voltage adjustment and the normalized second voltage adjustment to obtain the voltage correction value.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
calculating respective voltage correction values for a plurality of processors;
selecting one of the respective voltage correction values; and
requesting the power management circuit for voltage correction by the selected one of the respective voltage correction values.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
performing a plurality of iterations of the receiving, the calculating, and the sending in response to the target frequency, wherein a first one of the iterations takes a shorter time than subsequent iterations.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
sending requests from the voltage controller circuit to the power management circuit at a decreasing rate over a plurality of iterations.

### Claim 7 (depends on 1)

The method of claim 1, wherein calculating the voltage correction further comprises:
accumulating voltage correction values over a time period in each of a plurality of iterations of the receiving, the calculating, and the sending to obtain an accumulated voltage correction, wherein the time period increases over the iterations until reaching a maximum value.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
averaging the accumulated voltage correction to obtain an averaged voltage correction; and
sending the request indicating the averaged voltage correction to the power management circuit.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first gain parameter and the second gain parameter are tuned at manufacturing time for each of a plurality of processors that are on a same die as the voltage controller circuit.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving the target frequency from a scheduler that determines the target frequency of the processor; and
sending the target frequency to a frequency locked loop (FLL) controller, which controls the actual frequency generated by the oscillator.

### Claim 11

A system operative to perform dynamic frequency and voltage scaling, comprising:
a power management circuit;
a plurality of processors, each processor coupled to an oscillator operative to generate a clock signal; and
a voltage controller circuit coupled to the plurality of processors, the voltage controller circuit operative to:
receive an error signal indicating a frequency error and a code error, wherein the frequency error indicates a first difference between a target frequency and an actual frequency generated by the oscillator and provided to one of the processors, and the code error indicates a second difference between a minimum code and an actual code with which the oscillator is configured to generate the actual frequency, and wherein the minimum code corresponds to a maximum frequency that the oscillator generates for the processor to safely operate under a given voltage;
calculate a voltage correction value based on the error signal, a first gain parameter for the frequency error, and a second gain parameter for the code error; and
send a request to the power management circuit to cause an updated voltage to be supplied to the processor.

### Claim 12 (depends on 11)

The system of claim 11, wherein the voltage correction value calculated by the voltage controller circuit includes the first gain parameter multiplied by the frequency error and the second gain parameter multiplied by the code error.

### Claim 13 (depends on 11)

The system of claim 11, wherein the voltage controller circuit is further operative to:
obtain a normalized first voltage adjustment by normalizing a product of the first gain parameter and the frequency error to a common scale;
obtain a normalized second voltage adjustment by normalizing a product of the second gain parameter and the code error to the common scale; and
add the normalized first voltage adjustment and the normalized second voltage adjustment to obtain the voltage correction value.

### Claim 14 (depends on 11)

The system of claim 11, wherein the voltage controller circuit is further operative to:
calculate respective voltage correction values for a plurality of processors;
select one of the respective voltage correction values; and
request the power management circuit for voltage correction by the selected one of the respective voltage correction values.

### Claim 15 (depends on 11)

The system of claim 11, wherein the voltage controller circuit is further operative to:
perform a plurality of iterations of the receiving, the calculating, and the sending in response to the target frequency, wherein a first one of the iterations takes a shorter time than subsequent iterations.

### Claim 16 (depends on 11)

The system of claim 11, wherein the voltage controller circuit is further operative to:
send requests to the power management circuit at a decreasing rate over a plurality of iterations.

### Claim 17 (depends on 11)

The system of claim 11, wherein the voltage controller circuit is further operative to:
accumulate voltage correction values over a time period in each of a plurality of iterations of the receiving, the calculating, and the sending to obtain an accumulated voltage correction, wherein the time period increases over the iterations until reaching a maximum value.

### Claim 18 (depends on 17)

The system of claim 17, wherein the voltage controller circuit is further operative to:
average the accumulated voltage correction to obtain an averaged voltage correction; and
send the request indicating the averaged voltage correction to the power management circuit.

### Claim 19 (depends on 11)

The system of claim 11, wherein the first gain parameter and the second gain parameter are tuned at manufacturing time for each of a plurality of processors that are on a same die as the voltage controller circuit.

### Claim 20 (depends on 11)

The system of claim 11, wherein the voltage controller circuit is further operative to:
receive the target frequency from a scheduler that determines the target frequency of the processor; and
send the target frequency to a frequency locked loop (FLL) controller, which controls the actual frequency generated by the oscillator.
