A power switching method, device and system

By generating analog voltage signals to control the phase power switching of the power supply module based on the output current, the problem of device damage caused by slow multi-phase power switching is solved, and the switching efficiency and system reliability are improved.

CN114465345BActive Publication Date: 2026-02-27LENOVO (BEIJING) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210268569.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-18
Publication Date
2026-02-27
Estimated Expiration
2042-03-18

AI Technical Summary

Technical Problem

During multi-phase power supply switching, the number of power phases changes slowly when the load changes abruptly, causing a large current to concentrate on a single-phase power supply, which can damage devices such as MOSFETs.

Method used

By obtaining the output current of the power module, an analog voltage signal is generated. Based on the output current and the analog voltage signal, the phase power switching of the power module is controlled, which avoids obtaining the output voltage and improves the switching efficiency.

Benefits of technology

This reduces the time required to acquire the output voltage of the power module, improves the efficiency of phase power switching, avoids device damage, and enhances system reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114465345B_ABST
    Figure CN114465345B_ABST
Patent Text Reader

Abstract

The application discloses a power switching method, device and system, obtains an output current of a power module, obtains an analog voltage signal generated based on an alternating current signal of the output current of the power module, and controls switching of a current phase power supply of the power module based on the output current and the analog voltage signal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of power switching, in particular to a power switching method, device and system. BACKGROUND

[0002] Multi-phase power supply is common in GPU application. However, in the current use process of multi-phase power supply, if the load changes suddenly, the number of power supply phases needs to be switched correspondingly, and the switching process of the number of power supply phases is slow, which is easy to cause the problem of damage to MOS tubes and other devices due to the concentration of large current on single-phase power supply. SUMMARY

[0003] Therefore, the present application provides a power switching method, device and system, and the specific solutions are as follows:

[0004] A power switching method, comprising:

[0005] obtaining an output current of a power module;

[0006] obtaining an analog voltage signal generated based on an alternating current signal of the output current of the power module;

[0007] controlling switching of a current phase power supply of the power module based on the output current and the analog voltage signal.

[0008] Further, the obtaining of the analog voltage signal generated based on the alternating current signal of the output current of the power module comprises:

[0009] obtaining the analog voltage signal generated by the alternating current signal of the output current through a voltage feedback compensation loop.

[0010] Further, the obtaining of the analog voltage signal generated based on the alternating current signal of the output current of the power module comprises:

[0011] obtaining the analog voltage signal corresponding to the alternating current signal of the output current of the power module through a resistance-capacitance component.

[0012] Further, the controlling of the switching of the phase power supply of the power module based on the output current and the analog voltage signal comprises:

[0013] determining a current threshold range corresponding to the output current and a voltage threshold range corresponding to the analog voltage signal;

[0014] determining at least one first phase power supply of the power module corresponding to the current threshold range and the voltage threshold range;

[0015] switching the phase power supply of the power module from a second phase power supply to the at least one first phase power supply, the second phase power supply being a currently used phase power supply.

[0016] Further, the switching of the phase power supply of the power module based on the output current and the analog voltage signal comprises:

[0017] comparing the output current and the analog voltage signal obtained successively twice;

[0018] if it is determined that the current output current exceeds the current difference of the previous output current within a first threshold range, and it is determined that the current analog voltage signal is smaller than the voltage difference of the previous analog voltage signal within a second threshold range, switching the phase power supply of the power module from a second phase power supply to at least two first phase power supplies.

[0019] Further, the switching of the phase power supply of the power module based on the output current and the analog voltage signal comprises:

[0020] comparing the output current and the analog voltage signal obtained successively twice;

[0021] if it is determined that the current output current exceeds the current difference of the previous output current within a first threshold range, and it is determined that the current analog voltage signal is smaller than the voltage difference of the previous analog voltage signal within a second threshold range, switching the phase power supply of the power module from a second phase power supply to at least two first phase power supplies.

[0022] A power switching system comprises:

[0023] a first obtaining unit configured to obtain an output current of a power module;

[0024] a second obtaining unit configured to obtain an analog voltage signal generated based on an alternating current signal generated by the output current of the power module;

[0025] a control unit configured to control switching of a current phase power supply of the power module based on the output current and the analog voltage signal.

[0026] A power switching device comprises:

[0027] a processor configured to obtain an output current of a power module, obtain an analog voltage signal generated based on an alternating current signal generated by the output current of the power module, and control switching of a current phase power supply of the power module based on the output current and the analog voltage signal.

[0028] a memory configured to store a program for the processor to execute the above-mentioned processing procedure.

[0029] Further, the power switching device further comprises:

[0030] a voltage feedback compensation loop for obtaining an analog voltage signal of an alternating current signal pair of the output current of the power module and transmitting the analog voltage signal to the processor.

[0031] Further, the method further comprises:

[0032] a resistance-capacitance component for obtaining the output current of the power module, generating an analog voltage signal corresponding to the alternating current signal pair of the output current based on the output current, and transmitting the analog voltage signal to the processor.

[0033] As can be seen from the above technical solutions, the power switching method, device and system disclosed by the application obtain the output current of the power module, obtain an analog voltage signal generated based on the alternating current signal of the output current of the power module, and control the switching of the current phase power supply of the power module based on the output current and the analog voltage signal. In the present solution, the switching of the current phase power supply of the power module is realized based on the output current and the analog voltage signal, and the analog voltage signal is generated based on the alternating current signal of the output current of the power module, that is, the switching of the phase power supply is realized only based on the output current of the power module and the analog voltage signal generated based on the output current, without the need to obtain the output voltage of the power module. The time length for obtaining the output current of the power module is shorter than that for obtaining the output voltage, which reduces the time for obtaining the output voltage of the power module, improves the switching efficiency of the phase power supply, and avoids the problem of damage to MOS tubes and other devices caused by slow phase power supply switching. BRIEF DESCRIPTION OF DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0035] Figure 1 a flowchart of a power switching method disclosed by an embodiment of the present application;

[0036] Figure 2 a flowchart of a power switching method disclosed by an embodiment of the present application;

[0037] Figure 3 a control circuit diagram for controlling the switching of the phase power supply disclosed by an embodiment of the present application;

[0038] Figure 4 a flowchart of a power switching method disclosed by an embodiment of the present application;

[0039] Figure 5A structural schematic diagram of a power switching system disclosed by an embodiment of the present application;

[0040] Figure 6 A structural schematic diagram of a power switching device disclosed by an embodiment of the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0042] The present application discloses a power switching method, a flow chart thereof is as shown in Figure 1 , comprising:

[0043] Step S11, obtaining an output current of a power module;

[0044] Step S12, obtaining an analog voltage signal generated based on an AC signal of the output current of the power module;

[0045] Step S13, controlling switching of a current phase power supply of the power module based on the output current and the analog voltage signal.

[0046] Multi-phase power supply is common in graphics processor (GPU) applications, and there is a problem of slow switching between phase power supplies in the use of multi-phase power supply. For example, when the load changes suddenly, the switching from single-phase to multi-phase is relatively slow, which may cause large current to be concentrated on the single-phase power supply, resulting in damage to MOS tubes and other devices, and may also cause the overshoot voltage of the power supply to be too large, affecting the reliability of the system.

[0047] In the use of multi-phase power supply, whether the phase power supply needs to be switched and which phase power supply needs to be switched to another phase power supply or several phase power supplies needs to be determined based on the output current and the output voltage of the power module. When the load changes, the output current and the output voltage of the power module will change accordingly, and based on the change, whether the phase power supply needs to be switched can be determined.

[0048] The output current and the output voltage of the power module are transmitted to the controller, and the controller determines whether the phase power supply needs to be switched and which phase power supply needs to be switched to another phase power supply or several phase power supplies based on the change amount of the output current and the output voltage.

[0049] When the output current and the output voltage of the power module are transmitted to the controller, the controller first receives the output current of the power module, and then receives the output voltage. When the controller determines whether the phase power source is switched based on the two parameters of the output current and the output voltage, the determination can be made only when the output current and the output voltage are both received. Since the controller receives the output voltage slowly, the time for determining whether the phase power source is switched is increased, and thus the speed of switching the phase power source is slowed down.

[0050] To avoid this problem, in the present scheme, the controller directly obtains the output current of the power module, and no longer obtains the output voltage, but obtains an analog voltage signal generated based on the output current, and determines whether the current phase power source is switched based on the analog voltage signal and the output current, and if switched, to which phase power source or phase power sources the switching is needed.

[0051] Specifically, the controller obtaining the analog voltage signal can be: the controller obtains the output current and generates the analog voltage signal based on the output current, so as to realize the controller obtaining the analog voltage signal; or the generation of the analog voltage signal based on the output current is realized outside the controller, that is, the controller directly obtains the analog voltage signal.

[0052] The controller obtaining the analog voltage signal generated based on the output current does not affect the obtaining of the output current. If the generation of the analog voltage signal based on the output current is realized outside the controller, the output current can be divided into two branches, one of which is directly transmitted to the controller, and the other of which is used to control the output current, so as to generate the analog voltage signal, so as to be transmitted to the controller after the generation of the analog voltage signal, so as to realize that the controller obtains the output current and also obtains the analog voltage signal generated based on the output current at the same time.

[0053] The controller determines the phase power source corresponding to the current load based on the obtained output current and the analog voltage signal, so as to control whether the phase power source in the power module is switched, and if switched, to which phase power source or phase power sources the switching is needed.

[0054] Specifically, it can be: each phase power source corresponds to an output current threshold range and an output voltage threshold range, different phase power sources correspond to different output current threshold ranges and output voltage threshold ranges, and there can be intersections between the output current threshold ranges corresponding to different phase power sources, and similarly, there can be intersections between the output voltage threshold ranges corresponding to different phase power sources; different combinations of phase power sources correspond to different current threshold ranges and voltage threshold ranges.

[0055] When the load changes, the controller first obtains the changed output current, based on which it can be determined that the load has changed, and as long as the load changes, its output current can be fed back to the controller quickly. In the scheme, the analog voltage signal is generated based on the output current with fast feedback speed, so that the time when the controller obtains the analog voltage signal is advanced relative to the time when the controller obtains the output voltage, thereby advancing the time when the controller controls the switching of the current phase power supply of the power supply module based on the output current and the analog voltage signal, avoiding the waste of time caused by waiting for the output voltage to be fed back to the controller before switching the phase power supply when the load changes, and improving the switching efficiency of the phase power supply.

[0056] The power supply switching method disclosed in the embodiment obtains the output current of the power supply module, obtains the analog voltage signal generated based on the alternating current signal of the output current of the power supply module, and controls the switching of the current phase power supply of the power supply module based on the output current and the analog voltage signal. In the scheme, the switching of the current phase power supply of the power supply module is realized based on the output current and the analog voltage signal, and the analog voltage signal is generated based on the alternating current signal of the output current of the power supply module, that is, the switching of the phase power supply is realized only based on the output current of the power supply module and the analog voltage signal generated based on the output current, without the need to obtain the output voltage of the power supply module. The time length for obtaining the output current of the power supply module is shorter than that for obtaining the output voltage, reducing the time for obtaining the output voltage of the power supply module, improving the switching efficiency of the phase power supply, and avoiding the problem of damage to MOS tubes and other devices caused by slow phase power supply switching.

[0057] The power supply switching method disclosed in the embodiment has a flowchart as shown in Figure 2 , which includes:

[0058] Step S21, obtaining the output current of the power supply module;

[0059] Step S22, obtaining the analog voltage signal generated based on the alternating current signal of the output current through the voltage feedback compensation loop;

[0060] Step S23, controlling the switching of the current phase power supply of the power supply module based on the output current and the analog voltage signal.

[0061] The controller obtains the output current of the power supply module and simultaneously obtains the analog voltage signal, which is transmitted to the controller by the voltage feedback compensation loop, so that the output current and the analog voltage signal are directly obtained by the controller, and the switching of the phase power supply can be realized based on the output current and the analog voltage signal.

[0062] The output current of the power module is directly transmitted to the controller, and the output voltage of the power module is transmitted to the controller in a remote sense manner through a sensor. In order to ensure the stability and response speed of the transmission loop of the output voltage transmitted to the controller, a feedback compensation loop is added to the transmission loop of the output voltage, that is, the feedback compensation loop is used to ensure the stability of the entire transmission loop of the output voltage of the power module transmitted to the controller.

[0063] In the scheme, the feedback compensation loop in the entire transmission loop of the output voltage of the power module transmitted to the controller is used to transmit an analog voltage signal, that is, the analog voltage signal is directly transmitted through the feedback compensation loop of the voltage.

[0064] Specifically, the analog voltage signal converted directly from the output current can be input to the feedback compensation loop, so that the feedback compensation loop can directly obtain the analog voltage signal and transmit it to the controller. The controller directly receives the analog voltage signal transmitted by the feedback compensation loop, which reduces the time used in the transmission process compared with the voltage signal that needs to be transmitted to the controller through remote sense. By replacing the output voltage with the analog voltage signal, the time for the controller to obtain the output current and the analog voltage signal is reduced, so that the time for the controller to control the switching of the phase power supply of the power module is shortened, and the switching efficiency of the phase power supply is improved.

[0065] Further, the analog voltage signal generated based on the alternating current signal of the output current of the power module can also be: the analog voltage signal corresponding to the alternating current signal of the output current obtained by the output current of the power module through a resistance-capacitance component.

[0066] In addition to being directly transmitted to the controller, the output current of the power module also has another branch, which is used to convert the output current into an analog voltage signal, so that the analog voltage signal is transmitted to the controller, so that the controller does not need to wait for the output voltage and can determine whether the phase power supply needs to be switched after receiving the output current and the analog voltage signal.

[0067] Specifically, the output current of the power module passes through a resistance-capacitance component to obtain an analog voltage signal.

[0068] The resistance-capacitance component includes a first capacitor and a first resistor, and the first capacitor and the first resistor are connected in series. One end of the first capacitor is used as the input end of the resistance-capacitance component, the other end of the first capacitor is connected to one end of the first resistor, and the other end of the first resistor is used as the output end of the resistance-capacitance component.

[0069] The output current of the power module is input to one end of the first capacitor, and is output after passing through the first capacitor and the first resistor. The output is an analog voltage signal, which is directly transmitted to the controller. At the same time, the output current of the power module on the other branch is directly transmitted to the controller. The controller can timely receive the output current and the analog voltage signal, determine whether the load changes, and determine whether the phase power supply of the power module needs to be switched based on the output current and the analog voltage signal.

[0070] The resistor-capacitor component is used to filter the direct current signal of the output current to obtain an alternating current signal of the output current, and an analog voltage signal is generated based on the alternating current signal of the output current. Specifically, the output current is input to the first capacitor to obtain the slope of the output current, which is the alternating current signal of the output current. After the alternating current signal of the output current passes through the first resistor, the analog voltage signal can be obtained.

[0071] When the load changes, the output current of the power module changes first. The output current of the power module is directly transmitted to the controller, so the controller obtains the output current in a short time. On this basis, the time required for converting the output current into an analog voltage signal by the resistor-capacitor component and transmitting it to the controller is also short. Compared with the time required for the output voltage of the power module to perceive the change in the load and transmit it to the controller, the time is short. Therefore, the controller determines whether the phase power supply of the power module needs to be switched based on the output current and the analog voltage signal converted based on the output current, which can improve the switching efficiency of the phase power supply.

[0072] Further, as shown in Figure 3 , it is a control circuit diagram for controlling the switching of the phase power supply. Among them, the current transmitted by the first main board DRMOS to the controller is Imon1, the current transmitted by the second main board DRMOS to the controller is Imon2, and the output current of the power module is Iout. When there are only two main boards in the system, Iout=Imon1+Imon2, as Figure 3 can be clear, the output current Iout is directly transmitted to the controller controller.

[0073] The output voltage Vout needs to be transmitted to the controller controller through the Remote Sense remote sensing technology, which is relatively slow. Figure 3 The FB loop, the Com loop and the Diff loop in the

[0074] Figure 3 The first inductor L1 and the second inductor L2 in the are used to store energy.

[0075] The output current Iout of the power module is directly transmitted to the controller controller, and the output current is also transmitted to the controller controller after being converted into an analog voltage signal through another branch. The other branch is a resistor-capacitor component, i.e., a first capacitor C1 and a first resistor R1. After the output current passes through the resistor-capacitor component, the output current is transmitted to the controller controller through a voltage feedback compensation loop.

[0076] After the output current passes through the resistor-capacitor component, an analog voltage signal can be obtained. When the analog voltage signal passes through the voltage feedback compensation loop, the voltage feedback compensation loop does not process the analog voltage signal, and the voltage feedback compensation loop directly transmits the analog voltage signal, which reduces the transmission time to the controller and improves the switching efficiency of the phase power supply.

[0077] As shown in the scheme, Figure 3 The controller obtains the output current and the analog voltage signal, and can directly determine whether the phase power supply needs to be switched and which phase power supply needs to be switched if the phase power supply needs to be switched. In this process, the controller can not need to wait for the output voltage Vout to be transmitted to the controller, so as to reduce the waiting time of the output voltage.

[0078] The power switching method disclosed in the embodiment obtains an output current of a power module, obtains an analog voltage signal generated based on an alternating current signal of the output current of the power module, and controls switching of a current phase power supply of the power module based on the output current and the analog voltage signal. In the scheme, the switching of the current phase power supply of the power module is realized based on the output current and the analog voltage signal. The analog voltage signal is generated based on the alternating current signal of the output current of the power module, that is, the switching of the phase power supply is realized based on only the output current of the power module and the analog voltage signal generated based on the output current, without obtaining the output voltage of the power module. The time for obtaining the output current of the power module is shorter than the time for obtaining the output voltage, which reduces the time for obtaining the output voltage of the power module, improves the switching efficiency of the phase power supply, and avoids the problem of damage to MOS tubes and other devices caused by slow phase power switching.

[0079] The embodiment discloses a power switching method, and a flowchart thereof is shown in Figure 4 The power switching method comprises the following steps.

[0080] In step S41, an output current of a power module is obtained.

[0081] In step S42, an analog voltage signal generated based on an alternating current signal of the output current of the power module is obtained.

[0082] Step S43, determining the current threshold range corresponding to the output current and the voltage threshold range corresponding to the analog voltage signal;

[0083] Step S44, determining at least one first phase power supply of the power supply module corresponding to the current threshold range and the voltage threshold range.

[0084] Step S45, switching the phase power supply of the power supply module from the second phase power supply to at least one first phase power supply, and the second phase power supply is the currently used phase power supply.

[0085] The corresponding current threshold range and voltage threshold range are set for each phase power supply, and different phase power supplies can be combined to form a phase power supply combination, and each phase power supply combination also has a corresponding current threshold range and voltage threshold range.

[0086] When the output current and the analog voltage signal are obtained, first, it is determined which current threshold range the output current conforms to, and which voltage threshold range the analog voltage signal conforms to.

[0087] If the current output current is within the output current threshold range of a certain phase power supply, the phase power supply can be determined as the current phase power supply of the power supply module; if the current output voltage is within the output voltage threshold range of a certain phase power supply, the phase power supply can be determined as the current phase power supply of the power supply module; or, the current output current is within the output current threshold range of several phase power supplies, and the current output voltage threshold range is combined to determine the current phase power supply of the power supply module.

[0088] If the current output current is within the output current threshold range of a certain phase power supply combination, the phase power supply combination can be determined as the current phase power supply of the power supply module; if the current output voltage is within the output voltage threshold range of a certain phase power supply combination, the phase power supply combination can be determined as the current phase power supply of the power supply module; if the current output current is within the output current threshold range of several phase power supply combinations, the current output voltage threshold range is combined to determine the current phase power supply combination of the power supply module.

[0089] Among them, it can be that the output current conforms to the current threshold range of a certain phase power supply to directly determine the phase power supply, and the analog voltage signal conforms to the voltage threshold range of a certain phase power supply to directly determine the phase power supply, without needing to conform to both the current threshold range and the voltage threshold range, that is, meeting one of them; or, it can also be that the output current conforms to the current threshold range of a certain phase power supply, and at the same time, the analog voltage signal conforms to the voltage threshold range of the phase power supply, to determine the phase power supply.

[0090] Determine at least one first phase power source of the power module corresponding to the current threshold range and the voltage threshold range, and switch the phase power source of the power module from the second phase power source to the at least one first phase power source. For example, the phase power source of the power module includes: phase power source A, phase power source B, phase power source C, and the second phase power source is the currently used phase power source, for example, the currently used phase power source is phase power source A, and the first phase power source after switching can be any one of: phase power source B, phase power source C, phase power source A and phase power source B, phase power source B and phase power source C, phase power source A and phase power source C, phase power source A and phase power source B and phase power source C.

[0091] Since the first phase power source corresponding to the output current and the analog voltage signal can be one or a combination of phase power sources, that is, multiple first phase power sources, when switching the power source, if the first phase power source corresponding to the output current and the analog voltage signal is one, the currently used phase power source is switched from the second phase power source to the one first phase power source; if the first phase power source corresponding to the output current and the analog voltage signal is a combination of phase power sources, the currently used phase power source is switched from the second phase power source to the combination of phase power sources, that is, to multiple first phase power sources in the combination of phase power sources; or, if the first phase power source corresponding to the output current and the analog voltage signal is multiple first phase power sources, one of the multiple first phase power sources can be selected for switching.

[0092] Further, the switching of the phase power source of the power module based on the output current and the analog voltage signal includes: comparing the output current and the analog voltage signal obtained twice in succession, if it is determined that the current difference between the currently obtained output current and the output current obtained last time is within a first threshold range, and / or it is determined that the voltage difference between the currently obtained analog voltage signal and the analog voltage signal obtained last time is within a second threshold range, the phase power source of the power module is switched from one second phase power source to at least two first phase power sources.

[0093] Specifically, the determination of the switching of the phase power source can be determined by comparing the output current and the analog voltage signal obtained twice in succession.

[0094] With the change of the load, the output current and the output voltage of the power module will change accordingly. When the load increases, the output current will increase and the output voltage will decrease. Only when the load increases to a certain extent, the output voltage will increase. When the load decreases, the output current will decrease and the output voltage will increase. Among them, the analog voltage signal matches the change of the output voltage, that is, when the output voltage decreases, the analog voltage signal also decreases, and when the output voltage increases, the analog voltage signal also increases. The change of the analog voltage signal and the output voltage is synchronous.

[0095] Therefore, when the output current obtained this time is greater than the output current obtained last time, and the difference between the output current obtained this time and the output current obtained last time is within the first threshold range, the corresponding first phase power supply can be determined based on the first threshold range, so as to switch the phase power supply of the power supply module from the second phase power supply to the determined first phase power supply; or, when the analog voltage signal obtained this time is less than the analog voltage signal obtained last time, and the difference between the analog voltage signal obtained this time and the analog voltage signal obtained last time is within the second threshold range, the corresponding first phase power supply can be determined based on the second threshold range, so as to switch the phase power supply of the power supply module from the second phase power supply to the determined first phase power supply.

[0096] In addition, the first phase power supply can also be determined based on the output current and the analog voltage signal obtained continuously twice. That is, only when the output current obtained this time is greater than the output current obtained last time, and the difference between the output current obtained this time and the output current obtained last time is within the first threshold range, the corresponding first phase power supply can be determined based on the first threshold range, and at the same time, only when the analog voltage signal obtained this time is less than the analog voltage signal obtained last time, and the difference between the analog voltage signal obtained this time and the analog voltage signal obtained last time is within the second threshold range, the corresponding first phase power supply can be determined based on the second threshold range. Only when the first phase power supply determined based on the first threshold range and the first phase power supply determined based on the second threshold range overlap, the overlapping first phase power supply can be determined as the first phase power supply to be switched, so as to switch the phase power supply of the power supply module from the second phase power supply to the first phase power supply to be switched.

[0097] Since the output current obtained continuously twice is increased and the output voltage obtained continuously twice is decreased, it can be determined that the load is currently increased, so the phase power supply can be switched to a phase power supply with greater voltage, or one phase power supply can be directly switched to two phase power supplies, or one phase power supply can be switched to three phase power supplies, etc.

[0098] Further, it can also be that:

[0099] The output current and the analog voltage signal obtained continuously twice are compared, and if it is determined that the output current obtained this time is greater than the output current obtained last time, and / or the analog voltage signal obtained this time is less than the analog voltage signal obtained last time, the phase power supply of the power supply module is switched from one second phase power supply to at least two first phase power supplies.

[0100] When controlling the switching of phase power supplies based on two consecutively obtained output current and analog voltage signals, the following methods can be used: First, check if the currently obtained output current is greater than the previously obtained output current. If it is, it indicates an increased load, requiring the phase power supply to be switched to a phase power supply with a higher voltage. Alternatively, one phase power supply can be switched to two phase power supplies, or one phase power supply can be switched to three phase power supplies, etc. Second, check if the currently obtained analog voltage signal is less than the previously obtained analog voltage signal. If it is, it indicates an increased load, requiring the phase power supply to be switched to a phase power supply with a higher voltage. Alternatively, one phase power supply can be switched to two phase power supplies, or one phase power supply can be switched to three phase power supplies, etc. Third, only if the currently obtained output current is greater than the previously obtained output current, and the currently obtained analog voltage signal is less than the previously obtained analog voltage signal, does it indicate an increased load, requiring the phase power supply to be switched.

[0101] Alternatively, it can involve: comparing two consecutively obtained output currents to determine whether phase power supply switching is necessary, and if so, which one or more phase power supplies to switch to; simultaneously, obtaining the current analog voltage signal; if the analog voltage signal reaches a specific value, it indicates that all phase power supplies in the power module need to be connected to the system. That is, as long as the analog voltage signal reaches a specific value, regardless of changes in the output current, all phase power supplies in the power module need to be connected to the system; if the analog voltage signal does not reach the specific value, it determines whether phase power supply switching is necessary, and which one or more phase power supplies to switch to, based on the output current.

[0102] The power switching method disclosed in this embodiment obtains the output current of the power module, obtains an analog voltage signal generated from the AC signal of the power module's output current, and controls the switching of the current phase power supply of the power module based on the output current and the analog voltage signal. In this scheme, the switching of the current phase power supply of the power module is achieved based on the output current and the analog voltage signal. Since the analog voltage signal is generated from the AC signal of the power module's output current, this scheme only requires the power module's output current and the analog voltage signal generated based on that current to achieve phase power switching, without needing to acquire the power module's output voltage. Furthermore, the time required to obtain the power module's output current is shorter than the time required to obtain the output voltage, reducing the time needed to obtain the power module's output voltage, improving the phase power switching efficiency, and avoiding the problem of damage to devices such as MOSFETs caused by slow phase power switching.

[0103] This embodiment discloses a power switching system, the structural schematic diagram of which is shown below. Figure 5 As shown, it includes:

[0104] The first acquisition unit 51, the second acquisition unit 52, and the control unit 53.

[0105] The first obtaining unit 51 is configured to obtain an output current of the power module;

[0106] The second obtaining unit 52 is configured to obtain an analog voltage signal generated by the AC signal generated by the output current of the power module;

[0107] The control unit 53 is configured to control switching of a current phase power supply of the power module based on the output current and the analog voltage signal.

[0108] Further, the second obtaining unit is configured to:

[0109] obtain the analog voltage signal generated by the AC signal of the output current of the power module through a voltage feedback compensation loop.

[0110] Further, the second obtaining unit is configured to:

[0111] obtain the analog voltage signal corresponding to the AC signal of the output current of the power module through a resistance-capacitance component.

[0112] Further, the control unit is configured to:

[0113] determine a current threshold range corresponding to the output current and a voltage threshold range corresponding to the analog voltage signal; determine at least one first phase power supply of the power module corresponding to the current threshold range and the voltage threshold range; and switch the phase power supply of the power module from a second phase power supply to the at least one first phase power supply, the second phase power supply being a currently used phase power supply.

[0114] Further, the control unit is configured to:

[0115] compare the output current and the analog voltage signal obtained successively twice; if it is determined that the current difference between the output current obtained currently and the output current obtained last time is within a first threshold range, and it is determined that the voltage difference between the analog voltage signal obtained currently and the analog voltage signal obtained last time is within a second threshold range, switch the phase power supply of the power module from one second phase power supply to at least two first phase power supplies.

[0116] Further, the control unit is configured to:

[0117] compare the output current and the analog voltage signal obtained successively twice; if it is determined that the output current obtained currently is greater than the output current obtained last time, and / or, the analog voltage signal obtained currently is less than the analog voltage signal obtained last time, switch the phase power supply of the power module from one second phase power supply to at least two first phase power supplies.

[0118] The power switching system disclosed in the embodiment is realized based on the power switching method disclosed in the above embodiment, and will not be described here.

[0119] The power switching system disclosed in the embodiment obtains an output current of a power module, obtains an analog voltage signal generated based on an alternating current signal of the output current of the power module, and controls switching of a current phase power supply of the power module based on the output current and the analog voltage signal. In the scheme, the switching of the current phase power supply of the power module is realized based on the output current and the analog voltage signal generated based on the alternating current signal of the output current of the power module, that is, the switching of the phase power supply is realized only based on the output current of the power module and the analog voltage signal generated based on the output current, without the need to obtain the output voltage of the power module. The time length for obtaining the output current of the power module is shorter than that for obtaining the output voltage, the time for obtaining the output voltage of the power module is reduced, the switching efficiency of the phase power supply is improved, and the problem of damage to MOS tubes and other devices caused by slow phase power switching is avoided.

[0120] The power switching device disclosed in the embodiment has a structure as shown in a schematic structural diagram Figure 6 , and includes:

[0121] a processor 61 and a memory 62.

[0122] The processor 61 is configured to obtain an output current of a power module, obtain an analog voltage signal generated based on an alternating current signal of the output current of the power module, and control switching of a current phase power supply of the power module based on the output current and the analog voltage signal.

[0123] The memory 62 is configured to store a program for the processor to execute the above processing process.

[0124] Further, the power switching device disclosed in the embodiment can further include:

[0125] a voltage feedback compensation loop configured to obtain an analog voltage signal generated based on an alternating current signal of the output current of the power module, and transmit the analog voltage signal to the processor.

[0126] Further, the power switching device disclosed in the embodiment can further include:

[0127] a resistor-capacitor assembly configured to obtain an output current of a power module, generate an analog voltage signal corresponding to an alternating current signal of the output current based on the output current, and transmit the analog voltage signal to the processor.

[0128] The power switching device disclosed in the embodiment is realized based on the power switching method disclosed in the above embodiment, and thus will not be described here.

[0129] The power switching device disclosed in the embodiment obtains an output current of a power module, obtains an analog voltage signal generated based on an alternating current signal of the output current of the power module, and controls switching of a current phase power supply of the power module based on the output current and the analog voltage signal. In the scheme, the switching of the current phase power supply of the power module is realized based on the output current and the analog voltage signal generated based on the alternating current signal of the output current of the power module, that is, the switching of the phase power supply can be realized only based on the output current of the power module and the analog voltage signal generated based on the output current, without obtaining the output voltage of the power module. The time length for obtaining the output current of the power module is shorter than that for obtaining the output voltage, the time for obtaining the output voltage of the power module is reduced, the switching efficiency of the phase power supply is improved, and the problem of damage to MOS tubes and other devices caused by slow phase power switching is avoided.

[0130] The embodiment of the present application also provides a readable storage medium, which has a computer program stored thereon, the computer program is loaded and executed by a processor, and each step of the power switching method is realized. The specific implementation process can be referred to the description of the corresponding part of the above embodiment, and the embodiment will not be described here.

[0131] The present application also proposes a computer program product or computer program, which includes computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the electronic device to perform the method provided in various optional implementation manners of the power switching method aspect or the power switching system aspect. The specific implementation process can be referred to the description of the corresponding embodiment, and will not be described here.

[0132] The embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the related parts can be referred to the method part.

[0133] The skilled person can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed in the present text can be realized in electronic hardware, computer software or combination of the two. In order to clearly show the interchangeability of hardware and software, the composition and steps of each example have been described in the above description. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0134] The steps of a method or algorithm described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in random access memory (RAM), flash memory, read-only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and

[0135] The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein can be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A power switching method, comprising: Obtain the output current of the power module; Obtain an analog voltage signal generated based on the AC signal of the output current of the power module; The switching of the current phase power supply of the power module is controlled based on the output current and the analog voltage signal; wherein, based on the output current being within the output current threshold range of at least one first phase power supply, and / or the analog voltage signal being within the output voltage threshold range of the at least one first phase power supply, the current phase power supply is switched to the at least one first phase power supply.

2. The method according to claim 1, wherein, The process of obtaining the analog voltage signal generated from the AC signal based on the output current of the power module includes: The analog voltage signal is generated by obtaining the AC signal of the output current through a voltage feedback compensation circuit.

3. The method according to any one of claims 1-2, wherein, The process of obtaining the analog voltage signal generated from the AC signal based on the output current of the power module includes: Obtain the analog voltage signal corresponding to the AC signal of the output current obtained by the power module through the resistor-capacitor assembly.

4. The method according to claim 1, wherein, The method of controlling the phase power switching of the power module based on the output current and the analog voltage signal includes: Determine the current threshold range corresponding to the output current and the voltage threshold range corresponding to the analog voltage signal; Determine at least one first phase power supply of the power module corresponding to the current threshold range and the voltage threshold range; The phase power supply of the power module is switched from the second phase power supply to the at least one first phase power supply, where the second phase power supply is the currently used phase power supply.

5. The method according to claim 4, wherein, The method of controlling the phase power switching of the power module based on the output current and the analog voltage signal includes: Compare the output current and analog voltage signals obtained in two consecutive tests; If it is determined that the difference between the current obtained output current and the previous obtained output current is within a first threshold range, and the difference between the current obtained analog voltage signal and the previous obtained analog voltage signal is within a second threshold range, the phase power supply of the power module is switched from one second phase power supply to at least two first phase power supplies.

6. The method according to claim 1, wherein, The method of controlling the phase power switching of the power module based on the output current and the analog voltage signal includes: Compare the output current and analog voltage signals obtained in two consecutive tests; If it is determined that the currently obtained output current is greater than the previously obtained output current, and / or the currently obtained analog voltage signal is less than the previously obtained analog voltage signal, the phase power supply of the power module is switched from one second phase power supply to at least two first phase power supplies.

7. A power switching system, comprising: The first obtaining unit is used to obtain the output current of the power module; The second obtaining unit is used to obtain an analog voltage signal generated based on the AC signal of the output current of the power module; A control unit is configured to control the switching of the current phase power supply of the power module based on the output current and the analog voltage signal; wherein, based on the output current being within the output current threshold range of at least one first phase power supply, and / or the analog voltage signal being within the output voltage threshold range of the at least one first phase power supply, the current phase power supply is switched to the at least one first phase power supply.

8. A power switching device, comprising: A processor is configured to obtain the output current of a power module, obtain an analog voltage signal generated from an AC signal based on the output current of the power module, and control the switching of the current phase power supply of the power module based on the output current and the analog voltage signal; wherein, based on the output current being within the output current threshold range of at least one first phase power supply, and / or the analog voltage signal being within the output voltage threshold range of the at least one first phase power supply, the current phase power supply is switched to the at least one first phase power supply. The memory is used to store the program used by the processor to execute the above-described processing procedure.

9. The apparatus according to claim 8, wherein, Also includes: A voltage feedback compensation circuit is used to obtain an analog voltage signal from the AC signal of the output current of the power module and transmit the analog voltage signal to the processor.

10. The apparatus according to any one of claims 8-9, wherein, Also includes: A resistor-capacitor assembly is used to obtain the output current of the power module, generate an analog voltage signal corresponding to the AC signal of the output current based on the output current, and transmit the analog voltage signal to the processor.

Citation Information

Patent Citations

  • Faulty current sense line detection in multiphase voltage regulators

    US20200044553A1