WO2021249271A1 - Dvfs power supply system and dvfs power supply control method - Google Patents

Dvfs power supply system and dvfs power supply control method Download PDF

Info

Publication number
WO2021249271A1
WO2021249271A1 PCT/CN2021/098069 CN2021098069W WO2021249271A1 WO 2021249271 A1 WO2021249271 A1 WO 2021249271A1 CN 2021098069 W CN2021098069 W CN 2021098069W WO 2021249271 A1 WO2021249271 A1 WO 2021249271A1
Authority
WO
WIPO (PCT)
Prior art keywords
voltage
power supply
switching power
mode
load module
Prior art date
Application number
PCT/CN2021/098069
Other languages
French (fr)
Chinese (zh)
Inventor
陈剑华
周孟特
范茂斌
夏晓菲
王利强
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021249271A1 publication Critical patent/WO2021249271A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • H02M3/10Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • H02M3/10Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • H02M3/156Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
    • H02M3/158Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators including plural semiconductor devices as final control devices for a single load

Definitions

  • This application relates to the field of integrated circuit control, and in particular to a dynamic voltage and frequency scaling (DVFS) power supply system and a DVFS power supply control method.
  • DVFS dynamic voltage and frequency scaling
  • DVFS dynamically adjusts the operating frequency and voltage of the chip according to the different needs of the computing power of the applications running on the chip, so as to achieve the purpose of energy saving.
  • the frequency of the chip corresponds to the voltage.
  • the current of the chip will change, causing the voltage on the chip to jump.
  • the voltage change of the chip can be measured to obtain the voltage change rate.
  • the PMU will change the output mode to the chip so that the jumped voltage returns to the original voltage.
  • DCM discontinuous conduction mode
  • CCM continuous conduction mode
  • This application provides a DVFS power supply system and a DVFS power supply control method, which can reduce the dynamic response time.
  • the first aspect of this application provides a DVFS power supply system.
  • the DVFS power system includes: chip, PMU and load module.
  • the load module may be a chip, or some functional modules in the chip, such as a central processing unit (CPU), a graphics processing unit (GPU), or other loads that do not belong to the chip.
  • the PMU includes a controller and a switching power supply.
  • the switching power supply can be a BUCK circuit, a BOOST circuit, or a BUCK-BOOST circuit.
  • the chip determines whether the voltage needs to be adjusted according to the demand for computing power. If the voltage needs to be adjusted, the chip is used to send a voltage adjustment instruction to the controller, and the voltage adjustment instruction corresponds to the first voltage.
  • the voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage or includes an identifier corresponding to the first voltage. If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the controller is used to change the state of the switching power supply, so that the switching power supply is converted from the first mode to the second mode, so that the output of the switching power supply to the load module can be changed.
  • the range of current Specifically, the controller is used to control the on and off of certain electronic components in the switching power supply to change the state of the switching power supply.
  • the controller When the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the controller changes the output mode to the load module. There is no need to wait for the voltage feedback from the comparator to the load module, so the dynamic response time can be reduced.
  • the first mode is DCM
  • the second mode is CCM.
  • the output current of the PMU to the load module under CCM is greater than the output current to the load module under DCM.
  • the controller is specifically configured to change the state of the switching power supply if the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, so that the switching power supply is converted from DCM to CCM.
  • the load module may reset and restart, which will reduce user experience.
  • the voltage regulation command sent by the chip is before the load module enters the heavy load. Therefore, by converting the DCM into CCM by the first voltage corresponding to the voltage regulation command being greater than the threshold voltage, the reset and restart phenomenon of the load module can be reduced, and the user experience can be improved.
  • the switching power supply can output voltage values of multiple gears to the load module, and multiple voltages
  • the values include V 1 , V 2 , ..., Vn, and multiple voltage values are arranged in ascending order, and n is an integer greater than 1.
  • the current of the load module will change, that is, one voltage value corresponds to one current range, and multiple voltage values correspond to multiple current ranges.
  • the multiple current ranges include A 1 , A 2 ,..., An.
  • the threshold voltage is equal to the voltage Vx corresponding to the current range Ax, and x is an integer greater than or equal to 1 and less than or equal to n.
  • the current range of Ax is from H mA to J mA.
  • the power change of the load module causes the output current of the switching power supply to the load module to change from H mA to J mA
  • the output voltage of the switching power supply to the load module changes to Vc.
  • H can be greater than J or less than J, that is, when the power of the load module increases, the low current of the load module jumps to a high current, and when the power of the load module decreases, the high current of the load module jumps to a low current.
  • the first voltage change rate is greater than or equal to the first value, where the first voltage change rate
  • the power change of the load module causes the output current to the load module to change from K mA to L mA, which causes the output voltage of the switching power supply to the load module to change to V c-1
  • the voltage V x-1 corresponds to the current range A x-1
  • the current range of the current range A x-1 is K milliamps to L milliamps
  • the second voltage change rate is less than the first value.
  • the capacitance of the load module can be increased.
  • the voltage drops instantly, and the output voltage of the switching power supply to the load module is insufficient.
  • the energy of the capacitor on the load module It releases a part to supply the load module to maintain the voltage of the load module stable.
  • the first voltage change rate P1 is greater than or equal to the first value.
  • the minimum voltage among these voltages is used as the threshold, that is, the second voltage change rate is less than the first value, and the threshold voltage is equal to the voltage Vx.
  • the load module When the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, it is considered that the load module is under heavy load. Therefore, in the case of heavy load, there is no need to use a capacitor to maintain the voltage stability of the load module, and the purpose of simplifying the negative capacitor is achieved.
  • the system further includes a comparator . If the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the controller is used to determine whether the third voltage change rate is greater than the second value, and the third voltage change rate Wherein, V a is the first voltage, V b is the second voltage, the second voltage is obtained from the load according to the comparator module. If the third voltage change rate is greater than the second value, the controller is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode.
  • the controller in the case that the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the controller can switch the mode according to the voltage change rate, because in the case of medium and light load, the sudden change of the load voltage will not be large, and the smaller value can be used.
  • the capacitor is used to maintain the voltage stability of the load module.
  • the first voltage corresponding to the voltage regulation command is less than the threshold voltage, it is considered that the load module is under medium and light load. In this way, some smaller capacitors can be reserved to meet the flexible mode conversion requirements of the load module under medium and light loads.
  • the system further includes a comparator .
  • the controller is also used to change the state of the switching power supply so that the output voltage of the switching power supply to the load module reaches the first voltage.
  • the comparator is used to determine whether the voltage of the load module reaches the first voltage. If yes, the comparator is also used to send the first information to the controller.
  • the first information may include a voltage value or the result of a comparison between a voltage value and the first voltage.
  • the controller is also used to receive the first information.
  • the controller After receiving the first information, the controller is specifically configured to change the state of the switching power supply if the first voltage corresponding to the voltage regulation instruction is greater than or less than the threshold voltage after the controller receives the first information
  • the switching power supply is converted from the first mode to the second mode.
  • the controller changes the state of the switching power supply, it takes a period of time until the voltage of the load module rises or drops to the first voltage. During this time, the chip can wait for the controller to complete the voltage regulation without changing the operating frequency. Because the current under CCM is greater than the current under DCM, that is, the power consumption is greater. Therefore, by performing the mode conversion only after the voltage of the load module reaches the first voltage, in the case of DCM to CCM, power can be saved.
  • the chip is also used to determine Whether the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage. If it is, the chip is also used to send a mode switch instruction to the controller.
  • the controller is specifically configured to change the state of the switching power supply according to the mode conversion instruction, so that the switching power supply is converted from the first mode to the second mode. Among them, the comparison between the first voltage and the threshold voltage is completed in the chip, without adding other electronic devices or circuits, saving costs.
  • the second aspect of the present application provides a DVFS power control method.
  • the PMU receives the voltage regulation command sent by the chip, and the voltage regulation command corresponds to the first voltage.
  • the voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage or includes an identifier corresponding to the first voltage.
  • the PMU changes the state of the switching power supply, so that the switching power supply is converted from the first mode to the second mode, so that the change of the switching power supply can affect the output current of the load module.
  • the load module may be a chip, or some functional modules in the chip, such as CPU, GPU, or other loads that do not belong to the chip.
  • the PMU controls the on and off of certain electronic components in the switching power supply to change the state of the switching power supply.
  • the PMU When the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changes its output mode to the load module. There is no need to wait for the voltage feedback from the comparator to the load module, so the dynamic response time can be reduced.
  • the first mode is DCM
  • the second mode is CCM. If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the PMU changes the state of the switching power supply, so that the switching power supply is converted from DCM to CCM.
  • the switching power supply can output multiple voltage values to the load module, and the multiple voltage values include V 1 , V 2 ,..., Vn, multiple voltage values are arranged in ascending order, and n is an integer greater than 1.
  • multiple voltage values correspond to multiple current ranges.
  • the multiple current ranges include A 1 , A 2 ,..., An.
  • the threshold voltage is equal to Vx corresponding to Ax
  • x is an integer greater than or equal to 1 and less than or equal to n.
  • the current range of Ax is from H milliampere to J milliampere.
  • the power change of the load module causes the output current to the load module to change from H mA to J mA, which causes the output voltage of the switching power supply to the load module to change to Vc.
  • H can be greater than J or less than J, that is, when the power of the load module increases, the low current of the load module jumps to a high current, and when the power of the load module decreases, the high current of the load module jumps to a low current.
  • the first voltage change rate is greater than or equal to the first value.
  • the power change of the load module causes the output current to the load module to change from K mA to L mA, resulting in the output of the switching power supply to the load module
  • the voltage change is V c-1 .
  • V x-1 and the corresponding A x-1, A x- 1 mA current range of K to L mA, the second voltage change is less than the first value.
  • the PMU is used to determine whether the third voltage change rate is greater than the second value.
  • the third rate of voltage change Wherein, V a is the first voltage, V b is the second voltage, the second voltage is obtained from the load according to the comparator module. If the third voltage change rate is greater than the second value, the PMU is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode.
  • the PMU according to the voltage regulation command
  • the state of the switching power supply is changed so that the output voltage of the switching power supply to the load module reaches the first voltage.
  • the PMU receives the first information sent by the comparator, where the first information is obtained by the comparator determining that the voltage of the load module reaches the first voltage.
  • the state of the switching power supply is changed, so that the switching power supply is converted from the first mode to the second mode.
  • the PMU receives the mode switch command ,
  • the mode conversion instruction is obtained by the chip according to the first voltage corresponding to the voltage regulation instruction being greater than or less than the threshold voltage.
  • the PMU changes the state of the switching power supply according to the mode conversion command, so that the switching power supply is converted from the first mode to the second mode.
  • the third aspect of the present application provides a DVFS power control method.
  • the chip sends a voltage regulation command to the PMU, so that the PMU changes the state of the switching power supply according to the voltage regulation command, so that the output voltage of the switching power supply to the load module reaches the first voltage, and the voltage regulation command corresponds to the first voltage;
  • the chip If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the chip generates a mode switching command.
  • the chip sends a mode switching instruction to the PMU, so that the PMU changes the state of the switching power supply according to the mode switching instruction, so that the switching power supply is converted from the first mode to the second mode, so that the range of the output current of the switching power supply to the load module can be changed .
  • the first mode is DCM
  • the second mode is CCM. If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the chip generates a mode switching command.
  • the chip sends a mode switching instruction to the PMU, so that the PMU changes the state of the switching power supply according to the mode switching instruction, so that the switching power supply is converted from DCM to CCM, so as to change the range of the output current of the switching power supply to the load module.
  • a fourth aspect of the present application provides a terminal, which is characterized in that the terminal includes the foregoing first aspect or the DVFS power supply system described in any one of the implementation manners in the first aspect.
  • Figure 1 is a schematic diagram of the structure of the DVFS power supply system of the terminal
  • Figure 2 is a schematic diagram of the structure of the BUCK circuit
  • Figure 3 is a schematic diagram of the waveform when the BUCK circuit works in CCM
  • Figure 4 is a schematic diagram of the waveform when the BUCK circuit works in DCM
  • FIG. 5 is a schematic diagram of a structure of a DVFS power supply system in an embodiment of the application
  • Figure 6 is a schematic diagram of the curve change of DCM converted to CCM
  • Figure 7 is a schematic diagram of the curve change of the pressure regulation under CCM
  • Figure 8 is a schematic diagram of curve changes of simultaneous voltage regulation and regulation mode
  • Figure 9 is a schematic diagram of the power consumption of the terminal under different currents.
  • FIG. 10 is a schematic flowchart of a DVFS power supply control method in an embodiment of the application.
  • FIG. 11 is a schematic diagram of a structure of a terminal in an embodiment of the application.
  • the embodiments of the present application provide a DVFS power supply system and a DVFS power control method, which are applied to the field of integrated circuit control and can reduce the dynamic response time.
  • FIG. 1 is a schematic diagram of the DVFS power supply system of the terminal.
  • the DVFS power supply system includes a chip 101, a PMU 102, a load module 106, and a capacitor 107.
  • the PMU 102 includes a controller 103, a switching power supply 104, and a comparator 105.
  • the load module 106 may be the chip 101, or a part of the functional modules in the chip 101, such as CPU, GPU, or other loads that do not belong to the chip 101.
  • the system flow of the DVFS is as follows: the chip 101 collects signals related to the chip 101. According to relevant signals, the chip 101 predicts the performance required by the chip 101 in the next time period. The chip 101 converts the predicted performance into the required frequency, thereby adjusting the clock setting of the chip 101, changing the operating frequency of the chip 101, and calculating the corresponding voltage according to the new operating frequency. The chip 101 informs the PMU 102 about the voltage required by the chip 101. The PMU 102 controls the state of the switching power supply 104 to adjust the output voltage to the chip 101.
  • PMU102 is a highly integrated power management solution for portable applications, which integrates several types of traditional discrete power management devices into a single package, which can achieve higher power conversion efficiency and lower power consumption, and more The number of components is small to accommodate the reduced board space.
  • the PMU 102 is a relatively broad concept, that is, whether the PMU 102 includes a certain circuit or structure does not require a very clear definition. For example, in FIG. 1, it can also be considered that the comparator 105 or the controller 103 does not belong to the structure of the PMU 102.
  • the switching power supply 104 can be a BUCK circuit (also called a step-down circuit), a BOOST circuit (also called a boost circuit), or a BUCK-BOOST circuit (also called a buck-boost circuit).
  • Figure 2 is a schematic diagram of the structure of the BUCK circuit.
  • the BUCK circuit includes a switch 201, a switch 202, an inductor 203, a capacitor 204, and a load L205.
  • the inductor 203 and the capacitor 204 form a low-pass filter.
  • the load L205 can be understood as the aforementioned load module 106.
  • the switch 201 and the switch 202 may be high-frequency switch tubes, and the switch 202 may also be a diode.
  • the switch 201 and the switch 202 are turned on and turned off in the opposite state. By turning on or turning off the switch 201, the magnitude and direction of the current in the inductor 203 are changed.
  • the switching power supply is a BUCK circuit
  • the voltage U L on the load L is less than the input voltage Vin of the switching power supply.
  • the switching power supply is a BOOST circuit
  • the voltage U L on the load L is greater than the input voltage Vin of the switching power supply.
  • the voltage input end of the switching power supply 104 is connected to the battery of the terminal.
  • Switching power supplies have different working modes, including CCM, DCM and boundary conduction mode (BCM). The following is a description of the different modes.
  • FIG. 3 is a schematic diagram of the waveform when the BUCK circuit works in CCM.
  • the curve 301 is a timing diagram of the turn-on and turn-off of the switch 201.
  • the curve 302 is a timing diagram of the turn-on and turn-off of the switch 202. It can be seen from FIG.
  • the curve 303 is the voltage U L on the load L.
  • the curve 304 is the current I L on the load L. Because the current of the inductor 203 will never return to zero during one switching period, the current I L will never return to zero, that is, A is not equal to zero.
  • the curve 305 is the current I S1 on the switch 201. When the switch 202 is closed, current still flows in the coil of the inductor 203. Therefore, when the switch 201 is turned on, the current I S1 is not zero.
  • FIG. 4 is a schematic diagram of the waveform when the BUCK circuit works in DCM.
  • the curve 401 is a timing diagram of the turn-on and turn-off of the switch 201.
  • the curve 402 is a timing diagram of the on and off of the switch 202. It can be seen from the figure that the on and off states of the switch 201 and the switch 202 are opposite.
  • the curve 403 is the voltage U L on the load L.
  • the curve 404 is the current I L on the load L.
  • the curve 405 is the current I S1 on the switch 201.
  • the current in the coil of the inductor 203 is zero. Therefore, when the switch 201 is on, the current I S1 is also zero. From the curve 403, it can be seen that the current of the inductor 203 drops to zero, causing the switch 202 to turn off. If this happens, the left end of the inductor 203 is open.
  • the voltage at the left end of the inductor 203 should return to 0, that is, the voltage of the voltage U L should return to 0, because the inductor 203 no longer has current and no oscillation occurs.
  • an oscillating circuit is formed.
  • Boundary or boundary conduction mode The controller monitors the current of the inductor 203, and once it detects that the current is equal to 0, the switch 201 is immediately closed. The controller always activates the switch 201 through the current "reset" signal of the inductor 203. If the inductor current is high and the cut-off slope is fairly flat, the switching period is extended. Therefore, the BCM variator is a variable frequency system.
  • the BCM converter may also be referred to as a critical conduction mode (CRM).
  • CCM is suitable for heavy load scenarios
  • DCM is suitable for light to medium load scenarios.
  • Different working modes are suitable for different working scenes, so in circuits that include different scenes at the same time, different modes need to be switched according to different scenes.
  • the mode switching is explained by taking the DCM switching CCM as an example.
  • the load module 106 is the chip 101
  • the chip 101 works at a certain frequency
  • the switching power supply 104 works at DCM. Due to the power change of the chip 101, for example, the CPU usage rate of the chip 101 changes from 2% to 90%, which will cause the current of the chip 101 to change, causing the voltage on the chip 101 to change from 1.0V to 0.97V.
  • the voltage change of the chip 101 can be measured, and the voltage change rate of 3% can be obtained.
  • the PMU 102 changes the output mode of the switching power supply 104 to the chip 101 by changing the state of the switching power supply 104, and switches from DCN to CCM. From the moment when the CPU usage rate of the chip 101 changes from 2% to 90%, to the moment when the PMU 102 switches to the CCM, there is a delay, that is, the dynamic response time.
  • the dynamic response time is an important indicator in the design of the power supply system. It represents the time required for the output voltage of the power supply to the load module to recover to the set range when the current of the load module changes suddenly.
  • the output voltage of the switching power supply 104 to the chip 101 will momentarily deviate from the target set value. If the voltage deviation is too large, or the deviation time is too long (that is, the dynamic response time is too long), it will cause the power supply of the power system to be abnormal. How to ensure that the current of the chip 101 jumps significantly, but the fluctuation of the output voltage of the chip 101 by the switching power supply 104 is within an acceptable range, which has become a difficult problem in the industry.
  • the deviation of the voltage can be reduced.
  • the CPU usage rate of the chip 101 changes from 2% to 90%, the output capacity of the switching power supply 104 is insufficient, the voltage drops instantly, the controller 103 has not received the feedback voltage of the comparator 105, and the output mode is not adjusted. At this time, a part of the energy on the capacitor 107 is released to supply the load increment of the chip 101 to maintain the voltage stability.
  • the capacitance energy formula It can be seen that increasing or increasing the capacitor can increase the energy of the capacitor, and can provide more energy to maintain the voltage stability at the moment of a voltage drop. Increasing the capacitance does not reduce the dynamic response time, but only compensates for the voltage drop through the energy on the capacitance, and brings corresponding defects, that is, more or larger capacitances increase the PCB board area and increase the cost.
  • this application provides a DVFS power supply system.
  • the chip determines that the output voltage to the load module needs to be adjusted according to the power change of the load module, it can determine whether to adjust the output mode of the switching power supply, thereby reducing or even eliminating the dynamic response time. For example, the chip needs to adjust the output voltage of the chip from 0.8V to 1.0V according to the change of the operating frequency. In the case of determining 1.0V, you can determine whether to adjust the output mode of the switching power supply.
  • the DVFS power supply system in this application has an obvious effect on reducing the dynamic response time.
  • the DVFS power supply system in this application will be described in detail below in conjunction with the accompanying drawings.
  • the load module is used as a chip
  • the switching power supply is a BUCK circuit
  • the switching power supply is switched from DCM to CCM as an example.
  • FIG. 5 is a schematic structural diagram of a DVFS power supply system in an embodiment of the application.
  • the DVFS power supply system includes a chip 501, a PMU, a capacitor 507, and a load module 508.
  • the PMU includes a controller 502 and a switching power supply.
  • the switching power supply includes a switch 503, a switch 504, an inductor 505, and a capacitor 506.
  • the PMU may further include a comparator 509.
  • the chip 501 is used to determine whether the operating frequency needs to be adjusted according to the computing capability. For example, the chip 501 is used to determine whether the operating frequency needs to be adjusted according to the current CPU usage rate. When the CPU usage rate is greater than the threshold, the current operating frequency 1 is increased, and the operating frequency 2 is obtained. Or the chip 501 is used to predict the amount of data to be run, and determine the corresponding operating frequency 2 according to the amount of data to be run. If the operating frequency 2 is different from the current operating frequency 1, it is determined to adjust the operating frequency of the chip 501.
  • the operating frequency 2 is the operating frequency to which the chip 501 will be adjusted, which can be different values, that is, the operating frequency of the chip 501 includes multiple gears, and the operating frequency of different gears can correspond to different output voltages of the switching power supply to the chip 501.
  • Table 1 is a mapping table of the operating frequency and voltage of the chip 501. If the operating frequency of the chip 501 needs to be adjusted from 2.0GHz to 2.2GHz, because the voltages corresponding to both 2.0GHz and 2.2GHz are 1.5V, the PMU does not need to adjust the output voltage of the switching power supply to the chip 501.
  • the PMU needs to adjust the output voltage of the switching power supply to the chip 501.
  • the chip 501 is used to send a voltage adjustment instruction to the controller 502, and the voltage adjustment instruction corresponds to the first voltage.
  • the voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage, such as 2.0V, or includes an identifier corresponding to the first voltage, and the content of the identifier may be agreed upon by the chip 501 and the controller 502 in advance.
  • the chip 501 is also used to generate a mode conversion command and send the mode conversion command to the controller 502.
  • the threshold voltage is 2.2V. If the operating frequency of the chip 501 needs to be adjusted from 2.2 GHz to 2.4 GHz. Because the voltage corresponding to 2.2GHz is 1.5V and the voltage corresponding to 2.4GHz is 2.0V, the PMU needs to adjust the output voltage of the switching power supply to the chip 501, that is, the first voltage corresponding to the voltage regulation command is 2.0V, 2.0V is less than 2.2V, The condition for the chip 501 to generate the mode switching instruction is not satisfied.
  • the PMU needs to adjust the output voltage of the switching power supply to the chip 501, that is, the first voltage corresponding to the voltage regulation command is 2.5V, and 2.5V is greater than 2.2V. The conditions for the chip 501 to generate the mode switching instruction are met.
  • the chip 501 can generate a mode switching command based on whether the first voltage corresponding to the voltage regulation command is greater than the threshold voltage. It can be deduced that the chip 501 can generate a mode switching instruction based on whether the operating frequency to be adjusted is greater than the threshold frequency. For example, set the threshold frequency to 2.5 Hz. If the operating frequency of the chip 501 needs to be adjusted from 2.2 GHz to 2.4 GHz, that is, the operating frequency that the chip 501 needs to adjust is 2.4 GHz, which is less than the threshold frequency of 2.5 Hz, which does not meet the conditions for the chip 501 to generate a mode switching instruction.
  • the operating frequency of the chip 501 needs to be adjusted from 2.4 GHz to 2.6 GHz, that is, the operating frequency of the chip 501 needs to be adjusted is 2.6 GHz, which is greater than the threshold frequency of 2.5 Hz, and meets the conditions for the chip 501 to generate a mode switching instruction.
  • the threshold voltage in the foregoing is 0.9V, which is a hypothetical value. In practical applications, the threshold voltage can be determined according to the following method.
  • the switching power supply can output voltage values of multiple gears to the chip 501.
  • the multiple voltage values include V 1 , V 2 , ..., Vn, and the multiple voltage values are arranged in ascending order, and n is an integer greater than 1.
  • the switching power supply can adjust the duration of D, that is, the on-time duration of the switch 503, so as to change the proportion of D in T, thereby adjusting the switching power supply 104 The output voltage.
  • DCM the switching power supply 104 runs in DCM, as shown in FIG.
  • the switching power supply 104 can adjust the duration of T, that is, one switching period of the switch 503, so that the proportion of D in T is changed, thereby adjusting the switching power supply 104 The output voltage.
  • the current of the chip 101 will change, that is, a voltage value corresponds to a current range, and multiple voltages The value corresponds to multiple current ranges.
  • the multiple current ranges include A 1 , A 2 ,..., An.
  • Table 2 is a mapping table of voltage range and current range.
  • V 1 1.0V A 1 :0.2A ⁇ 0.5A
  • V 2 1.5V
  • V 3 2.0V
  • V 4 2.5V
  • a 4 0.2A ⁇ 1.5A
  • the current of the chip 501 will be changed, which will cause the voltage of the chip 501 to jump.
  • the maximum voltage jump rate can be obtained.
  • the output voltage of the switching power supply is 1.0V
  • the CPU usage rate of chip 501 changes from 1% to 100%
  • the current of chip 501 changes from 0.2A to 0.5A
  • the voltage of chip 501 jumps from 1.0V to 0.99 V.
  • the respective maximum voltage jump rate is obtained, and the mapping relationship between the voltage range and the maximum voltage jump rate as shown in Table 3 is obtained.
  • V 1 Voltage gear Current range Voltage after jump Voltage jump rate
  • V 2 1.0V A 1 :0.2A ⁇ 0.5A 0.99V 1.0%
  • V 2 1.5V
  • a 2 0.2A ⁇ 0.8A 1.48V 1.3%
  • V 3 2.0V
  • a 3 0.2A ⁇ 1.2A 1.95V 2.5%
  • V 4 2.5V
  • a 4 0.2A ⁇ 1.5A 2.42V 3.2%
  • the first value is 2.0%.
  • the first value is a voltage jump rate threshold.
  • the voltage jump rate threshold is generally 2% to 3%. If the voltage jump rate in the chip 501 is greater than the voltage jump rate threshold, that is, the difference between the jumped voltage and the original voltage is too large, which will cause the system to be abnormal.
  • the voltage jump rates corresponding to the voltage levels V 1 and V 2 are less than the first value, and the voltage jump rates corresponding to the voltage levels V 3 and V 4 are greater than the first value.
  • the voltage range V 3 corresponds to the first voltage jump rate P1 being greater than the first value
  • the voltage range V 2 corresponds to the second voltage jump rate P2 to be smaller than the first value, so that the threshold voltage is determined to be V 3 2.0V .
  • the maximum voltage jump rate in each voltage range increases as the voltage range increases. Therefore, if the controller 502 obtains the maximum voltage jump rate in different gears, there is no need to obtain the maximum voltage jump rate in all gears.
  • the switching power supply can output 4 levels of voltage. After the controller 502 obtains the voltage jump rates corresponding to the voltage levels V 2 and V 3 , it can determine that the threshold voltage is V 3 2.0V, that is, the controller 502 does not need to obtain the voltage jump rates corresponding to V 1 and V 4, Thereby saving processing resources.
  • the controller 502 tries to obtain the maximum voltage jump rate 1 corresponding to the voltage level 1.
  • the voltage gear 1 is the middle voltage gear among all the voltage gears, such as the voltage gear V 3 in Table 3. If the maximum voltage jump rate 1 corresponding to the voltage gear 1 is greater than the first value, the controller 502 obtains the maximum voltage jump rate 2 corresponding to the voltage gear 2.
  • the voltage gear 2 is a voltage gear that is one gear lower than the voltage gear 1. If the maximum voltage jump rate 1 corresponding to the voltage gear 1 is less than the first value, the voltage gear 2 is a voltage gear that is one gear larger than the voltage gear 1.
  • FIG. 6 is a schematic diagram of the curve change of the conversion from DCM to CCM.
  • the curve 601 is the voltage U L on the load module under DCM
  • the curve 602 is the current I L on the load module under DCM
  • Curve 603 is the voltage U L on the load module under CCM
  • curve 604 is the current I L on the load module under CCM.
  • the controller 502 can change the output voltage of the switching power supply to the load module and change the output current of the switching power supply to the load module. Therefore, the switching power supply can have a range for the output current of the load module. The following is a description of how the controller 502 changes the output voltage of the switching power supply to the load module.
  • FIG. 7 is a schematic diagram of the curve change of the voltage regulation under the CCM.
  • the curve 701 is the voltage U L on the load module before the voltage regulation
  • the curve 702 is the current I L on the load module before the voltage regulation.
  • the curve 703 is the voltage U L on the load module after voltage regulation
  • the curve 704 is the current I L on the load module after voltage regulation.
  • the duration of one switching cycle of the switch 503 is T.
  • the on-time duration of the switch 503 is D1, and the off-time duration is T-D1.
  • the on-duration of the switch 503 becomes D2, and the off-duration of the switch 503 becomes T-D2.
  • D1 and D2 are different, the output voltage of the switching power supply is different. Because the output voltage of the switching power supply to the load module is different, the current of the load module is also different when the blocking of the load module is unchanged, that is, the value of C in the curve 702 and the value of D in the curve 704 are different.
  • Voltage regulation and regulation mode can be executed at the same time or separately. When executed separately, you can execute the adjustment mode first, and then execute the adjustment mode, or you can execute the adjustment mode first, and then the adjustment mode. Because both the voltage regulation and the regulation mode change the state of the switching power supply, that is, the states of the switch 503 and the switch 504, the voltage regulation and the regulation mode can be performed at the same time. When the voltage regulation and the regulation mode are executed at the same time, as shown in Fig. 8, Fig. 8 is a schematic diagram of the curve change of the simultaneous voltage regulation and the regulation mode. D2 in FIG. 8 is different from D1 in FIG. 6. The graph of FIG. 8 can be understood as the result of adding the graph of FIG. 6 and the graph of FIG. 7.
  • the comparator 509 is used to determine whether the voltage of the chip 501 reaches the first voltage. If so, the comparator 509 is also used to send the first information to the controller 502.
  • the first information may include a voltage value or the result of a comparison between a voltage value and the first voltage.
  • the controller 502 is also used to receive first information. After receiving the first information, the controller 502 is specifically configured to, after receiving the first information, if the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the controller 502 is configured to change the state of the switching power supply so that the switch The power is converted from DCM to CCM.
  • the controller 502 when the controller 502 changes the state of the switching power supply, it takes a period of time for the voltage of the chip 501 to rise to the first voltage. During this period of time, the chip 501 can wait for the controller 502 to complete the voltage regulation without changing the operating frequency. Because the current under CCM is greater than the current under DCM, that is, the power consumption is greater. Therefore, by performing the mode conversion only after the voltage of the chip 501 reaches the first voltage, power can be saved.
  • the controller 502 is also used to determine whether the first voltage corresponding to the voltage adjustment instruction is greater than the threshold voltage according to the voltage adjustment instruction . If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the controller 502 is used to change the state of the switching power supply, so that the switching power supply is converted from DCM to CCM. Among them, the threshold voltage generally needs to be obtained by the controller 502. The controller 502 is used to compare the threshold voltage and the first voltage. The controller 502 does not need to send the threshold voltage to the chip 501 in advance, reducing the difference between the controller 502 and the chip 501 Information exchange between.
  • Figure 9 is a schematic diagram of the power consumption of the terminal under different currents. It can be seen from Figure 9 that more than 90% of the power consumption of the terminal is concentrated in the medium and light load (current less than 2.0A).
  • the medium and light load the sudden change of the load voltage will not be large, and a smaller capacitor can be used to maintain the voltage stability of the load module.
  • the sudden change of the load voltage is relatively large, and a larger capacitor is required to maintain the voltage stability of the load module.
  • the state of the switching power supply is changed so that the switching power supply is converted from DCM to CCM.
  • the controller 502 does not change the mode of the switching power supply according to the voltage change rate of the chip 501.
  • the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, it is considered that the chip 501 is under heavy load. Therefore, under heavy load conditions, there is no need to use a capacitor to maintain the voltage of the chip 501 stable, and the purpose of simplifying the capacitor is achieved. With reference to FIG. 5, it can be understood that the volume or number of the capacitor 507 is reduced.
  • the controller 502 does not change the mode of the switching power supply according to the voltage change rate of the chip 501. If the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the controller 502 is used to determine whether the third voltage change rate is greater than the second value, and the third voltage change rate Wherein, V a is the first voltage, V b is the second voltage, the second voltage is obtained from the comparator 509. The chip 501. If the third voltage change rate is greater than the second value, the controller 502 is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode.
  • the controller in the case that the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the controller can switch the mode according to the voltage change rate, because in the case of medium and light load, the sudden change of the load voltage will not be large, and the smaller value can be used.
  • the capacitor is used to maintain the voltage stability of the load module.
  • the first voltage corresponding to the voltage regulation command is less than the threshold voltage, it is considered that the load module is under medium and light load. In this way, some smaller capacitors can be reserved to meet the flexible mode conversion requirements of the load module under medium and light loads.
  • the DVFS power supply system in the embodiment of the present application is described above, and the DVFS power control method in the embodiment of the present application is described below.
  • FIG. 10 is a schematic flowchart of a DVFS power control method in an embodiment of the application.
  • step 1001 the PMU receives the voltage regulation command sent by the chip, and the voltage regulation command corresponds to the first voltage.
  • the voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage or includes an identifier corresponding to the first voltage.
  • step 1002 if the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changes the state of the switching power supply, so that the switching power supply is converted from the first mode to the second mode, so that the change of the switching power supply can affect the load.
  • the load module may be a chip, or some functional modules in the chip, such as CPU, GPU, or other loads that do not belong to the chip. Specifically, the PMU controls the on and off of certain electronic components in the switching power supply to change the state of the switching power supply.
  • the PMU When the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changes its output mode to the load module. There is no need to wait for the voltage feedback from the comparator to the load module, so the dynamic response time can be reduced.
  • the first mode is DCM
  • the second mode is CCM. If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the PMU changes the state of the switching power supply, so that the switching power supply is converted from DCM to CCM.
  • the switching power supply can output multiple voltage values to the load module, the multiple voltage values include V 1 , V 2 , ..., Vn, the multiple voltage values are arranged in ascending order, and n is an integer greater than 1.
  • multiple voltage values correspond to multiple current ranges.
  • the multiple current ranges include A 1 , A 2 ,..., An.
  • the threshold voltage is equal to Vx corresponding to Ax, and x is an integer greater than or equal to 1 and less than or equal to n.
  • the current range of Ax is from H milliampere to J milliampere.
  • the power change of the load module causes the output current to the load module to change from H mA to J mA, which causes the output voltage of the switching power supply to the load module to change to Vc.
  • H can be greater than J or less than J, that is, when the power of the load module increases, the low current of the load module jumps to a high current, and when the power of the load module decreases, the high current of the load module jumps to a low current.
  • the first voltage change rate is greater than or equal to the first value.
  • the power change of the load module causes the output current to the load module to change from K mA to L mA, resulting in the output of the switching power supply to the load module
  • the voltage change is V c-1 .
  • V x-1 and the corresponding A x-1, A x- 1 mA current range of K to L mA, the second voltage change is less than the first value.
  • the PMU is used to determine whether the third voltage change rate is greater than the second value.
  • the third rate of voltage change Wherein, V a is the first voltage, V b is the second voltage, the second voltage is obtained from the load according to the comparator module. If the third voltage change rate is greater than the second value, the PMU is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode.
  • the PMU changes the state of the switching power supply according to the voltage regulation instruction, so that the output voltage of the switching power supply to the load module reaches the first voltage.
  • the PMU receives the first information sent by the comparator, where the first information is obtained by the comparator determining that the voltage of the load module reaches the first voltage. After the PMU receives the first information, if the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the state of the switching power supply is changed, so that the switching power supply is converted from the first mode to the second mode.
  • the PMU receives a mode conversion instruction, and the mode conversion instruction is obtained by the chip according to the first voltage corresponding to the voltage regulation instruction being greater than or less than the threshold voltage.
  • the PMU After receiving the mode switching command, the PMU changes the state of the switching power supply according to the mode switching command, so that the switching power supply is switched from the first mode to the second mode.
  • the DVFS power control method in the embodiment of the present application is described above, and the terminal in the embodiment of the present application is described below.
  • FIG. 11 is a schematic structural diagram of a terminal in an embodiment of the application.
  • the terminal 1100 includes a chip 1110, a PMU 1130, a battery 1140, and a transceiver 1120 coupled to the chip 1110.
  • the chip 1110 may be a CPU, a network processor (network processor, NP), or a combination of a CPU and NP.
  • the processor may also be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
  • the chip 1110 may refer to one processor, or may include multiple processors.
  • the transceiver 1120 is used to communicate with other terminals or base stations and other equipment.
  • the battery 1140 is used to power the PMU 1130.
  • the chip 1110 is used to determine whether the voltage needs to be adjusted according to the operating frequency, and if necessary, send a voltage adjustment instruction to the PMU 1130.
  • the PMU1130 is used to receive the voltage regulation command sent by the chip 1110, and the voltage regulation command corresponds to the first voltage.
  • the voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage or includes an identifier corresponding to the first voltage. If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU1130 is used to change the state of the switching power supply in the PMU1130, so that the switching power supply is converted from the first mode to the second mode, so that changing the switching power supply can affect the load module The range of output current.
  • the load module may be the chip 1110, or some functional modules in the chip 1110, such as CPU, GPU, or other loads that do not belong to the chip 1110. Specifically, 1130 is used to control the on and off of certain electronic components in the switching power supply to change the state of the switching power supply.
  • the terminal 1100 further includes a memory
  • the memory may include a volatile memory (volatile memory), such as a random-access memory (RAM);
  • the memory may also include a non-volatile memory (non-volatile memory) , Such as read-only memory (ROM), flash memory (flash memory), hard disk drive (HDD) or solid-state drive (SSD); memory can also include the above types of memory The combination.
  • volatile memory volatile memory
  • RAM random-access memory
  • non-volatile memory non-volatile memory
  • ROM read-only memory
  • flash memory flash memory
  • HDD hard disk drive
  • SSD solid-state drive
  • the PMU 1130 or the chip 1110 executes the computer-readable instructions in the memory, it can perform all operations that the PMU 1130 or the chip 1110 can perform according to the instructions of the computer-readable instructions. Actions performed in.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical discs and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Dc-Dc Converters (AREA)

Abstract

Disclosed is a DVFS power supply system, which can be applied to the field of integrated circuit control. The system comprises a chip, a PMU, and a load module, wherein the PMU comprises a controller and a switching power supply; the chip is used for sending a voltage adjustment instruction to the controller, and the voltage adjustment instruction corresponds to a first voltage; if the first voltage to which the voltage adjustment instruction corresponds is greater or less than a threshold voltage, the controller is used for changing the state of the switching power supply, so that the switching power supply is switched from a first mode to a second mode, and thus the range of an output current that can be outputted by the switching power supply to the load module is changed. According to the present application, there is no need to wait for voltage feedback from a comparator to the load module, and thus dynamic response time can be reduced.

Description

DVFS电源系统和DVFS电源控制方法DVFS power supply system and DVFS power control method
本申请要求于2020年06月12日提交中国专利局、申请号为202010536916.4、发明名称为“DVFS电源系统和DVFS电源控制方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 12, 2020, the application number is 202010536916.4, and the invention title is "DVFS power supply system and DVFS power control method", the entire content of which is incorporated into this application by reference middle.
技术领域Technical field
本申请涉及集成电路控制领域,尤其涉及动态电压频率调整(dynamic voltage and frequency scaling,DVFS)电源系统和DVFS电源控制方法。This application relates to the field of integrated circuit control, and in particular to a dynamic voltage and frequency scaling (DVFS) power supply system and a DVFS power supply control method.
背景技术Background technique
对于同一芯片,运行的频率越高,需要的电压也越高。DVFS是根据芯片所运行的应用程序对计算能力的不同需要,动态调节芯片的运行频率和电压,从而达到节能的目的。For the same chip, the higher the operating frequency, the higher the voltage required. DVFS dynamically adjusts the operating frequency and voltage of the chip according to the different needs of the computing power of the applications running on the chip, so as to achieve the purpose of energy saving.
在采用DVFS的电源系统中,芯片的频率与电压对应。在芯片运行在某个频率上时,由于芯片的功率变化,会导致芯片的电流发生变化,导致芯片上的电压发生跳变。通过电源管理单元(power management unit,PMU)中的比较器,可以测量芯片的电压变化,获取电压变化率。当电压变化率达到一定数值时,PMU会改变对芯片的输出模式,以使得跳变的电压回到原先的电压。例如,芯片从轻载进入重载,PMU需要从非连续模式(discontinuous conduction mode,DCM)切换到连续模式(continuous conduction mode,CCM)。从芯片进入重载的时刻,到PMU切换到CCM的时刻存在延时,即动态响应时间。In a power supply system using DVFS, the frequency of the chip corresponds to the voltage. When the chip is running at a certain frequency, due to the power change of the chip, the current of the chip will change, causing the voltage on the chip to jump. Through the comparator in the power management unit (PMU), the voltage change of the chip can be measured to obtain the voltage change rate. When the voltage change rate reaches a certain value, the PMU will change the output mode to the chip so that the jumped voltage returns to the original voltage. For example, when the chip changes from light load to heavy load, the PMU needs to switch from discontinuous conduction mode (DCM) to continuous conduction mode (CCM). There is a delay from the moment the chip enters the heavy load to the moment when the PMU switches to the CCM, that is, the dynamic response time.
在动态响应时间内,如果跳变后的电压与原先的电压偏离过大,或者动态响应时间过长,将导致电源系统供电异常。因此,如何降低动态响应时间,成为业内一个比较棘手的问题。During the dynamic response time, if the voltage after the jump deviates too much from the original voltage, or the dynamic response time is too long, it will cause the power supply of the power system to be abnormal. Therefore, how to reduce the dynamic response time has become a more difficult problem in the industry.
发明内容Summary of the invention
本申请提供了一种DVFS电源系统和DVFS电源控制方法,可以降低动态响应时间。This application provides a DVFS power supply system and a DVFS power supply control method, which can reduce the dynamic response time.
本申请第一方面提供了一种DVFS电源系统。The first aspect of this application provides a DVFS power supply system.
DVFS电源系统包括:芯片,PMU和负载模块。负载模块可以是芯片,或者是芯片中的部分功能模块,例如中央处理器(central processing unit,CPU),图形处理器(graphics processing unit,GPU),也可以是其它不属于芯片的负载。PMU包括控制器和开关电源。开关电源可以是BUCK电路,BOOST电路,BUCK-BOOST电路。芯片根据对计算能力的需求,确定是否需要调整电压。若需要调整电压,则芯片用于向控制器发送调压指令,调压指令与第一电压对应。调压指令与第一电压对应是指调压指令包括第一电压,或包括与第一电压相对应的标识。若调压指令对应的第一电压大于或小于阈值电压,则控制器用于改变开关电源的状态,以使得开关电源从第一模式转换成第二模式,以使得改变开关电源可对负载模块的输出电流的范围。具体的,控制器用于控制开关电源中某些电子元件的导通与关断,来改变开关电源的状态。DVFS power system includes: chip, PMU and load module. The load module may be a chip, or some functional modules in the chip, such as a central processing unit (CPU), a graphics processing unit (GPU), or other loads that do not belong to the chip. The PMU includes a controller and a switching power supply. The switching power supply can be a BUCK circuit, a BOOST circuit, or a BUCK-BOOST circuit. The chip determines whether the voltage needs to be adjusted according to the demand for computing power. If the voltage needs to be adjusted, the chip is used to send a voltage adjustment instruction to the controller, and the voltage adjustment instruction corresponds to the first voltage. The voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage or includes an identifier corresponding to the first voltage. If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the controller is used to change the state of the switching power supply, so that the switching power supply is converted from the first mode to the second mode, so that the output of the switching power supply to the load module can be changed. The range of current. Specifically, the controller is used to control the on and off of certain electronic components in the switching power supply to change the state of the switching power supply.
在调压指令对应的第一电压大于或小于阈值电压的情况下,控制器改变对负载模块的输出模式。无需等待比较器对负载模块的电压反馈,因此可以降低动态响应时间。When the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the controller changes the output mode to the load module. There is no need to wait for the voltage feedback from the comparator to the load module, so the dynamic response time can be reduced.
基于本申请第一方面,在本申请第一方面的第一种实施方式中,第一模式为DCM,第二模式为CCM。PMU在CCM下对负载模块的输出电流大于在DCM下对负载模块的输出电流。控制器具体用于若调压指令对应的第一电压大于阈值电压,则改变开关电源的状态,以使得开关电源从DCM转换成CCM。其中,负载模块进入重载后,PMU对负载模块的输出电压会发生跌落现象。若跌落后的输出电压不能满足要求,则负载模块可能会发生复位重启现象,降低用户体验。芯片发送的调压指令在负载模块进入重载之前。因此,通过调压指令对应的第一电压大于阈值电压来使得DCM转换成CCM,可以减少负载模块发生复位重启现象,提升用户体验。Based on the first aspect of the present application, in the first implementation manner of the first aspect of the present application, the first mode is DCM, and the second mode is CCM. The output current of the PMU to the load module under CCM is greater than the output current to the load module under DCM. The controller is specifically configured to change the state of the switching power supply if the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, so that the switching power supply is converted from DCM to CCM. Among them, after the load module enters a heavy load, the output voltage of the PMU to the load module will drop. If the output voltage after the drop cannot meet the requirements, the load module may reset and restart, which will reduce user experience. The voltage regulation command sent by the chip is before the load module enters the heavy load. Therefore, by converting the DCM into CCM by the first voltage corresponding to the voltage regulation command being greater than the threshold voltage, the reset and restart phenomenon of the load module can be reduced, and the user experience can be improved.
基于本申请第一方面,或第一方面的第一种实施方式,在本申请第一方面的第二种实施方式中,开关电源可以对负载模块输出多个档位的电压值,多个电压值包括V 1,V 2,……,Vn,多个电压值按从小到大排列,n为大于1的整数。在某个电压档位时,根据负载模块的功率变化,负载模块的电流会发生变化,即一个电压值对应一个电流范围,多个电压值对应多个电流范围。多个电流范围包括A 1,A 2,……,An。其中,阈值电压等于电流范围Ax对应的电压Vx,x为大于或等于1,小于或等于n的整数。电流范围Ax的电流范围为H毫安至J毫安,当开关电源对负载模块的输出电压为Vx时,负载模块的功率变化导致开关电源对负载模块的输出电流从H毫安变化到J毫安,导致开关电源对负载模块的输出电压变化为Vc。H可以大于J,也可以小于J,即当负载模块的功率增加时,负载模块的小电流跳变到大电流,当负载模块的功率减小时,负载模块的大电流跳变到小电流。 Based on the first aspect of the present application, or the first implementation manner of the first aspect, in the second implementation manner of the first aspect of the present application, the switching power supply can output voltage values of multiple gears to the load module, and multiple voltages The values include V 1 , V 2 , ..., Vn, and multiple voltage values are arranged in ascending order, and n is an integer greater than 1. In a certain voltage gear, according to the power change of the load module, the current of the load module will change, that is, one voltage value corresponds to one current range, and multiple voltage values correspond to multiple current ranges. The multiple current ranges include A 1 , A 2 ,..., An. Wherein, the threshold voltage is equal to the voltage Vx corresponding to the current range Ax, and x is an integer greater than or equal to 1 and less than or equal to n. The current range of Ax is from H mA to J mA. When the output voltage of the switching power supply to the load module is Vx, the power change of the load module causes the output current of the switching power supply to the load module to change from H mA to J mA The output voltage of the switching power supply to the load module changes to Vc. H can be greater than J or less than J, that is, when the power of the load module increases, the low current of the load module jumps to a high current, and when the power of the load module decreases, the high current of the load module jumps to a low current.
第一电压变化率大于或等于第一数值,其中,第一电压变化率
Figure PCTCN2021098069-appb-000001
当开关电源对负载模块的输出电压为V x-1时,负载模块的功率变化导致对负载模块的输出电流从K毫安变化到L毫安,导致开关电源对负载模块的输出电压变化为V c-1,电压V x-1与电流范围A x-1对应,电流范围A x-1的电流范围为K毫安至L毫安,第二电压变化率小于所述第一数值。其中,所述第二电压变化率
Figure PCTCN2021098069-appb-000002
The first voltage change rate is greater than or equal to the first value, where the first voltage change rate
Figure PCTCN2021098069-appb-000001
When the output voltage of the switching power supply to the load module is V x-1 , the power change of the load module causes the output current to the load module to change from K mA to L mA, which causes the output voltage of the switching power supply to the load module to change to V c-1 , the voltage V x-1 corresponds to the current range A x-1 , the current range of the current range A x-1 is K milliamps to L milliamps, and the second voltage change rate is less than the first value. Wherein, the second voltage change rate
Figure PCTCN2021098069-appb-000002
为了改善动态响应时间,可以增加负载模块的电容。当轻载进入重载时,电压瞬间跌落,开关电源对负载模块的输出电压不足,此时负载模块上的电容的能量
Figure PCTCN2021098069-appb-000003
就释放一部分来供给负载模块,维持负载模块的电压稳定。经过对终端模型的研究发现,终端日常使用的90%以上的功耗集中在中轻载。中轻载情况下,负载电压的突变不会很大,可以用较小的电容来维持负载模块的电压稳定。重载情况下,负载电压的突变比较大,需要用较大的电容来维持负载模块的电压稳定。本申请中,先判断在哪些电压下会出现瞬态大电压变化,即第一电压变化率P1大于或等于第一数值。并以这些电压中的最小电压作为阈值,即第二电压变化率小于第一数值,阈值电压等于电压Vx。当调压指令对应的第一电压大于或等于阈值电压时,改变开关电源的状态,以使得开关电源从第一模式转换成第二模式。且在调压指令对应的第一电压大于阈值电压的情况下,控制器不根据跳变后的电压与原先的电压的偏离程度改变开关电源的模式。当调压指令对应的第一电压大于阈值电压时,认为负载模块处于重载下。从而在重载情况下,无需使用电容维持负载模块的电压稳定,达到精简负电容的目的。
In order to improve the dynamic response time, the capacitance of the load module can be increased. When the light load enters the heavy load, the voltage drops instantly, and the output voltage of the switching power supply to the load module is insufficient. At this time, the energy of the capacitor on the load module
Figure PCTCN2021098069-appb-000003
It releases a part to supply the load module to maintain the voltage of the load module stable. After researching the terminal model, it is found that more than 90% of the power consumption of the terminal's daily use is concentrated in light and medium loads. In the case of medium and light load, the sudden change of the load voltage will not be large, and a smaller capacitor can be used to maintain the voltage stability of the load module. In the case of heavy load, the sudden change of the load voltage is relatively large, and a larger capacitor is required to maintain the voltage stability of the load module. In this application, it is first judged under which voltages will transient large voltage changes occur, that is, the first voltage change rate P1 is greater than or equal to the first value. The minimum voltage among these voltages is used as the threshold, that is, the second voltage change rate is less than the first value, and the threshold voltage is equal to the voltage Vx. When the first voltage corresponding to the voltage regulation command is greater than or equal to the threshold voltage, the state of the switching power supply is changed, so that the switching power supply is converted from the first mode to the second mode. And when the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the controller does not change the mode of the switching power supply according to the degree of deviation between the jumped voltage and the original voltage. When the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, it is considered that the load module is under heavy load. Therefore, in the case of heavy load, there is no need to use a capacitor to maintain the voltage stability of the load module, and the purpose of simplifying the negative capacitor is achieved.
基于本申请第一方面,或第一方面的第一种实施方式至第二种实施方式中的任意一种实施方式,在本申请第一方面的第三种实施方式中,系统还包括比较器。若调压指令对应的第一电压小于阈值电压,则控制器用于确定第三电压变化率是否大于第二数值,第三电压变化率
Figure PCTCN2021098069-appb-000004
其中,V a为第一电压,V b为第二电压,第二电压根据比较器从负载模块得到。若第三电压变化率大于第二数值,则控制器还用于改变开关电源的状态,以使得开关电源从第二模式转换成第一模式。其中,在调压指令对应的第一电压小于阈值电压的情况下,控制器可以根据电压变化率做模式切换,因为在中轻载情况下,负载电压的突变不会很大,可以用较小的电容来维持负载模块的电压稳定。当调压指令对应的第一电压小于阈值电压时,认为负载模块处于中轻载下。从而可以保留部分较小的电容,在中轻载下,满足对负载模块的灵活的模式转换需求。
Based on the first aspect of the present application, or any one of the first implementation to the second implementation of the first aspect, in the third implementation of the first aspect of the present application, the system further includes a comparator . If the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the controller is used to determine whether the third voltage change rate is greater than the second value, and the third voltage change rate
Figure PCTCN2021098069-appb-000004
Wherein, V a is the first voltage, V b is the second voltage, the second voltage is obtained from the load according to the comparator module. If the third voltage change rate is greater than the second value, the controller is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode. Among them, in the case that the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the controller can switch the mode according to the voltage change rate, because in the case of medium and light load, the sudden change of the load voltage will not be large, and the smaller value can be used. The capacitor is used to maintain the voltage stability of the load module. When the first voltage corresponding to the voltage regulation command is less than the threshold voltage, it is considered that the load module is under medium and light load. In this way, some smaller capacitors can be reserved to meet the flexible mode conversion requirements of the load module under medium and light loads.
基于本申请第一方面,或第一方面的第一种实施方式至第三种实施方式中的任意一种实施方式,在本申请第一方面的第四种实施方式中,系统还包括比较器。控制器还用于改变开关电源的状态,以使得开关电源对负载模块的输出电压达到第一电压。比较器用于确定负载模块的电压是否达到第一电压。若是,比较器还用于向控制器发送第一信息。第一信息可以包括一个电压值,或者包括一个电压值和第一电压对比的结果。控制器还用于接收第一信息。在接收到第一信息后,控制器具体用于在控制器接收到第一信息后,若调压指令对应的第一电压大于或小于阈值电压,则控制器用于改变开关电源的状态,以使得开关电源从第一模式转换成第二模式。其中,在控制器改变开关电源的状态,到负载模块的电压升或降到第一电压需要一段时间,在这段时间内,芯片可以等待控制器调压完成,不会进行运行频率的改变。因为在CCM下的电流大于DCM下的电流,即电量消耗更大。因此,通过在负载模块的电压到达第一电压后,才进行模式转换,在DCM转CCM的情况下,可以节省电量。Based on the first aspect of the present application, or any one of the first implementation to the third implementation of the first aspect, in the fourth implementation of the first aspect of the present application, the system further includes a comparator . The controller is also used to change the state of the switching power supply so that the output voltage of the switching power supply to the load module reaches the first voltage. The comparator is used to determine whether the voltage of the load module reaches the first voltage. If yes, the comparator is also used to send the first information to the controller. The first information may include a voltage value or the result of a comparison between a voltage value and the first voltage. The controller is also used to receive the first information. After receiving the first information, the controller is specifically configured to change the state of the switching power supply if the first voltage corresponding to the voltage regulation instruction is greater than or less than the threshold voltage after the controller receives the first information The switching power supply is converted from the first mode to the second mode. Among them, when the controller changes the state of the switching power supply, it takes a period of time until the voltage of the load module rises or drops to the first voltage. During this time, the chip can wait for the controller to complete the voltage regulation without changing the operating frequency. Because the current under CCM is greater than the current under DCM, that is, the power consumption is greater. Therefore, by performing the mode conversion only after the voltage of the load module reaches the first voltage, in the case of DCM to CCM, power can be saved.
基于本申请第一方面,或第一方面的第一种实施方式至第三种实施方式中的任意一种实施方式,在本申请第一方面的第四种实施方式中,芯片还用于确定调压指令对应的第一电压是否大于或小于阈值电压。若是,则芯片还用于向控制器发送模式转换指令。控制器具体用于根据模式转换指令,改变开关电源的状态,以使得开关电源从第一模式转换成第二模式。其中,在芯片中完成第一电压和阈值电压的对比,可以无需增加其它的电子器件或电路,节约成本。Based on the first aspect of the present application, or any one of the first to third implementations of the first aspect, in the fourth implementation of the first aspect of the present application, the chip is also used to determine Whether the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage. If it is, the chip is also used to send a mode switch instruction to the controller. The controller is specifically configured to change the state of the switching power supply according to the mode conversion instruction, so that the switching power supply is converted from the first mode to the second mode. Among them, the comparison between the first voltage and the threshold voltage is completed in the chip, without adding other electronic devices or circuits, saving costs.
本申请第二方面提供了一种DVFS电源控制方法。The second aspect of the present application provides a DVFS power control method.
PMU接收芯片发送的调压指令,调压指令与第一电压对应。调压指令与第一电压对应是指调压指令包括第一电压,或包括与第一电压相对应的标识。The PMU receives the voltage regulation command sent by the chip, and the voltage regulation command corresponds to the first voltage. The voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage or includes an identifier corresponding to the first voltage.
若调压指令对应的第一电压大于或小于阈值电压,则PMU改变开关电源的状态,以使得开关电源从第一模式转换成第二模式,以使得改变开关电源可对负载模块的输出电流的范围。负载模块可以是芯片,或者是芯片中的部分功能模块,例如CPU,GPU,也可以是其它不属于芯片的负载。具体的,PMU控制开关电源中某些电子元件的导通与关断,来改变开关电源的状态。If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changes the state of the switching power supply, so that the switching power supply is converted from the first mode to the second mode, so that the change of the switching power supply can affect the output current of the load module. Scope. The load module may be a chip, or some functional modules in the chip, such as CPU, GPU, or other loads that do not belong to the chip. Specifically, the PMU controls the on and off of certain electronic components in the switching power supply to change the state of the switching power supply.
在调压指令对应的第一电压大于或小于阈值电压的情况下,PMU改变对负载模块的输出模式。无需等待比较器对负载模块的电压反馈,因此可以降低动态响应时间。When the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changes its output mode to the load module. There is no need to wait for the voltage feedback from the comparator to the load module, so the dynamic response time can be reduced.
基于本申请第二方面,在本申请第二方面的第一种实施方式中,第一模式为DCM,第二模式为CCM。若调压指令对应的第一电压大于阈值电压,则PMU改变开关电源的状态,以使得开关电源从DCM转换成CCM。Based on the second aspect of the present application, in the first implementation manner of the second aspect of the present application, the first mode is DCM, and the second mode is CCM. If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the PMU changes the state of the switching power supply, so that the switching power supply is converted from DCM to CCM.
基于本申请第二方面,或第二方面的第一种实施方式,在第二方面的第二种实施方式中,开关电源可对负载模块输出多个电压值,多个电压值包括V 1,V 2,……,Vn,多个电压值按从小到大排列,n为大于1的整数。根据负载模块的功率变化,多个电压值对应多个电流范围。多个电流范围包括A 1,A 2,……,An。其中,阈值电压等于Ax对应的Vx,x为大于或等于1,小于或等于n的整数。Ax的电流范围为H毫安至J毫安。当开关电源对负载模块的输出电压为Vx时,负载模块的功率变化导致对负载模块的输出电流从H毫安变化到J毫安,导致开关电源对负载模块的输出电压变化为Vc。H可以大于J,也可以小于J,即当负载模块的功率增加时,负载模块的小电流跳变到大电流,当负载模块的功率减小时,负载模块的大电流跳变到小电流。第一电压变化率大于或等于第一数值。其中,
Figure PCTCN2021098069-appb-000005
当开关电源对负载模块的输出电压为V x-1时,负载模块的功率变化导致对负载模块的输出电流从K毫安变化到L毫安,导致所述开关电源对所述负载模块的输出电压变化为V c-1。V x-1与A x-1对应,A x-1的电流范围为K毫安至L毫安,第二电压变化率小于第一数值。其中,
Figure PCTCN2021098069-appb-000006
Based on the second aspect of the present application, or the first implementation manner of the second aspect, in the second implementation manner of the second aspect, the switching power supply can output multiple voltage values to the load module, and the multiple voltage values include V 1 , V 2 ,..., Vn, multiple voltage values are arranged in ascending order, and n is an integer greater than 1. According to the power change of the load module, multiple voltage values correspond to multiple current ranges. The multiple current ranges include A 1 , A 2 ,..., An. Wherein, the threshold voltage is equal to Vx corresponding to Ax, and x is an integer greater than or equal to 1 and less than or equal to n. The current range of Ax is from H milliampere to J milliampere. When the output voltage of the switching power supply to the load module is Vx, the power change of the load module causes the output current to the load module to change from H mA to J mA, which causes the output voltage of the switching power supply to the load module to change to Vc. H can be greater than J or less than J, that is, when the power of the load module increases, the low current of the load module jumps to a high current, and when the power of the load module decreases, the high current of the load module jumps to a low current. The first voltage change rate is greater than or equal to the first value. in,
Figure PCTCN2021098069-appb-000005
When the output voltage of the switching power supply to the load module is V x-1 , the power change of the load module causes the output current to the load module to change from K mA to L mA, resulting in the output of the switching power supply to the load module The voltage change is V c-1 . V x-1 and the corresponding A x-1, A x- 1 mA current range of K to L mA, the second voltage change is less than the first value. in,
Figure PCTCN2021098069-appb-000006
基于本申请第二方面,或第二方面的第一种实施方式至第二种实施方式中的任意一种实施方式,在本申请第二方面的第三种实施方式中,若调压指令对应的第一电压小于阈值电压,则PMU用于确定第三电压变化率是否大于第二数值。第三电压变化率
Figure PCTCN2021098069-appb-000007
其中,V a为第一电压,V b为第二电压,第二电压根据比较器从负载模块得到。若第三电压变化率大于第二数值,则PMU还用于改变开关电源的状态,以使得开关电源从第二模式转换成第一模式。
Based on the second aspect of the present application, or any one of the first implementation to the second implementation of the second aspect, in the third implementation of the second aspect of the present application, if the voltage regulation command corresponds to If the first voltage is less than the threshold voltage, the PMU is used to determine whether the third voltage change rate is greater than the second value. The third rate of voltage change
Figure PCTCN2021098069-appb-000007
Wherein, V a is the first voltage, V b is the second voltage, the second voltage is obtained from the load according to the comparator module. If the third voltage change rate is greater than the second value, the PMU is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode.
基于本申请第二方面,或第二方面的第一种实施方式至第三种实施方式中的任意一种实施方式,在本申请第二方面的第四种实施方式中,PMU根据调压指令改变开关电源的状态,以使得开关电源对负载模块的输出电压达到第一电压。PMU接收比较器发送的第一信息,第一信息为比较器确定负载模块的电压达到第一电压得到的。PMU在接收到第一信息后,若调压指令对应的第一电压大于或小于阈值电压,则改变开关电源的状态,以使得开关电源从第一模式转换成第二模式。Based on the second aspect of the present application, or any one of the first implementation to the third implementation of the second aspect, in the fourth implementation of the second aspect of the present application, the PMU according to the voltage regulation command The state of the switching power supply is changed so that the output voltage of the switching power supply to the load module reaches the first voltage. The PMU receives the first information sent by the comparator, where the first information is obtained by the comparator determining that the voltage of the load module reaches the first voltage. After the PMU receives the first information, if the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the state of the switching power supply is changed, so that the switching power supply is converted from the first mode to the second mode.
基于本申请第二方面,或第二方面的第一种实施方式至第四种实施方式中的任意一种实施方式,在本申请第二方面的第五种实施方式中,PMU接收模式转换指令,模式转换指令为芯片根据调压指令对应的第一电压大于或小于阈值电压得到的。在接收到模式转换指令后,PMU根据模式转换指令,改变开关电源的状态,以使得开关电源从第一模式转换成第二模式。Based on the second aspect of the present application, or any one of the first implementation to the fourth implementation of the second aspect, in the fifth implementation of the second aspect of the present application, the PMU receives the mode switch command , The mode conversion instruction is obtained by the chip according to the first voltage corresponding to the voltage regulation instruction being greater than or less than the threshold voltage. After receiving the mode conversion command, the PMU changes the state of the switching power supply according to the mode conversion command, so that the switching power supply is converted from the first mode to the second mode.
关于对本申请第二方面的有益效果的描述,可以参考对前述第一方面的DVFS电源系统的有益效果的描述。Regarding the description of the beneficial effects of the second aspect of the present application, reference may be made to the description of the beneficial effects of the aforementioned first aspect of the DVFS power supply system.
本申请第三方面提供了一种DVFS电源控制方法。The third aspect of the present application provides a DVFS power control method.
芯片向PMU发送调压指令,使得PMU根据调压指令改变开关电源的状态,以使得开 关电源对负载模块的输出电压达到第一电压,调压指令与第一电压对应;The chip sends a voltage regulation command to the PMU, so that the PMU changes the state of the switching power supply according to the voltage regulation command, so that the output voltage of the switching power supply to the load module reaches the first voltage, and the voltage regulation command corresponds to the first voltage;
若调压指令对应的第一电压大于或小于阈值电压,则芯片生成模式转换指令。If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the chip generates a mode switching command.
芯片向PMU发送模式转换指令,以使得PMU根据模式转换指令,改变开关电源的状态,以使得开关电源从第一模式转换成第二模式,以使得改变开关电源可对负载模块的输出电流的范围。The chip sends a mode switching instruction to the PMU, so that the PMU changes the state of the switching power supply according to the mode switching instruction, so that the switching power supply is converted from the first mode to the second mode, so that the range of the output current of the switching power supply to the load module can be changed .
基于本申请第三方面,在本申请第三方面的第一种实施方式中,第一模式为DCM,第二模式为CCM。若调压指令对应的第一电压大于阈值电压,则芯片生成模式转换指令。芯片向PMU发送模式转换指令,以使得PMU根据模式转换指令,改变开关电源的状态,以使得开关电源从DCM转换成CCM,以使得改变开关电源可对负载模块的输出电流的范围。Based on the third aspect of the present application, in the first implementation manner of the third aspect of the present application, the first mode is DCM, and the second mode is CCM. If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the chip generates a mode switching command. The chip sends a mode switching instruction to the PMU, so that the PMU changes the state of the switching power supply according to the mode switching instruction, so that the switching power supply is converted from DCM to CCM, so as to change the range of the output current of the switching power supply to the load module.
本申请第四方面提供了一种终端,其特征在于,终端包括前述第一方面,或第一方面中任意一种实施方式所描述的DVFS电源系统。A fourth aspect of the present application provides a terminal, which is characterized in that the terminal includes the foregoing first aspect or the DVFS power supply system described in any one of the implementation manners in the first aspect.
附图说明Description of the drawings
图1为终端的DVFS电源系统的结构示意图;Figure 1 is a schematic diagram of the structure of the DVFS power supply system of the terminal;
图2为BUCK电路的一个结构示意图;Figure 2 is a schematic diagram of the structure of the BUCK circuit;
图3为BUCK电路工作于CCM时的波形示意图;Figure 3 is a schematic diagram of the waveform when the BUCK circuit works in CCM;
图4为BUCK电路工作于DCM时的波形示意图;Figure 4 is a schematic diagram of the waveform when the BUCK circuit works in DCM;
图5为本申请实施例中DVFS电源系统的一个结构示意图;FIG. 5 is a schematic diagram of a structure of a DVFS power supply system in an embodiment of the application;
图6为DCM转换为CCM的曲线变化示意图;Figure 6 is a schematic diagram of the curve change of DCM converted to CCM;
图7为在CCM下调压的曲线变化示意图;Figure 7 is a schematic diagram of the curve change of the pressure regulation under CCM;
图8为同时调压和调模式的曲线变化示意图;Figure 8 is a schematic diagram of curve changes of simultaneous voltage regulation and regulation mode;
图9为终端在不同电流下的功耗示意图;Figure 9 is a schematic diagram of the power consumption of the terminal under different currents;
图10为本申请实施例中DVFS电源控制方法的一个流程示意图;FIG. 10 is a schematic flowchart of a DVFS power supply control method in an embodiment of the application;
图11为本申请实施例中终端的一个结构示意图。FIG. 11 is a schematic diagram of a structure of a terminal in an embodiment of the application.
具体实施方式detailed description
本申请实施例提供了一种DVFS电源系统和DVFS电源控制方法,应用于集成电路控制领域,可以降低动态响应时间。The embodiments of the present application provide a DVFS power supply system and a DVFS power control method, which are applied to the field of integrated circuit control and can reduce the dynamic response time.
为了方便理解本申请中的技术方案,下面对技术方案中的相关背景技术进行描述。In order to facilitate the understanding of the technical solutions in the present application, the related background technology in the technical solutions will be described below.
DVFS,目前,由于终端的芯片对于供电电池的寿命和功耗有严格的要求,因此需要通过DVFS技术,根据芯片的实时负载需求,动态调整芯片的工作频率和工作电压,从而达到有效降低芯片的功耗的目的。请参阅图1,图1为终端的DVFS电源系统的结构示意图。DVFS电源系统包括芯片101,PMU102,负载模块106,电容107。其中,PMU102包括控制器103,开关电源104,比较器105。负载模块106可以是芯片101,或者是芯片101中的部分功能模块,例如CPU,GPU,也可以是其它不属于芯片101的负载。当负载模块106是芯片101时,DVFS的系统流程如下:芯片101采集与芯片101有关的信号。根据有关的信号,芯片101预测在下一时间段,芯片101需要的性能。芯片101将预测的性能转换成需要的频率,从而调整芯片101的时钟设置,改变芯片101的运算频率,根据新的运算 频率计算相应的电压。芯片101通知PMU102关于芯片101需要的电压。PMU102控制开关电源104的状态,用以调整对芯片101的输出电压。DVFS. At present, because the terminal chip has strict requirements on the life and power consumption of the power supply battery, it is necessary to use DVFS technology to dynamically adjust the working frequency and working voltage of the chip according to the real-time load demand of the chip, so as to effectively reduce the chip's The purpose of power consumption. Please refer to Figure 1, which is a schematic diagram of the DVFS power supply system of the terminal. The DVFS power supply system includes a chip 101, a PMU 102, a load module 106, and a capacitor 107. Among them, the PMU 102 includes a controller 103, a switching power supply 104, and a comparator 105. The load module 106 may be the chip 101, or a part of the functional modules in the chip 101, such as CPU, GPU, or other loads that do not belong to the chip 101. When the load module 106 is the chip 101, the system flow of the DVFS is as follows: the chip 101 collects signals related to the chip 101. According to relevant signals, the chip 101 predicts the performance required by the chip 101 in the next time period. The chip 101 converts the predicted performance into the required frequency, thereby adjusting the clock setting of the chip 101, changing the operating frequency of the chip 101, and calculating the corresponding voltage according to the new operating frequency. The chip 101 informs the PMU 102 about the voltage required by the chip 101. The PMU 102 controls the state of the switching power supply 104 to adjust the output voltage to the chip 101.
PMU102是一种高度集成的、针对便携式应用的电源管理方案,即将传统分立的若干类电源管理器件整合在单个的封装之内,这样可实现更高的电源转换效率和更低功耗,及更少的组件数以适应缩小的板级空间。本申请中,PMU102是一种相对宽泛的概念,即对于PMU102是否包括某个电路或结构并不需要非常明确的定义。例如,在图1中,也可以认为比较器105或控制器103是不属于PMU102的结构。PMU102 is a highly integrated power management solution for portable applications, which integrates several types of traditional discrete power management devices into a single package, which can achieve higher power conversion efficiency and lower power consumption, and more The number of components is small to accommodate the reduced board space. In this application, the PMU 102 is a relatively broad concept, that is, whether the PMU 102 includes a certain circuit or structure does not require a very clear definition. For example, in FIG. 1, it can also be considered that the comparator 105 or the controller 103 does not belong to the structure of the PMU 102.
开关电源104可以是BUCK电路(也称降压型电路),BOOST电路(也称升压型电路),或BUCK-BOOST电路(也称升降压型电路)。如图2所示,图2为BUCK电路的一个结构示意图。BUCK电路包括开关201,开关202,电感203,电容204,负载L205。电感203和电容204组成低通滤波器。其中,负载L205可以理解为前述的负载模块106。开关201和开关202可以是高频开关管,开关202还可以是二级管。开关201和开关202的导通,截止状态相反。通过导通或截止开关201,使得电感203的电流大小,方向发生变化。当开关电源为BUCK电路时,负载L上的电压U L小于开关电源的输入电压Vin。当开关电源为BOOST电路时,负载L上的电压U L大于开关电源的输入电压Vin。开关电源104的电压输入端与终端的电池相连。 The switching power supply 104 can be a BUCK circuit (also called a step-down circuit), a BOOST circuit (also called a boost circuit), or a BUCK-BOOST circuit (also called a buck-boost circuit). As shown in Figure 2, Figure 2 is a schematic diagram of the structure of the BUCK circuit. The BUCK circuit includes a switch 201, a switch 202, an inductor 203, a capacitor 204, and a load L205. The inductor 203 and the capacitor 204 form a low-pass filter. Among them, the load L205 can be understood as the aforementioned load module 106. The switch 201 and the switch 202 may be high-frequency switch tubes, and the switch 202 may also be a diode. The switch 201 and the switch 202 are turned on and turned off in the opposite state. By turning on or turning off the switch 201, the magnitude and direction of the current in the inductor 203 are changed. When the switching power supply is a BUCK circuit, the voltage U L on the load L is less than the input voltage Vin of the switching power supply. When the switching power supply is a BOOST circuit, the voltage U L on the load L is greater than the input voltage Vin of the switching power supply. The voltage input end of the switching power supply 104 is connected to the battery of the terminal.
开关电源有不同的工作模式,包括CCM,DCM和边界线导通模式(boundary conduction mode,BCM)。下面为不同模式的相关说明。Switching power supplies have different working modes, including CCM, DCM and boundary conduction mode (BCM). The following is a description of the different modes.
CCM,在一个开关周期内,电感203电流从不会到0。或者说电感203从不“复位”,意味着在一个开关周期内,电感203的磁通从不回到0,开关202闭合时,电感203的线圈中还有电流流过。一个开关周期包括开关201的导通时间段和截止时间段。请参阅图3,图3为BUCK电路工作于CCM时的波形示意图。曲线301为开关201的导通和截止的时序图。曲线302为开关202的导通和截止的时序图。从图3中可以看出,开关201和开关202的导通和截止状态相反,在开关201导通时,开关202截止,开关201截止时,开关202导通。曲线303为负载L上的电压U L。曲线304为负载L上的电流I L。因为在一个开关周期内,电感203的电流从不会回到0,因此,电流I L也不会回到0,即A不等于0。曲线305为开关201上的电流I S1。在开关202闭合时,电感203的线圈中还有电流流过,因此,在开关201导通时,电流I S1不为0。 In CCM, the inductor 203 current never reaches zero during one switching cycle. In other words, the inductor 203 never "resets", which means that within a switching cycle, the magnetic flux of the inductor 203 never returns to 0, and when the switch 202 is closed, there is still current flowing in the coil of the inductor 203. One switching cycle includes the on-time period and off-time period of the switch 201. Please refer to Figure 3. Figure 3 is a schematic diagram of the waveform when the BUCK circuit works in CCM. The curve 301 is a timing diagram of the turn-on and turn-off of the switch 201. The curve 302 is a timing diagram of the turn-on and turn-off of the switch 202. It can be seen from FIG. 3 that the on and off states of the switch 201 and the switch 202 are opposite. When the switch 201 is on, the switch 202 is off, and when the switch 201 is off, the switch 202 is on. The curve 303 is the voltage U L on the load L. The curve 304 is the current I L on the load L. Because the current of the inductor 203 will never return to zero during one switching period, the current I L will never return to zero, that is, A is not equal to zero. The curve 305 is the current I S1 on the switch 201. When the switch 202 is closed, current still flows in the coil of the inductor 203. Therefore, when the switch 201 is turned on, the current I S1 is not zero.
DCM,在开关周期内,电感203的电流总会回到0,意味着电感203被适当地“复位”,即开关202闭合时,电感203的电流为零。请参阅图4,图4为BUCK电路工作于DCM时的波形示意图。曲线401为开关201的导通和截止的时序图。曲线402为开关202的导通和截止的时序图。从图中可以看出,开关201和开关202的导通和截止状态相反。曲线403为负载L上的电压U L。曲线404为负载L上的电流I L。因为在一个开关周期内,电感203的电流总会回到0,因此,电流I L也会回到0,即B等于0。曲线405为开关201上的电流I S1。在开关202闭合时,电感203的线圈中的电流为0,因此,在开关201导通时,电流I S1也为0。从曲线403,可以看到电感203的电流下降到0,引起开关202截止。如果出现此情况,电感203的左端开路。理论上,电感203左端的电压应该回到0,即电压U L的电压应该回到0,因为电感203不再有电流,不产生振荡。但是由于周围存在很多寄生电 容,如开关201和开关202的寄生电容,形成了振荡回路。 In DCM, during the switching period, the current of the inductor 203 will always return to 0, which means that the inductor 203 is properly "reset", that is, when the switch 202 is closed, the current of the inductor 203 is zero. Please refer to Figure 4. Figure 4 is a schematic diagram of the waveform when the BUCK circuit works in DCM. The curve 401 is a timing diagram of the turn-on and turn-off of the switch 201. The curve 402 is a timing diagram of the on and off of the switch 202. It can be seen from the figure that the on and off states of the switch 201 and the switch 202 are opposite. The curve 403 is the voltage U L on the load L. The curve 404 is the current I L on the load L. Because in one switching period, the current of the inductor 203 will always return to zero, therefore, the current I L will also return to zero, that is, B is equal to zero. The curve 405 is the current I S1 on the switch 201. When the switch 202 is closed, the current in the coil of the inductor 203 is zero. Therefore, when the switch 201 is on, the current I S1 is also zero. From the curve 403, it can be seen that the current of the inductor 203 drops to zero, causing the switch 202 to turn off. If this happens, the left end of the inductor 203 is open. Theoretically, the voltage at the left end of the inductor 203 should return to 0, that is, the voltage of the voltage U L should return to 0, because the inductor 203 no longer has current and no oscillation occurs. However, because there are many parasitic capacitances around, such as the parasitic capacitances of the switch 201 and the switch 202, an oscillating circuit is formed.
边界或边界线导通模式(boundary conduction mode,BCM):控制器监控电感203的电流,一旦检测到电流等于0,开关201立即闭合。控制器总是通过电感203的电流“复位”信号来激活开关201。如果电感值电流高,而截至斜坡相当平,则开关周期延长,因此,BCM变化器是可变频率系统。BCM变换器也可以称为临界导通模式(critical conduction mode,CRM)。Boundary or boundary conduction mode (BCM): The controller monitors the current of the inductor 203, and once it detects that the current is equal to 0, the switch 201 is immediately closed. The controller always activates the switch 201 through the current "reset" signal of the inductor 203. If the inductor current is high and the cut-off slope is fairly flat, the switching period is extended. Therefore, the BCM variator is a variable frequency system. The BCM converter may also be referred to as a critical conduction mode (CRM).
CCM适合重载的场景,DCM适合在中轻载的场景。不同的工作模式适合不同的工作场景,那么在同时包括不同场景的电路中,就需要根据不同的场景切换不同的模式。下面根据图1,以DCM切换CCM为例进行模式切换的说明。当负载模块106为芯片101,芯片101工作在某个频率,开关电源104工作在DCM时。由于芯片101的功率变化,例如芯片101的CPU使用率从2%变成90%,会导致芯片101的电流发生变化,导致芯片101上的电压从1.0V变成0.97V。通过PMU102中的比较器105,可以测量得到芯片101的电压变化,获取电压变化率3%。当电压变化率3%达到一定数值时,PMU102通过改变开关电源104的状态,改变开关电源104对芯片101的输出模式,从DCN切换为CCM。从芯片101的CPU使用率从2%变成90%的时刻,到PMU102切换到CCM的时刻存在延时,即动态响应时间。动态响应时间是电源系统设计中的一个重要指标,表征当负载模块的电流发生突变时,电源对负载模块的输出电压恢复到设定范围内所需要的时间。CCM is suitable for heavy load scenarios, and DCM is suitable for light to medium load scenarios. Different working modes are suitable for different working scenes, so in circuits that include different scenes at the same time, different modes need to be switched according to different scenes. In the following, according to Fig. 1, the mode switching is explained by taking the DCM switching CCM as an example. When the load module 106 is the chip 101, the chip 101 works at a certain frequency, and the switching power supply 104 works at DCM. Due to the power change of the chip 101, for example, the CPU usage rate of the chip 101 changes from 2% to 90%, which will cause the current of the chip 101 to change, causing the voltage on the chip 101 to change from 1.0V to 0.97V. Through the comparator 105 in the PMU 102, the voltage change of the chip 101 can be measured, and the voltage change rate of 3% can be obtained. When the voltage change rate of 3% reaches a certain value, the PMU 102 changes the output mode of the switching power supply 104 to the chip 101 by changing the state of the switching power supply 104, and switches from DCN to CCM. From the moment when the CPU usage rate of the chip 101 changes from 2% to 90%, to the moment when the PMU 102 switches to the CCM, there is a delay, that is, the dynamic response time. The dynamic response time is an important indicator in the design of the power supply system. It represents the time required for the output voltage of the power supply to the load module to recover to the set range when the current of the load module changes suddenly.
当芯片101的功率大幅跳变,导致经过芯片101的电流大幅跳变,会造成开关电源104对芯片101的输出电压瞬间偏离目标设定值。如果电压偏离过大,或者偏离时间过长(即动态响应时间过长),将导致电源系统供电异常。如何确保芯片101的电流大幅跳变,但是开关电源104对芯片101的输出电压的波动在一个可接受范围内,成为业内一个比较棘手的问题。When the power of the chip 101 greatly jumps, causing the current passing through the chip 101 to jump significantly, the output voltage of the switching power supply 104 to the chip 101 will momentarily deviate from the target set value. If the voltage deviation is too large, or the deviation time is too long (that is, the dynamic response time is too long), it will cause the power supply of the power system to be abnormal. How to ensure that the current of the chip 101 jumps significantly, but the fluctuation of the output voltage of the chip 101 by the switching power supply 104 is within an acceptable range, which has become a difficult problem in the industry.
通过在负载端增加电容107,可以降低电压的偏离程度。当芯片101的CPU使用率从2%变成90%时,开关电源104的输出能力不够,电压瞬间跌落,控制器103还未接收到比较器105的反馈电压,未调整输出模式。此时电容107上的能量就释放一部分来供给芯片101的负载增量,维持电压稳定。根据电容能量公式
Figure PCTCN2021098069-appb-000008
可知,增大或增加电容,可以提高电容的能量,在电压跌落的瞬间可以提供更多能量来维持电压稳定。增加电容并未降低动态响应时间,只是通过电容上的能量为跌落的电压做补偿,且带来了相应的缺陷,即更多或更大的电容带来PCB板面积的增大和成本的增加。
By adding a capacitor 107 at the load end, the deviation of the voltage can be reduced. When the CPU usage rate of the chip 101 changes from 2% to 90%, the output capacity of the switching power supply 104 is insufficient, the voltage drops instantly, the controller 103 has not received the feedback voltage of the comparator 105, and the output mode is not adjusted. At this time, a part of the energy on the capacitor 107 is released to supply the load increment of the chip 101 to maintain the voltage stability. According to the capacitance energy formula
Figure PCTCN2021098069-appb-000008
It can be seen that increasing or increasing the capacitor can increase the energy of the capacitor, and can provide more energy to maintain the voltage stability at the moment of a voltage drop. Increasing the capacitance does not reduce the dynamic response time, but only compensates for the voltage drop through the energy on the capacitance, and brings corresponding defects, that is, more or larger capacitances increase the PCB board area and increase the cost.
为了降低动态响应时间,本申请提供了一种DVFS电源系统。在芯片根据负载模块的功率变化,确定需要调整对负载模块的输出电压时,便可以确定是否调整开关电源的输出模式,从而降低,甚至消除动态响应时间。例如,芯片根据运行频率的变化,需要开关电源对芯片的输出电压从0.8V调整到1.0V。在确定1.0V的情况下,就可以确定是否调整开关电源的输出模式。对比于开关电源对芯片的输出电压调整到1.0V之后,再根据电压变化率确定是否调整开关电源的输出模式,本申请中的DVFS电源系统对降低动态响应时间的效果是明显的。下面将结合附图对本申请中的DVFS电源系统进行详细描述。为了方便阐述,本申请中以负载模块为芯片,开关电源为BUCK电路,开关电源从DCM切换为CCM为例进行阐述。In order to reduce the dynamic response time, this application provides a DVFS power supply system. When the chip determines that the output voltage to the load module needs to be adjusted according to the power change of the load module, it can determine whether to adjust the output mode of the switching power supply, thereby reducing or even eliminating the dynamic response time. For example, the chip needs to adjust the output voltage of the chip from 0.8V to 1.0V according to the change of the operating frequency. In the case of determining 1.0V, you can determine whether to adjust the output mode of the switching power supply. Compared with the switching power supply adjusting the output voltage of the chip to 1.0V, and then determining whether to adjust the output mode of the switching power supply according to the voltage change rate, the DVFS power supply system in this application has an obvious effect on reducing the dynamic response time. The DVFS power supply system in this application will be described in detail below in conjunction with the accompanying drawings. For the convenience of explanation, in this application, the load module is used as a chip, the switching power supply is a BUCK circuit, and the switching power supply is switched from DCM to CCM as an example.
请参阅图5,图5为本申请实施例中DVFS电源系统的一个结构示意图。Please refer to FIG. 5, which is a schematic structural diagram of a DVFS power supply system in an embodiment of the application.
DVFS电源系统包括芯片501,PMU,电容507,负载模块508。其中,PMU包括控制器502,开关电源。开关电源包括开关503,开关504,电感505,电容506。可选地,PMU还可以包括比较器509。The DVFS power supply system includes a chip 501, a PMU, a capacitor 507, and a load module 508. Among them, the PMU includes a controller 502 and a switching power supply. The switching power supply includes a switch 503, a switch 504, an inductor 505, and a capacitor 506. Optionally, the PMU may further include a comparator 509.
芯片501用于根据运算能力确定是否需要调整运行频率。例如,芯片501用于根据当前CPU的使用率来确定是否需要调整运行频率。当CPU的使用率大于阈值时,则在当前的运行频率1上,增加运行频率,得到运行频率2。或者芯片501用于预测将要运行的数据量,根据将要运行的数据量,确定对应的运行频率2。若运行频率2与当前的运行频率1不同,则确定调整芯片501的运行频率。The chip 501 is used to determine whether the operating frequency needs to be adjusted according to the computing capability. For example, the chip 501 is used to determine whether the operating frequency needs to be adjusted according to the current CPU usage rate. When the CPU usage rate is greater than the threshold, the current operating frequency 1 is increased, and the operating frequency 2 is obtained. Or the chip 501 is used to predict the amount of data to be run, and determine the corresponding operating frequency 2 according to the amount of data to be run. If the operating frequency 2 is different from the current operating frequency 1, it is determined to adjust the operating frequency of the chip 501.
运行频率2为芯片501将要调整到的运行频率,可以是不同的值,即芯片501包括多个档位的运行频率,不同档位的运行频率可以对应开关电源对芯片501不同的输出电压。如表一所示,表一为芯片501的运行频率和电压的映射表。若芯片501的运行频率需要从2.0GHz调整到2.2GHz,因为2.0GHz和2.2GHz对应的电压都为1.5V,PMU无需调整开关电源对芯片501的输出电压。若芯片501的运行频率需要从2.2GHz调整到2.4GHz,因为2.2GHz对应的电压为1.5V,2.4GHz对应的电压为2.0V,PMU需要调整开关电源对芯片501的输出电压。The operating frequency 2 is the operating frequency to which the chip 501 will be adjusted, which can be different values, that is, the operating frequency of the chip 501 includes multiple gears, and the operating frequency of different gears can correspond to different output voltages of the switching power supply to the chip 501. As shown in Table 1, Table 1 is a mapping table of the operating frequency and voltage of the chip 501. If the operating frequency of the chip 501 needs to be adjusted from 2.0GHz to 2.2GHz, because the voltages corresponding to both 2.0GHz and 2.2GHz are 1.5V, the PMU does not need to adjust the output voltage of the switching power supply to the chip 501. If the operating frequency of the chip 501 needs to be adjusted from 2.2GHz to 2.4GHz, because the voltage corresponding to 2.2GHz is 1.5V and the voltage corresponding to 2.4GHz is 2.0V, the PMU needs to adjust the output voltage of the switching power supply to the chip 501.
运行频率Operating frequency 电压Voltage
2.0GHz2.0GHz 1.5V1.5V
2.2GHz2.2GHz 1.5V1.5V
2.4GHz2.4GHz 2.0V2.0V
2.6GHz2.6GHz 2.5V2.5V
表一Table I
若需要调整开关电源对芯片501的输出电压,则芯片501用于向控制器502发送调压指令,调压指令与第一电压对应。调压指令与第一电压对应是指调压指令包括第一电压,例如2.0V,或包括与第一电压相对应的标识,标识的内容可以由芯片501和控制器502事先约定。If the output voltage of the switching power supply to the chip 501 needs to be adjusted, the chip 501 is used to send a voltage adjustment instruction to the controller 502, and the voltage adjustment instruction corresponds to the first voltage. The voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage, such as 2.0V, or includes an identifier corresponding to the first voltage, and the content of the identifier may be agreed upon by the chip 501 and the controller 502 in advance.
若调压指令对应的第一电压大于阈值电压,则芯片501还用于生成模式转换指令,向控制器502发送模式转换指令。在本申请实施例中,假设阈值电压为2.2V。若芯片501的运行频率需要从2.2GHz调整到2.4GHz。因为2.2GHz对应的电压为1.5V,2.4GHz对应的电压为2.0V,PMU需要调整开关电源对芯片501的输出电压,即调压指令对应的第一电压为2.0V,2.0V小于2.2V,不满足芯片501生成模式转换指令的条件。若芯片501的运行频率需要从2.4GHz调整到2.6GHz。因为2.4GHz对应的电压为2.0V,2.6GHz对应的电压为2.5V,PMU需要调整开关电源对芯片501的输出电压,即调压指令对应的第一电压为2.5V,2.5V大于2.2V,满足芯片501生成模式转换指令的条件。If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the chip 501 is also used to generate a mode conversion command and send the mode conversion command to the controller 502. In the embodiment of the present application, it is assumed that the threshold voltage is 2.2V. If the operating frequency of the chip 501 needs to be adjusted from 2.2 GHz to 2.4 GHz. Because the voltage corresponding to 2.2GHz is 1.5V and the voltage corresponding to 2.4GHz is 2.0V, the PMU needs to adjust the output voltage of the switching power supply to the chip 501, that is, the first voltage corresponding to the voltage regulation command is 2.0V, 2.0V is less than 2.2V, The condition for the chip 501 to generate the mode switching instruction is not satisfied. If the operating frequency of the chip 501 needs to be adjusted from 2.4GHz to 2.6GHz. Because the voltage corresponding to 2.4GHz is 2.0V and the voltage corresponding to 2.6GHz is 2.5V, the PMU needs to adjust the output voltage of the switching power supply to the chip 501, that is, the first voltage corresponding to the voltage regulation command is 2.5V, and 2.5V is greater than 2.2V. The conditions for the chip 501 to generate the mode switching instruction are met.
可选地,根据表一可知,芯片501的运行频率和电压存在映射关系。又根据前面的描述可知,芯片501可以通过调压指令对应的第一电压是否大于阈值电压来生成模式转换指令。可以推导得出,芯片501可以通过需要调整的运行频率是否大于阈值频率来生成模式转换指令。例如,设定阈值频率为2.5Hz。若芯片501的运行频率需要从2.2GHz调整到 2.4GHz,即芯片501需要调整的运行频率为2.4GHz,小于阈值频率2.5Hz,不满足芯片501生成模式转换指令的条件。若芯片501的运行频率需要从2.4GHz调整到2.6GHz,即芯片501需要调整的运行频率为2.6GHz,大于阈值频率2.5Hz,满足芯片501生成模式转换指令的条件。Optionally, according to Table 1, there is a mapping relationship between the operating frequency and voltage of the chip 501. According to the foregoing description, it can be known that the chip 501 can generate a mode switching command based on whether the first voltage corresponding to the voltage regulation command is greater than the threshold voltage. It can be deduced that the chip 501 can generate a mode switching instruction based on whether the operating frequency to be adjusted is greater than the threshold frequency. For example, set the threshold frequency to 2.5 Hz. If the operating frequency of the chip 501 needs to be adjusted from 2.2 GHz to 2.4 GHz, that is, the operating frequency that the chip 501 needs to adjust is 2.4 GHz, which is less than the threshold frequency of 2.5 Hz, which does not meet the conditions for the chip 501 to generate a mode switching instruction. If the operating frequency of the chip 501 needs to be adjusted from 2.4 GHz to 2.6 GHz, that is, the operating frequency of the chip 501 needs to be adjusted is 2.6 GHz, which is greater than the threshold frequency of 2.5 Hz, and meets the conditions for the chip 501 to generate a mode switching instruction.
前述中的阈值电压为0.9V,是假设的一个值。在实际应用中,可以根据下面的方法确定阈值电压。The threshold voltage in the foregoing is 0.9V, which is a hypothetical value. In practical applications, the threshold voltage can be determined according to the following method.
开关电源可以对芯片501输出多个档位的电压值。多个电压值包括V 1,V 2,……,Vn,多个电压值按从小到大排列,n为大于1的整数。具体地,当开关电源运行在CCM下,如图3所示,开关电源可以通过调节D的时长,即开关503的导通时长,以使得改变D在T中的占比,从而调整开关电源104的输出电压。当开关电源104运行在DCM下,如图4所示,开关电源104可以通过调节T的时长,即开关503的一个开关周期,以使得改变D在T中的占比,从而调整开关电源104的输出电压。在某个电压档位时,根据芯片101的功率变化,例如芯片101的CPU使用率从2%变成90%,芯片101的电流会发生变化,即一个电压值对应一个电流范围,多个电压值对应多个电流范围。多个电流范围包括A 1,A 2,……,An。如表二所示,表二为电压档位和电流范围的映射表。 The switching power supply can output voltage values of multiple gears to the chip 501. The multiple voltage values include V 1 , V 2 , ..., Vn, and the multiple voltage values are arranged in ascending order, and n is an integer greater than 1. Specifically, when the switching power supply is operating under CCM, as shown in FIG. 3, the switching power supply can adjust the duration of D, that is, the on-time duration of the switch 503, so as to change the proportion of D in T, thereby adjusting the switching power supply 104 The output voltage. When the switching power supply 104 runs in DCM, as shown in FIG. 4, the switching power supply 104 can adjust the duration of T, that is, one switching period of the switch 503, so that the proportion of D in T is changed, thereby adjusting the switching power supply 104 The output voltage. At a certain voltage level, according to the power change of the chip 101, for example, the CPU usage rate of the chip 101 changes from 2% to 90%, the current of the chip 101 will change, that is, a voltage value corresponds to a current range, and multiple voltages The value corresponds to multiple current ranges. The multiple current ranges include A 1 , A 2 ,..., An. As shown in Table 2, Table 2 is a mapping table of voltage range and current range.
电压档位Voltage gear 电流范围Current range
V 1:1.0V V 1 : 1.0V A 1:0.2A~0.5A A 1 :0.2A~0.5A
V 2:1.5V V 2 : 1.5V A 2:0.2A~0.8A A 2 :0.2A~0.8A
V 3:2.0V V 3 : 2.0V A 3:0.2A~1.2A A 3 :0.2A~1.2A
V 4:2.5V V 4 : 2.5V A 4:0.2A~1.5A A 4 : 0.2A~1.5A
表二Table II
在每个电压档位下,通过改变芯片501的功率,会改变芯片501的电流,会使得芯片501的电压发生跳变。其中,若使得芯片501中的电流从最小电流变成最大电流,可以获取最大的电压跳变率。例如,在开关电源的输出电压为1.0V时,芯片501的CPU使用率从1%变成100%,芯片501的电流从0.2A变成0.5A,芯片501的电压从1.0V跳变为0.99V。在电压档位1.0V下,通过1.0V和0.99V,可以获取相应的最大的电压跳变率。在每一个电压档位中,都获取各自的最大的电压跳变率,获得如表三所示的电压档位与最大的电压跳变率的映射关系。In each voltage range, by changing the power of the chip 501, the current of the chip 501 will be changed, which will cause the voltage of the chip 501 to jump. Among them, if the current in the chip 501 is changed from the minimum current to the maximum current, the maximum voltage jump rate can be obtained. For example, when the output voltage of the switching power supply is 1.0V, the CPU usage rate of chip 501 changes from 1% to 100%, the current of chip 501 changes from 0.2A to 0.5A, and the voltage of chip 501 jumps from 1.0V to 0.99 V. In the voltage range of 1.0V, through 1.0V and 0.99V, the corresponding maximum voltage jump rate can be obtained. In each voltage range, the respective maximum voltage jump rate is obtained, and the mapping relationship between the voltage range and the maximum voltage jump rate as shown in Table 3 is obtained.
电压档位Voltage gear 电流范围Current range 跳变后的电压Voltage after jump 电压跳变率Voltage jump rate
V 1:1.0V V 1 : 1.0V A 1:0.2A~0.5A A 1 :0.2A~0.5A 0.99V0.99V 1.0%1.0%
V 2:1.5V V 2 : 1.5V A 2:0.2A~0.8A A 2 :0.2A~0.8A 1.48V1.48V 1.3%1.3%
V 3:2.0V V 3 : 2.0V A 3:0.2A~1.2A A 3 :0.2A~1.2A 1.95V1.95V 2.5%2.5%
V 4:2.5V V 4 : 2.5V A 4:0.2A~1.5A A 4 : 0.2A~1.5A 2.42V2.42V 3.2%3.2%
表三Table Three
假设第一数值为2.0%。第一数值是一个电压跳变率阈值,在实际应用中,电压跳变率阈值一般为2%至3%。若芯片501中的电压跳变率大于电压跳变率阈值,即跳变后的电压与原来的电压的差值过大,会导致系统异常。根据表三可知,电压档位V 1和V 2对应的电压跳变率小于第一数值,电压档位V 3和V 4对应的电压跳变率大于第一数值。因此,可以得出 电压档位V 3对应第一电压跳变率P1大于第一数值,电压档位V 2对应第二电压跳变率P2小于第一数值,从而确定阈值电压为V 32.0V。 Assume that the first value is 2.0%. The first value is a voltage jump rate threshold. In practical applications, the voltage jump rate threshold is generally 2% to 3%. If the voltage jump rate in the chip 501 is greater than the voltage jump rate threshold, that is, the difference between the jumped voltage and the original voltage is too large, which will cause the system to be abnormal. According to Table 3, the voltage jump rates corresponding to the voltage levels V 1 and V 2 are less than the first value, and the voltage jump rates corresponding to the voltage levels V 3 and V 4 are greater than the first value. Therefore, it can be concluded that the voltage range V 3 corresponds to the first voltage jump rate P1 being greater than the first value, and the voltage range V 2 corresponds to the second voltage jump rate P2 to be smaller than the first value, so that the threshold voltage is determined to be V 3 2.0V .
可选地,一般每个电压档位中最大的电压跳变率会随着电压档位的增加而增大。因此,若通过控制器502获取不同档位下的最大的电压跳变率,可以无需获取所有档位下的最大的电压跳变率。例如,在表三中,开关电源可以输出4个档位的电压。在控制器502获取电压档位V 2和V 3对应的电压跳变率后,就可以确定阈值电压为V 32.0V,即控制器502无需获取V 1和V 4对应的电压跳变率,从而节约处理资源。 Optionally, generally, the maximum voltage jump rate in each voltage range increases as the voltage range increases. Therefore, if the controller 502 obtains the maximum voltage jump rate in different gears, there is no need to obtain the maximum voltage jump rate in all gears. For example, in Table 3, the switching power supply can output 4 levels of voltage. After the controller 502 obtains the voltage jump rates corresponding to the voltage levels V 2 and V 3 , it can determine that the threshold voltage is V 3 2.0V, that is, the controller 502 does not need to obtain the voltage jump rates corresponding to V 1 and V 4, Thereby saving processing resources.
可选地,在未得出阈值电压前,控制器502尝试获取电压档位1对应的最大的电压跳变率1。该电压档位1为在所有的电压档位中处于中间的电压档位,例如表三中的电压档位V 3。若电压档位1对应的最大的电压跳变率1大于第一数值,则控制器502获取电压档位2对应的最大的电压跳变率2。该电压档位2为比电压档位1小一个档位的电压档位。若电压档位1对应的最大的电压跳变率1小于第一数值,则电压档位2为比电压档位1大一个档位的电压档位。通过这种算法,可以在节约处理资源的情况下,提升获取阈值电压的效率。 Optionally, before obtaining the threshold voltage, the controller 502 tries to obtain the maximum voltage jump rate 1 corresponding to the voltage level 1. The voltage gear 1 is the middle voltage gear among all the voltage gears, such as the voltage gear V 3 in Table 3. If the maximum voltage jump rate 1 corresponding to the voltage gear 1 is greater than the first value, the controller 502 obtains the maximum voltage jump rate 2 corresponding to the voltage gear 2. The voltage gear 2 is a voltage gear that is one gear lower than the voltage gear 1. If the maximum voltage jump rate 1 corresponding to the voltage gear 1 is less than the first value, the voltage gear 2 is a voltage gear that is one gear larger than the voltage gear 1. Through this algorithm, the efficiency of obtaining the threshold voltage can be improved while saving processing resources.
控制器502接收到模式转换指令后,控制器502用于改变开关电源的状态,以使得改变开关电源的输出模式,以使得改变开关电源可对负载模块的输出电流的范围,简称调模式。具体地,如图6所示,图6为DCM转换为CCM的曲线变化示意图。曲线601为DCM下负载模块上的电压U L,曲线602为DCM下负载模块上的电流I L。曲线603为CCM下负载模块上的电压U L,曲线604为CCM下负载模块上的电流I L。在DCM下,在一个开关周期内,开关电源中的电感的电流下降到0,由于寄生电容的存在,形成振荡回路。改变开关503的截止时长,使得在一个开关周期内,开关电源中的电感的电流不下降到0,不形成振荡回路。应当确定的是,是否拥有振荡波形是区分模式的一种方式,在实际应用中,还可以通过其它的方式来区分模式,例如测量在一个开关周期内,开关电源中的电感中的电流是否回到0。在DCM和CCM下,因为负载模块上的最低电流不同,即曲线602中A的值和曲线604中B的值不同,导致开关电源可对负载模块的输出电流的范围不同。在一个模式下,控制器502可以改变开关电源对负载模块的输出电压,改变开关电源对负载模块的输出电流。因此开关电源可对负载模块的输出电流是一个范围。下面对控制器502改变开关电源对负载模块的输出电压做相关描述。 After the controller 502 receives the mode conversion instruction, the controller 502 is used to change the state of the switching power supply, so as to change the output mode of the switching power supply, so as to change the range of the output current that the switching power supply can output to the load module, referred to as the adjustment mode. Specifically, as shown in FIG. 6, FIG. 6 is a schematic diagram of the curve change of the conversion from DCM to CCM. The curve 601 is the voltage U L on the load module under DCM, and the curve 602 is the current I L on the load module under DCM. Curve 603 is the voltage U L on the load module under CCM, and curve 604 is the current I L on the load module under CCM. In DCM, in a switching cycle, the current of the inductor in the switching power supply drops to zero, and due to the existence of parasitic capacitance, an oscillation loop is formed. The cut-off duration of the switch 503 is changed so that the current of the inductor in the switching power supply does not drop to 0 within one switching period, and an oscillating loop is not formed. It should be determined that whether there is an oscillating waveform is a way to distinguish modes. In practical applications, the modes can also be distinguished by other methods, such as measuring whether the current in the inductor in the switching power supply returns during a switching cycle. To 0. Under DCM and CCM, because the lowest current on the load module is different, that is, the value of A in the curve 602 is different from the value of B in the curve 604, resulting in a different range of the output current of the switching power supply to the load module. In one mode, the controller 502 can change the output voltage of the switching power supply to the load module and change the output current of the switching power supply to the load module. Therefore, the switching power supply can have a range for the output current of the load module. The following is a description of how the controller 502 changes the output voltage of the switching power supply to the load module.
控制器502接收到调压指令后,控制器502用于改变开关电源的状态,以使得改变开关电源对芯片501的输出电压,简称为调压。具体地,如图7所示,图7为在CCM下调压的曲线变化示意图。曲线701为调压前负载模块上的电压U L,曲线702为调压前负载模块上的电流I L。曲线703为调压后负载模块上的电压U L,曲线704为调压后负载模块上的电流I L。在调压前,开关503的一个开关周期的时长为T。在一个开关周期中,开关503的导通时长为D1,截止时长为T-D1。改变开关503的导通时长,导通时长变为D2,开关503的截止时长变为T-D2。当D1与D2不同时,开关电源的输出电压不同。因为开关电源的对负载模块的输出电压不同,在负载模块的阻止不变的情况下,负载模块的电流也不同,即曲线702中C的值和曲线704中D的值不同。 After the controller 502 receives the voltage regulation instruction, the controller 502 is used to change the state of the switching power supply, so as to change the output voltage of the switching power supply to the chip 501, which is referred to as voltage regulation for short. Specifically, as shown in FIG. 7, FIG. 7 is a schematic diagram of the curve change of the voltage regulation under the CCM. The curve 701 is the voltage U L on the load module before the voltage regulation, and the curve 702 is the current I L on the load module before the voltage regulation. The curve 703 is the voltage U L on the load module after voltage regulation, and the curve 704 is the current I L on the load module after voltage regulation. Before the voltage regulation, the duration of one switching cycle of the switch 503 is T. In one switching cycle, the on-time duration of the switch 503 is D1, and the off-time duration is T-D1. Changing the on-duration of the switch 503, the on-duration becomes D2, and the off-duration of the switch 503 becomes T-D2. When D1 and D2 are different, the output voltage of the switching power supply is different. Because the output voltage of the switching power supply to the load module is different, the current of the load module is also different when the blocking of the load module is unchanged, that is, the value of C in the curve 702 and the value of D in the curve 704 are different.
调压和调模式可以同时执行,也可以单独执行。当单独执行时,可以先执行调压,再 执行调模式,也可以先执行调模式,再执行调压。因为调压和调模式都是改变开关电源的状态,即开关503和开关504的状态,因此,调压和调模式可以同时执行。当调压和调模式同时执行时,如图8所示,图8为同时调压和调模式的曲线变化示意图。图8中的D2与图6中的D1不同。图8的曲线图可以理解为图6的曲线图和图7的曲线图相加的结果。Voltage regulation and regulation mode can be executed at the same time or separately. When executed separately, you can execute the adjustment mode first, and then execute the adjustment mode, or you can execute the adjustment mode first, and then the adjustment mode. Because both the voltage regulation and the regulation mode change the state of the switching power supply, that is, the states of the switch 503 and the switch 504, the voltage regulation and the regulation mode can be performed at the same time. When the voltage regulation and the regulation mode are executed at the same time, as shown in Fig. 8, Fig. 8 is a schematic diagram of the curve change of the simultaneous voltage regulation and the regulation mode. D2 in FIG. 8 is different from D1 in FIG. 6. The graph of FIG. 8 can be understood as the result of adding the graph of FIG. 6 and the graph of FIG. 7.
可选地,比较器509用于确定芯片501的电压是否达到第一电压。若是,比较器509还用于向控制器502发送第一信息。第一信息可以包括一个电压值,或者包括一个电压值和第一电压对比的结果。控制器502还用于接收第一信息。在接收到第一信息后,控制器502具体用于在接收到第一信息后,若调压指令对应的第一电压大于阈值电压,则控制器502用于改变开关电源的状态,以使得开关电源从DCM转换成CCM。其中,在控制器502改变开关电源的状态,到芯片501的电压升到第一电压需要一段时间。在这段时间内,芯片501可以等待控制器502调压完成,不会进行运行频率的改变。因为在CCM下的电流大于DCM下的电流,即电量消耗更大。因此,通过在芯片501的电压到达第一电压后,才进行模式转换,可以节省电量。Optionally, the comparator 509 is used to determine whether the voltage of the chip 501 reaches the first voltage. If so, the comparator 509 is also used to send the first information to the controller 502. The first information may include a voltage value or the result of a comparison between a voltage value and the first voltage. The controller 502 is also used to receive first information. After receiving the first information, the controller 502 is specifically configured to, after receiving the first information, if the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the controller 502 is configured to change the state of the switching power supply so that the switch The power is converted from DCM to CCM. Among them, when the controller 502 changes the state of the switching power supply, it takes a period of time for the voltage of the chip 501 to rise to the first voltage. During this period of time, the chip 501 can wait for the controller 502 to complete the voltage regulation without changing the operating frequency. Because the current under CCM is greater than the current under DCM, that is, the power consumption is greater. Therefore, by performing the mode conversion only after the voltage of the chip 501 reaches the first voltage, power can be saved.
可选地,若芯片501不用于对比阈值电压和第一电压的大小,不生成模式转换指令,则控制器502还用于根据调压指令,确定调压指令对应的第一电压是否大于阈值电压。若调压指令对应的第一电压大于阈值电压,则控制器502用于改变开关电源的状态,以使得开关电源从DCM转换成CCM。其中,阈值电压一般需要通过控制器502得出,通过控制器502来对比阈值电压和第一电压的大小,控制器502可以不需要事先向芯片501发送阈值电压,减少控制器502和芯片501之间的信息交互。Optionally, if the chip 501 is not used to compare the magnitude of the threshold voltage and the first voltage, and does not generate a mode switching instruction, the controller 502 is also used to determine whether the first voltage corresponding to the voltage adjustment instruction is greater than the threshold voltage according to the voltage adjustment instruction . If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the controller 502 is used to change the state of the switching power supply, so that the switching power supply is converted from DCM to CCM. Among them, the threshold voltage generally needs to be obtained by the controller 502. The controller 502 is used to compare the threshold voltage and the first voltage. The controller 502 does not need to send the threshold voltage to the chip 501 in advance, reducing the difference between the controller 502 and the chip 501 Information exchange between.
经过对终端模型的研究发现,终端日常使用的90%以上的功耗集中在中轻载。如图9所示,图9为终端在不同电流下的功耗示意图。通过图9可知,终端90%以上的功耗集中在中轻载(电流2.0A以下)。在中轻载情况下,负载电压的突变不会很大,可以用较小的电容来维持负载模块的电压稳定。重载情况下,负载电压的突变比较大,需要用较大的电容来维持负载模块的电压稳定。After researching the terminal model, it is found that more than 90% of the power consumption of the terminal's daily use is concentrated in light and medium loads. As shown in Figure 9, Figure 9 is a schematic diagram of the power consumption of the terminal under different currents. It can be seen from Figure 9 that more than 90% of the power consumption of the terminal is concentrated in the medium and light load (current less than 2.0A). In the case of medium and light load, the sudden change of the load voltage will not be large, and a smaller capacitor can be used to maintain the voltage stability of the load module. In the case of heavy load, the sudden change of the load voltage is relatively large, and a larger capacitor is required to maintain the voltage stability of the load module.
可选地,若调压指令对应的第一电压大于阈值电压,且芯片501在调压前的电压小于阈值电压,则改变开关电源的状态,使得开关电源从DCM转换为CCM。控制器502不根据芯片501的电压变化率来改变开关电源的模式。当调压指令对应的第一电压大于阈值电压时,认为芯片501处于重载下。从而在重载情况下,无需使用电容维持芯片501的电压稳定,达到精简电容的目的。结合图5,可以理解为减少了电容507的体积或数量。Optionally, if the first voltage corresponding to the voltage adjustment command is greater than the threshold voltage, and the voltage of the chip 501 before the voltage adjustment is less than the threshold voltage, the state of the switching power supply is changed so that the switching power supply is converted from DCM to CCM. The controller 502 does not change the mode of the switching power supply according to the voltage change rate of the chip 501. When the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, it is considered that the chip 501 is under heavy load. Therefore, under heavy load conditions, there is no need to use a capacitor to maintain the voltage of the chip 501 stable, and the purpose of simplifying the capacitor is achieved. With reference to FIG. 5, it can be understood that the volume or number of the capacitor 507 is reduced.
可选地,若调压指令对应的第一电压大于阈值电压,控制器502不根据芯片501的电压变化率来改变开关电源的模式。若调压指令对应的第一电压小于阈值电压,则控制器502用于确定第三电压变化率是否大于第二数值,第三电压变化率
Figure PCTCN2021098069-appb-000009
其中,V a为第一电压,V b为第二电压,第二电压根据比较器509从芯片501得到。若第三电压变化率大于第二数值,则控制器502还用于改变开关电源的状态,以使得开关电源从第二模式转换成第一模式。其中,在调压指令对应的第一电压小于阈值电压的情况下,控制器可以根据电压变化率做模式切换,因为在中轻载情况下,负载电压的突变不会很大,可以用较小的电容来维持负载模块的电压稳定。当调压指令对应的第一电压小于阈值电压时,认为负载模块处于中轻载下。从而可以保留部分较小的电容,在中轻载下,满足对负载模块的灵活的 模式转换需求。
Optionally, if the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the controller 502 does not change the mode of the switching power supply according to the voltage change rate of the chip 501. If the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the controller 502 is used to determine whether the third voltage change rate is greater than the second value, and the third voltage change rate
Figure PCTCN2021098069-appb-000009
Wherein, V a is the first voltage, V b is the second voltage, the second voltage is obtained from the comparator 509. The chip 501. If the third voltage change rate is greater than the second value, the controller 502 is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode. Among them, in the case that the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the controller can switch the mode according to the voltage change rate, because in the case of medium and light load, the sudden change of the load voltage will not be large, and the smaller value can be used. The capacitor is used to maintain the voltage stability of the load module. When the first voltage corresponding to the voltage regulation command is less than the threshold voltage, it is considered that the load module is under medium and light load. In this way, some smaller capacitors can be reserved to meet the flexible mode conversion requirements of the load module under medium and light loads.
上面对本申请实施例中DVFS电源系统进行了描述,下面对本申请实施例中DVFS电源控制方法进行描述。The DVFS power supply system in the embodiment of the present application is described above, and the DVFS power control method in the embodiment of the present application is described below.
请参阅图10,图10为本申请实施例中DVFS电源控制方法的一个流程示意图。Please refer to FIG. 10, which is a schematic flowchart of a DVFS power control method in an embodiment of the application.
在步骤1001中,PMU接收芯片发送的调压指令,调压指令与第一电压对应。调压指令与第一电压对应是指调压指令包括第一电压,或包括与第一电压相对应的标识。In step 1001, the PMU receives the voltage regulation command sent by the chip, and the voltage regulation command corresponds to the first voltage. The voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage or includes an identifier corresponding to the first voltage.
在步骤1002中,若调压指令对应的第一电压大于或小于阈值电压,则PMU改变开关电源的状态,以使得开关电源从第一模式转换成第二模式,以使得改变开关电源可对负载模块的输出电流的范围。负载模块可以是芯片,或者是芯片中的部分功能模块,例如CPU,GPU,也可以是其它不属于芯片的负载。具体的,PMU控制开关电源中某些电子元件的导通与关断,来改变开关电源的状态。In step 1002, if the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changes the state of the switching power supply, so that the switching power supply is converted from the first mode to the second mode, so that the change of the switching power supply can affect the load. The output current range of the module. The load module may be a chip, or some functional modules in the chip, such as CPU, GPU, or other loads that do not belong to the chip. Specifically, the PMU controls the on and off of certain electronic components in the switching power supply to change the state of the switching power supply.
在调压指令对应的第一电压大于或小于阈值电压的情况下,PMU改变对负载模块的输出模式。无需等待比较器对负载模块的电压反馈,因此可以降低动态响应时间。When the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changes its output mode to the load module. There is no need to wait for the voltage feedback from the comparator to the load module, so the dynamic response time can be reduced.
可选地,第一模式为DCM,第二模式为CCM。若调压指令对应的第一电压大于阈值电压,则PMU改变开关电源的状态,以使得开关电源从DCM转换成CCM。Optionally, the first mode is DCM, and the second mode is CCM. If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the PMU changes the state of the switching power supply, so that the switching power supply is converted from DCM to CCM.
可选地,开关电源可对负载模块输出多个电压值,多个电压值包括V 1,V 2,……,Vn,多个电压值按从小到大排列,n为大于1的整数。根据负载模块的功率变化,多个电压值对应多个电流范围。多个电流范围包括A 1,A 2,……,An。其中,阈值电压等于Ax对应的Vx,x为大于或等于1,小于或等于n的整数。Ax的电流范围为H毫安至J毫安。当开关电源对负载模块的输出电压为Vx时,负载模块的功率变化导致对负载模块的输出电流从H毫安变化到J毫安,导致开关电源对负载模块的输出电压变化为Vc。H可以大于J,也可以小于J,即当负载模块的功率增加时,负载模块的小电流跳变到大电流,当负载模块的功率减小时,负载模块的大电流跳变到小电流。第一电压变化率大于或等于第一数值。其中,
Figure PCTCN2021098069-appb-000010
当开关电源对负载模块的输出电压为V x-1时,负载模块的功率变化导致对负载模块的输出电流从K毫安变化到L毫安,导致所述开关电源对所述负载模块的输出电压变化为V c-1。V x-1与A x-1对应,A x-1的电流范围为K毫安至L毫安,第二电压变化率小于第一数值。其中,
Figure PCTCN2021098069-appb-000011
Optionally, the switching power supply can output multiple voltage values to the load module, the multiple voltage values include V 1 , V 2 , ..., Vn, the multiple voltage values are arranged in ascending order, and n is an integer greater than 1. According to the power change of the load module, multiple voltage values correspond to multiple current ranges. The multiple current ranges include A 1 , A 2 ,..., An. Wherein, the threshold voltage is equal to Vx corresponding to Ax, and x is an integer greater than or equal to 1 and less than or equal to n. The current range of Ax is from H milliampere to J milliampere. When the output voltage of the switching power supply to the load module is Vx, the power change of the load module causes the output current to the load module to change from H mA to J mA, which causes the output voltage of the switching power supply to the load module to change to Vc. H can be greater than J or less than J, that is, when the power of the load module increases, the low current of the load module jumps to a high current, and when the power of the load module decreases, the high current of the load module jumps to a low current. The first voltage change rate is greater than or equal to the first value. in,
Figure PCTCN2021098069-appb-000010
When the output voltage of the switching power supply to the load module is V x-1 , the power change of the load module causes the output current to the load module to change from K mA to L mA, resulting in the output of the switching power supply to the load module The voltage change is V c-1 . V x-1 and the corresponding A x-1, A x- 1 mA current range of K to L mA, the second voltage change is less than the first value. in,
Figure PCTCN2021098069-appb-000011
可选地,若调压指令对应的第一电压小于阈值电压,则PMU用于确定第三电压变化率是否大于第二数值。第三电压变化率
Figure PCTCN2021098069-appb-000012
其中,V a为第一电压,V b为第二电压,第二电压根据比较器从负载模块得到。若第三电压变化率大于第二数值,则PMU还用于改变开关电源的状态,以使得开关电源从第二模式转换成第一模式。
Optionally, if the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the PMU is used to determine whether the third voltage change rate is greater than the second value. The third rate of voltage change
Figure PCTCN2021098069-appb-000012
Wherein, V a is the first voltage, V b is the second voltage, the second voltage is obtained from the load according to the comparator module. If the third voltage change rate is greater than the second value, the PMU is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode.
可选地,PMU根据调压指令改变开关电源的状态,以使得开关电源对负载模块的输出电压达到第一电压。PMU接收比较器发送的第一信息,第一信息为比较器确定负载模块的电压达到第一电压得到的。PMU在接收到第一信息后,若调压指令对应的第一电压大于或小于阈值电压,则改变开关电源的状态,以使得开关电源从第一模式转换成第二模式。Optionally, the PMU changes the state of the switching power supply according to the voltage regulation instruction, so that the output voltage of the switching power supply to the load module reaches the first voltage. The PMU receives the first information sent by the comparator, where the first information is obtained by the comparator determining that the voltage of the load module reaches the first voltage. After the PMU receives the first information, if the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the state of the switching power supply is changed, so that the switching power supply is converted from the first mode to the second mode.
可选地,PMU接收模式转换指令,模式转换指令为芯片根据调压指令对应的第一电压大于或小于阈值电压得到的。在接收到模式转换指令后,PMU根据模式转换指令,改变开 关电源的状态,以使得开关电源从第一模式转换成第二模式。Optionally, the PMU receives a mode conversion instruction, and the mode conversion instruction is obtained by the chip according to the first voltage corresponding to the voltage regulation instruction being greater than or less than the threshold voltage. After receiving the mode switching command, the PMU changes the state of the switching power supply according to the mode switching command, so that the switching power supply is switched from the first mode to the second mode.
关于对本申请实施中DVFS电源控制方法的描述,可以参考前面对DVFS电源系统的描述。For the description of the DVFS power supply control method in the implementation of this application, reference may be made to the previous description of the DVFS power supply system.
上面对本申请实施例中DVFS电源控制方法进行了描述,下面对本申请实施例中终端进行描述。The DVFS power control method in the embodiment of the present application is described above, and the terminal in the embodiment of the present application is described below.
请参阅图11,图11为本申请实施例中终端的一个结构示意图。Please refer to FIG. 11, which is a schematic structural diagram of a terminal in an embodiment of the application.
如图11所示,终端1100包括芯片1110,PMU1130,电池1140,与所述芯片1110耦接的收发器1120。芯片1110可以是CPU,网络处理器(network processor,NP),或者CPU和NP的组合。处理器还可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。芯片1110可以是指一个处理器,也可以包括多个处理器。As shown in FIG. 11, the terminal 1100 includes a chip 1110, a PMU 1130, a battery 1140, and a transceiver 1120 coupled to the chip 1110. The chip 1110 may be a CPU, a network processor (network processor, NP), or a combination of a CPU and NP. The processor may also be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The chip 1110 may refer to one processor, or may include multiple processors.
收发器1120用于与其它终端或基站等设备进行通信。电池1140用于对PMU1130进行供电。The transceiver 1120 is used to communicate with other terminals or base stations and other equipment. The battery 1140 is used to power the PMU 1130.
芯片1110用于根据运行频率确定是否需要调整电压,若需要,则向PMU1130发送调压指令。The chip 1110 is used to determine whether the voltage needs to be adjusted according to the operating frequency, and if necessary, send a voltage adjustment instruction to the PMU 1130.
PMU1130用于接收芯片1110发送的调压指令,调压指令与第一电压对应。调压指令与第一电压对应是指调压指令包括第一电压,或包括与第一电压相对应的标识。若调压指令对应的第一电压大于或小于阈值电压,则PMU1130用于改变PMU1130中开关电源的状态,以使得开关电源从第一模式转换成第二模式,以使得改变开关电源可对负载模块的输出电流的范围。负载模块可以是芯片1110,或者是芯片1110中的部分功能模块,例如CPU,GPU,也可以是其它不属于芯片1110的负载。具体的,1130用于控制开关电源中某些电子元件的导通与关断,来改变开关电源的状态。The PMU1130 is used to receive the voltage regulation command sent by the chip 1110, and the voltage regulation command corresponds to the first voltage. The voltage regulation command corresponding to the first voltage means that the voltage regulation command includes the first voltage or includes an identifier corresponding to the first voltage. If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU1130 is used to change the state of the switching power supply in the PMU1130, so that the switching power supply is converted from the first mode to the second mode, so that changing the switching power supply can affect the load module The range of output current. The load module may be the chip 1110, or some functional modules in the chip 1110, such as CPU, GPU, or other loads that do not belong to the chip 1110. Specifically, 1130 is used to control the on and off of certain electronic components in the switching power supply to change the state of the switching power supply.
可选地终端1100还包括存储器,存储器可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器也可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器还可以包括上述种类的存储器的组合。Optionally, the terminal 1100 further includes a memory, and the memory may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile memory) , Such as read-only memory (ROM), flash memory (flash memory), hard disk drive (HDD) or solid-state drive (SSD); memory can also include the above types of memory The combination.
此外,PMU1130或芯片1110执行存储器中的计算机可读指令后,可以按照所述计算机可读指令的指示,执行PMU1130或芯片1110可以执行的全部操作,例如PMU或芯片在与图5对应的实施例中执行的操作。In addition, after the PMU 1130 or the chip 1110 executes the computer-readable instructions in the memory, it can perform all operations that the PMU 1130 or the chip 1110 can perform according to the instructions of the computer-readable instructions. Actions performed in.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:闪存盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical discs and other media that can store program codes.

Claims (13)

  1. 一种动态电压频率调整DVFS电源系统,其特征在于,包括:A dynamic voltage and frequency adjustment DVFS power supply system is characterized in that it includes:
    芯片,电源管理单元PMU和负载模块;Chip, power management unit PMU and load module;
    其中,所述PMU包括控制器和开关电源;Wherein, the PMU includes a controller and a switching power supply;
    所述芯片用于向所述控制器发送调压指令,所述调压指令与第一电压对应;The chip is used to send a voltage regulation instruction to the controller, where the voltage regulation instruction corresponds to a first voltage;
    若所述调压指令对应的所述第一电压大于或小于阈值电压,则所述控制器用于改变所述开关电源的状态,以使得所述开关电源从第一模式转换成第二模式,以使得改变所述开关电源可对所述负载模块的输出电流的范围。If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the controller is used to change the state of the switching power supply, so that the switching power supply is converted from the first mode to the second mode to So that the range of output current that the switching power supply can output to the load module is changed.
  2. 根据权利要求1所述的系统,其特征在于,所述第一模式为非连续导通模式DCM,所述第二模式为连续导通模式CCM;The system according to claim 1, wherein the first mode is a discontinuous conduction mode DCM, and the second mode is a continuous conduction mode CCM;
    所述控制器具体用于若所述调压指令对应的所述第一电压大于阈值电压,则改变所述开关电源的状态,以使得所述开关电源从所述DCM转换成所述CCM。The controller is specifically configured to change the state of the switching power supply if the first voltage corresponding to the voltage regulation instruction is greater than a threshold voltage, so that the switching power supply is converted from the DCM to the CCM.
  3. 根据权利要求2所述的系统,其特征在于,所述开关电源可对所述负载模块输出多个电压值,所述多个电压值包括V 1,V 2,……,Vn,所述多个电压值按从小到大排列,所述n为大于1的整数,根据所述负载模块的功率变化,所述多个电压值对应多个电流范围,所述多个电流范围包括A 1,A 2,……,An,其中,所述阈值电压等于Ax对应的Vx,所述x为大于或等于1,小于或等于n的整数,所述Ax的电流范围为H毫安至J毫安,当所述开关电源对所述负载模块的输出电压为所述Vx时,所述负载模块的功率变化导致对所述负载模块的输出电流从所述H毫安变化到所述J毫安,导致所述开关电源对所述负载模块的输出电压变化为Vc,第一电压变化率大于或等于第一数值,其中,所述第一电压变化率
    Figure PCTCN2021098069-appb-100001
    当所述开关电源对所述负载模块的输出电压为V x-1时,所述负载模块的功率变化导致对所述负载模块的输出电流从K毫安变化到L毫安,所述V x-1与A x-1对应,所述A x-1的电流范围为所述K毫安至所述L毫安,导致所述开关电源对所述负载模块的输出电压变化为V c-1,第二电压变化率小于所述第一数值,其中,所述第二电压变化率
    Figure PCTCN2021098069-appb-100002
    The system according to claim 2, wherein the switching power supply can output multiple voltage values to the load module, and the multiple voltage values include V 1 , V 2 ,..., Vn, the multiple The voltage values are arranged from small to large, and the n is an integer greater than 1. According to the power change of the load module, the multiple voltage values correspond to multiple current ranges, and the multiple current ranges include A 1 , A 2 , ..., An, wherein the threshold voltage is equal to Vx corresponding to Ax, the x is an integer greater than or equal to 1, and less than or equal to n, and the current range of Ax is from H milliampere to J milliampere, When the output voltage of the switching power supply to the load module is the Vx, the power change of the load module causes the output current to the load module to change from the H mA to the J mA, resulting in The output voltage change of the switching power supply to the load module is Vc, and the first voltage change rate is greater than or equal to a first value, wherein the first voltage change rate
    Figure PCTCN2021098069-appb-100001
    When the output voltage of the switching power supply to the load module is V x-1 , the power change of the load module causes the output current to the load module to change from K mA to L mA, and the V x 1 and the corresponding a x-1, a x-1 of the current range is the L to the K mA mA, resulting in a change in output voltage of the switching power supply of the load module is V c-1 , The second voltage change rate is less than the first value, wherein the second voltage change rate
    Figure PCTCN2021098069-appb-100002
  4. 根据权利要求3所述的系统,其特征在于,所述系统还包括比较器;The system according to claim 3, wherein the system further comprises a comparator;
    若所述调压指令对应的所述第一电压小于阈值电压,则所述控制器用于确定第三电压变化率是否大于第二数值,所述第三电压变化率
    Figure PCTCN2021098069-appb-100003
    其中,所述V a为所述第一电压,所述V b为第二电压,所述第二电压根据所述比较器从所述负载模块得到;
    If the first voltage corresponding to the voltage regulation command is less than the threshold voltage, the controller is used to determine whether the third voltage change rate is greater than the second value, and the third voltage change rate
    Figure PCTCN2021098069-appb-100003
    Wherein the first voltage V a, V b is the second voltage, the second voltage is obtained from the load module is based on the comparison;
    若所述第三电压变化率大于所述第二数值,则所述控制器还用于改变所述开关电源的状态,以使得所述开关电源从所述第二模式转换成所述第一模式。If the third voltage change rate is greater than the second value, the controller is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode .
  5. 根据权利要求2至4任意一项所述的系统,其特征在于,所述系统还包括比较器;The system according to any one of claims 2 to 4, wherein the system further comprises a comparator;
    所述控制器还用于改变所述开关电源的状态,以使得所述开关电源对所述负载模块的输出电压达到所述第一电压;The controller is also used to change the state of the switching power supply, so that the output voltage of the switching power supply to the load module reaches the first voltage;
    所述比较器用于确定所述负载模块的电压是否达到所述第一电压;The comparator is used to determine whether the voltage of the load module reaches the first voltage;
    若是,所述比较器还用于向所述控制器发送第一信息;If yes, the comparator is also used to send first information to the controller;
    所述控制器还用于接收所述第一信息;The controller is also used to receive the first information;
    所述控制器具体用于在所述控制器接收到所述第一信息后,若所述调压指令对应的所 述第一电压大于或小于阈值电压,则所述控制器用于改变所述开关电源的状态,以使得所述开关电源从所述第一模式转换成所述第二模式。The controller is specifically configured to, after the controller receives the first information, if the first voltage corresponding to the voltage regulation instruction is greater than or less than a threshold voltage, the controller is configured to change the switch The state of the power supply such that the switching power supply is converted from the first mode to the second mode.
  6. 根据权利要求1至5任意一项所述的系统,其特征在于,所述芯片还用于确定所述调压指令对应的所述第一电压是否大于或小于所述阈值电压;The system according to any one of claims 1 to 5, wherein the chip is further configured to determine whether the first voltage corresponding to the voltage regulation instruction is greater than or less than the threshold voltage;
    若是,则所述芯片还用于向所述控制器发送模式转换指令;If so, the chip is also used to send a mode conversion instruction to the controller;
    所述控制器具体用于根据所述模式转换指令,改变所述开关电源的状态,以使得所述开关电源从所述第一模式转换成所述第二模式。The controller is specifically configured to change the state of the switching power supply according to the mode conversion instruction, so that the switching power supply is converted from the first mode to the second mode.
  7. 一种DVFS电源控制方法,其特征在于,包括:A DVFS power supply control method is characterized in that it includes:
    电源管理单元PMU接收芯片发送的调压指令,所述调压指令与第一电压对应;The power management unit PMU receives a voltage adjustment instruction sent by the chip, where the voltage adjustment instruction corresponds to the first voltage;
    若所述调压指令对应的所述第一电压大于或小于阈值电压,则所述PMU改变开关电源的状态,以使得所述开关电源从第一模式转换成第二模式,以使得改变所述开关电源可对负载模块的输出电流的范围。If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changes the state of the switching power supply, so that the switching power supply is converted from the first mode to the second mode, so as to change the Switching power supply can output current range of load module.
  8. 根据权利要求7所述的方法,其特征在于,所述第一模式为非连续导通模式DCM,所述第二模式为连续导通模式CCM;The method according to claim 7, wherein the first mode is a discontinuous conduction mode DCM, and the second mode is a continuous conduction mode CCM;
    若所述调压指令对应的所述第一电压大于或小于阈值电压,则所述PMU改变开关电源的状态,以使得所述开关电源从第一模式转换成第二模式包括:If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changing the state of the switching power supply so that the switching power supply is converted from the first mode to the second mode includes:
    若所述调压指令对应的所述第一电压大于所述阈值电压,则所述PMU改变所述开关电源的状态,以使得所述开关电源从DCM转换成CCM。If the first voltage corresponding to the voltage regulation command is greater than the threshold voltage, the PMU changes the state of the switching power supply, so that the switching power supply is converted from DCM to CCM.
  9. 根据权利要求8所述的方法,其特征在于,所述开关电源可对所述负载模块输出多个电压值,所述多个电压值包括V 1,V 2,……,Vn,所述多个电压值按从小到大排列,所述n为大于1的整数,根据所述负载模块的功率变化,所述多个电压值对应多个电流范围,所述多个电流范围包括A 1,A 2,……,An,其中,所述阈值电压等于Ax对应的Vx,所述x为大于或等于1,小于或等于n的整数,所述Ax的电流范围为H毫安至J毫安,当所述开关电源对所述负载模块的输出电压为所述Vx时,所述负载模块的功率变化导致对所述负载模块的输出电流从所述H毫安变化到所述J毫安,导致所述开关电源对所述负载模块的输出电压变化为Vc,第一电压变化率大于或等于第一数值,其中,所述
    Figure PCTCN2021098069-appb-100004
    Figure PCTCN2021098069-appb-100005
    当所述开关电源对所述负载模块的输出电压为V x-1时,所述负载模块的功率变化导致对所述负载模块的输出电流从K毫安变化到L毫安,所述V x-1与A x-1对应,所述A x-1的电流范围为所述K毫安至所述L毫安,导致所述开关电源对所述负载模块的输出电压变化为V c-1,第二电压变化率小于所述第一数值,其中,所述
    Figure PCTCN2021098069-appb-100006
    The method according to claim 8, wherein the switching power supply can output multiple voltage values to the load module, the multiple voltage values including V 1 , V 2 ,..., Vn, the multiple The voltage values are arranged from small to large, and the n is an integer greater than 1. According to the power change of the load module, the multiple voltage values correspond to multiple current ranges, and the multiple current ranges include A 1 , A 2 , ..., An, wherein the threshold voltage is equal to Vx corresponding to Ax, the x is an integer greater than or equal to 1, and less than or equal to n, and the current range of Ax is from H milliampere to J milliampere, When the output voltage of the switching power supply to the load module is the Vx, the power change of the load module causes the output current to the load module to change from the H mA to the J mA, resulting in The output voltage change of the switching power supply to the load module is Vc, and the first voltage change rate is greater than or equal to a first value, wherein the
    Figure PCTCN2021098069-appb-100004
    Figure PCTCN2021098069-appb-100005
    When the output voltage of the switching power supply to the load module is V x-1 , the power change of the load module causes the output current to the load module to change from K mA to L mA, and the V x 1 and the corresponding a x-1, a x-1 of the current range is the L to the K mA mA, resulting in a change in output voltage of the switching power supply of the load module is V c-1 , The second voltage change rate is less than the first value, wherein the
    Figure PCTCN2021098069-appb-100006
  10. 根据权利要求9中所述的方法,其特征在于,若所述调压指令对应的所述第一电压小于阈值电压,则所述PMU用于确定第三电压变化率是否大于第二数值,所述第三电压变化率
    Figure PCTCN2021098069-appb-100007
    其中,所述V a为所述第一电压,所述V b为第二电压,所述第二电压根据比较器从所述负载模块得到;
    The method according to claim 9, wherein if the first voltage corresponding to the voltage regulation command is less than a threshold voltage, the PMU is used to determine whether the third voltage change rate is greater than the second value, so The third rate of voltage change
    Figure PCTCN2021098069-appb-100007
    Wherein the first voltage V a, V b is the second voltage from the second voltage to obtain a load module in accordance with the comparator;
    若所述第三电压变化率大于所述第二数值,则所述PMU还用于改变所述开关电源的状态,以使得所述开关电源从所述第二模式转换成所述第一模式。If the third voltage change rate is greater than the second value, the PMU is also used to change the state of the switching power supply, so that the switching power supply is converted from the second mode to the first mode.
  11. 根据权利要求8至10任意一项所述的方法,其特征在于,所述PMU根据所述调压 指令改变所述开关电源的状态,以使得所述开关电源对所述负载模块的输出电压达到所述第一电压;The method according to any one of claims 8 to 10, wherein the PMU changes the state of the switching power supply according to the voltage regulation instruction, so that the output voltage of the switching power supply to the load module reaches The first voltage;
    所述PMU接收所述比较器发送的第一信息,所述第一信息为所述比较器确定所述负载模块的电压达到所述第一电压得到的;Receiving, by the PMU, first information sent by the comparator, where the first information is obtained by the comparator determining that the voltage of the load module reaches the first voltage;
    若所述调压指令对应的所述第一电压大于或小于阈值电压,则所述PMU改变开关电源的状态,以使得所述开关电源从第一模式转换成第二模式包括:If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changing the state of the switching power supply so that the switching power supply is converted from the first mode to the second mode includes:
    所述PMU在接收到所述第一信息后,若所述调压指令对应的所述第一电压大于或小于阈值电压,则改变所述开关电源的状态,以使得所述开关电源从所述第一模式转换成所述第二模式。After the PMU receives the first information, if the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the state of the switching power supply is changed so that the switching power supply is switched from the The first mode is converted to the second mode.
  12. 根据权利要求7至11中任意一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 7 to 11, wherein the method further comprises:
    所述PMU接收模式转换指令,所述模式转换指令为所述芯片根据所述调压指令对应的所述第一电压大于或小于所述阈值电压得到的;The PMU receives a mode conversion instruction, where the mode conversion instruction is obtained by the chip according to the first voltage corresponding to the voltage regulation instruction being greater than or less than the threshold voltage;
    若所述调压指令对应的所述第一电压大于或小于阈值电压,则所述PMU改变开关电源的状态,以使得所述开关电源从第一模式转换成第二模式包括:If the first voltage corresponding to the voltage regulation command is greater than or less than the threshold voltage, the PMU changing the state of the switching power supply so that the switching power supply is converted from the first mode to the second mode includes:
    所述PMU根据所述模式转换指令,改变所述开关电源的状态,以使得所述开关电源从所述第一模式转换成所述第二模式。The PMU changes the state of the switching power supply according to the mode conversion instruction, so that the switching power supply is converted from the first mode to the second mode.
  13. 一种终端,其特征在于,所述终端包括前述权利要求1至6中任意一项所述动态电压频率调整DVFS电源系统。A terminal, characterized in that the terminal includes the dynamic voltage frequency adjustment DVFS power supply system according to any one of the preceding claims 1 to 6.
PCT/CN2021/098069 2020-06-12 2021-06-03 Dvfs power supply system and dvfs power supply control method WO2021249271A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010536916.4A CN113872416A (en) 2020-06-12 2020-06-12 DVFS power supply system and DVFS power supply control method
CN202010536916.4 2020-06-12

Publications (1)

Publication Number Publication Date
WO2021249271A1 true WO2021249271A1 (en) 2021-12-16

Family

ID=78845252

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/098069 WO2021249271A1 (en) 2020-06-12 2021-06-03 Dvfs power supply system and dvfs power supply control method

Country Status (2)

Country Link
CN (1) CN113872416A (en)
WO (1) WO2021249271A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114938346A (en) * 2022-05-13 2022-08-23 苏州盛科通信股份有限公司 Method and device for realizing quick service switching by cooperation of chip and CPU

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116931644A (en) * 2022-03-31 2023-10-24 华为技术有限公司 Voltage regulating method and device
CN116961405A (en) * 2022-04-13 2023-10-27 华为技术有限公司 Power supply controller, power supply system and control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101283325A (en) * 2005-10-07 2008-10-08 英特尔公司 Low loss switching mode power converter operating in both CCM and DCM
US20100315057A1 (en) * 2009-06-10 2010-12-16 Stmicroelectronics S.R.L. Method and relative feedback control loop of a voltage converter
CN107783628A (en) * 2016-08-26 2018-03-09 瑞昱半导体股份有限公司 Voltage and frequency adjusting device, System on Chip/SoC and voltage and frequency adjusting method
US20190094894A1 (en) * 2017-09-22 2019-03-28 Chaoyang Semiconductor Jiangyin Technology Co., Ltd. Serial bus protocol encoding for voltage regulator with support for dvfs
CN110413094A (en) * 2018-04-27 2019-11-05 甲骨文国际公司 Current compensation during dynamic electric voltage and frequency scaling transformation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101283325A (en) * 2005-10-07 2008-10-08 英特尔公司 Low loss switching mode power converter operating in both CCM and DCM
US20100315057A1 (en) * 2009-06-10 2010-12-16 Stmicroelectronics S.R.L. Method and relative feedback control loop of a voltage converter
CN107783628A (en) * 2016-08-26 2018-03-09 瑞昱半导体股份有限公司 Voltage and frequency adjusting device, System on Chip/SoC and voltage and frequency adjusting method
US20190094894A1 (en) * 2017-09-22 2019-03-28 Chaoyang Semiconductor Jiangyin Technology Co., Ltd. Serial bus protocol encoding for voltage regulator with support for dvfs
CN110413094A (en) * 2018-04-27 2019-11-05 甲骨文国际公司 Current compensation during dynamic electric voltage and frequency scaling transformation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114938346A (en) * 2022-05-13 2022-08-23 苏州盛科通信股份有限公司 Method and device for realizing quick service switching by cooperation of chip and CPU

Also Published As

Publication number Publication date
CN113872416A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
WO2021249271A1 (en) Dvfs power supply system and dvfs power supply control method
TWI645277B (en) Envelope-tracking power supply modulator
US9395738B2 (en) Current-parking switching regulator with a split inductor
US12003175B2 (en) Hybrid converter with reduced inductor loss
CN111435819B (en) Step-down hysteresis type switch converter and control method thereof
CN109600029A (en) A kind of Buck DC-DC of the adaptive turn-on time of pseudo- fixed frequency of use is lightly loaded efficient and ripple control method
Chakraborty et al. Combination of buck and boost modes to minimize transients in the output of a positive buck-boost converter
CN110677042B (en) Voltage conversion circuit and power supply system
US20220286052A1 (en) Power supply unit with auxiliary boost control in bootloader mode
CN103546034A (en) Composite feedforward control type hysteresis control system
WO2021189205A1 (en) Power supply management system and electronic device
CN107204705A (en) The control method of DC-DC adjusters and its soft start, controller
WO2022033507A1 (en) Voltage conversion circuit and method, and power source management chip and mobile terminal
CN110347234B (en) Circuit for compensating voltage
CN112698709B (en) Multi-phase BUCK circuit and voltage regulation method thereof
Li et al. Workload-aware adaptive power delivery system management for many-core processors
CN113872417B (en) DVFS power supply system and DVFS power supply control method
CN103929059A (en) Current Limiting Scheme For Converter
CN103095105A (en) Double-edge pulse frequency modulation (PFM) modulation voltage-type control method of output capacitance low equivalent series resistance (ESR) switch convertor and device thereof
US11264900B2 (en) PFM control method for boost converters
KR102428555B1 (en) Dc-dc converting apparatus for fast wake-up in electronic device and operation method thereof
CN201975990U (en) Voltage detecting and power management circuit
CN102723861B (en) Power supply circuit for chip
WO2021253457A1 (en) Apparatus for converting direct-current voltage, and electronic device
WO2022094906A1 (en) Power system, charging method, and discharging method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21822526

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21822526

Country of ref document: EP

Kind code of ref document: A1