CN116136716A - Power supply circuit and method, electronic device, and computer-readable storage medium - Google Patents

Power supply circuit and method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN116136716A
CN116136716A CN202111359237.5A CN202111359237A CN116136716A CN 116136716 A CN116136716 A CN 116136716A CN 202111359237 A CN202111359237 A CN 202111359237A CN 116136716 A CN116136716 A CN 116136716A
Authority
CN
China
Prior art keywords
voltage
power supply
processor
module
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111359237.5A
Other languages
Chinese (zh)
Inventor
史岩松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111359237.5A priority Critical patent/CN116136716A/en
Priority to PCT/CN2022/109008 priority patent/WO2023087781A1/en
Publication of CN116136716A publication Critical patent/CN116136716A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/263Arrangements for using multiple switchable power supplies, e.g. battery and AC
    • 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
    • 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
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3296Power saving characterised by the action undertaken by lowering the supply or operating voltage
    • 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/06Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using resistors or capacitors, e.g. potential divider

Landscapes

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

Abstract

Provided are a power supply circuit and method, an electronic device, and a computer-readable storage medium. The power supply circuit is used for supplying power to the processor and comprises an AVS module for monitoring and outputting the performance of the processor; and the switching power supply is used for adjusting the power supply voltage provided for the processor according to the output of the AVS module, wherein the switching frequency of the switching power supply is more than 10MHz. In the embodiment of the application, the switching frequency adopted by the switching power supply in the power supply circuit is larger than 10MHz, so that the switching power supply can quickly stabilize the power supply voltage to the power supply voltage value required by the processor according to the voltage requirement of the processor output by the AVS module, the self-adaptive adjustment time of the AVS module is correspondingly shortened, and the working loss of the processor is effectively reduced.

Description

Power supply circuit and method, electronic device, and computer-readable storage medium
Technical Field
The present disclosure relates to the field of power supply technologies, and more particularly, to a power supply circuit and method, an electronic device, and a computer readable storage medium.
Background
Currently, the power supply mode of the processor of the electronic device is mostly a mode based on a switching power supply. In order to ensure that a system served by the processor can safely and stably work, the switching power supply generally provides a stable power supply voltage higher than the theoretical optimal working voltage of the processor for the processor according to the requirement of the processor, and the power supply voltage is adjusted to the theoretical optimal working voltage of the processor through the AVS module on the basis.
However, the conventional switching power supply requires a longer time to provide a stable power supply voltage according to the requirements of the processor, and thus the adjustment time of the AVS module is also longer, which results in long-time operation of the processor at a higher power supply voltage, and increases the operation loss of the processor.
Disclosure of Invention
The application provides a power supply circuit and a method, an electronic device and a computer readable storage medium to solve the above problems.
In a first aspect, a power supply circuit is provided for powering a processor, comprising: the AVS module is used for monitoring and outputting the performance of the processor; and the switching power supply is used for adjusting the power supply voltage provided for the processor according to the output of the AVS module, wherein the switching frequency of the switching power supply is more than 10MHz.
Optionally, the switching power supply includes: the voltage conversion module is used for outputting the power supply voltage according to the voltage regulation signal; the feedback module is used for monitoring the power supply voltage output by the voltage conversion module so as to generate a feedback signal; and the power management module is used for providing the voltage regulating signal for the voltage conversion module according to the feedback signal and/or the performance of the processor.
Optionally, the voltage conversion module includes interconnect's first switch tube and second switch tube, first switch tube with the tie point of second switch tube with output be provided with the inductance between the voltage output of power supply voltage, the output of inductance is connected with one end of electric capacity, the other end ground connection of electric capacity, the voltage conversion module is according to voltage regulation signal control first switch tube with the switching frequency and the duty cycle of second switch tube, so that the inductance and/or electric capacity output the power supply voltage.
Optionally, the feedback module includes: the comparator is provided with an input end, a reference end and an output end, wherein the input end of the comparator is used for monitoring the power supply voltage, the reference end of the comparator is used for receiving the reference voltage, and the output end of the comparator is used for outputting a comparison result of the power supply voltage and the reference voltage to the power supply management module as the feedback signal.
Optionally, the feedback module is a feedback module based on hysteresis control.
Optionally, the feedback module includes: the feedback module further comprises a voltage divider, the voltage divider comprises a first voltage dividing resistor and a second voltage dividing resistor, the first voltage dividing resistor and the second voltage dividing resistor are connected in series, the other end of the first voltage dividing resistor is connected with a voltage output end for outputting the power supply voltage, the other end of the second voltage dividing resistor is grounded, and the input end of the comparator is connected with a connecting point of the first voltage dividing resistor and the second voltage dividing resistor so as to monitor the voltage of the power supply voltage after the power supply voltage is divided by the voltage divider.
Optionally, the performance of the processor includes an operating frequency of the processor and/or a temperature of the processor.
In a second aspect, a power supply method is provided for powering a processor, the method comprising: monitoring and outputting the performance of the processor by using an AVS module; and adjusting the power supply voltage provided for the processor through a switching power supply according to the output of the AVS module, wherein the switching frequency of the switching power supply is greater than 10MHz.
Optionally, the adjusting the power supply voltage provided to the processor by the switching power supply includes: outputting the power supply voltage through a voltage conversion module according to the voltage regulation signal; monitoring the power supply voltage output by the voltage conversion module through a feedback module to generate a feedback signal; and providing the voltage regulating signal for the voltage conversion module through a power management module according to the feedback signal and/or the performance of the processor.
Optionally, the voltage conversion module includes interconnect's first switch tube and second switch tube, first switch tube with the tie point of second switch tube with output be provided with the inductance between the voltage output of power supply voltage, the output of inductance is connected with the one end of electric capacity, the other end ground connection of electric capacity, according to the voltage regulating signal, through voltage conversion module output power supply voltage includes: and according to the voltage regulating signal, the switching frequency and the duty ratio of the first switching tube and the second switching tube in the voltage conversion module are controlled, so that the inductor and/or the capacitor outputs the power supply voltage.
Optionally, the feedback module includes: a comparator having an input, a reference, and an output, the power supply voltage output by the voltage conversion module being monitored by a feedback module to generate a feedback signal, comprising: monitoring the power supply voltage output by the voltage conversion module through an input end of the comparator; receiving a reference voltage with a reference terminal of the comparator; and the comparison result of the power supply voltage and the reference voltage is output to the power management module as the feedback signal through the output end of the comparator.
Optionally, the monitoring, by a feedback module, the supply voltage output by the voltage conversion module includes: and monitoring the power supply voltage output by the voltage conversion module through a feedback module based on hysteresis control.
Optionally, the feedback module further includes a voltage divider, the voltage divider includes a first voltage dividing resistor and a second voltage dividing resistor, the first voltage dividing resistor and the second voltage dividing resistor are connected in series, the other end of the first voltage dividing resistor is connected with a voltage output end outputting the supply voltage, the other end of the second voltage dividing resistor is grounded, an input end of the comparator is connected with a connection point of the first voltage dividing resistor and the second voltage dividing resistor, and the monitoring of the supply voltage output by the voltage conversion module through the input end of the comparator includes: and the voltage of the power supply voltage output by the voltage conversion module after being divided by the voltage divider is monitored through the input end of the comparator.
Optionally, the performance of the processor includes an operating frequency of the processor and/or a temperature of the processor.
In a third aspect, there is provided an electronic device comprising: a processor; the AVS module is used for monitoring and outputting the performance of the processor; and the switching power supply is used for adjusting the power supply voltage provided for the processor according to the output of the AVS module, wherein the switching frequency of the switching power supply is more than 10MHz.
In a fourth aspect, there is provided a computer readable storage medium storing a computer program which when executed performs the method of the second aspect.
According to the power supply circuit for supplying power to the processor, the switching frequency adopted by the switching power supply is larger than 10MHz, so that the switching power supply can quickly stabilize the power supply voltage to the power supply voltage value required by the processor according to the voltage requirement of the processor output by the AVS module, the self-adaptive adjustment time of the AVS module is correspondingly shortened, and the working loss of the processor is effectively reduced.
Drawings
Fig. 1 is a schematic configuration diagram of a power supply system of an electronic device in the related art.
Fig. 2 is a schematic structural diagram of an electronic device in the related art.
Fig. 3 is a voltage regulation exemplary diagram of the AVS module in the embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 5 is a schematic circuit diagram of an electronic device according to an embodiment of the present application.
Fig. 6 is a schematic circuit diagram of another electronic device according to an embodiment of the present application.
Fig. 7 is a schematic diagram of a power supply experiment result of an electronic device according to an embodiment of the present application.
Fig. 8 is a schematic flow chart of a power supply method provided in an embodiment of the present application.
Detailed Description
In order to facilitate an understanding of the present application, the present application is described in more detail below based on exemplary embodiments in conjunction with the accompanying drawings. The same or similar reference numbers are used in the drawings to refer to the same or similar modules. It is to be understood that the drawings are schematic only and that the scope of the present application is not limited thereto.
The power scheme of the processor will be described first with reference to fig. 1.
Fig. 1 shows a power supply system applied to an electronic device, for supplying power to a processor in the electronic device.
The electronic device may be any of various types of computer system devices that are mobile or portable and that perform wireless communications. For example, the electronic device may be a mobile phone or a smart phone (e.g., may be an iPhone (TM) -based phone, or an Android (TM) -based phone), a portable gaming device (e.g., nintendo DS TM, playStationPortable (TM), gameboy Advance TM, iPhone (TM)), a laptop, a personal digital assistant (personal digital assistant, PDA), a portable internet device, a music player, and a data storage device, other handheld devices, and devices such as watches, in-ear headphones, pendants, headsets, and the like. Alternatively, the electronic device may also be other wearable devices, such as, for example, electronic glasses, electronic clothing, electronic bracelets, electronic necklaces, electronic tattoos, electronic devices, smart watches, or head mounted displays (head mount display, HMD). For another example, the electronic device may be a vehicle-mounted electric device, for example, a vehicle machine, a vehicle recorder, a vehicle central control system, or a vehicle-mounted positioning device.
With continued reference to fig. 1, the power supply system includes a switching power supply 1 and a processor 2 in the electronic device. The switching power supply 1 is used to provide a supply voltage for a processor 2 of the electronic device.
The processor 2 is an arithmetic core and a control core of the electronic device, and various interfaces and lines can be used to connect various parts of the entire electronic device. The processor 2 can be used for executing instructions, programs, code sets or instruction sets etc. and can also call external data, perform various functions of the electronic device, process data etc. The specific type of the processor 2 is not limited in the embodiments of the present application, and may be, for example, any one of a central processing unit (central processing unit, CPU), a graphics processor (graphics processing unit, GPU), or a System On Chip (SOC) in which the central processing unit and the graphics processor are integrated.
An important indicator for the processor 2 to influence its performance is the operating frequency. The operational power of the processor 2 is substantially proportional to its operating frequency. The processor 2 is typically arranged to operate at different operating frequencies. For example, the operating frequency of the processor 2 may be reasonably configured according to different workloads (e.g., current and future operating scenarios of the processor and computing task needs). In particular, when the workload of the processor 2 is large, a higher operating frequency may be selected; when its workload is small, a lower operating frequency may be selected.
Since the processor 2 may have different operating frequencies under different operating conditions, the power supply voltage required by the processor 2 under different operating conditions is also different. The supply voltage required by the processor corresponds to the operating frequency of the processor 2, i.e. the greater the operating frequency the greater the supply voltage required, the lower the operating frequency the smaller the supply voltage required. It will be appreciated that the operating frequencies of the processors referred to in the embodiments of the present application all refer to the main frequency of the kernel operation.
During actual operation, the processor 2 performs evaluation and judgment according to different current and future working conditions, and decides the working frequency of the processor at the next moment so as to inform the switching power supply 1 of corresponding voltage change. Therefore, as shown in fig. 1, the power supply system further includes a communication module 3, and the switching power supply 1 and the processor 2 communicate with each other through the communication module 3, so as to convey the power supply voltage requirement of the processor 2 to the switching power supply 1 under different working conditions, and then the switching power supply 1 changes its working state to provide the power supply voltage required by the processor 2.
With continued reference to fig. 1, the switching power supply 1 includes a power management module 11 and a voltage conversion module 12. The power management module 11 can be connected to both the voltage conversion module 12 and the processor 2 via the communication module 3.
The power management module 11 can adjust the output voltage of the voltage conversion module 12 according to the operation requirement of the processor 2. The power management module 11 may be, for example, a power management integrated circuit (power management IC, abbreviated as PMIC).
The voltage conversion module 12 may also be referred to as a power conversion module, and is configured to convert an input voltage into an output voltage according to a voltage regulation signal output by the power management module 11, so as to supply power to the processor 2. The input voltage may be provided by an input power source 4, which input power source 4 may be a battery, for example. The voltage conversion module 12 may be a Buck topology as shown in fig. 1, and is not specifically limited herein.
The voltage conversion module 12 includes a plurality of switching elements, an inductance L1, and a capacitance C1. Taking fig. 1 as an example, the plurality of switching elements include a first switching element Q1 and a second switching element Q2, and the first switching element Q1 and the second switching element Q2 may be switching MOS transistors, or devices having switching functions such as relays and load switches. Wherein, the first end of the first switching element Q1 is connected with the input power supply 4, and the second end of the first switching element Q1 is connected with the first end of the second switching element Q2 and the first end of the inductor L1 respectively; the second end of the second switching element Q2 is grounded; a second terminal (or output terminal) of the inductor L1 is connected to the first terminal of the capacitor C1 and to the processor 2, and the second terminal of the capacitor C1 is grounded. The number of the inductor L1 and the capacitor C1 is not particularly limited, for example, the corresponding number of the inductor L1 and the capacitor C1 can be set according to needs, and only 1 is taken as an example in the figure.
In the voltage conversion module 12, when the first switching element Q1 is closed and the second switching element Q2 is opened, the input power source 4 stores energy for the inductor L1, the current flowing through the inductor L1 increases linearly, and the processor 2 is powered and the capacitor C1 is charged; when the first switching element Q1 is turned off and the second switching element Q2 is turned on, the inductor L1 discharges to the processor 2, the current of the inductor L1 decreases linearly, and the capacitor C1 discharges to the processor to maintain the input current of the processor 2.
As shown in fig. 1, the power management module 11 may be connected to control terminals of the first switching element Q1 and the second switching element Q2. The power management module 11 may provide a voltage regulation signal to the voltage conversion module 12, so that the voltage conversion module 12 outputs a supply voltage according to the voltage regulation signal. The voltage regulation signal may be, for example, a pulse width modulation (pulse width modulation, PWM) signal, which may control the first switching element Q1 and the second switching element Q2 to regulate the supply voltage output by the voltage conversion module 12 to the supply voltage required by the processor 2. Specifically, the voltage conversion module 12 can adjust the time ratio of on and off of the first switching element Q1 and the second switching element Q2 by adjusting the duty ratio of the pulse width in the pulse width modulation signal, so as to adjust the charge and discharge time of the inductor L1 and the capacitor C1, so as to adjust the power supply voltage output to the processor 2, and ensure the normal operation of the processor.
As previously described, the communication module 3 may transmit the requirements of the processor 2 for the supply voltage to the switching power supply 1. The communication module 3 is not particularly limited in this application, and as shown in fig. 2, the communication module 3 may be an adaptive voltage regulation (Adaptive Voltage Scaling) module (AVS module for short). The AVS module 3 includes an AVS control unit 31 and an adaptive power supply controller 32, APC (Adaptive Power Controller) for short. The AVS control unit 31 in the AVS module 3 may detect a performance change of the processor and transfer the performance change to the adaptive power controller 32 so that it can accurately output the performance change of the processor to the switching power supply 1 through a power line interface (PowerWise interface, abbreviated as PWI bus). The performance change of the processor is not particularly limited in this application, and may be, for example, a change in the operating frequency of the processor, a change in the temperature of the processor, or a change in the current of the processor. The switching power supply 1 can adjust its supply voltage to the processor 2 according to the information so that the supply voltage matches the performance of the processor 2. Specifically, the power management module 11 may provide a voltage regulation signal to the voltage conversion module 12 according to the performance change information of the processor, so as to control the voltage conversion module 12 to output a power supply voltage matched with the performance of the processor 2. In some implementations, the AVS module may be embedded in processor 2.
In general, in order to ensure that the processor 2 can operate safely and stably, the switching power supply 1 provides a power supply voltage higher than a theoretical optimum operating voltage of the processor for the processor according to the output of the AVS module, and adjusts the power supply voltage to the theoretical optimum operating voltage of the processor through APC in the AVS module. The APC adjusts the supply voltage according to different temperatures and different frequencies of the processor, and in particular, the APC adjusts by probing the supply voltage for a slow drop of the multi-step voltage until the supply voltage is adjusted to the theoretical optimum operating voltage of the processor. Taking fig. 3 as an example, at time t1, the theoretical optimum operating voltage of the processor 2 should be 2V, but for safe operation of the processor, the AVS module applies a supply voltage with a voltage value of 3V like the switching power supply 1 first, then APC in the AVS module reduces the supply voltage by using the stepped multi-gear value in the figure, and finally, the supply voltage of the processor is 2V at time t 2.
However, since the switching frequencies of the first switching element Q1 and the second switching element Q2 in the commonly used switching power supply 1 are generally 3MHz to 6MHz, which makes the variation of the switching frequency somewhat limited, the setup time for supplying the power supply voltage to the processor by changing the switching frequency of the switching power supply is generally long. Since the voltage regulation process of the AVS module is limited by this setup time, the voltage regulation interval time set by the AVS module is also relatively long in order to adapt to the setup time. Therefore, the overall adjustment time of the power supply voltage of the processor is longer, so that the processor stays longer at each adjustment voltage higher than the theoretical optimal working voltage, the working time of the processor at the higher voltage is increased, and the working loss of the processor is increased.
In view of this, the present application proposes a power supply circuit for powering a processor, where the switching frequency adopted by the switching power supply of the power supply circuit is greater than 10MHz, so that the switching power supply can quickly stabilize the power supply voltage to the power supply voltage value required by the processor according to the voltage requirement of the processor output by the AVS module, so that the adaptive adjustment time of the AVS module is correspondingly shortened, and the working loss of the processor is effectively reduced
The power supply circuit provided in the embodiment of the present application is described in detail below with reference to fig. 4 and 5.
Referring to fig. 4 and 5, a power supply circuit 40 supplies power to a processor 41, and the power supply circuit 40 may include an AVS module 42 and a switching power supply 43.
The processor 41 may be the processor 2 described in the previous embodiments.
The AVS module 42 is used to monitor and output the performance of the processor 41, which may be, for example, the operating frequency of the processor and/or the temperature of the processor. The AVS module 42 is the same as the AVS module 3 described in the previous embodiment, and is not described here. The AVS module 42 in fig. 5 is embedded in the processor 41.
The switching power supply 43 is used to adjust the supply voltage provided to the processor 41 according to the output of the AVS module. The configuration of the switching power supply 43 is not particularly limited in this application, and for example, the switching power supply 1 shown in fig. 1 may be used. In contrast, the switching frequency of the switching power supply in this embodiment is greater than 10MHz.
According to the embodiment of the application, the switching frequency adopted by the switching power supply of the power supply circuit is set to be more than 10MHz, so that the switching power supply can quickly stabilize the power supply voltage to the power supply voltage value required by the processor according to the output of the AVS module, the self-adaptive adjustment time of the AVS module is correspondingly shortened, and the working loss of the processor is effectively reduced.
As can be seen from the foregoing, the switching power supply 43 is used to adjust the supply voltage provided to the processor according to the output of the AVS module. That is, the power supply voltage outputted by the switching power supply 43 at the present time is different from the power supply voltage required by the next processor, and it is necessary to adjust the power supply voltage value from the power supply voltage value outputted at the present time to the value of the power supply voltage required by the next processor at the next time.
In order to effectively adjust the supply voltage, as shown in fig. 5, the switching power supply 43 may include a power management module 431, a voltage conversion module 432, and a feedback module 433.
The power management module 431 may provide the voltage conversion module 432 with a voltage regulation signal according to the feedback signal of the feedback module 433 and/or the performance of the processor output by the AVS module 3, so that the voltage conversion module 432 outputs a supply voltage according to the voltage regulation signal, and the supply voltage output by the voltage conversion module 432 is the supply voltage required by the processor 41. The manner in which the power management module 431 provides the voltage regulation signal is not specifically limited in this application. For example, the performance of the processor indicates that the temperature of the processor is rising, and the power management module 431 provides a voltage regulation signal for reducing the power supply voltage according to the information; for another example, the performance of the processor indicates that the working frequency of the processor is increased, and the power management module provides a voltage regulating signal for increasing the power supply voltage according to the information; as another example, the feedback signal indicates that the output voltage of the voltage conversion module 432 is lower than the supply voltage required by the processor, and the power management module provides a voltage regulation signal that increases the supply voltage according to this information. In another embodiment, the power management module 431 may provide the voltage conversion module 432 with the voltage regulation signal according to at least one of the performance indicators of the processor and/or the feedback signal. The power management module 431 may be the power management module 11 in the previous embodiment, and the voltage conversion module 432 may be the voltage conversion module 12 in the previous embodiment.
The power management module 431 can output the power supply voltage to the output terminal V through the feedback module 433 and the voltage conversion module 432 O And (5) performing connection. The feedback module 433 is configured to monitor the supply voltage (i.e. output terminal V) output from the voltage conversion module 432 O And generates a feedback signal based on the supply voltage and the supply voltage actually required by the processor 41.
The feedback signal obtaining manner is not specifically limited, for example, the feedback module 433 may include a comparator for comparing the supply voltage output by the voltage conversion module 432 with a reference voltage, and using the comparison result of the supply voltage and the reference voltage as the feedback signal. The feedback module 433 then transmits the feedback signal to the power management module 431. The supply voltage of the output of the voltage conversion module 432 monitored by the feedback module 433 may be understood as the supply voltage of the output of the voltage conversion module 432 at the current time, and the reference voltage may be the supply voltage actually required by the processor 41, or may be understood as the supply voltage required by the processor 41 at the next time. The supply voltage required for the next instant of the processor 41 is known from the output of the AVS module. The feedback signal may be information indicating how the power management module 431 adjusts the voltage conversion module 432. For example, the feedback signal may also be a pulse width modulated signal, and the power management module 431 may adjust the on-off time ratio of the first switching element Q1 and the second switching element Q2 in the voltage conversion module 432 according to the duty ratio in the pulse width modulated signal.
The structure of the feedback module 433 is not specifically limited, for example, the feedback module 433 may be a feedback module based on voltage control, or may also be a feedback module based on current control (for example, a feedback module based on peak current, or a feedback module based on average current), or may also be a feedback module based on hysteresis control.
As one implementation, as shown in fig. 6, the feedback module 433 is a voltage control based feedback module. The feedback module 433 may include an error amplifier 434, a compensation module 435, and a pulse width modulation comparator 436.
The error amplifier 434 may also be referred to as an error comparator for comparing a supply voltage of an output of the switching power supply with a reference voltage and outputting the comparison result. Error amplifier 434 may include an input terminal V in Reference terminal V REF And output terminal V out . Input terminal V in Output terminal V of voltage conversion module 432 O And is connected to obtain the supply voltage output by the voltage conversion module 432 at the moment. Reference terminal V REF May be used to receive a reference voltage REF, which may be the supply voltage required by the processor 41 at the next instant. Output terminal u out Output terminal V of voltage conversion module 432 O The result of the comparison of the output voltage of (c) with the reference voltage REF.
The compensation module 435 may also be referred to as an error compensator for compensating errors caused by environmental factors as well as the device characteristics themselves, thereby enhancing the stability and transient response of the circuit. The compensation module 435 may be a filter capacitor or may also be an intelligent computing module for compensation. The compensation module 435 may correct the comparison result to avoid errors caused by environmental factors and the influence of the characteristics of each device.
The pulse width modulation comparator 436 is used for comparing the comparison result corrected 435 by the compensation module with the triangular wave and according to the ratioThe result is output as pulse width modulation signal. The PWM comparator 436 may also include an input V C Reference terminal V R And output terminal V out . Input terminal V C Is connected to the output of the compensation module 435 for receiving the comparison result output by the compensation module 435. Reference terminal V R For receiving the reference triangle wave. Output terminal V out The feedback signal determined based on the comparison result and the reference triangular wave may be, for example, a pulse width modulation signal. Specifically, the time when the triangular wave is 0 corresponds to the beginning of the period of the first switching tube, when the voltage value on the triangular wave is smaller than the comparison result, the pwm comparator 436 outputs a high level, and as the voltage value on the triangular wave rises, the voltage value is eventually equal to the comparison result, and the pwm comparator 436 outputs a low level, so as to obtain the pwm signal. The high level in the pulse width modulation signal can lead the first switching tube Q1 to be conducted, and the second switching tube Q2 to be turned off; the low level in the pwm signal may cause the first switching transistor Q1 to be turned off and the second switching transistor Q2 to be turned on.
The feedback module 433 formed by the error amplifier 434, the compensation module 435 and the pwm comparator 436 can simplify the control of the feedback loop and provide good noise immunity.
As another implementation, as shown in fig. 5, the feedback module 433 is a hysteresis control based feedback module. The feedback module 433 may include a voltage divider 437 and a comparator 438.
The voltage divider 437 is configured to receive the output terminal V of the voltage conversion module 432 O And divides the power supply voltage. The voltage divider 437 may be a resistive voltage divider, as an example, as shown in FIG. 8, and the voltage divider 53 may include a first voltage dividing resistor R F1 And a second voltage dividing resistor R F2 . A first voltage dividing resistor R F1 And a second voltage dividing resistor R F2 Connected in series, the series connection point of which forms a subsequent voltage output V for comparison out . A first voltage dividing resistor R F1 And the other end of the voltage conversion module 432 is connected to the output terminal V of the voltage conversion module O Connected with a second voltage-dividing resistor R F2 The other end of which is grounded.
Comparator with a comparator circuit438 may be a hysteresis comparator for comparing the supply voltage with the reference voltage and transmitting the comparison result of the supply voltage and the reference voltage as a feedback signal to the power management module 431. In particular, the comparator 438 may include an input V FB Reference terminal V REF And output terminal V out Input terminal V of comparator 438 FB Voltage output terminal V for comparison with the above out Connected to receive the output V of the voltage conversion module 432 of the voltage divider 437 for the current time O Voltage value obtained by dividing the supply voltage (for example, output terminal V of voltage conversion module 432 at the next time O The voltage output by the voltage divider 437 is V1×r2 (r1+r2) when the supply voltage of (a) is V1. Reference terminal V REF The reference voltage may be used to receive the reference voltage REF, which may be a voltage value obtained by equally dividing the power supply voltage required by the processor 41 at the next time (for example, the power supply voltage required by the processor 41 at the next time is V2, and the reference voltage is v2×r2 (r1+r2)). The output terminal V of the comparator 438 out The output signal is a pulse width modulation signal, for example, which is determined based on the divided voltage value and the reference voltage. Specifically, the comparator 438 may output a low level when the divided voltage value is greater than the reference voltage, and the comparator 438 may output a high level when the divided voltage value is less than the reference voltage. The high level in the pulse width modulation signal can lead the first switching tube Q1 to be conducted, and the second switching tube Q2 to be turned off; the low level in the pwm signal may cause the first switching transistor Q1 to be turned off and the second switching transistor Q2 to be turned on.
By setting the feedback module 433 as a feedback module based on hysteresis control, the output power supply voltage can be directly monitored through the comparator, so that transmission delay caused by an error amplifier and a compensator is avoided, and the speed of transient response is greatly improved. Meanwhile, as the voltage divider is added in the feedback module, the comparator in the feedback module can compare the voltage value after voltage division based on the voltage divider, so that the influence of the environment or electronic devices in the power supply circuit can be avoided, and the stability of the feedback module is effectively improved.
Further, as shown in FIG. 5, the series equivalent resistance R can be added to the branch of the capacitor C1 ESR By this means, when the operating frequency of the processor 41 is increased, the fluctuation is immediately generated to trigger the feedback module to act, thereby improving the transient response speed.
According to the power supply circuit, the switching frequency of the switching power supply is larger than 10MHz, and the feedback module can be a feedback module based on hysteresis control, so that the time required by the switching power supply when the switching power supply provides stable power supply voltage according to the requirements of a processor is greatly shortened. This is described in detail below in conjunction with fig. 7. FIG. 7 is a schematic diagram of the setup time results of a power supply system employing different switching power supplies and feedback modules in providing a stable supply voltage to a processor. The switching frequency of the switching power supply for (a) in fig. 7 is 3-6MHz, and the feedback module thereof is a feedback module composed of an error amplifier and a compensator. The switching frequency of the switching power supply in fig. 7 (b) is 10MHz, and the feedback module is the feedback module based on hysteresis control. As can be seen from fig. 7 (a), when the supply voltage at this moment is 0.12V and the supply voltage required for the next moment by the processor is 0.88V, the time Δx required for the (a) supply system in fig. 7 to stabilize the supply voltage from 0.12V to 0.88V (which can be understood to be close to 0V-0.9V) is 1.096ms. In the power supply circuit shown in fig. 7 (b), the time Δx required for stabilizing the power supply voltage from 0.15V to 0.82V (which can be understood as being close to 0V-0.9V) is 12 μs, so that it can be known that the stable establishment time of the switching power supply in the power supply circuit for providing the power supply voltage for the processor is improved by approximately 100 times.
The device embodiments of the present application are described in detail above in connection with fig. 1-7. An embodiment of the method of the present application is described in detail below in conjunction with fig. 8. It is to be understood that the description of the method embodiments corresponds to the description of the device embodiments, and that parts not described in detail can therefore be seen in the preceding device embodiments.
Fig. 8 is a schematic flow chart of a power supply method for powering a processor according to an embodiment of the present application. The method of fig. 8 may be implemented, for example, using the electronic devices shown in fig. 4-6.
Referring to fig. 8, in step S810, the performance of the processor is monitored and output using the AVS module.
In step S820, the supply voltage provided to the processor is adjusted by a switching power supply according to the output of the AVS module, wherein the switching frequency of the switching power supply is greater than 10MHz.
Optionally, adjusting the supply voltage provided to the processor by the switching power supply includes: according to the voltage regulating signal, outputting a power supply voltage through a voltage conversion module; monitoring the power supply voltage output by the voltage conversion module through the feedback module to generate a feedback signal; and providing a voltage regulating signal for the voltage conversion module through the power management module according to the feedback signal and/or the performance of the processor.
Optionally, the voltage conversion module includes interconnect's first switch tube and second switch tube, is provided with the inductance between the tie point of first switch tube and second switch tube and the voltage output of output power supply voltage, and the output of inductance is connected with the one end of electric capacity, and the other end ground connection of electric capacity, according to the voltage regulating signal, through voltage conversion module output power supply voltage, includes: according to the voltage regulating signal, the switching frequency and the duty ratio of the first switching tube and the second switching tube in the voltage conversion module are controlled, so that the inductor and/or the capacitor outputs the supply voltage.
Optionally, the feedback module includes: the comparator, the comparator has input, reference end and output, monitors the power supply voltage that voltage conversion module output through feedback module to produce feedback signal, include: monitoring the power supply voltage output by the voltage conversion module through the input end of the comparator; receiving a reference voltage by using a reference terminal of the comparator; and the comparison result of the power supply voltage and the reference voltage is output to the power management module as a feedback signal through the output end of the comparator.
Optionally, monitoring, by the feedback module, the supply voltage output by the voltage conversion module includes: and monitoring the power supply voltage output by the voltage conversion module through a feedback module based on hysteresis control.
Optionally, the feedback module further includes a voltage divider, the voltage divider includes a first voltage dividing resistor and a second voltage dividing resistor, the first voltage dividing resistor and the second voltage dividing resistor are connected in series, the other end of the first voltage dividing resistor is connected with a voltage output end outputting a supply voltage, the other end of the second voltage dividing resistor is grounded, an input end of the comparator is connected with a connection point of the first voltage dividing resistor and the second voltage dividing resistor, the supply voltage output by the voltage conversion module is monitored through an input end of the comparator, and the feedback module includes: the voltage of the power supply voltage output by the voltage conversion module after being divided by the voltage divider is monitored through the input end of the comparator.
Optionally, the performance of the processor includes an operating frequency of the processor and/or a temperature of the processor.
The embodiment of the application also provides electronic equipment, which comprises: a processor; the AVS module is used for monitoring and outputting the performance of the processor; and the switching power supply is used for adjusting the power supply voltage provided for the processor according to the output of the AVS module, wherein the switching frequency of the switching power supply is more than 10MHz. It can be appreciated that the processor, AVS module and switching power supply in the electronic device are the same as those described above, and will not be described here again.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program that, when executed, implements the foregoing method steps.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be read by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disk (digital video disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A power supply circuit for powering a processor, comprising:
the AVS module is used for monitoring and outputting the performance of the processor;
and the switching power supply is used for adjusting the power supply voltage provided for the processor according to the output of the AVS module, wherein the switching frequency of the switching power supply is more than 10MHz.
2. The power supply circuit of claim 1, wherein the switching power supply comprises:
the voltage conversion module is used for outputting the power supply voltage according to the voltage regulation signal;
the feedback module is used for monitoring the power supply voltage output by the voltage conversion module so as to generate a feedback signal;
and the power management module is used for providing the voltage regulating signal for the voltage conversion module according to the feedback signal and/or the performance of the processor.
3. The power supply circuit according to claim 2, wherein the voltage conversion module comprises a first switching tube and a second switching tube which are connected with each other, an inductor is arranged between a connection point of the first switching tube and the second switching tube and a voltage output end outputting the power supply voltage, the output end of the inductor is connected with one end of a capacitor, the other end of the capacitor is grounded, and the voltage conversion module controls switching frequency and duty ratio of the first switching tube and the second switching tube according to the voltage regulating signal so that the inductor and/or the capacitor outputs the power supply voltage.
4. The power supply circuit of claim 2, wherein the feedback module comprises:
the comparator is provided with an input end, a reference end and an output end, wherein the input end of the comparator is used for monitoring the power supply voltage, the reference end of the comparator is used for receiving the reference voltage, and the output end of the comparator is used for outputting a comparison result of the power supply voltage and the reference voltage to the power supply management module as the feedback signal.
5. The power supply circuit of claim 4, wherein the feedback module is a hysteresis control based feedback module.
6. The power supply circuit according to claim 5, wherein the feedback module further comprises a voltage divider including a first voltage dividing resistor and a second voltage dividing resistor, the first voltage dividing resistor and the second voltage dividing resistor are connected in series, the other end of the first voltage dividing resistor is connected to a voltage output terminal outputting the power supply voltage, the other end of the second voltage dividing resistor is grounded, and the input terminal of the comparator is connected to a connection point of the first voltage dividing resistor and the second voltage dividing resistor to monitor the voltage of the power supply voltage divided by the voltage divider.
7. The power supply circuit of claim 1, wherein the performance of the processor comprises an operating frequency of the processor and/or a temperature of the processor.
8. A method of powering a processor, the method comprising:
monitoring and outputting the performance of the processor by using an AVS module;
and adjusting the power supply voltage provided for the processor through a switching power supply according to the output of the AVS module, wherein the switching frequency of the switching power supply is greater than 10MHz.
9. The method of supplying power according to claim 8, wherein said adjusting the supply voltage provided to said processor by a switching power supply comprises:
Outputting the power supply voltage through a voltage conversion module according to the voltage regulation signal;
monitoring the power supply voltage output by the voltage conversion module through a feedback module to generate a feedback signal;
and providing the voltage regulating signal for the voltage conversion module through a power management module according to the feedback signal and/or the performance of the processor.
10. The power supply method according to claim 9, wherein the voltage conversion module comprises a first switching tube and a second switching tube which are connected with each other, an inductor is arranged between a connection point of the first switching tube and the second switching tube and a voltage output end outputting the power supply voltage, the output end of the inductor is connected with one end of a capacitor, the other end of the capacitor is grounded,
the step of outputting the power supply voltage through a voltage conversion module according to the voltage regulation signal comprises the following steps:
and according to the voltage regulating signal, the switching frequency and the duty ratio of the first switching tube and the second switching tube in the voltage conversion module are controlled, so that the inductor and/or the capacitor outputs the power supply voltage.
11. The power supply method according to claim 9, wherein the feedback module comprises: a comparator having an input, a reference, and an output, the power supply voltage output by the voltage conversion module being monitored by a feedback module to generate a feedback signal, comprising:
Monitoring the power supply voltage output by the voltage conversion module through an input end of the comparator;
receiving a reference voltage with a reference terminal of the comparator;
and the comparison result of the power supply voltage and the reference voltage is output to the power management module as the feedback signal through the output end of the comparator.
12. The power supply method according to claim 11, wherein the monitoring the power supply voltage output by the voltage conversion module by a feedback module includes:
and monitoring the power supply voltage output by the voltage conversion module through a feedback module based on hysteresis control.
13. The power supply method according to claim 12, wherein the feedback module further comprises a voltage divider including a first voltage dividing resistor and a second voltage dividing resistor connected in series, the other end of the first voltage dividing resistor is connected to a voltage output terminal outputting the power supply voltage, the other end of the second voltage dividing resistor is grounded, the input terminal of the comparator is connected to a connection point of the first voltage dividing resistor and the second voltage dividing resistor,
The monitoring the supply voltage output by the voltage conversion module through the input end of the comparator comprises:
and the voltage of the power supply voltage output by the voltage conversion module after being divided by the voltage divider is monitored through the input end of the comparator.
14. The power supply method according to claim 8, characterized in that the performance of the processor comprises the operating frequency of the processor and/or the temperature of the processor.
15. An electronic device, comprising:
a processor;
the AVS module is used for monitoring and outputting the performance of the processor;
and the switching power supply is used for adjusting the power supply voltage provided for the processor according to the output of the AVS module, wherein the switching frequency of the switching power supply is more than 10MHz.
16. A computer readable storage medium, characterized in that the computer storage medium stores a computer program which, when executed, implements the method according to any of claims 8-14.
CN202111359237.5A 2021-11-16 2021-11-16 Power supply circuit and method, electronic device, and computer-readable storage medium Pending CN116136716A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111359237.5A CN116136716A (en) 2021-11-16 2021-11-16 Power supply circuit and method, electronic device, and computer-readable storage medium
PCT/CN2022/109008 WO2023087781A1 (en) 2021-11-16 2022-07-29 Power supply circuit and method, electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111359237.5A CN116136716A (en) 2021-11-16 2021-11-16 Power supply circuit and method, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN116136716A true CN116136716A (en) 2023-05-19

Family

ID=86332534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111359237.5A Pending CN116136716A (en) 2021-11-16 2021-11-16 Power supply circuit and method, electronic device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN116136716A (en)
WO (1) WO2023087781A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136796A (en) * 2010-01-27 2011-07-27 财团法人工业技术研究院 Voltage adjusting system
US9570980B2 (en) * 2014-06-03 2017-02-14 Infineon Technologies Ag System and method for switched power supply current sampling
JP2017121098A (en) * 2015-12-28 2017-07-06 キヤノン株式会社 Power supply system
JP2017120952A (en) * 2015-12-28 2017-07-06 キヤノン株式会社 Imaging apparatus
JP2018061386A (en) * 2016-10-07 2018-04-12 キヤノン株式会社 Imaging apparatus

Also Published As

Publication number Publication date
WO2023087781A1 (en) 2023-05-25

Similar Documents

Publication Publication Date Title
KR101913711B1 (en) Adaptive charging voltage generator of mobile device charger
US9673651B2 (en) Dynamic voltage adjust circuits and methods
US8884589B2 (en) Method and system for power switch temperature regulation
US20210328605A1 (en) Apparatus for Improving the Effective Performance of a Power Source and Associated Methods
US20230015278A1 (en) Power management system and electronic device
CN112612356A (en) Power supply method, system, equipment and medium
US11025289B2 (en) Power management method, corresponding system and apparatus
CN100462896C (en) CPU working voltage adjustment system
US20200401204A1 (en) Dynamic battery power management based on battery internal impedance
CN117220492A (en) Power supply circuit, slow start method thereof and power supply chip
CN116136716A (en) Power supply circuit and method, electronic device, and computer-readable storage medium
CN110362008A (en) A kind of High Voltage Power Supply equipment power supply electrifying sequential control circuit
US20230095625A1 (en) Charging Method, Device, and System
TWI754947B (en) DC-DC conversion circuit and information processing device
CN103809719A (en) Circuit board and power supply management system for circuit board
US20220060034A1 (en) Charging current control method, electronic device, and power supply device
CN115411814B (en) Automatic voltage compensation charging device and tablet equipment
CN215772587U (en) Charging circuit and chip of head-mounted display and head-mounted display
US20220320902A1 (en) Apparatus for wireless charging, terminal and charging method
CN115967252A (en) Power supply method, power supply device, electronic device, and storage medium
CN116107782A (en) Method and device for controlling electronic equipment, electronic equipment and storage medium
CN117707266A (en) Voltage adjusting method and electronic equipment
CN118137835A (en) System on chip for voltage conversion, method, medium and power supply system
CN115981450A (en) Power supply control method, power supply management chip and storage medium
CN117096985A (en) External charging method, device, equipment and storage medium

Legal Events

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