Power supply system and power supply method

By setting a voltage detection terminal on the processor and dynamically adjusting the switching frequency of the switching power supply, the problem of unstable processor power supply voltage is solved, voltage stability and low heat generation are achieved when the load changes, meeting transient performance requirements.

CN114915141BActive Publication Date: 2025-09-23PHYTIUM TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210545927.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-19
Publication Date
2025-09-23
Estimated Expiration
2042-05-19

AI Technical Summary

Technical Problem

In the existing processor power supply method, although the fixed switching frequency reduces the difficulty of thermal design, it sacrifices the transient performance of the switching power supply, resulting in unstable processor power supply voltage, especially when the load suddenly changes, which easily causes the power supply voltage to drop.

Method used

By setting a voltage detection terminal on the processor, the switching frequency of the switching power supply is dynamically adjusted. The switching frequency is adjusted in real time according to the changes in the detection voltage, thereby improving the stability of the power supply voltage.

Benefits of technology

It achieves timely response to processor voltage drops when the load changes, reduces the power supply voltage drop, ensures the stability of the processor power supply voltage, avoids excessive heat generation, and meets transient performance requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114915141B_ABST
    Figure CN114915141B_ABST
Patent Text Reader

Abstract

The present application provides a power supply system and method that are conducive to ensuring the stability of the processor power supply voltage. The power supply system includes: a control circuit, and a power circuit and a processor connected in sequence, the control circuit including a first port and a second port, and the processor including a voltage detection terminal; wherein the control circuit and the power circuit are connected via the first port; the second port is connected to the voltage detection terminal; the control circuit is configured to output a modulation signal, the modulation signal being configured to adjust the switching frequency of the power circuit; the power circuit is configured to receive the modulation signal and output a power supply voltage for the processor based on the modulation signal; the processor is configured to feed back a detection voltage to the control circuit under the action of the supply voltage; and the control circuit is further configured to perform the following operations based on the detection voltage: in response to the detection voltage being lower than a first preset voltage, the switching frequency of the power circuit is increased to a first switching frequency to reduce the drop in the processor power supply voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power supply technology, and in particular to a power supply system and a power supply method. Background Art

[0002] Currently, processors are mostly powered by switching power supplies. The stability of the processor's supply voltage is related to the switching frequency of the power supply. A higher switching frequency improves the power supply's transient performance and increases the stability of the processor's supply voltage. However, higher switching frequencies also increase heat generation. To reduce thermal design challenges, the current approach is to use a fixed, high switching frequency to power the processor.

[0003] However, a fixed switching frequency will still sacrifice the transient performance of the switching power supply to a certain extent and cannot guarantee the stability of the processor power supply voltage. Summary of the Invention

[0004] The present application provides a power supply system and a power supply method, which can ensure the stability of the processor power supply voltage.

[0005] In a first aspect, a power supply system is provided, comprising: a control circuit, and a power circuit and a processor connected in sequence, the control circuit comprising a first port and a second port, and the processor comprising a voltage detection terminal; wherein the control circuit and the power circuit are connected via the first port; the second port is connected to the voltage detection terminal; the control circuit is used to output a modulation signal, and the modulation signal is used to adjust the switching frequency of the power circuit; the power circuit is used to receive the modulation signal and output a power supply voltage for powering the processor based on the modulation signal; the processor is used to feed back a detection voltage to the control circuit under the action of the power supply voltage; the control circuit is also used to perform the following operations based on the detection voltage: in response to the detection voltage being lower than a first preset voltage, the switching frequency of the power circuit is increased to a first switching frequency to reduce the drop in the power supply voltage of the processor.

[0006] The embodiments of the present application dynamically adjust the switching frequency of a switching power supply (i.e., the power circuit within the switching power supply) based on the magnitude of a detection voltage on the processor. Because a higher switching frequency improves the transient performance of the switching power supply, the power supply voltage provided to the processor becomes more stable. Therefore, if the detection voltage is detected to be lower than a first preset voltage, the switching frequency of the power circuit can be increased to reduce the drop in the processor's power supply voltage, thereby facilitating the stability of the processor's power supply voltage.

[0007] Furthermore, the detection voltage in the embodiments of the present application is the voltage at the voltage detection terminal on the processor. By extracting the voltage detection terminal from the processor, the detected detection voltage can be closer to the processor's operating voltage. Adjusting the switching frequency based on the processor's operating voltage can more promptly respond to processor voltage drops, improving the stability of the processor's supply voltage.

[0008] As a possible implementation, the control circuit includes: a first voltage reference circuit, used to output the first preset voltage; a first comparator, connected to the first voltage reference circuit and the voltage detection end, used to determine whether the detection voltage is lower than the first preset voltage.

[0009] The embodiment of the present application uses a comparator to determine the magnitude of the detection voltage and the first preset voltage. For the power supply system, the structure is simple, easy to implement, and conducive to cost savings.

[0010] As a possible implementation method, the control circuit is also used to perform the following operations based on the detection voltage: in response to the detection voltage being higher than a second preset voltage, reducing the switching frequency of the power circuit from the first switching frequency to a second switching frequency, wherein the second preset voltage is higher than the first preset voltage.

[0011] In the embodiment of the present application, when the detection voltage is higher than the second preset voltage, the control circuit reduces the switching frequency from the first switching frequency to the second switching frequency, thereby ensuring that the switching power supply operates at the first switching frequency for a relatively short period of time, typically in the μs range, without generating significant heat in the power supply system. Therefore, the solution of the embodiment of the present application can meet the transient performance requirements of the power circuit without significantly affecting the heat generation of the power supply system.

[0012] As a possible implementation, the control circuit includes: a second voltage reference circuit, used to output the second preset voltage; a second comparator, connected to the second voltage reference circuit and the voltage detection end, used to determine whether the detection voltage is higher than the second preset voltage.

[0013] The embodiment of the present application uses a comparator to determine the size of the detection voltage and the second preset voltage. For the power supply system, the structure is simple, easy to implement, and conducive to cost savings.

[0014] As a possible implementation manner, the voltage detection end is a region where the lowest voltage point is located when the processor can operate normally.

[0015] The area where the processor's voltage is lowest when operating normally can be considered the area with the worst transient performance. Using this area as the voltage detection terminal ensures that this area of ​​the processor meets transient performance requirements. Furthermore, since this area can meet these requirements, all other areas of the processor will also meet them.

[0016] As a possible implementation manner, the first switching frequency is a multiple of the switching frequency of the power circuit before being increased.

[0017] When adjusting the switching frequency of the power circuit, the embodiment of the present application can increase the switching frequency to a multiple of the original frequency, so that the increased first switching frequency can be larger. The larger first switching frequency is conducive to reducing the drop of the processor power supply voltage and ensuring the stability of the processor power supply voltage.

[0018] In a second aspect, a power supply method is provided, which is applied to a power supply system, wherein the power supply system includes a control circuit, and a power circuit and a processor connected in sequence, the control circuit includes a first port and a second port, and the processor includes a voltage detection end; wherein the control circuit and the power circuit are connected through the first port; the second port is connected to the voltage detection end; the control circuit is used to output a modulation signal, and the modulation signal is used to adjust the switching frequency of the power circuit; the power circuit is used to receive the modulation signal and output a power supply voltage for powering the processor based on the modulation signal; the processor is used to feed back a detection voltage to the control circuit under the action of the power supply voltage; the power supply method includes: obtaining the detection voltage through the voltage detection end; in response to the detection voltage being lower than a first preset voltage, increasing the switching frequency of the power circuit to the first switching frequency to reduce the drop in the power supply voltage of the processor.

[0019] The embodiments of the present application dynamically adjust the switching frequency of a switching power supply (i.e., the power circuit within the switching power supply) based on the magnitude of a detection voltage on the processor. Because a higher switching frequency improves the transient performance of the switching power supply, the power supply voltage provided to the processor becomes more stable. Therefore, if the detection voltage is detected to be lower than a first preset voltage, the switching frequency of the power circuit can be increased to reduce the drop in the processor's power supply voltage, thereby facilitating the stability of the processor's power supply voltage.

[0020] Furthermore, the detection voltage in the embodiments of the present application is the voltage at the voltage detection terminal on the processor. By extracting the voltage detection terminal from the processor, the detected detection voltage can be closer to the processor's operating voltage. Adjusting the switching frequency based on the processor's operating voltage can more promptly respond to processor voltage drops, improving the stability of the processor's supply voltage.

[0021] As a possible implementation, the power supply method further includes: in response to the detection voltage being higher than a second preset voltage, reducing the switching frequency of the power circuit from the first switching frequency to a second switching frequency, wherein the second preset voltage is higher than the first preset voltage.

[0022] In the embodiment of the present application, when the detection voltage is higher than the second preset voltage, the switching frequency is reduced from the first switching frequency to the second switching frequency, thereby ensuring that the switching power supply operates at the first switching frequency for a relatively short period of time, typically in the μs range, without generating significant heat in the power supply system. Therefore, the solution of the embodiment of the present application can meet the transient performance requirements of the power circuit without significantly affecting the heat generation of the power supply system.

[0023] As a possible implementation manner, the voltage detection end is a region where the lowest voltage point is located when the processor can operate normally.

[0024] The area where the processor's voltage is lowest when operating normally can be considered the area with the worst transient performance. Using this area as the voltage detection terminal ensures that this area of ​​the processor meets transient performance requirements. Furthermore, since this area can meet these requirements, all other areas of the processor will also meet them.

[0025] As a possible implementation manner, the first switching frequency is a multiple of the switching frequency of the power circuit before being increased.

[0026] When the switching frequency of the power circuit is increased in the embodiment of the present application, the switching frequency can be increased to a multiple of the original frequency, so that the increased first switching frequency can be larger. The larger first switching frequency is conducive to reducing the drop of the processor power supply voltage and ensuring the stability of the processor power supply voltage. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.

[0028] Figure 1 Shown is a structural schematic diagram of a power supply system that can be applied to an embodiment of the present application.

[0029] Figure 2 A schematic diagram of the structure of a power supply system provided in an embodiment of the present application.

[0030] Figure 3 A schematic diagram of the structure of another power supply system provided in an embodiment of the present application.

[0031] Figure 4 A schematic diagram of a switching frequency adjustment method provided in an embodiment of the present application.

[0032] Figure 5 A schematic flow chart of a power supply method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] To facilitate understanding of the present application, the present application is described in more detail below with reference to the accompanying drawings. The same or similar reference numerals are used in the accompanying drawings to represent the same or similar modules. It should be understood that the accompanying drawings are merely illustrative and the scope of protection of the present application is not limited thereto.

[0034] First combine Figure 1 , introduces the power supply solution of the processor.

[0035] Figure 1 The figure shows a power supply system. This power supply system can be applied to computer equipment to power a processor in the computer equipment. The computer equipment can be, for example, a server, an artificial intelligence (AI) accelerator card, or other equipment.

[0036] The processor is the computing and control core of a computer device, and can connect the various parts of the entire computer device using various interfaces and lines. The processor can be used to execute instructions, programs, code sets or instruction sets, etc., and can also call external data, perform various functions of the computer device, and process data. The embodiments of the present application do not limit the specific type of processor. For example, it can be any of a central processing unit (CPU), a graphics processing unit (GPU), or a system on chip (SOC) that integrates a central processing unit and a graphics processing unit.

[0037] Continue to see Figure 1 The power supply system 100 may include a switching power supply 110 and a processor 120. The switching power supply 110 is configured to provide a power supply voltage to the processor 120.

[0038] There are many types of switching power supplies. For example, a switching power supply can be an analog power supply. Another example is a digital power supply. The embodiments of the present application do not specifically limit the number of phases of a switching power supply. For example, a switching power supply can be a single-phase switching power supply or a multi-phase switching power supply. A multi-phase switching power supply can be, for example, a three-phase switching power supply, a four-phase switching power supply, or a five-phase switching power supply. The more phases a switching power supply has, the more energy it provides to the processor. Figure 1 What is shown is a schematic diagram of using a multi-phase digital power supply to power a processor, but the embodiments of the present application are not limited to this.

[0039] The switching power supply 110 may include a control circuit 111 and a power circuit 112. The control circuit 111 may be configured to output a modulation signal, which may be configured to adjust the switching frequency of the power circuit 112. The power circuit 112 may be configured to receive the modulation signal and, based on the modulation signal, output a supply voltage for powering the processor 120. The modulation signal may be, for example, a pulse width modulation (PWM) signal. It should be noted that the switching frequency of the power circuit may also be referred to as the switching frequency of the switching power supply, and the terms "switching frequency of the power circuit" and "switching frequency of the switching power supply" may be used interchangeably depending on the specific context.

[0040] The control circuit may include an analog-to-digital converter (ADC) 111-a, a proportional-integral-differential (PID) controller 111-b, and a comparator 111-c. The input of ADC 111-a is connected to the output of power circuit 112, and is used to obtain the power supply voltage VDD of processor 120 (or the output voltage of the power circuit), and perform analog-to-digital conversion on the obtained power supply voltage to convert it into a digital signal. The input of PID controller 111-b is connected to the output of ADC 111-a, and is used to receive the digital signal output by ADC 111-a. PID controller 111-b can be used to perform PID algorithm processing on the voltage difference between the preset voltage VDD_set and VDD. The output of PID controller 111-b is connected to the input of comparator 111-c, and is used to output the voltage difference between VDD_set and VDD to comparator 111-c. Comparator 111-c can compare this voltage difference with a triangular wave and output a modulated signal based on the comparison result. For example, the modulated signal can be obtained by, for example, outputting a high level from the comparator when the voltage value on the triangular wave is less than the voltage difference. As the voltage value on the triangular wave increases, when the voltage value on the triangular wave exceeds the voltage difference, the comparator outputs a low level, thereby obtaining the modulated signal. It is understood that the frequency of the triangular wave is the switching frequency of the power circuit. As can be seen from the above, the magnitude of the voltage difference is related to the duty cycle of the modulated signal. The magnitude of the voltage difference can be used to adjust the duty cycle of the modulated signal, thereby adjusting the voltage output by the power circuit.

[0041] It should be noted that if the switching power supply is a digital power supply, the preset voltage VDD_set can be a digital signal. The preset voltage VDD_set can be understood as the expected operating voltage of the processor, that is, the supply voltage that the power circuit is expected to provide.

[0042] The power circuit 112 may include a switching device and a driving circuit for driving the switching device. For the specific structure of the power circuit and the connection relationship between the various components, please refer to the existing technology and will not be described here. The driving circuit can control the opening and closing of the switching device based on the received modulation signal. The switching device may include at least one switching tube. The switching tube may be, for example, a metal oxide semiconductor field effect transistor (MOSFET), referred to as a MOS tube. The input end of the power circuit 112 is connected to the output end of the control circuit for receiving the modulation signal. The power circuit 112 can control the switching frequency of the switching device in the power circuit 112 based on the modulation signal. The power circuit 112 in the embodiment of the present application may be a driver MOSFET (DRMOS).

[0043] The power circuit 112 may control the opening and closing of the switch device based on the received modulation signal, so that the voltage output by the power circuit 112 is stabilized at a preset voltage VDD_set.

[0044] As mentioned above, the switching power supply can be a multi-phase switching power supply. The number of phases of the switching power supply is related to the number of power circuits. If the switching power supply is a multi-phase switching power supply, the number of power circuits can be multiple. Figure 1 As shown, the number of power circuits can be n, and the n power circuits are connected in parallel to provide a power supply voltage for the processor. The parallel power circuits can provide a larger power supply current for the processor.

[0045] If the switching power supply 110 includes n power circuits, the control circuit 111 can output n modulation signals, and the n modulation signals correspond to the n power circuits one by one. The n power circuits can be used to receive their respective corresponding modulation signals and control the switching frequencies of their respective switching devices according to the modulation signals. Figure 1 For example, control circuit 111 may be configured to output modulation signals PWM0-PWNn, and power circuit 112 may include power circuit 0-power circuit n, with PWM0-PWNn corresponding to power circuit 0-power circuit n. PWM0 is used to control the switching frequency of power circuit 0, PWM1 is used to control the switching frequency of power circuit 1, and so on, with PWMn being used to control the switching frequency of power circuit n. The modulation signals PWM0-PWNn may be the same or different, and this is not specifically limited in this embodiment of the present application.

[0046] In some embodiments, the switching power supply 110 may further include a filter circuit 113. The input of the filter circuit 113 may be connected to the output of the power circuit 112 to filter the voltage output by the power circuit 112 to output a more stable supply voltage. The output of the filter circuit 113 may be connected to the input of the processor 120 to provide the filtered voltage to the processor 120. The filtered voltage may be used as the supply voltage for the processor.

[0047] The embodiments of the present application do not specifically limit the filtering method of the filter circuit. For example, the filter circuit can use an inductive filtering method to filter. For another example, the filter circuit can use a capacitive filtering method to filter. For another example, the filter circuit can use an LC filtering method to filter. In this case, the filter circuit can also be called an LC filter circuit. Figure 1 As shown, the filter circuit 113 may include an inductor 113 - a and a capacitor 113 - b.

[0048] With technological advancements, people are placing more stringent demands on the various specifications of switching power supplies. For example, they are required to provide lower supply voltages and higher supply currents. For example, a server processor requires a current of over 200A and a supply voltage of less than 1V.

[0049] Furthermore, people have higher demands on processor operating stability. For example, they hope that processor voltage fluctuations are as small as possible when the load changes, which means that the switching power supply must have good transient performance. Especially in high current scenarios, processor operating stability is particularly important.

[0050] A key factor influencing the transient performance of a switching power supply is the switching frequency. The higher the switching frequency, the better the power supply's transient performance and the more stable the voltage supplied to the processor. However, higher switching frequencies also increase the heat generated by the power supply. Therefore, to reduce thermal design challenges, the current practice is to use a fixed, high switching frequency to power the processor. For example, multi-phase digital power supplies currently use a switching frequency of 500K.

[0051] However, a fixed switching frequency does compromise the switching power supply's transient performance to a certain extent. For example, when the load changes slightly, this fixed switching frequency can meet transient performance requirements and prevent significant drops in the processor's supply voltage. However, in unexpected situations, such as a sudden increase in load, if this switching frequency is still used, the processor's supply voltage will experience a significant drop, and this switching frequency will not meet transient performance requirements. If the processor's supply voltage drops below its minimum operating voltage, there is a risk of processor downtime.

[0052] Based on this, an embodiment of the present application provides a power supply system that can increase the switching frequency of the switching power supply when it detects that the voltage on the processor is lower than a first preset voltage. By using a high switching frequency to power the processor, the drop in the processor power supply voltage can be reduced.

[0053] The following combination Figure 2 , the power supply system provided in the embodiment of the present application is introduced.

[0054] See also Figure 2 The power supply system may include a control circuit 210, a power circuit 220, and a processor 230. The control circuit 210, the power circuit 220, and the processor 230 are connected in sequence.

[0055] The control circuit 210 may include a first port 211 and a second port 212. The first port 211 may be an output terminal of the control circuit 210, and the second port 212 may be an input terminal of the control circuit 210. The control circuit 210 may output a modulation signal through the first port 211, and the modulation signal is used to adjust the switching frequency of the power circuit 220.

[0056] The power circuit 220 may be connected to the first port 211 of the control circuit 210, and configured to receive the modulation signal output by the control circuit 210 and output a power supply voltage for the processor 230 based on the modulation signal. The power circuit 220 may be the power circuit described in the above embodiment.

[0057] The processor 230 is configured to receive the supply voltage output by the power circuit 220. The processor 230 can start operating under the action of the supply voltage. The processor 230 can include a voltage detection terminal 231. Specifically, the processor 230 is provided with a voltage detection terminal 231. The voltage detection terminal 231 of the processor can be connected to the second port 212 of the control circuit 210 to feed back the detection voltage to the control circuit 210.

[0058] The closer the voltage detection terminal is to the processor, the more accurately it reflects the processor's operating voltage. Therefore, by extending the voltage detection terminal from the processor, the embodiment of the present application can make the detected voltage closer to the processor's operating voltage. Adjusting the switching frequency based on the processor's operating voltage can more promptly respond to processor voltage drops and improve the stability of the processor's operating voltage.

[0059] In some embodiments, the voltage detection terminal may be the region where the lowest voltage is located when the processor is operating normally. In other words, the voltage detection terminal is the region where the lowest operating voltage of the processor is located. The processor may include multiple regions, and the operating voltages of different regions may be different. The voltage detection terminal of the embodiment of the present application may be set in the region with the lowest operating voltage among the multiple regions. The region with the lowest operating voltage can be understood as the region with the worst transient performance.

[0060] The embodiment of the present application uses the area with the worst transient performance as the voltage detection terminal, which can ensure that the area with the worst transient performance on the processor can meet the transient performance requirements. If the area with the worst transient performance can meet the transient performance requirements, then other areas on the processor will also meet the transient performance requirements.

[0061] The specific location of the voltage detection terminal can be determined through simulation experiments. Simulators can set detection points in multiple regions of the processor and provide simulation stimulus to the processor, such as increasing the processor load. Then, they can measure the voltage (or VDD) in these regions to obtain a voltage distribution diagram of VDD in each region. Furthermore, the region with the lowest voltage can be selected as the voltage detection terminal.

[0062] The control circuit 210 can obtain a detection voltage from the voltage detection terminal 231 and perform the following operations based on the detection voltage: in response to the detection voltage being lower than the first preset voltage, the switching frequency of the power circuit 220 is increased to the first switching frequency to reduce the drop in the power supply voltage of the processor 230.

[0063] The first preset voltage can be flexibly adjusted according to actual conditions, and the embodiments of the present application do not specifically limit this. In some embodiments, the first preset voltage can be higher than the minimum operating voltage of the processor, thereby avoiding the risk of the processor power supply voltage being lower than the minimum operating voltage of the processor, causing the processor to crash.

[0064] The magnitude of the first switching frequency can be flexibly adjusted based on actual conditions. This is not specifically limited in the embodiments of the present application. As long as the first switching frequency is higher than the normal operating switching frequency of the power circuit, it can be sufficient. Taking the multi-phase digital power supply described above as an example, in normal operating mode, the switching frequency of the power circuit is 500K. In this case, the first switching frequency can be higher than 500K. In some embodiments, the first switching frequency can be a multiple of the switching frequency before the increase. For example, the first switching frequency can be 1.5 times, 2 times, 3 times, etc., of the switching frequency before the increase.

[0065] As described above, the higher the switching frequency, the more energy the switching power supply provides to the processor per unit time. Therefore, increasing the switching frequency can reduce the drop in the processor power supply voltage.

[0066] The embodiment of the present application can use a first comparator to determine whether the detection voltage is lower than a first preset voltage. Figure 3 As shown, the power supply system may include a first voltage reference circuit and a first comparator 212. The first voltage reference circuit is used to output a first preset voltage. The input end of the first comparator 212 can be connected to the output end of the first voltage reference circuit and the voltage detection end 231 to determine whether the detection voltage is lower than the first preset voltage. The first preset voltage output by the first voltage reference circuit can be a digital signal. In this case, the first comparator 212 and the first voltage reference circuit can be connected through a digital to analog converter (DAC) 214 to convert the digital signal into an analog signal. When the detection voltage is lower than the first preset voltage, the first comparator 212 can output a first control signal so that the control circuit 210 increases the switching frequency of the power circuit 220 to the first switching frequency.

[0067] To reduce the heat generated by the switching power supply, embodiments of the present application can reduce the switching frequency of the power circuit 220 when it is detected that the detection voltage of the processor 230 has increased to a second preset voltage. For example, the control circuit 210 can reduce the switching frequency of the power circuit 220 from a first switching frequency to a second switching frequency in response to the detection voltage being higher than the second preset voltage. The second preset voltage is higher than the first preset voltage.

[0068] The second switching frequency can be understood as the switching frequency at which the switching power supply operates normally. When the detection voltage is not lower than the first preset voltage, the switching power supply can operate at the second switching frequency. When the detection voltage is lower than the first preset voltage, the control circuit can increase the switching frequency from the second switching frequency to the first switching frequency. When the detection voltage is higher than the second preset voltage, the control circuit can decrease the switching frequency from the first switching frequency to the second switching frequency.

[0069] Because the control circuit reduces the switching frequency from the first switching frequency to the second switching frequency when the detection voltage is higher than the second preset voltage, the switching power supply operates at the first switching frequency for a relatively short period of time, typically in the μs range, which does not generate significant heat in the power supply system. As can be seen from the above, the solution of the embodiment of the present application can meet the transient performance requirements of the switching power supply without significantly affecting the heat generation of the power supply system.

[0070] The embodiment of the present application does not specifically limit the magnitude of the second preset voltage, as long as the second preset voltage is higher than the first preset voltage. For example, the second preset voltage may be equal to the power supply voltage of the processor (e.g. Figure 1For another example, the second preset voltage may be higher than the power supply voltage of the processor. For another example, the second preset voltage may be lower than the power supply voltage of the processor.

[0071] The embodiment of the present application can use a second comparator to determine whether the detection voltage is higher than the second preset voltage. Figure 3 As shown, the power supply system may include a second voltage reference circuit and a second comparator 213. The second voltage reference circuit is used to output a second preset voltage. The input end of the second comparator 213 can be connected to the output end of the second voltage reference circuit and the voltage detection end 231 to determine whether the detection voltage is higher than the second preset voltage. The second preset voltage output by the second voltage reference circuit may be a digital signal. In this case, the second comparator 213 and the second voltage reference circuit may be connected via a DAC 215 to convert the digital signal into an analog signal. When the detection voltage is higher than the second preset voltage, the second comparator 213 may output a second control signal so that the control circuit 210 reduces the switching frequency of the power circuit 220 to the second switching frequency.

[0072] In some embodiments, the first switching frequency may be a multiple of the switching frequency of the power circuit before the increase. For example, if the switching frequency of the power circuit before the increase is the second switching frequency, the first switching frequency may be a multiple of the second switching frequency. In other words, when the detection voltage is lower than the first preset voltage, the control circuit may multiply the switching frequency of the power circuit.

[0073] Continue to see Figure 3 , Figure 3 The power supply system in the embodiment may further include a control module 211, which may be equivalent to Figure 1 The control circuit 111 in FIG. The input of the control module 211 can be connected to the outputs of the comparator 211 and the comparator 213, and is used to adjust the frequency of the triangular wave based on the output signals of the comparator 211 and the comparator 213. The higher the frequency of the triangular wave, the higher the switching frequency of the switching power supply; the lower the frequency of the triangular wave, the lower the switching frequency of the switching power supply. Therefore, by adjusting the frequency of the triangular wave, the switching frequency of the switching power supply can be adjusted.

[0074] Depend on Figure 3 As can be seen from the power supply system shown in the figure, the solution of the embodiment of the present application is Figure 1 The power supply system shown above is based on a control loop, which can adjust the switching frequency of the switching power supply, and is relatively simple to implement. The control loop can include a voltage detection terminal, a comparator, and a voltage reference circuit.

[0075] In some embodiments, Figure 3The VDD detection point in the circuit can also be integrated with the voltage detection terminal 231 into one detection point, that is, the VDD detection point can also be led out from the voltage detection terminal 231, which can reduce the number of detection points set and reduce the complexity of the power supply system.

[0076] The following combination Figure 4 The switching frequency adjustment process of the embodiment of the present application is described. At time 0 to t0, the switching power supply uses the second switching frequency to power the processor, and the operating voltage of the processor is stabilized at the second preset voltage. At time t0, the load of the processor suddenly increases, and the detection voltage of the voltage detection end begins to drop. If the switching frequency of the switching power supply is not adjusted and the first switching frequency is continued to be used to power the processor, then the change curve of the detection voltage is as follows Figure 3 As shown by the dotted line in , the detection voltage drops to V1.

[0077] In the embodiment of the present application, when the detection voltage is lower than the first preset voltage, the control circuit will increase the switching frequency. Figure 4 As shown in FIG, at time t1, the control circuit increases the switching frequency of the power circuit from the second switching frequency to the first switching frequency. Since the first switching frequency is higher than the second switching frequency, the drop value of the processor's power supply voltage will be reduced after using the first switching frequency. After the switching frequency is increased, the change curve of the detection voltage is as shown in FIG. Figure 4 As shown by the solid line in , the detection voltage starts to recover after falling to V2, where V2>V1. Therefore, after increasing the switching frequency, the drop in the processor power supply voltage can be reduced.

[0078] The control circuit continues to detect the detection voltage of the processor, and when the detection voltage is greater than the second preset voltage, the control circuit will reduce the switching frequency. Figure 4 As shown, at time t2, since the detection voltage is higher than the second preset voltage, the control circuit can reduce the switching frequency of the power circuit from the first switching frequency to the second switching frequency to reduce the heat generated by the power supply system.

[0079] Combined with the above Figures 1-4 , describes in detail the device embodiment of the present application. Figure 5 , the method embodiment of the present application is described in detail. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment, so for parts not described in detail, reference can be made to the previous device embodiment.

[0080] Figure 5 1 is a schematic flow chart of a power supply method provided in an embodiment of the present application. The power supply method can be applied to the power supply system described above. Figure 5 The method shown can be implemented by the control circuit described above.

[0081] The power supply system may include: a control circuit, and a power circuit and a processor connected in sequence, the control circuit including a first port and a second port, and the processor including a voltage detection terminal; wherein the control circuit and the power circuit are connected via the first port; the second port is connected to the voltage detection terminal; the control circuit is used to output a modulation signal, and the modulation signal is used to adjust the switching frequency of the power circuit; the power circuit is used to receive the modulation signal and output a power supply voltage for powering the processor based on the modulation signal; the processor is used to start working under the action of the power supply voltage and to feed back the detection voltage to the control circuit.

[0082] See also Figure 5 In step S510, the detection voltage is obtained through the voltage detection terminal.

[0083] In step S520 , in response to the detection voltage being lower than the first preset voltage, the switching frequency of the switching power supply is increased to the first switching frequency to reduce the drop of the power supply voltage of the processor.

[0084] In some embodiments, the power supply method further includes: in response to the detection voltage being higher than a second preset voltage, reducing the switching frequency of the power circuit from the first switching frequency to a second switching frequency, wherein the second preset voltage is higher than the first preset voltage.

[0085] In some embodiments, the voltage detection end is the area where the voltage is at the lowest point when the processor can work normally.

[0086] In some embodiments, the first switching frequency is a multiple of the switching frequency of the power circuit before being increased.

[0087] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0088] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0089] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0090] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0091] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can 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 the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can 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 can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0092] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A power supply system, characterized in that: include: A control circuit, and a power circuit and a processor connected in sequence, the control circuit comprising a first port and a second port, wherein the control circuit and the power circuit are connected via the first port; the second port is connected to a voltage detection terminal, the voltage detection terminal is led out by the processor and is located in a region where the voltage is at its lowest point when the processor is functioning normally; The control circuit is used to output a modulation signal, and the modulation signal is used to adjust the switching frequency of the power circuit; The power circuit is used to receive the modulation signal and output a power supply voltage for powering the processor based on the modulation signal; The processor is used to feed back a detection voltage to the control circuit under the action of the power supply voltage; The control circuit is further configured to perform the following operations based on the detection voltage: Acquiring the detection voltage through the voltage detection terminal; In response to the detection voltage being lower than a first preset voltage, the switching frequency of the power circuit is increased to a first switching frequency to reduce a drop in the power supply voltage of the processor.

2. The power supply system according to claim 1, characterized in that: The control circuit comprises: A first voltage reference circuit, configured to output the first preset voltage; The first comparator is connected to the first voltage reference circuit and the voltage detection terminal, and is used to determine whether the detection voltage is lower than the first preset voltage.

3. The power supply system according to claim 1 or 2, characterized in that: The control circuit is further configured to perform the following operations based on the detection voltage: In response to the detection voltage being higher than a second preset voltage, the switching frequency of the power circuit is reduced from the first switching frequency to a second switching frequency, wherein the second preset voltage is higher than the first preset voltage.

4. The power supply system according to claim 3, characterized in that: The control circuit comprises: a second voltage reference circuit, configured to output the second preset voltage; The second comparator is connected to the second voltage reference circuit and the voltage detection terminal, and is used to determine whether the detection voltage is higher than the second preset voltage.

5. The power supply system according to claim 1, wherein: The first switching frequency is a multiple of the switching frequency of the power circuit before being increased.

6. A power supply method, characterized in that: The power supply method is applied to a power supply system, which includes a control circuit, a power circuit, and a processor connected in sequence. The control circuit includes a first port and a second port, wherein the control circuit and the power circuit are connected via the first port; the second port is connected to a voltage detection terminal, which is led out from the processor and is located in an area where the voltage is at its lowest point when the processor is functioning normally. The control circuit is used to output a modulation signal, and the modulation signal is used to adjust the switching frequency of the power circuit; The power circuit is configured to receive the modulation signal and output a power supply voltage for powering the processor based on the modulation signal; The processor is used to feed back a detection voltage to the control circuit under the action of the power supply voltage; The power supply method includes: Acquiring the detection voltage through the voltage detection terminal; In response to the detection voltage being lower than a first preset voltage, the switching frequency of the power circuit is increased to a first switching frequency to reduce a drop in the power supply voltage of the processor.

7. The power supply method according to claim 6, characterized in that: The power supply method further includes: In response to the detection voltage being higher than a second preset voltage, the switching frequency of the power circuit is reduced from the first switching frequency to a second switching frequency, wherein the second preset voltage is higher than the first preset voltage.

8. The power supply method according to claim 6, wherein: The first switching frequency is a multiple of the switching frequency of the power circuit before being increased.

Citation Information

Patent Citations

  • Power circuit with multiple charge pumps

    CN103475213A