CN115167592A - Voltage stabilizing circuit, power supply circuit and power supply control method - Google Patents

Voltage stabilizing circuit, power supply circuit and power supply control method Download PDF

Info

Publication number
CN115167592A
CN115167592A CN202210761103.4A CN202210761103A CN115167592A CN 115167592 A CN115167592 A CN 115167592A CN 202210761103 A CN202210761103 A CN 202210761103A CN 115167592 A CN115167592 A CN 115167592A
Authority
CN
China
Prior art keywords
voltage
circuit
power supply
load
estimated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210761103.4A
Other languages
Chinese (zh)
Inventor
童建利
焦海清
马成龙
冯明奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
XFusion Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XFusion Digital Technologies Co Ltd filed Critical XFusion Digital Technologies Co Ltd
Priority to CN202210761103.4A priority Critical patent/CN115167592A/en
Publication of CN115167592A publication Critical patent/CN115167592A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current
    • G05F1/46Regulating voltage or current wherein the variable actually regulated by the final control device is dc
    • G05F1/56Regulating voltage or current wherein the variable actually regulated by the final control device is dc using semiconductor devices in series with the load as final control devices

Abstract

The embodiment of the application discloses a voltage stabilizing circuit, a power supply circuit and a power supply control method, relates to the technical field of power supplies, and solves the problems that the stability of direct-current power supply voltage output by an existing voltage regulating module is poor and the dynamic response speed is low. The specific scheme is as follows: a voltage stabilizing circuit is provided, which comprises a load pre-estimating circuit and a voltage regulating circuit. The input end of the load pre-estimation circuit is used for receiving task scheduling information of a load and outputting pre-estimated voltage variation according to the task scheduling information, and the task scheduling information is used for indicating the task amount to be executed by the load. The input end of the voltage regulating circuit is used for being coupled with a voltage source and receiving an input voltage; the output end of the voltage regulating circuit is used for being coupled with a load and providing a supply voltage for the load; the controlled end of the voltage regulating circuit is coupled with the output end of the load estimation circuit and used for receiving the estimated voltage variation. The voltage regulating circuit is used for regulating the power supply voltage according to the estimated voltage variation.

Description

Voltage stabilizing circuit, power supply circuit and power supply control method
Technical Field
The embodiment of the application relates to the technical field of power supplies, in particular to a voltage stabilizing circuit, a power supply circuit and a power supply control method.
Background
The data center is an important carrier of cloud computing, and provides various hardware resources such as computing, storage and bandwidth for the cloud computing. With the popularization of cloud computing, the demand for data centers is also increasing. The data center includes a large number of servers, each server includes a plurality of types of processor function modules, such as a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Data Processing Unit (DPU), and the like, the plurality of types of processors may also be collectively referred to as XPU, and each server further includes a Double Data Rate (DDR) memory function module, and each function module needs a dc supply voltage meeting a power supply requirement and specification to supply power.
Currently, in a server of a data center, a Voltage Regulator Module (VRM) is used to generate a dc supply voltage meeting the requirements of the functional modules. However, as the integration of the functional modules increases, the dynamic response speed of the voltage regulating module and the demand of the dc power supply voltage of the functional modules are also increasing. When the functional module has a large dynamic state, for example, when the traffic of the functional module increases, the functional module needs a higher-voltage dc supply voltage, and the existing voltage regulation module cannot meet the requirements of the functional module on the dc supply voltage and the dynamic response speed because the stability of the output dc supply voltage is poor and the dynamic response speed is slow.
Disclosure of Invention
The embodiment of the application provides a voltage stabilizing circuit, a power supply circuit and a power supply control method, and solves the problems that the stability of direct-current power supply voltage output by an existing voltage regulating module is poor and the dynamic response speed is low.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect of an embodiment of the present application, a voltage stabilizing circuit is provided, which includes a load estimation circuit and a voltage regulating circuit. The input end of the load pre-estimation circuit is used for receiving task scheduling information of a load and outputting pre-estimation voltage variation according to the task scheduling information; the task scheduling information is used for indicating the amount of tasks to be executed by the load. The input end of the voltage regulating circuit is used for being coupled with a voltage source and receiving an input voltage; the output end of the voltage regulating circuit is used for being coupled with a load and providing a supply voltage for the load; the controlled end of the voltage regulating circuit is coupled with the output end of the load estimation circuit and used for receiving the estimated voltage variation; the voltage regulating circuit is used for regulating the power supply voltage according to the estimated voltage variation.
The voltage stabilizing circuit provided by the embodiment of the application determines the estimated voltage variation according to the task amount to be executed of the load through the load estimation circuit, adjusts the first output voltage to be the second output voltage according to the estimated voltage variation, namely, directly controls the power supply voltage output by the voltage adjusting circuit through the estimated voltage variation, therefore, when the load executes the task to be executed, the voltage stabilizing circuit can provide the second output voltage required by the load, the stability of the second output voltage is better, the requirement and the specification of the load on the direct-current power supply voltage can be met, the estimated voltage is determined in advance according to the task amount to be executed of the load, the first output voltage is adjusted, and the power supply requirement of the dynamic response load can be guaranteed. In addition, the voltage stabilizing circuit provided by the embodiment of the application can provide the supply voltage meeting the requirements and specifications of the load on the direct-current supply voltage, and the output end of the voltage stabilizing circuit is not required to be connected with the input end of the load in parallel to be provided with a plurality of capacitors so as to improve the filtering capability, so that the area occupied by the output filter circuit of the voltage stabilizing circuit and the input filter circuit of the load can be reduced.
With reference to the first aspect, in a possible implementation manner, the load estimation circuit includes a storage unit and a processing unit that are coupled to each other, and the storage unit stores a corresponding relationship between a task amount to be executed and an estimated current. The processing unit is used for inquiring the corresponding relation according to the task quantity to be executed indicated by the task scheduling information, determining the estimated current variation according to the estimated current, and further determining the estimated voltage variation according to the estimated current variation.
The voltage stabilizing circuit provided by the embodiment of the application is characterized in that a storage unit and a processing unit are arranged in a load estimation circuit, wherein the storage unit stores the corresponding relation between the task quantity to be executed and the estimated current, and the processing unit can determine the estimated current according to the task scheduling information of the load and the corresponding relation, and can determine the estimated current variation according to the estimated current, so as to determine the estimated voltage variation, adjust the power supply voltage according to the estimated voltage variation, so that the power supply voltage meeting the requirements and specifications of the load on the direct current power supply voltage can be provided, and the power supply requirement of dynamically responding the load can be ensured.
With reference to the first aspect, in a possible implementation manner, the processing unit is coupled to the output end of the voltage regulating circuit, and is configured to acquire fluctuation information of the supply voltage, and adjust a corresponding relationship between the task amount to be executed in the storage unit and the estimated current according to the fluctuation information.
According to the voltage stabilizing circuit provided by the embodiment of the application, the fluctuation information of the power supply voltage is obtained through the processing unit, and the corresponding relation between the task amount to be executed and the estimated current in the storage unit is adjusted according to the fluctuation information, so that the power supply voltage meeting the requirements and specifications of loads on the direct-current power supply voltage can be ensured to be provided, the fluctuation of the power supply voltage can be reduced through continuously adjusting the corresponding relation between the task amount to be executed and the estimated current, and the power supply voltage with smaller fluctuation is provided.
With reference to the first aspect, in one possible implementation manner, the voltage regulation circuit includes a calculation circuit and a control circuit. The first input end of the computing circuit is used for receiving a preset voltage; the second input end of the computing circuit is coupled with the controlled end of the voltage regulating circuit and used for receiving the estimated voltage variation; the third input end of the computing circuit is coupled with the output end of the control circuit and used for receiving the feedback voltage of the output end of the control circuit. The computing circuit is used for determining the estimated voltage according to the preset voltage, the estimated voltage variation and the feedback voltage; the preset voltage is the voltage when the load works in a steady state. The control circuit is used for adjusting the power supply voltage according to the estimated voltage.
The voltage stabilizing circuit provided by the embodiment of the application generates the power supply voltage through the control circuit, so that the power supply voltage meeting the requirement and specification of a load on the direct-current power supply voltage can be provided.
With reference to the first aspect, in one possible implementation manner, the control circuit includes a digital-element delay circuit, a proportional-integral-derivative circuit, a summing circuit, and a pulse width modulation circuit. The input end of the digital link delay circuit is coupled with the input end of the control circuit, the output end of the digital link delay circuit is coupled with the input end of the proportional-integral-derivative circuit, the output end of the proportional-integral-derivative circuit is coupled with the first input end of the summing circuit, the second input end of the summing circuit is used for being coupled with a voltage source and used for receiving input voltage, the output end of the summing circuit is coupled with the input end of the pulse width modulation circuit, and the output end of the pulse width modulation circuit is used for being coupled with a load.
According to the voltage stabilizing circuit provided by the embodiment of the application, the control circuit generates the power supply voltage, so that the power supply voltage meeting the requirement and specification of a load on the direct-current power supply voltage can be provided.
With reference to the first aspect, in a possible implementation manner, the voltage stabilizing circuit further includes an output detection circuit, and an input end of the output detection circuit is coupled to an output end of the control circuit, and is configured to receive the supply voltage. The output detection circuit is used for generating a feedback voltage according to the power supply voltage; the output end of the output detection circuit is coupled with the third input end of the calculation circuit and used for outputting the feedback voltage.
According to the voltage stabilizing circuit provided by the embodiment of the application, the output detection circuit generates the feedback voltage, the calculation circuit determines the estimated voltage according to the sum of the preset voltage and the estimated voltage variation and the difference between the preset voltage and the feedback voltage, and the control circuit adjusts the power supply voltage according to the estimated voltage and the input voltage. The estimated voltage variation is determined by the load estimation circuit according to task scheduling information, so that when a load executes a task to be executed, the voltage stabilizing circuit can provide a second output voltage required by the load, the stability of the second output voltage is better, the requirement and the specification of the load on the direct-current power supply voltage can be met, the estimated voltage is determined in advance according to the task amount to be executed by the load, the first output voltage is adjusted, and the power supply requirement of the load can be guaranteed to be dynamically responded.
A second aspect of the embodiments of the present application provides a power supply circuit, which includes a voltage source, a voltage stabilizing circuit, and a filter circuit. The voltage source is used for providing input voltage for the voltage stabilizing circuit, and the filter circuit is used for filtering the power supply voltage output by the voltage stabilizing circuit. The structure of the voltage stabilizing circuit is the structure of the voltage stabilizing circuit according to the first aspect or any one of the possible implementations of the first aspect.
A third aspect of the embodiments of the present application provides a power supply control method, which is applied to a power supply circuit, where the power supply circuit is configured to provide a power supply voltage for a load, and the power supply control method includes: firstly, receiving task scheduling information of a load, then outputting estimated voltage variation according to the task scheduling information, wherein the task scheduling information is used for indicating the task amount to be executed by the load, and finally, adjusting the power supply voltage according to the estimated voltage variation.
With reference to the third aspect, in a possible implementation manner, the receiving task scheduling information of a load includes: and receiving the task scheduling information of the load every a first time length.
With reference to the third aspect, in a possible implementation manner, the power supply control method further includes: monitoring whether the power supply voltage fluctuates beyond a preset threshold value. And if the fluctuation exceeds the preset threshold value and is reduced to be within the preset threshold value in the second time length, adjusting the first time length according to the duration time of the fluctuation exceeding the preset threshold value.
According to the power supply control method provided by the embodiment of the application, whether the power supply voltage fluctuates beyond the preset threshold or not is monitored, and when the power supply voltage fluctuates beyond the preset threshold, the first time length is adjusted according to the duration that the fluctuation exceeds the preset threshold, so that the power supply voltage can be ensured not to exceed the preset threshold, and the power supply voltage meeting the requirements and specifications of a load on the direct-current power supply voltage can be provided.
With reference to the third aspect, in one possible implementation manner, outputting the estimated voltage variation according to the task scheduling information includes: and inquiring the corresponding relation between the task quantity to be executed and the estimated current according to the task quantity to be executed indicated by the task scheduling information so as to determine the estimated current. And determining the estimated current variation according to the estimated current, and outputting the estimated voltage variation according to the estimated current variation.
With reference to the third aspect, in a possible implementation manner, the power supply control method further includes: fluctuation information of the power supply voltage is acquired. And if the fluctuation of the power supply voltage exceeds a preset threshold value, adjusting the corresponding relation between the task quantity to be executed and the estimated current.
According to the power supply control method provided by the embodiment of the application, when the fluctuation of the power supply voltage exceeds the preset threshold value, the corresponding relation between the task amount to be executed and the estimated current is adjusted, and the corresponding relation between the task amount to be executed and the estimated current is continuously optimized, so that the corresponding relation between the task amount to be executed and the estimated current is inquired according to the task amount to be executed indicated by the task scheduling information, more accurate estimated current can be determined, more accurate estimated voltage variation can be determined according to the estimated current, the power supply voltage can be adjusted more accurately according to the estimated voltage variation, the power supply voltage meeting the requirement and the specification of a load on the direct current power supply voltage can be provided, and the power supply voltage cannot exceed the preset threshold value.
A fourth aspect of the embodiments of the present application provides a power supply control device, which includes a transceiver module and a processing module. And the transceiver module is used for receiving the task scheduling information of the load. And the processing module is used for outputting the estimated voltage variation according to the task scheduling information, and the task scheduling information is used for indicating the task amount to be executed by the load. The processing module is also used for adjusting the power supply voltage according to the estimated voltage variation.
In a possible implementation manner with reference to the fourth aspect, the transceiver module is specifically configured to receive the task scheduling information of the load every first duration.
In a possible implementation manner with reference to the fourth aspect, the power supply control device further includes a monitoring module, where the monitoring module is configured to monitor whether the power supply voltage fluctuates beyond a preset threshold. And if the fluctuation exceeds the preset threshold value and the fluctuation is reduced to be within the preset threshold value in the second time length, the processing module is further used for adjusting the first time length according to the duration time that the fluctuation exceeds the preset threshold value.
In a possible implementation manner in combination with the fourth aspect, the processing module is specifically configured to query a corresponding relationship between the amount of tasks to be executed and the estimated current according to the amount of tasks to be executed indicated by the task scheduling information, so as to determine the estimated current. And determining the estimated current variation according to the estimated current, and outputting the estimated voltage variation according to the estimated current variation.
In a possible implementation manner with reference to the fourth aspect, the power supply control device further includes an obtaining module, where the obtaining module is configured to obtain fluctuation information of the power supply voltage. And if the fluctuation of the power supply voltage exceeds a preset threshold value, the processing module is also used for adjusting the corresponding relation between the task quantity to be executed and the estimated current.
A fifth aspect of embodiments of the present application further provides a computing device, where the computing device includes a power supply circuit and a load that are coupled to each other, the power supply circuit is configured to supply power to the load, and the structure of the power supply circuit is the structure of the power supply circuit according to the second aspect.
Optionally, the number of the loads is one or more, and the loads include one or more of a central processing unit, a graphics processor, an accelerated processor, and a double data rate memory.
A sixth aspect of embodiments of the present application further provides a computing device, which includes a memory and a processor. The memory is configured to store a power supply control program, and the processor is configured to execute the power supply control program to perform the steps of the power supply control method according to the third aspect or any possible implementation manner of the third aspect.
A seventh aspect of embodiments of the present application further provides a computer-readable storage medium, where a computer-executable instruction is stored, and when at least one processor in a device executes the computer-executable instruction, the device is caused to execute steps in a power supply control method according to the third aspect or any one of the possible implementation manners of the third aspect.
The eighth aspect of the embodiments of the present application further provides a computer program product, which includes computer executable instructions; when the computer executes the instructions, the at least one processor in the device causes the device to perform the steps in the power supply control method according to the third aspect or any one of the possible implementations of the third aspect.
For the descriptions of the second aspect to the eighth aspect in the present application, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects of the second aspect to the eighth aspect, reference may be made to the beneficial effect analysis of the first aspect, which is not described herein again.
Drawings
Fig. 1 is a schematic structural diagram of a power supply system according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a voltage-current output curve according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another voltage-current output curve provided by the present application;
FIG. 4 is a schematic diagram illustrating an application scenario of a voltage regulator circuit according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of another voltage-current output curve provided by the embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an application scenario of yet another voltage regulator circuit according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating an application scenario of another voltage regulator circuit according to an embodiment of the present application;
fig. 8 is a schematic diagram of an application scenario of a power supply circuit provided in an embodiment of the present application;
fig. 9 is a schematic flowchart of a power supply control method according to an embodiment of the present application;
fig. 10 is a schematic flowchart of another power supply control method according to an embodiment of the present application;
FIG. 11 is a schematic structural diagram of a computing device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another computing device according to an embodiment of the present application.
Detailed Description
The making and using of the various embodiments are discussed in detail below. It should be appreciated that many of the applicable inventive concepts presented herein may be implemented in numerous specific environments. The specific embodiments discussed are merely illustrative of specific ways to make and use the description and the technology, and do not limit the scope of the application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art.
Circuits or other components may be described or referred to as "performing" one or more tasks. In such cases, "for" is used to connote structure by indicating that the circuit/component includes structure (e.g., circuitry) that performs one or more tasks during operation. Thus, a given circuit/component may be said to be performing that task even when the circuit/component is not currently operational (e.g., not open). Circuits/components used with the term "for" include hardware, such as circuits that perform operations, etc.
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a alone, A and B together, and B alone, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a and b, a and c, b and c or a, b and c, wherein a, b and c can be single or multiple. In addition, in the embodiments of the present application, the words "first", "second", and the like do not limit the number and order.
It is noted that, in the present application, words such as "exemplary" or "for example" are used to mean exemplary, illustrative, or descriptive. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
Before describing the embodiments of the present application, a description will be given of the background art to which the present application relates.
At present, in a server of a data center, a dc power supply voltage satisfying power supply requirements and specifications is generated by a voltage regulation module, thereby supplying power to functional modules in the server.
For example, as shown in fig. 1, a power supply system includes a voltage regulation module 100, a filter 200, and an XPU300, where the voltage regulation module 100 is configured to provide a dc supply voltage to the XPU 300.
The voltage regulation module 100 includes a regulation circuit 101, an output detection circuit 102, and a filter 103. The regulating circuit 101 is configured to receive an input voltage, and adjust a dc supply voltage output by the voltage regulating module 100 according to the input voltage, a preset voltage and a feedback voltage, where the preset voltage is a voltage when the XPU300 operates in a steady state, and the preset voltage is used as a reference voltage in the voltage regulating module 100. The output detection circuit 102 is configured to generate the feedback voltage according to the dc power supply voltage output by the voltage regulation module 100. The filter 103 is configured to perform filtering processing on the dc supply voltage output by the regulating circuit 101, and then output the dc supply voltage to the output end of the voltage regulating module 100, where one end of the filter 103 is coupled to the output end of the voltage regulating module 100, and the other end of the filter 103 is coupled to the ground end of the voltage regulating module 100. The filter 103 may include a capacitor C1, an inductor L1, and a resistor R1, where the inductor L1 is a parasitic inductor of the capacitor C1, and the resistor R1 is a parasitic resistor of the capacitor C1.
The filter 200 is configured to filter the dc power supply voltage and output the filtered dc power supply voltage to the XPU300, wherein one end of the filter 200 is coupled to an input terminal of the XPU300, and the other end of the filter 200 is coupled to a ground terminal of the XPU 300. The filter 200 may include a capacitor C2, an inductor L2, and a resistor R2, wherein the inductor L2 is a parasitic inductor of the capacitor C2, and the resistor R2 is a parasitic resistor of the capacitor C2. The output impedance of the voltage regulation module 100 may be equivalent to the impedance generated by the inductor L3, the resistor R3, the inductor L4, and the resistor R4, and the parasitic impedance of the circuit in the Printed Circuit Board (PCB) between the voltage regulation module 100 and the XPU300 may be equivalent to the impedance generated by the inductor L4 and the resistor R4.
However, as the integration of the functional modules increases, the dynamic response speed of the voltage regulating module and the demand of the dc power supply voltage of the functional modules are also increasing. When the functional module is in a large dynamic state, for example, when the task amount to be executed by the functional module is large, the functional module needs a dc supply voltage with a higher voltage, and the existing voltage regulating module cannot meet the requirements of the functional module on the dc supply voltage and the dynamic response speed because the stability of the output dc supply voltage is poor and the dynamic response speed is slow.
For example, when the amount of tasks to be executed in XPU300 is suddenly increased, XPU300 requires a dc supply voltage with a higher voltage value, and the current in the loop formed by voltage regulation module 100 and XPU300 becomes larger accordingly. However, as shown in fig. 2, when the current Iout in the loop suddenly increases, the voltage dividing effect generated by the output impedance of the voltage regulating module 100 will cause the dc supply voltage output by the voltage regulating module 100 to decrease, and the dc supply voltage received by the XPU300 will also decrease, exceeding the specification of the XPU300 on the ripple voltage. The ripple voltage is an alternating voltage in the direct current voltage, the direct current supply voltage is generated by processing such as alternating voltage rectification and filtering, and the filtering cannot completely remove the alternating voltage, so that the alternating voltage, that is, the ripple voltage, exists in the direct current voltage.
When the dc supply voltage received by the functional module exceeds the ripple voltage specification, the functional module may be damaged due to abnormal operation. Therefore, the performance of the voltage regulation module needs to be improved, so that the voltage regulation module can output stable direct-current supply voltage, and has higher dynamic response speed, thereby meeting the requirements of the functional module on the direct-current supply voltage and the dynamic response speed.
The first method is used for improving the performance of a filter circuit in the voltage regulation module, so that the voltage regulation module can output stable direct-current power supply voltage meeting the power supply requirement and specification of the functional module.
For example, by disposing a plurality of capacitors in parallel at the output end of the voltage regulation module 100, the capacitance of the capacitor for filtering in the voltage regulation module 100 is increased by 3 to 4 times. At this time, as shown in fig. 3, the curve of the dc supply voltage output by the voltage regulation module 100 has small fluctuation, and can satisfy the specification of the XPU300 on the ripple voltage.
However, the plurality of capacitors are arranged in the voltage regulating module in parallel, the size of the voltage regulating module is increased, and the distance between the voltage regulating module and the functional module is increased, so that the output impedance of the voltage regulating module is increased.
The second method is to increase the dynamic response speed of the voltage regulation module, so that the voltage regulation module can output stable DC supply voltage, and the requirements of the functional module on the DC supply voltage and the dynamic response speed are met.
For example, by employing a regulation circuit 101 with a higher switching frequency, the dynamic response speed of the voltage regulation module 100 is increased.
However, the adoption of the regulating circuit with higher switching frequency has less promotion to the voltage regulating module, and the performance of the voltage regulating module cannot be effectively improved. Meanwhile, the performance of the voltage regulation module is improved by other modes of improving the dynamic response speed of the voltage regulation module, so that the circuit complexity of the voltage regulation module is improved, the design difficulty is high, and the implementation cost is high.
In summary, in the voltage regulation module 100 provided in fig. 1, when the functional module XPU300 has a large dynamic state, the requirements of the functional module XPU300 for the dc supply voltage and the dynamic response speed cannot be satisfied because the output dc supply voltage has poor stability and the dynamic response speed is slow. Therefore, the embodiment of the present application provides a voltage stabilizing circuit, which can replace the voltage regulating module 100, has a high dynamic response speed, can output a dc supply voltage with good stability, and can meet the requirements and specifications of the functional modules for the dc supply voltage.
FIG. 4 is a schematic diagram of an application scenario of a voltage stabilizing circuit 400 according to an embodiment of the present application, where the voltage stabilizing circuit 400 includes a load pre-evaluating circuit 410 and a voltage regulating circuit 420. An input terminal of the load prediction circuit 410 may serve as an input terminal of the voltage stabilizing circuit 400, the input terminal being operable to be coupled to an output terminal of the load 500, the input terminal being operable to receive task scheduling information of the load 500; the output terminal of the load estimation circuit 410 is coupled to the controlled terminal of the voltage regulation circuit 420, and the output terminal is used for sending the estimated voltage variation. An input of the voltage regulating circuit 420 is for coupling with a voltage source 600, the input for receiving an input voltage; the output of the voltage regulating circuit 420 is for coupling to a load 500 and is for providing a supply voltage to the load 500. The voltage regulating circuit 420 is used for regulating the power supply voltage according to the estimated voltage transformation amount.
It is understood that the load estimation circuit 410 is configured to receive the task scheduling information of the load 500 and output the estimated voltage variation according to the task scheduling information. The task scheduling information is used to indicate the amount of tasks to be executed by the load 500. The task to be executed is a task to be processed by the load 500 from the current time as a starting point.
Alternatively, the amount of tasks to be performed by the load 500 may be represented by a value that is related to the number of tasks to be performed and the type of tasks to be performed. Alternatively, the amount of tasks to be performed by the load 500 may be represented by a plurality of tasks to be performed by the load, and the types of the plurality of tasks to be performed.
For example, when the number of tasks to be executed in the load 500 is 100, and the 100 tasks are a type a tasks, the number of tasks to be executed by the load 500 is 1000. When the number of tasks to be executed in the load 500 is 200, and the 200 tasks are the type a tasks, the number of tasks to be executed by the load 500 is 2000. When the number of tasks to be executed in the load 500 is 100, and the 100 tasks are the type a tasks, the number of tasks to be executed by the load 500 is 1000. When the number of tasks to be executed in the load 500 is 100, 50 tasks are a type a tasks, and 50 tasks are B type tasks, the number of tasks to be executed by the load 500 is 1500.
As another example, the amount of tasks to be performed by the load 500 may be a particular queue of tasks to be performed by the load. The specific task queue comprises a plurality of tasks. Load predictor circuit 410 may receive the task queue.
Further, the task queue includes 100 tasks, and the load estimation circuit may classify the 100 tasks based on task types, for example, into 50 a-type tasks and 50B-type tasks.
At a first time, the output terminal of the voltage regulating circuit 420 may be configured to output a first output voltage, which may be a dc supply voltage required by the load 500 for the task performed at the first time. At the second time, the output terminal of the voltage regulating circuit 420 may be configured to output a second output voltage, and the second output voltage may be a dc supply voltage determined according to the amount of tasks to be performed by the load 500 at the second time. Wherein the first time is prior to the second time.
Optionally, when the amount of tasks to be performed by the load 500 is smaller than the amount of tasks to be performed at the first time, the first output voltage may be larger than the second output voltage. When the amount of tasks to be performed by the load 500 is greater than the amount of tasks performed at the first time, the first output voltage is less than the second output voltage. The specific magnitude relationship between the first output voltage and the second output voltage is not limited in the embodiments of the present application, and the following embodiments take the example that the first output voltage is smaller than the second output voltage as an example.
In this embodiment, the load estimation circuit 410 is configured to output an estimated voltage transformation amount, where the estimated voltage transformation amount may be determined according to a task amount to be performed by the load 500; the voltage adjusting circuit 420 is configured to receive the estimated voltage variation and adjust the first output voltage to the second output voltage according to the estimated voltage variation. In practical applications, the voltage regulating circuit 420 is specifically configured to: and regulating the first output voltage into a second output voltage according to the estimated voltage variation, the preset voltage, the input voltage and the feedback voltage. The preset voltage is a voltage of the load 500 during steady-state operation, and the feedback voltage is used for feeding back the second output voltage.
Further, in an example, after the voltage adjusting circuit 420 adjusts the first output voltage to the second output voltage, if the amount of tasks to be performed by the load 500 at the third time is changed, the load estimation circuit 410 may be further configured to output an estimated voltage change amount corresponding to the third time, and the voltage adjusting circuit 420 may be further configured to adjust the second output voltage to the supply voltage required by the load 500 at the third time according to the estimated voltage change amount corresponding to the third time and a feedback voltage for feeding back the second output voltage. The third time is the next time of the second time. In another example, the load estimation circuit 410 receives task scheduling information of the load 500 every first preset time period, and outputs a corresponding estimated voltage variation according to the task scheduling information, and the voltage adjustment circuit 420 may continuously adjust the second output voltage to a supply voltage required by the load 500 to execute the task to be executed according to the estimated voltage variation and a feedback voltage for feeding back the second output voltage.
Optionally, the number of the loads 500 may be one or more, the loads 500 may be processors, or the loads 500 may be memories, and the specific number and the specific type of the loads 500 are not limited in the embodiments of the present application, and the following embodiments take the loads 500 as the processors for illustration. The processors may include, for example, a central processing unit (cpu), a graphics processor, a data processor, an Accelerated Processing Unit (APU), and the like. The memory may include one or more of a double data rate memory, a Synchronous Dynamic Random Access Memory (SDRAM), and a Static Random Access Memory (SRAM).
For example, as shown in fig. 5, the voltage output by the voltage stabilizing circuit 400 at the time t0-t1 is a first output voltage, the load 500 is a central processing unit, the amount of tasks to be executed by the central processing unit at the time t1-t4 is greater than the amount of tasks executed at the time t0-t1, the first output voltage needs to be adjusted to a second output voltage, and the specifications of the central processing unit on ripple voltages are VL to VH. Before time t1, the load estimation circuit 410 may send the estimated voltage change amount to the voltage regulation circuit 420. At time t1-t2, the voltage regulating circuit 420 may adjust the first output voltage to a third output voltage according to the feedback voltage and the predicted voltage variation, at time t2-t4, the load prediction circuit 410 may continuously output the predicted voltage variation according to the task scheduling information of the cpu, and the voltage regulating circuit 420 may continuously adjust the third output voltage according to the predicted voltage variation and the feedback voltage. As can be seen from fig. 6, the curve of the third output voltage can meet the specification of the central processing unit on the ripple voltage, and at the time t2 to t3, the fluctuation of the third output voltage is large, and at the time t3 to t4, the voltage adjustment circuit 420 can reduce the fluctuation of the third output voltage according to the feedback voltage for feeding back the third output voltage and the estimated voltage variation corresponding to the time t3 to t 4. At time t4-t6, when the amount of tasks to be performed by the cpu decreases, the voltage adjusting circuit 420 may decrease the voltage value of the third output voltage according to the feedback voltage for feeding back the third output voltage and the estimated voltage variation corresponding to time t4-t 6.
The voltage source 600 is used for outputting a dc voltage to generate the input voltage.
Optionally, the voltage source 600 may be a direct current voltage source, or may be an alternating current voltage source, and the specific type of the voltage source 600 is not limited in the embodiment of the present application.
For example, when the voltage source 600 is an ac voltage source, the voltage output by the voltage source 600 may be processed by a rectifying circuit, a filtering circuit, and the like to generate the input voltage.
Optionally, the task scheduling information of the load 500 may be sent by the load 500, or may be sent by other devices in the computing device, and the embodiment of the present application is not limited to what device in the computing device sends the task scheduling information of the load 500 specifically.
Illustratively, when the load 500 is a double data rate memory, the processor in the computing device may send task scheduling information of the load 500 to the load predictor circuit 410.
The voltage stabilizing circuit 400 provided in the embodiment of the application determines the estimated voltage variation according to the task amount to be executed of the load 500 through the load estimation circuit 410, and adjusts the first output voltage to the second output voltage according to the estimated voltage variation, that is, the power supply voltage output by the voltage adjusting circuit 420 is directly controlled through the estimated voltage variation, so that when the load 500 executes the task to be executed, the voltage stabilizing circuit 400 can provide the second output voltage required by the load 500, the stability of the second output voltage is better, the requirement and specification of the load 500 for the dc supply voltage can be met, the voltage is determined in advance according to the task amount to be estimated of the load 500, the first output voltage is adjusted, and the power supply requirement of the dynamic response load 500 can be ensured. In addition, the voltage stabilizing circuit 400 provided by the embodiment of the present application can provide a supply voltage meeting the requirements and specifications of the load 500 for the dc supply voltage, and there is no need to provide a plurality of capacitors in parallel at the output end of the voltage stabilizing circuit 400, or the input end of the load 500 to improve the filtering capability, so that the area occupied by the output filter circuit of the voltage stabilizing circuit 400 and the input filter circuit of the load 500 on the PCB board can be reduced.
In one possible embodiment, as shown in fig. 6, the load estimation circuit 410 includes a storage unit 411 and a processing unit 412 coupled to each other. The storage unit 411 stores a corresponding relationship between the task amount to be executed and the estimated current, and the processing unit 412 is configured to query the corresponding relationship according to the task amount to be executed indicated by the task scheduling information, determine the estimated current, determine an estimated current variation according to the estimated current, and further determine an estimated voltage variation according to the estimated current variation. The parasitic impedance between the output terminal of the voltage regulating circuit 420 and the output terminal of the stabilizing circuit 400 may be equivalent to the impedance generated by the inductor L5 and the resistor R5, and the stabilizing circuit 400 and the load 500 may be coupled by a transmission line whose parasitic impedance may be equivalent to the impedance generated by the inductor L6 and the resistor R6. The output impedance of the voltage stabilizing circuit 400 can be equivalent to the impedance generated by the inductor L5, the resistor R5, the inductor L6 and the resistor R6.
Alternatively, the storage unit 411 and the processing unit 412 may be integrated in one chip, or separate devices may be employed.
For example, the storage unit 411 may be a separately provided storage, or may be a memory of the computing device. The processing unit 412 may be an independently configured Micro Control Unit (MCU), which may also be referred to as a single-chip microcomputer or a single-chip microcomputer, or may be a central processing unit of the computing device.
As another example, the above-mentioned storage unit 411 and the processing unit 412 may be integrated in a micro control unit.
Optionally, when the task amount to be executed by the load 500 is represented by a numerical value, the correspondence between the task amount to be executed and the estimated current is: the value corresponds to a corresponding relationship between the current required by the load 500 to execute a plurality of tasks corresponding to the task amount to be executed, wherein the sum of the currents required by the load 500 to execute the plurality of tasks corresponding to the task amount to be executed is the estimated current.
When the task amount to be executed by the load 500 is a plurality of tasks to be specifically executed by the load 500, the correspondence relationship between the task amount to be executed and the estimated current refers to: and estimating the current to be the sum of the consumed current required by each task in the plurality of tasks according to the corresponding relation between each task to be executed and the consumed current required by the task to be executed. For example, the task queue includes three tasks in total, and after the load estimation circuit 410 receives the task queue, it is determined that the current consumption required by task a is 0.1A, the current consumption required by task B is 0.2A, and the current consumption required by task C is 0.3A by searching for the corresponding relationship, and then the estimated current is calculated to be 0.6A.
Here, the corresponding relationship may also be a corresponding relationship between a task type and a consumption current estimated for the task type. After receiving the task queue, the load estimation circuit 410 classifies the tasks in the task queue according to types, and determines the estimated consumed current corresponding to the task by looking up the corresponding relationship. For example, the task queue includes 10 tasks in total, and the load estimation circuit 410 classifies the 10 tasks after receiving the task queue, where 3 tasks belong to the a type, 3 tasks belong to the B type, and 4 tasks belong to the C type, where the estimated current is calculated to be 0.1A × 3+0.2a × 3+0.3 × 4=2.1a if the a type task needs to consume current of 0.1a, the B type task needs to consume current of 0.2a, and the C type task needs to consume current of 0.3A according to the correspondence.
The structure of the voltage stabilizing circuit 400 in fig. 6 is an exemplary illustration, and is not limited to the embodiments of the present application.
The estimated current is the current required by the load 500 to perform the task to be performed. The estimated current transformation amount is a difference between a current required by the load 500 when executing the task amount to be executed and a current required by the load 500 when executing the task amount currently executed.
For example, taking the current required by the current amount of the task currently executed by the load 500 as 2A as an example, the processing unit 412 may query the above correspondence according to the task amount to be executed indicated by the task scheduling information, and determine the estimated current as 5A, and further, the processing unit may determine the estimated current variation as 3A according to the estimated current 5A and the current required current 2A.
Alternatively, the processing unit 412 determines the estimated voltage variation according to the product of the estimated current variation and the output impedance of the voltage stabilizing circuit 400. Alternatively, the load estimation circuit 410 may determine the estimated voltage variation according to a product of a square of the estimated current variation and an output impedance of the voltage stabilizing circuit 400. The embodiment of the application is not limited to how the load estimation circuit 410 determines the estimated voltage variation according to the estimated current variation and the output impedance of the voltage stabilizing circuit 400.
For example, referring to fig. 5 and fig. 6, taking the voltage output by the voltage stabilizing circuit 400 at the time t0-t1 as the first output voltage, the current value of the output current as I1, the load 500 as the cpu, and the amount of tasks to be executed by the cpu at the time t1-t4 is greater than the amount of tasks to be executed at the time t0-t1, the first output voltage needs to be adjusted to the second output voltage. Before the time t1, the processing unit 412 may receive task scheduling information of the cpu, query the corresponding relationship according to the amount of tasks to be executed indicated by the task scheduling information, and determine that the estimated current required by the cpu at the time t1-t4 is I2. The processing unit 412 may determine the estimated current variation as (I2-I1) according to the current value I2 and the current value I1, and determine the estimated voltage variation as:
(I2-I1)*Rout
where Rout represents the output impedance of the voltage regulator circuit 400. At time t 1-time t2, the voltage regulating circuit 420 may adjust the first output voltage to a third output voltage according to the estimated voltage variation and the feedback voltage. The second output voltage is an ideal output voltage curve, and the third output voltage is an actual output voltage curve. At time t2-t4, the load estimation circuit 410 may continuously output the estimated voltage variation according to the task scheduling information of the cpu, and the voltage regulation circuit 420 may continuously adjust the third output voltage according to the estimated voltage variation and the feedback voltage. As the output voltage of the stabilizing circuit 400 varies, the output current of the stabilizing circuit 400 varies to I2 at time t2, and the stabilizing circuit 400 maintains the output current to I2 at times t2-t 5.
Optionally, the load 500 may include a scheduling circuit 510, and an output terminal of the scheduling circuit 510 may serve as an output terminal of the load 500, the output terminal being coupled to an input terminal of the voltage stabilizing circuit 400. The scheduling circuit 510 is configured to determine the task scheduling information according to parameters such as the number of tasks to be executed and the type of tasks of the load 500, and is further configured to send the task scheduling information to the voltage stabilizing circuit 400.
For example, the load 500 may include a task queue, the task queue is used to temporarily store the tasks to be executed of the load 500, and the scheduling circuit 510 may determine the amount of the tasks to be executed according to the number of the tasks and the type of the tasks in the task queue.
In the voltage stabilizing circuit 400 provided in the embodiment of the application, the processing unit 412 receives task scheduling information from the load 500, where the task scheduling information is used to indicate a task amount to be executed by the load, the processing unit 412 queries a corresponding relationship according to the task amount to be executed indicated by the task scheduling information, determines an estimated current variation according to the estimated current, and further determines an estimated voltage variation according to the estimated current variation. The voltage regulating circuit 420 regulates the output voltage of the voltage stabilizing circuit 400 according to the estimated voltage variation, so that the voltage stabilizing circuit 400 provided by the embodiment of the application can meet the requirement and specification of the load 500 on the direct-current power supply voltage, and can ensure the power supply requirement of the dynamic response load 500 by determining the estimated voltage in advance and regulating the first output voltage according to the task amount to be executed by the load 500.
In a possible embodiment, as shown in fig. 6, the processing unit 412 is coupled to the output terminal of the voltage regulating circuit 420, and the processing unit 412 is configured to obtain fluctuation information of the supply voltage and adjust the corresponding relationship between the amount of tasks to be executed in the storage unit and the estimated current according to the fluctuation information.
The fluctuation information is used for reflecting the fluctuation condition of the power supply voltage.
Alternatively, the ripple information may be a value of 0-100, the magnitude of which is related to the voltage value of the supply voltage. When the fluctuation of the power supply voltage is larger, the difference between the maximum value and the minimum value when the power supply voltage fluctuates is larger, and the value of the fluctuation information is also larger; the smaller the fluctuation of the power supply voltage, the smaller the difference between the maximum value and the minimum value at the time of fluctuation of the power supply voltage, and the smaller the value of the fluctuation information.
Specifically, when the fluctuation of the power supply voltage is large, the value of the fluctuation information acquired by the processing unit 412 is also large, and the processing unit 412 may adjust the estimated current corresponding to the task amount to be executed according to the fluctuation information, so as to reduce the fluctuation of the power supply voltage.
For example, referring to fig. 5, the output voltage of the voltage stabilizing circuit 400 is the third output voltage at the time t2-t4, and the amount of tasks to be executed at the time t2-t3 is the same as the amount of tasks to be executed at the time t3-t 4. At time t2-t3, the processing unit 412 may obtain fluctuation information of the supply voltage, where the fluctuation information is 80, and according to the fluctuation information, the processing unit 412 may adjust the estimated current corresponding to the task amount to be executed according to the fluctuation information 80, and at time t3-t4, the processing unit 412 determines an estimated current variation according to the estimated current corresponding to the adjusted task amount to be executed, determines an estimated voltage variation according to the estimated current variation, and then adjusts the third output voltage according to the estimated voltage variation, thereby reducing fluctuation of the third output voltage.
According to the voltage stabilizing circuit 400 provided by the embodiment of the application, the fluctuation information of the power supply voltage is acquired through the processing unit 412, and the corresponding relation between the task amount to be executed and the estimated current in the storage unit is adjusted according to the fluctuation information, so that the power supply voltage meeting the requirements and the specifications of the load 500 on the direct-current power supply voltage can be provided, and the fluctuation of the power supply voltage can be reduced through continuously adjusting the corresponding relation between the task amount to be executed and the estimated current, so that the power supply voltage with smaller fluctuation can be provided.
In one possible embodiment, as shown in FIG. 7, the voltage regulation circuit 420 includes a calculation circuit 421 and a control circuit 422. The first input terminal of the calculating circuit 421 is used for receiving the preset voltage; the second input terminal of the calculating circuit is coupled to the controlled terminal of the voltage adjusting circuit 420 for receiving the estimated voltage variation; a third input terminal of the calculation circuit is coupled to the output terminal of the control circuit 422, and is configured to receive the feedback voltage at the output terminal of the control circuit 422; the computing circuit 421 is configured to determine a predicted voltage according to the preset voltage, the predicted voltage variation and the feedback voltage; the control circuit 422 is configured to adjust the supply voltage based on the estimated voltage.
The structure of the voltage stabilizing circuit 400 in fig. 7 is an exemplary illustration, and is not limited to the embodiments of the present application.
Specifically, the calculation circuit 421 is configured to determine the estimated voltage according to a difference between a sum of the preset voltage and the estimated voltage variation and the feedback voltage. The control circuit 422 is configured to adjust the supply voltage based on the estimated voltage and the input voltage.
Alternatively, the calculation circuit 421 and the control circuit 422 may be separately provided devices, or may be devices in a calculation apparatus.
For example, the computing circuit 421 and the control circuit 422 may be central processing units in a computing device.
Alternatively, as shown in fig. 7, the control circuit 422 may include a digital link delay circuit 4221, a proportional integral derivative circuit 4222, a summing circuit 4223 and a pulse width modulation circuit 4224. An input of the digital link delay circuit 4221 is coupled to an input of the control circuit 422, an output of the digital link delay circuit 4221 is coupled to an input of a proportional-integral-derivative (PID) circuit 4222, an output of the PID circuit 4222 is coupled to a first input of a summing circuit 4223, a second input of the summing circuit 4223 is coupled to the voltage source 600 for receiving the input voltage, an output of the summing circuit 4223 is coupled to an input of a Pulse Width Modulation (PWM) circuit 4224, and an output of the pulse width modulation circuit 4224 is coupled to the load 500.
The digital link delay circuit 4221 is configured to delay the estimated voltage, the proportional integral derivative circuit 4222 is configured to control a voltage value of the estimated voltage through proportional integral derivative, the summing circuit 4223 is configured to sum the estimated voltage output by the proportional integral derivative circuit 4222 and the input voltage to generate an input voltage of the pulse width modulation circuit 4224, and the pulse width modulation circuit 4224 is configured to output the power supply voltage.
The voltage stabilizing circuit 400 provided by the embodiment of the application generates the supply voltage through the control circuit 422, so that the supply voltage meeting the requirements and specifications of the load on the direct-current supply voltage can be provided.
In one possible embodiment, as shown in FIG. 7, the voltage stabilizing circuit 400 may further include an output detection circuit 430, an input of the output detection circuit 430 being coupled to an output of the control circuit 422 for receiving the supply voltage; the output detection circuit 430 is configured to generate the feedback voltage according to a supply voltage; an output terminal of the output detection circuit 430 is coupled to a third input terminal of the calculation circuit 421 for outputting the feedback voltage.
The output detection circuit 430 is configured to generate a feedback voltage corresponding to a first output voltage when the voltage regulator circuit 400 outputs the first output voltage, or generate a feedback voltage corresponding to a second output voltage when the voltage regulator circuit 400 outputs the second output voltage.
Alternatively, the output detection circuit 430 may be a resistance voltage divider circuit.
The voltage stabilizing circuit 400 provided in the embodiment of the application generates a feedback voltage through the output detection circuit 430, determines an estimated voltage through the calculation circuit 421 according to a sum of a preset voltage and an estimated voltage variation and a difference between the preset voltage and the feedback voltage, and adjusts a power supply voltage through the control circuit 422 according to the estimated voltage and an input voltage. The estimated voltage variation is determined by the load estimation circuit 410 according to the task scheduling information, so that when the load 500 executes a task to be executed, the voltage stabilizing circuit 400 can immediately provide a second output voltage required by the load 500, the second output voltage has good stability and can meet the requirement and specification of the load 500 on the dc supply voltage, and the estimated voltage is determined in advance according to the task amount to be executed by the load 500 and the first output voltage is adjusted, so that the power supply requirement of the load 500 can be ensured to be dynamically responded.
Based on this, as shown in fig. 8, an embodiment of the present application further provides a power supply circuit 800, where the power supply circuit 800 includes a voltage source 810, a voltage stabilizing circuit 820, and a filter circuit 830, the voltage source 810 is coupled to a first input terminal of the voltage stabilizing circuit 820, an output terminal of a load 900 is coupled to a second input terminal of the voltage stabilizing circuit, an output terminal of the voltage stabilizing circuit 820 is coupled to an input terminal of the load 900 and one end of the filter circuit 830, and another end of the filter circuit 830 is coupled to a ground terminal. The voltage source 810 is used for providing input voltage for the voltage stabilizing circuit 820, the voltage stabilizing circuit 820 is used for providing power supply voltage for the load 900, and the filter circuit 830 is used for filtering the power supply voltage output by the voltage stabilizing circuit 820; the structure of the stabilizing circuit 820 is the structure of the stabilizing circuit 400 shown in FIGS. 4, 6, and 7.
The voltage source 810 is used for outputting a dc voltage to generate the input voltage.
Alternatively, the voltage source 810 may be a direct current voltage source, or may be an alternating current voltage source, and the specific type of the voltage source 810 is not limited in the embodiment of the present application.
For example, when the voltage source 810 is an ac voltage source, the voltage output by the voltage source 600 may be processed by a rectifying circuit and a filtering circuit to generate the input voltage.
Optionally, the filter circuit 830 includes an inductor L7, a resistor R7, and a capacitor C7, where the inductor L7 is a parasitic inductor of the capacitor C7, and the resistor R7 is a parasitic resistor of the capacitor C7.
Optionally, the filter circuit 830 may be a capacitor in an actual circuit, or may be multiple capacitors coupled in parallel, and the number of capacitors actually included in the filter circuit 830 is not limited in this embodiment of the application.
The power supply circuit 800 provided by the embodiment of the application determines the estimated voltage variation according to the task amount to be executed of the load 900, and adjusts the power supply voltage according to the estimated voltage variation, so that when the load 900 executes the task to be executed, the power supply circuit can provide the power supply voltage meeting the requirements and specifications of the load 900 on the direct current power supply voltage, and can ensure the power supply requirement of the dynamic response load 900, and moreover, the power supply voltage output by the voltage stabilizing circuit 820 is filtered through the filter circuit 830, so that the stability of the power supply voltage received by the load 900 can be ensured to be better.
It should be noted that the embodiments of the voltage stabilizing circuit 400 and the power supply circuit 800 in the above embodiments can be combined without contradiction.
As shown in fig. 9, another aspect of the present application provides a power supply control method, which is applied to the power supply circuit 800 shown in fig. 8 and includes steps S901 to S903.
S901, receiving the task scheduling information of the load.
Optionally, every first time period, the power supply circuit 800 receives task scheduling information of the load 900.
For example, every 30ms or several clock cycles, the power supply circuit 800 receives task scheduling information of the load 900.
Optionally, the task scheduling information of the load 900 may be sent by the load 900, or may be sent by other devices in the computing device, and the embodiment of the present application is not limited to what device in the computing device sends the task scheduling information of the load 900.
Illustratively, when the payload 900 is a double data rate memory, task scheduling information for the payload sent by a processor in the computing device may be received.
Optionally, the load 900 is a processor, or the load 900 is a memory. Illustratively, the processor may include: a central processing unit, a graphics processor, an acceleration processor, etc. The memory may include double data rate memory, synchronous dynamic random access memory, static random access memory, etc.
And S902, outputting the estimated voltage variation according to task scheduling information, wherein the task scheduling information is used for indicating the task amount to be executed by the load.
Specifically, the load estimation circuit 410 may query a corresponding relationship between the amount of tasks to be executed and the estimated current according to the amount of tasks to be executed indicated by the task scheduling information to determine the estimated current; and determining the estimated current variation according to the estimated current, and outputting the estimated voltage variation according to the estimated current variation.
Alternatively, the amount of tasks to be performed by the load 900 may be represented by a value that is related to the number of tasks to be performed and the type of tasks to be performed. Alternatively, the amount of tasks to be performed by the load 900 may be represented by a plurality of tasks to be performed by the load 900 and the types of the plurality of tasks to be performed.
Optionally, when the task amount to be executed by the load 900 is represented by a numerical value, the correspondence between the task amount to be executed and the estimated current is: the value corresponds to a current required by the load 900 to execute a plurality of tasks corresponding to the task amount to be executed, wherein the current required by the load 900 to execute the plurality of tasks corresponding to the task amount to be executed is an estimated current. When the task amount to be executed by the load 900 is represented by a plurality of tasks specifically executed by the load and the types of the plurality of tasks to be executed, the correspondence between the task amount to be executed and the estimated current is: the corresponding relation between the plurality of tasks to be executed and the estimated currents is that specifically, one task of each type corresponds to one sub estimated current, and the sum of the plurality of sub estimated currents corresponding to the plurality of tasks is the estimated current.
When the task amount to be executed by the load 500 is a plurality of tasks to be specifically executed by the load 500, the correspondence between the task amount to be executed and the estimated current refers to: and estimating the current to be the sum of the consumed current required by each task in the plurality of tasks according to the corresponding relation between each task to be executed and the consumed current required by the task to be executed. For example, the task queue includes three tasks in total, and after the load estimation circuit 410 receives the task queue, it is determined that the current consumption required by task a is 0.1A, the current consumption required by task B is 0.2A, and the current consumption required by task C is 0.3A by searching for the corresponding relationship, and then the estimated current is calculated to be 0.6A.
Here, the corresponding relationship may also be a corresponding relationship between the task type and the estimated consumption current of the task type. After receiving the task queue, the load estimation circuit 410 classifies the tasks in the task queue according to types, and determines the estimated consumed current corresponding to the task by looking up the corresponding relationship. For example, the task queue includes 10 tasks in total, and the load estimation circuit 410 classifies the 10 tasks after receiving the task queue, where 3 tasks belong to the a type, 3 tasks belong to the B type, and 4 tasks belong to the C type, where the estimated current is calculated to be 0.1A × 3+0.2a × 3+0.3 × 4=2.1a if the a type task needs to consume current of 0.1a, the B type task needs to consume current of 0.2a, and the C type task needs to consume current of 0.3A according to the correspondence.
And S903, adjusting the power supply voltage according to the estimated voltage variation.
According to the power supply control method provided by the embodiment of the application, the load estimation circuit 410 can output the estimated voltage variation according to the task scheduling information of the load 900, and the voltage regulation circuit 420 can regulate the power supply voltage according to the estimated voltage variation. The task scheduling information is used to indicate the amount of tasks to be executed by the load 900, so that the dc supply voltage required by the load 900 can be provided, the requirement and specification of the load 900 for the dc supply voltage can be met, and the power supply requirement of the load 900 can be ensured to be dynamically responded. For the description of the voltage regulation method provided in the embodiment of the present application, reference may be made to the detailed description of the voltage regulation circuit 400, which is not repeated herein.
As shown in fig. 10, the embodiment of the present application further provides a power supply control method, which may further include steps S904-S905 before, after, or during the execution of the above steps S901-S903, and the embodiment of the present application is exemplarily described by executing the steps S904-S905 before the steps S901-S903.
And S904, monitoring whether the power supply voltage fluctuates beyond a preset threshold value.
Specifically, the load estimation circuit 410 is used to continuously sample the power supply voltage, and the preset threshold may be the specification of the load 900 on the ripple voltage.
S905, if the fluctuation exceeding the preset threshold value occurs and the fluctuation is reduced to be within the preset threshold value in the second time length, adjusting the first time length according to the duration time of the fluctuation exceeding the preset threshold value.
It will be appreciated that the duration of the above-mentioned fluctuation exceeding the preset threshold is the second duration.
When the first time length is longer, the fluctuation of the power supply voltage may exceed the preset threshold, and when the fluctuation of the power supply voltage exceeds the preset threshold, the load estimation circuit 410 shortens the first time length according to the duration time that the fluctuation exceeds the preset threshold, improves the frequency of receiving the task scheduling information of the load 900, can provide the power supply voltage required by the load 900 to execute the task amount to be executed more timely and accurately, and thus can ensure that the power supply voltage does not exceed the preset threshold.
According to the power supply control method provided by the embodiment of the application, whether the fluctuation of the power supply voltage exceeds the preset threshold value or not is monitored through the load estimation circuit 410, and when the fluctuation of the power supply voltage exceeds the preset threshold value, the first duration is adjusted according to the duration time that the fluctuation exceeds the preset threshold value, so that the power supply voltage can be ensured not to exceed the preset threshold value, and the power supply voltage meeting the requirements and specifications of the load on the direct-current power supply voltage can be provided.
As shown in fig. 10, the embodiment of the present application further provides a power supply control method, which may further include steps S906 to S907 after or during the above steps S901 to S905, and the embodiment of the present application takes the steps S906 to S907 as an example after step S903.
And S906, acquiring the fluctuation information of the power supply voltage.
Alternatively, the fluctuation information may be a value of 0 to 100, the magnitude of which is related to the voltage value of the supply voltage. When the fluctuation of the power supply voltage is larger, the difference between the maximum value and the minimum value when the power supply voltage fluctuates is larger, and the value of the fluctuation information is also larger; the smaller the fluctuation of the power supply voltage, the smaller the difference between the maximum value and the minimum value at the time of fluctuation of the power supply voltage, and the smaller the value of the fluctuation information.
And S907, if the fluctuation of the power supply voltage exceeds a preset threshold, adjusting the corresponding relation between the task amount to be executed and the estimated current.
Optionally, when the task amount to be executed by the load 900 is represented by a value, the corresponding relationship between the task amount to be executed and the estimated current may be stored in an estimated current lookup table, and the estimated current lookup table may include a plurality of values and estimated currents respectively corresponding to the plurality of values. When the fluctuation of the power supply voltage exceeds a preset threshold value, the estimated current equal proportion corresponding to the value can be adjusted up or down. Alternatively, when the task amount to be executed by the load 900 is represented by a plurality of tasks to be specifically executed by the load 500 and types of the tasks to be executed, a corresponding relationship between the task amount to be executed and the estimated current may be stored in the estimated current lookup table, where the estimated current lookup table may include a plurality of tasks to be executed and sub estimated currents required by the load 900 to execute each of the tasks to be executed. When the fluctuation of the power supply voltage exceeds a preset threshold value, the equal proportion of the sub-estimated currents corresponding to the plurality of tasks to be executed can be adjusted up or down.
Therefore, the corresponding relation between the task quantity to be executed in the estimated current lookup table and the estimated current is adjusted, so that the estimated current determined according to the adjusted corresponding relation is more accurate, the estimated voltage determined according to the estimated current is more accurate, and the power supply voltage determined according to the estimated voltage cannot exceed the preset threshold value.
According to the power supply control method provided by the embodiment of the application, when the fluctuation of the power supply voltage exceeds the preset threshold value, the corresponding relation between the task amount to be executed and the estimated current is adjusted, and the corresponding relation between the task amount to be executed and the estimated current is continuously optimized, so that the corresponding relation between the task amount to be executed and the estimated current is inquired according to the task amount to be executed indicated by the task scheduling information, more accurate estimated current can be determined, more accurate estimated voltage variation can be determined according to the estimated current, the power supply voltage can be more accurately adjusted according to the estimated voltage variation, the power supply voltage meeting the requirements and specifications of a load on the direct-current power supply voltage can be provided, and the power supply voltage does not exceed the preset threshold value.
Based on this, as shown in fig. 11, an embodiment of the present application further provides a computing device 1100, where the computing device 1100 includes a power supply circuit 1110 and a load 1120 that are coupled to each other, the power supply circuit 1110 is used to supply power to the load 1120, and the structure of the power supply circuit 1110 is the structure of the power supply circuit 800 shown in fig. 8.
Alternatively, the computing device 1100 may be a server.
Optionally, the number of the load 1120 is one or more, and the load 1120 includes one or more of a central processing unit, a graphics processor, an accelerated processor, and a double data rate memory.
As shown in fig. 12, an embodiment of the present application further provides a computing device 1200, where the computing device 1200 includes a memory 1210 and a processor 1220, the memory 1210 is configured to store a power supply control program, and the processor 1220 is configured to run the power supply control program, so as to execute the power supply control method shown in fig. 9 or fig. 10.
Alternatively, the computing device 1200 may be a server.
It should be noted that, the descriptions provided above for the voltage stabilizing circuit 400 and the power supply circuit 800 can be incorporated into the apparatus 1100 or the electronic apparatus 1200, and the detailed description of the embodiments of the present application is omitted here.
Embodiments of the present application also provide a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when the computer executing instruction is executed by at least one processor in a device, the device is caused to perform the steps in the power supply control method shown in fig. 9 or fig. 10.
Embodiments of the present application also provide a computer program product, which includes computer executable instructions; when the at least one processor in the device executes the computer-executable instructions, the device executes the steps in the power supply control method as shown in fig. 9 or fig. 10.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A voltage regulator circuit, comprising:
the input end of the load pre-estimation circuit is used for receiving task scheduling information of a load and outputting pre-estimated voltage variation according to the task scheduling information; the task scheduling information is used for indicating the task amount to be executed by the load;
a voltage regulation circuit having an input for coupling to a voltage source for receiving an input voltage; the output end of the voltage regulating circuit is used for being coupled with the load and providing a supply voltage for the load; the controlled end of the voltage regulating circuit is coupled with the output end of the load estimation circuit and is used for receiving the estimated voltage variation; and the voltage regulating circuit is used for regulating the power supply voltage according to the estimated voltage variation.
2. The voltage stabilizing circuit according to claim 1, wherein the load prediction circuit comprises a storage unit and a processing unit which are coupled with each other, and the storage unit stores the corresponding relation between the amount of the task to be executed and the prediction current; the processing unit is used for inquiring the corresponding relation according to the task quantity to be executed indicated by the task scheduling information, determining the estimated current variation according to the estimated current, and further determining the estimated voltage variation according to the estimated current variation.
3. The voltage regulator circuit according to claim 2, wherein the processing unit is coupled to an output of the voltage regulator circuit, and configured to obtain fluctuation information of the supply voltage, and adjust a correspondence between the task amount to be executed and the estimated current in the storage unit according to the fluctuation information.
4. The voltage regulator circuit of any of claims 1-3, wherein the voltage regulator circuit comprises a calculation circuit and a control circuit;
the first input end of the computing circuit is used for receiving a preset voltage; the second input end of the computing circuit is coupled with the controlled end of the voltage regulating circuit and used for receiving the estimated voltage variation; a third input end of the computing circuit is coupled with the output end of the control circuit and is used for receiving the feedback voltage of the output end of the control circuit; the computing circuit is used for determining a pre-estimated voltage according to the preset voltage, the pre-estimated voltage variation and the feedback voltage; the preset voltage is the voltage of the load during steady-state operation;
the control circuit is used for adjusting the power supply voltage according to the estimated voltage.
5. The voltage regulator circuit of claim 4, wherein the control circuit comprises a digital link delay circuit, a proportional integral derivative circuit, a summing circuit, and a pulse width modulation circuit, wherein an input of the digital link delay circuit is coupled to an input of the control circuit, an output of the digital link delay circuit is coupled to an input of the proportional integral derivative circuit, an output of the proportional integral derivative circuit is coupled to a first input of the summing circuit, a second input of the summing circuit is configured to be coupled to the voltage source for receiving the input voltage, an output of the summing circuit is coupled to an input of the pulse width modulation circuit, and an output of the pulse width modulation circuit is configured to be coupled to the load.
6. The voltage regulator circuit of any one of claims 1-5, further comprising an output detection circuit having an input coupled to an output of the control circuit for receiving the supply voltage; the output detection circuit is used for generating the feedback voltage according to the power supply voltage; and the output end of the output detection circuit is coupled with the third input end of the calculation circuit and is used for outputting the feedback voltage.
7. A power supply circuit is characterized by comprising a voltage source, a voltage stabilizing circuit and a filter circuit; the voltage source is used for providing input voltage for the voltage stabilizing circuit, and the filter circuit is used for filtering the power supply voltage output by the voltage stabilizing circuit; the voltage stabilizing circuit is the voltage stabilizing circuit according to any one of claims 1 to 6.
8. A power supply control method is applied to a power supply circuit, wherein the power supply circuit is used for providing a power supply voltage for a load, and the power supply control method comprises the following steps:
receiving task scheduling information for the load,
outputting the estimated voltage variation according to the task scheduling information; the task scheduling information is used for indicating the amount of the tasks to be executed by the load;
and adjusting the power supply voltage according to the estimated voltage variation.
9. The power supply control method according to claim 8, wherein the receiving task scheduling information of the load comprises:
and receiving the task scheduling information of the load every other first time length.
10. The power supply control method according to claim 8 or 9, characterized by further comprising:
monitoring whether the power supply voltage fluctuates beyond a preset threshold value;
and if the fluctuation exceeding the preset threshold value occurs and the fluctuation is reduced to be within the preset threshold value in the second time length, adjusting the first time length according to the duration time of the fluctuation exceeding the preset threshold value.
11. The power supply control method according to any one of claims 8 to 10, wherein the outputting the estimated voltage change amount according to the task scheduling information includes:
inquiring the corresponding relation between the amount of the tasks to be executed and the estimated current according to the amount of the tasks to be executed indicated by the task scheduling information so as to determine the estimated current;
and determining the estimated current variation according to the estimated current, and outputting the estimated voltage variation according to the estimated current variation.
12. The power supply control method according to any one of claims 8 to 11, characterized by further comprising:
acquiring fluctuation information of the power supply voltage;
and if the fluctuation of the power supply voltage exceeds a preset threshold value, adjusting the corresponding relation between the task quantity to be executed and the estimated current.
13. A computing device comprising a power supply circuit and a load coupled to each other, the power supply circuit configured to supply power to the load, the power supply circuit configured as claimed in claim 7.
14. The computing device of claim 13, wherein the number of loads is one or more, and wherein the loads comprise one or more of a central processing unit, a graphics processor, an accelerated processor, and a double data rate memory.
15. A computing device, comprising a memory and a processor; the memory is configured to store a power supply control program, and the processor is configured to execute the power supply control program to perform the power supply control method according to any one of claims 8 to 12.
CN202210761103.4A 2022-06-30 2022-06-30 Voltage stabilizing circuit, power supply circuit and power supply control method Pending CN115167592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210761103.4A CN115167592A (en) 2022-06-30 2022-06-30 Voltage stabilizing circuit, power supply circuit and power supply control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210761103.4A CN115167592A (en) 2022-06-30 2022-06-30 Voltage stabilizing circuit, power supply circuit and power supply control method

Publications (1)

Publication Number Publication Date
CN115167592A true CN115167592A (en) 2022-10-11

Family

ID=83488454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210761103.4A Pending CN115167592A (en) 2022-06-30 2022-06-30 Voltage stabilizing circuit, power supply circuit and power supply control method

Country Status (1)

Country Link
CN (1) CN115167592A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034848A (en) * 2005-09-30 2007-09-12 日立环球储存科技荷兰有限公司 Voltage regulating systems responsive to feed-forward information from deterministic loads
CN101379887A (en) * 2005-12-20 2009-03-04 Tir科技公司 Method and apparatus for controlling current supplied to electronic devices
CN107148727A (en) * 2014-11-12 2017-09-08 高通股份有限公司 The circuit and method of supply voltage control are provided based on transient load prediction
US20180351450A1 (en) * 2017-06-02 2018-12-06 Nxp Usa, Inc. Voltage regulator with load current prediction and method therefor
US20180375438A1 (en) * 2017-06-23 2018-12-27 Intel Corporation Apparatus, system, and method for reducing voltage overshoot in voltage regulators
US20190004552A1 (en) * 2017-07-03 2019-01-03 Macronix International Co., Ltd. Fast transient response voltage regulator with predictive loading
CN112564479A (en) * 2016-11-18 2021-03-26 华为技术有限公司 Voltage regulating circuit and voltage regulating method
CN112688558A (en) * 2020-12-16 2021-04-20 维沃移动通信有限公司 Voltage regulation method, voltage regulation circuit, electronic device, and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034848A (en) * 2005-09-30 2007-09-12 日立环球储存科技荷兰有限公司 Voltage regulating systems responsive to feed-forward information from deterministic loads
CN101379887A (en) * 2005-12-20 2009-03-04 Tir科技公司 Method and apparatus for controlling current supplied to electronic devices
CN107148727A (en) * 2014-11-12 2017-09-08 高通股份有限公司 The circuit and method of supply voltage control are provided based on transient load prediction
CN112564479A (en) * 2016-11-18 2021-03-26 华为技术有限公司 Voltage regulating circuit and voltage regulating method
US20180351450A1 (en) * 2017-06-02 2018-12-06 Nxp Usa, Inc. Voltage regulator with load current prediction and method therefor
US20180375438A1 (en) * 2017-06-23 2018-12-27 Intel Corporation Apparatus, system, and method for reducing voltage overshoot in voltage regulators
US20190004552A1 (en) * 2017-07-03 2019-01-03 Macronix International Co., Ltd. Fast transient response voltage regulator with predictive loading
CN112688558A (en) * 2020-12-16 2021-04-20 维沃移动通信有限公司 Voltage regulation method, voltage regulation circuit, electronic device, and readable storage medium

Similar Documents

Publication Publication Date Title
CN102156498B (en) Power management system and method
US8245069B2 (en) Multiple power supplies providing enhanced power efficiency
US8479030B2 (en) Power management of components having clock processing circuits
US8904196B2 (en) Power management method and apparatus
KR100812842B1 (en) Load-dependent variable frequency voltage regulator
US11431251B2 (en) Power converter, synchronous power converter system and method of determining switching frequency
US20180212437A1 (en) Battery charging circuit, control circuit and associated control method
CN111726000A (en) Switching regulator and electronic apparatus including the same
CN113872416A (en) DVFS power supply system and DVFS power supply control method
CN117377923A (en) Power consumption adjusting method and device
US20130335058A1 (en) Adjusting Voltage Regulator Operating Parameters
CN111654186A (en) Dynamic output voltage adjusting device and method for switching voltage stabilizing controller
US10439597B1 (en) Duty locked loop circuit
CN115167592A (en) Voltage stabilizing circuit, power supply circuit and power supply control method
DE102021121216A1 (en) Apparatus and method for controlling peak processor current
EP3809576A1 (en) Dynamic regulation resonant power converter
CN112698709B (en) Multi-phase BUCK circuit and voltage regulation method thereof
DE102021132804A1 (en) OSPM POLICY PROCEDURE AND SETUP FOR USB-C DYNAMIC MODE SELECTION
DE102022103790A1 (en) SETUP AND PROCEDURE FOR DETECTING POWER SUPPLY ADJUSTMENT AND RISK MITIGATION
US20210232164A1 (en) Power supply adjusting system, method and apparatus, chip, and electronic device
CN110347234B (en) Circuit for compensating voltage
CN103809719A (en) Circuit board and power supply management system for circuit board
WO2015040654A1 (en) Information processing system, management apparatus, information processing method, and program
CN115562470B (en) Power supply control system, method, equipment and medium for heterogeneous computing
CN108304262A (en) Dynamic adjusts method, storage medium and the computer of digital signal processor performance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination