Power supply, control method, device, power system, medium, and product thereof
By introducing current detection circuits and processors into the power supply, quickly detecting load current changes and dynamically adjusting control parameters, the problem of hysteresis of power supply in a high dynamic load environment is solved, and rapid response and stable output voltage are achieved.
Patent Information
- Application Number
- CN202411947021.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2044-12-27
AI Technical Summary
When the existing power supply is facing a high dynamic load jump environment, the output voltage response is lagging, making it difficult to adapt to load changes in time, resulting in reduced equipment operation efficiency or equipment damage.
A power supply is designed, including a converter, current detection circuit and processor, to ensure that the output voltage can respond quickly to load changes by quickly detecting load current changes and dynamically adjusting the converter's control parameters based on preset correspondence.
Significantly improves the response speed of the power supply in a high dynamic load environment, ensuring that the output voltage can be quickly restored to the required voltage of the device, and avoids equipment failures or performance degradation caused by excessive or low voltage.
Smart Images

Figure CN119382475B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power control, and particularly to a power supply unit and its control method, device, power system, medium, and product. Background Art
[0002] In the current era of rapid development of informatization and intelligence, the power supply unit (PSU), as a core component of various electronic devices, shoulders the crucial task of stably supplying power to the devices. Whether it is household electronic devices, industrial automation systems, or high-performance computing environments such as data centers and servers, the performance and stability of the PSU will directly affect the reliable operation of the entire system. Especially in data center and server environments, a large number of computing tasks pose unprecedented high requirements for the voltage stability of the PSU. The load of the device is no longer constant. Especially in modern high-load applications, the load fluctuations are extremely frequent and the fluctuation amplitude is large. However, there is a certain response lag in the voltage regulation of the current PSU, making it difficult to adapt to the load changes in a timely manner. Eventually, the power supply voltage output to the device may be overvoltage or undervoltage, resulting in problems such as reduced device operation efficiency, and may even damage the device.
[0003] It can be seen that how to ensure that the output voltage of the PSU can respond to load changes in a timely manner is a problem that needs to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of the embodiments of the present invention is to provide a power supply unit and its control method, device, power system, medium, and product, which can solve the problem that the output voltage of the PSU cannot respond to load changes in a timely manner.
[0005] To solve the above technical problems, the embodiments of the present invention provide a power supply unit, including:
[0006] A converter, with its input end connected to a preset power supply, for converting the preset power supply into the power supply voltage required by the device;
[0007] A current detection circuit, with its input end connected to the output end of the converter and the power supply end of the device respectively, for detecting the load current input by the converter to the device;
[0008] A processor, with its input end connected to the output end of the current detection circuit and its output end connected to the control end of the converter, for adjusting the control parameters of the converter based on the change of the load current.
[0009] To solve the above technical problems, the embodiments of the present invention further provide a control method for a power supply unit, which is applied to the power supply unit as described above. The control method of the power supply unit includes:
[0010] Detect the current change of the load current of the detection device; the change of the load current includes the change value and the change degree of the load current;
[0011] Determine the target control parameter corresponding to the current change of the load current based on a preset first correspondence; wherein, the first correspondence is a correspondence between the change degree of the load current of the device and the target control parameter constructed with the goal that the output voltage of the power supply returns to the required voltage of the device in less than a preset time;
[0012] Input the target control parameter into the converter of the power supply.
[0013] Optionally, before determining the target control parameter corresponding to the current change of the load current based on the preset first correspondence, it further includes:
[0014] Judge whether the current change value of the load current is greater than a preset control threshold;
[0015] If so, jump to the step of determining the target control parameter corresponding to the current change of the load current based on the first correspondence;
[0016] If not, jump back to the step of detecting the current change of the load current of the device.
[0017] Optionally, determining the target control parameter corresponding to the current change of the load current includes:
[0018] When the load current increases by a first preset value, increase the current duty ratio of the converter in the power supply by a second preset value and then determine it as the target duty ratio of the converter; wherein, the second preset value is positively correlated with the first preset value;
[0019] When the load current decreases by a third preset value, decrease the current duty ratio of the converter in the power supply by a fourth preset value and then determine it as the target duty ratio of the converter; wherein, the fourth preset value is positively correlated with the third preset value.
[0020] Optionally, determining the target control parameter corresponding to the current change of the load current includes:
[0021] When the load current increases by a first preset value, increase the current switching frequency of the converter in the power supply by a fifth preset value and then determine it as the target switching frequency of the converter; wherein, the fifth preset value is positively correlated with the first preset value;
[0022] When the load current decreases by a third preset value, decrease the current switching frequency of the converter in the power supply by a sixth preset value and then determine it as the target switching frequency of the converter; wherein, the sixth preset value is positively correlated with the third preset value.
[0023] Optionally, determining a target control parameter corresponding to the current change of the load current includes:
[0024] When the load current increases by a first preset value, increasing the current power supply voltage input to the converter in the power supply by a seventh preset value and then determining it as the target input voltage of the converter; wherein, the seventh preset value is positively correlated with the first preset value;
[0025] When the load current decreases by a third preset value, decreasing the current power supply voltage input to the converter in the power supply by an eighth preset value and then determining it as the target input voltage of the converter; wherein, the eighth preset value is positively correlated with the third preset value.
[0026] Optionally, before detecting the current change of the load current of the device, it further includes:
[0027] Determining the limit range of the output voltage of the power supply according to the power consumption demand of the device connected to the power supply;
[0028] Determining the reference range of the target control parameter based on the limit range of the output voltage of the power supply.
[0029] Optionally, after determining the target control parameter corresponding to the current change of the load current based on a preset first correspondence relationship, it further includes:
[0030] Judging whether the target control parameter corresponding to the current change of the load current is within the reference range;
[0031] If not, selecting a reference control parameter from the reference range, using the reference control parameter as the final target control parameter, and jumping to the step of controlling the converter in the power supply based on the target control parameter; wherein, the reference control parameter is the target control parameter with the smallest difference between the target control parameters within the reference range and corresponding to the current change of the load current;
[0032] If so, jumping to the step of controlling the converter in the power supply based on the target control parameter.
[0033] Optionally, the power supply further includes a voltage detection circuit, the input end of the voltage detection circuit is respectively connected to the output end of the converter and the power supply end of the device, and the output end is connected to the input end of the processor; the voltage detection circuit is used to detect the output voltage of the converter;
[0034] The control method of the power supply further includes:
[0035] When the current change value of the load current is not greater than a preset control threshold, adjust the control parameters of the converter in the power supply based on the current load power consumption of the load and a preset second correspondence; wherein, the second correspondence is the correspondence between the load power consumption of the device and the control parameters of the converter in the power supply constructed with the goal of finally restoring the output voltage of the power supply to the required voltage of the device.
[0036] Optionally, after inputting the target control parameters into the converter of the power supply, it further includes:
[0037] Determine the first control parameter corresponding to the current load power consumption of the load based on the second correspondence;
[0038] Adjust the control parameters of the converter in the power supply from the target control parameters to the first control parameter.
[0039] Optionally, adjusting the control parameters of the converter in the power supply from the target control parameters to the first control parameter includes:
[0040] Within a preset time period, uniformly adjust the control parameters of the converter in the power supply from the target control parameters to the first control parameter.
[0041] To solve the above technical problems, an embodiment of the present invention further provides a control device for a power supply, including:
[0042] A memory for storing a computer program;
[0043] A processor for executing the computer program to implement the steps of the control method of the power supply as described above.
[0044] To solve the above technical problems, an embodiment of the present invention further provides a power supply system, including a device, an energy storage device, and the power supply as described above. The first end of the energy storage device is respectively connected to the power supply end of the device and the output end of the power supply, and the second end is grounded.
[0045] To solve the above technical problems, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the control method of the power supply as described above.
[0046] To solve the above technical problems, an embodiment of the present invention further provides a computer program product, including a computer program / instructions. When the computer program / instructions are executed by a processor, it implements the steps of the control method of the power supply as described above.
[0047] As can be seen from the above technical solutions, by pre - constructing the first correspondence relationship between the target control parameters of the converter and the degree of change of the load current, under the action of the target control parameters, the output voltage of the converter can reach the required voltage of the device within a preset time. The beneficial effect of the present invention is that through rapid load current detection and dynamic adjustment of the target control parameters, the response speed of the power supply in a high - dynamic load jump environment is significantly improved, and the output voltage of the power supply is quickly restored to the required voltage, avoiding equipment failures or performance degradation caused by too high or too low voltage; in the case of high - frequency load changes, the adjustment of the output voltage can be completed within milliseconds to meet the requirements of high - power - consumption devices, thereby enhancing the adaptability of the PSU to dynamic loads. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0049] Figure 1 It is a schematic structural diagram of a power supply provided by an embodiment of the present invention;
[0050] Figure 2 It is a schematic flow diagram of a control method for a power supply provided by an embodiment of the present invention;
[0051] Figure 3 It is a control block diagram of a power supply provided by an embodiment of the present invention;
[0052] Figure 4 It is a schematic signal waveform diagram of a power supply system when the control method of the power supply provided by the present invention is not adopted in an embodiment of the present invention;
[0053] Figure 5 It is a schematic signal waveform diagram of a power supply system after adopting the control method of the power supply provided by the present invention in an embodiment of the present invention;
[0054] Figure 6 It is a schematic structural diagram of a control device for a power supply provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0055] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0056] As used in the specification of the present invention and the above-mentioned drawings, the terms "comprising" and "having", and any variations related to "comprising" and "having", are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may include steps or units not listed.
[0057] In recent years, with the rapid development of artificial intelligence (AI) technology, a new generation of computing tasks dominated by deep learning and machine learning has emerged. These computing tasks often have a very strong demand for parallel processing of large-scale data. Although the traditional central processing unit (CPU) has good general computing capabilities, it is insufficient in dealing with complex matrix operations and big data calculations. For this reason, the graphics processing unit (GPU) has gradually become the core of AI computing. Through its highly parallel architecture, the GPU has significant advantages in deep learning model training and inference, and has become an indispensable computing engine in AI applications. During the deep learning training and inference process, the dynamic changes in the GPU load are extremely drastic, often showing extremely high load jump characteristics. When an AI model needs to process a large amount of data, the computing demand of the GPU instantaneously increases, and its power consumption also jumps to hundreds of watts or even higher. Once the calculation is completed or it enters a low-load state, the power consumption will drop sharply. Such drastic dynamic jumps not only increase the burden on the PSU but also pose higher requirements for its response speed. In specific application scenarios, this load jump is manifested as a sharp increase or rapid decrease in current demand within a short period of time. For example, during the training of a deep learning model, the power consumption of the GPU may increase from dozens of watts to hundreds of watts within just a few milliseconds, and then may quickly drop back to a lower level. Such frequent and drastic power consumption changes not only bring huge load pressure to the PSU but also greatly increase the difficulty of voltage regulation.
[0058] In traditional PSU designs, methods relying on filter capacitors, inductors, and voltage regulation circuits are typically used to smooth voltage fluctuations and ensure stable output voltage. These filtering components can effectively smooth the voltage in scenarios where the load changes relatively smoothly, avoiding voltage instability caused by minor load fluctuations. However, when faced with the dynamic load jumps of GPUs, traditional filtering and voltage regulation means prove inadequate. Specifically, the charge that filter capacitors and inductors can store and release in a short time is limited. When the power consumption changes rapidly, the speed of capacitor charge transfer is insufficient to support the rapid power consumption changes of the GPU, resulting in a significant reduction in filtering effectiveness. At the same time, to maintain voltage stability, it is often necessary to increase the capacitance of the filter capacitor, but this will lead to an increase in the size of the device and cost. High-capacitance capacitors will increase the power consumption requirements of the circuit and pose serious heat dissipation challenges, especially in dense circuit designs, which will affect the normal operation of other components. Moreover, even if a large number of capacitors are added, due to the still limited charging and discharging speed of the capacitors, it is difficult to cope with the instantaneous power consumption changes brought about by extreme load jumps, and the output voltage may still deviate from the set value instantaneously, affecting the stability of the system and not fundamentally solving the voltage instability problem caused by dynamic load jumps.
[0059] In summary, traditional PSU designs have problems with response lag in dynamic load jump environments. When GPUs bring frequent high-load jumps, the adjustment speed of existing technologies often fails to meet the requirements, and the stability of the output voltage is also poor. This will not only affect the normal execution of AI computing tasks but may also cause calculation errors due to voltage instability and even interrupt the entire computing task. In addition, in an environment of multi-GPU parallel computing, the load jumps of each GPU often lack synchronization, and the power consumption requirements of each GPU change frequently and inconsistently. This makes the PSU not only face the jump pressure of a single load but also needs to cope with the complex load adjustment requirements brought about by multiple loads changing simultaneously or alternately. This situation further amplifies the risk of unstable voltage output, making it difficult for existing technologies to fully handle. To adapt to the new load characteristics brought about by AI GPU applications, the present invention provides a control method for a power supply unit, enabling the output voltage of the PSU to quickly respond to the load changes of the device, and using fast response and dynamic adjustment capabilities to cope with high-frequency load changes, ensuring the stability of the output voltage and the safety of the device.
[0060] To enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0061] Next, a power supply unit and its control method provided by an embodiment of the present invention will be introduced in detail. Refer to Figure 1 as shown Figure 1 is a schematic structural diagram of a power supply unit provided by an embodiment of the present invention; refer to Figure 2 as shown Figure 2Schematic diagram of a control method for a power supply provided by an embodiment of the present invention; the power supply includes:
[0062] Converter 1, whose input terminal is connected to a preset power supply, and is used to convert the preset power supply into a power supply voltage required by the device;
[0063] Current detection circuit 2, whose input terminals are respectively connected to the output terminal of converter 1 and the power supply terminal of the device, and is used to detect the load current input from converter 1 to the device;
[0064] Processor 61, whose input terminal is connected to the output terminal of current detection circuit 2, and whose output terminal is connected to the control terminal of converter 1, and is used to adjust the control parameters of converter 1 based on the change of the load current.
[0065] It can be understood that when the PSU supplies power to the device, an energy storage device will be set in the power supply system, and the energy storage device is generally an energy storage capacitor set at the output terminal of the PSU. When the switching device in the converter is turned on, the converter will use the input voltage to charge the energy storage device, so as to provide energy for the load. Therefore, when the load changes, the load power consumption will affect the energy stored in the energy storage device; when the load power consumption increases, a large amount of energy in the energy storage device will be consumed, resulting in a decrease in the output voltage at the output terminal of the PSU. When the load power consumption decreases, the consumption of energy in the energy storage device will be reduced, resulting in an increase in the output voltage at the output terminal of the PSU. Therefore, when the load power consumption changes, the load current will also change accordingly, driving the change of the output voltage of the PSU. When the load power consumption increases, the load current increases and the output voltage of the PSU decreases; when the load power consumption decreases, the load current decreases and the output voltage of the PSU increases; thus resulting in the output voltage of the PSU being unable to be stabilized at the required voltage of the device.
[0066] It should be noted that the device refers to the device load connected to the output terminal of the PSU and requiring the PSU to provide a power supply voltage. The PSU is used to convert alternating current (AC) into direct current (DC) that can be used by the device, and at the same time, it is necessary to ensure the stability of the output voltage from itself to the device, so as to ensure that the device can receive a constant and reliable power supply and maintain normal operation. Therefore, the response speed in the present invention refers to the speed at which the output voltage of the PSU recovers from the current voltage to the required voltage of the device, and can be characterized by the time taken for the output voltage of the PSU to recover from the current voltage to the required voltage of the device. The load power consumption refers to the energy that the device load needs to consume per unit time, and the load current refers to the current flowing into the load.
[0067] The control method of the power supply includes:
[0068] S11: Detect the current change of the load current of the device; the change of the load current includes the change value and the change degree of the load current.
[0069] It can be understood that when controlling the PSU, it is necessary to adjust the output voltage of the PSU according to the real-time load change of the device currently connected to the PSU. Therefore, it is necessary to detect the load change first. In the present invention, the current detection method is adopted. By detecting the real-time change of the load current, the change of the load power consumption is determined in real time. Since it is necessary to detect the change of the load current, it is necessary to detect the load current twice, and compare the current values of the two or more detected load currents to obtain the change of the load current. As a specific embodiment, a detection period will be preset, and the load current will be detected periodically in units of the detection period, so as to realize the real-time detection of the change of the load current. The change value of the load current refers to the current change value, that is, the difference between the load currents corresponding before and after a detection period. The change degree is the ratio of the current change value to the corresponding change time, which can be the ratio of the change value of the load current in a detection period to the detection period. For example, the load current detected at time t1 is I1, and the load current detected at time t2 is I2, then the change value of the load current is I2 - I1, and the change degree is (I2 - I1) / (t2 - t1).
[0070] It is not difficult to understand that when the detection period of the load current is relatively small, the entire control method can dynamically adjust the target control parameters according to the real-time change of the load current, comprehensively consider the response speed and whether the output voltage is within the ideal power supply voltage corresponding to the device demand voltage, and flexibly adjust the control parameters of the converter, so as to realize the dynamic adjustment of the PSU output voltage.
[0071] It should be noted that the detection of the load current can be realized by setting a current detection circuit such as a current sensor. The specific detection method of the load current and the specific detection logic of its change are not particularly limited in this application. The change of the load power consumption will be directly reflected in the change of the load current. By introducing a highly sensitive current detection circuit and using a fast current detection mechanism, the change of the load can be detected within milliseconds. Whenever there is a significant change in the load power consumption, the current detection system can quickly capture the change trend of the current, so as to provide immediate feedback information. By real-time monitoring the output current of the PSU, the amplitude and direction of the load jump can be accurately identified, providing basic data support for subsequent voltage adjustment.
[0072] S12: Determine a target control parameter corresponding to the current change in load current based on a preset first corresponding relationship; wherein the first corresponding relationship is a correspondence between the degree of change in the load current of the device and the target control parameter, which is constructed with the goal of the time for the output voltage of the power supply to recover to the required voltage of the device being less than a preset time length.
[0073] Considering that various devices powered by PSUs are subject to load fluctuations, especially in modern high-load applications, where load fluctuations are extremely frequent and drastic, the PSU and the entire power supply system must respond quickly to changes in load to avoid system instability caused by voltage fluctuations. Therefore, when controlling the PSU, a first correspondence between the degree of change in the load current of the device and the target control parameter is pre-constructed. When constructing the first correspondence, the response speed of the PSU's output voltage is given priority to ensure that the PSU's output voltage can be restored to the device's required voltage within a preset time, thereby improving the PSU's output voltage's response speed to load changes and ensuring the stability and reliability of the output voltage.
[0074] It is not difficult to understand that the required voltage of the device refers to the power supply voltage required for the normal operation of the device. When the load of the device connected to the PSU changes, the required voltage of the device will also change, and the first correspondence needs to be rebuilt at this time. The first correspondence can be directly constructed and set in the control device of the PSU, or the first correspondence can be constructed in other software or hardware in advance and then directly entered into the control device of the PSU. The specific implementation method of the first correspondence is not particularly limited in this application, and the first correspondence can be constructed by experimental simulation or emulation.
[0075] It is not difficult to understand that the first corresponding relationship is mainly to ensure the response speed of the PSU output voltage. The more drastic the load change, that is, the greater the change in the load current, the greater the difference between the PSU output voltage and the required voltage of the equipment. For example, when the load current increases sharply in a short period of time, the output voltage of the PSU will also drop very quickly. At this time, a faster response speed is needed to adapt to this change in the load. Therefore, the target control parameter corresponding to the current change in the load current is essentially the target control parameter corresponding to the current degree of change in the load current. The greater the degree of change in the load current, the faster the target control parameter regulates the PSU output voltage.
[0076] S13: Inputting the target control parameter to the converter of the power supply.
[0077] It can be understood that the final target control parameter will be input into the converter in the power supply. The converter is a device in the power supply used for voltage conversion. By adjusting the control parameter of the converter, the output voltage of the converter can be effectively adjusted, thereby realizing the regulation of the output voltage of the PSU. The entire control method constitutes a closed-loop control of the control parameter of the converter in the power supply. Taking the output current of the PSU as the input and the control parameter of the converter in the PSU as the output, with the time for the output voltage of the power supply to return to the required voltage of the device being less than the preset duration as the control target, a current feedback control logic and a current loop feedback topology for the PSU are constructed.
[0078] It is not difficult to understand that the essence of using the current loop topology to improve the response speed of the PSU output voltage is that when regulating the output voltage of the converter, a voltage higher or lower than the voltage of the device is used as the target voltage to regulate the control parameter of the converter. That is, the adjustment amount between the target control parameter determined based on the first correspondence and the current control parameter of the converter is greater than the adjustment amount of the control parameter when the output voltage is adjusted to the required voltage of the device. For example, when the load current increases, the output voltage of the PSU will decrease due to the increase in the load current. At this time, it is necessary to adjust the control parameter of the converter to control the increase in the output voltage of the PSU. At this time, when determining the target control parameter based on the first correspondence, the target voltage that the converter needs to reach under the action of the target control parameter is set to a reference value greater than the required voltage of the device. Taking the required voltage of the device as 12V as an example, the target control parameter determined based on the first correspondence can be the control parameter corresponding to the output voltage of the converter being 13V. At this time, the target control parameter can increase the output voltage to 12V faster, but finally, under the action of the target control parameter, the output voltage of the PSU will stabilize at 13V, thereby ensuring the response speed of the PSU output voltage to load changes. Therefore, when setting the preset duration, it is necessary to consider both the response speed of the output voltage and the safety range of the output voltage.
[0079] It should be noted that the specific types and implementation methods of the PSU and the converters therein are not particularly limited in this application. Generally, a DC / DC converter is used in the PSU, and the converter is implemented through a buck circuit. The specific types and implementation methods of the devices powered by the PSU are not particularly limited in this application. It is not limited to the GPU described above. The PSU can be used to provide the voltage required for the normal operation of various types of devices. The specific value of the preset duration is not particularly limited in this application. To improve the accuracy and reliability of the voltage received by the device, an RC circuit is further provided at the output end of the PSU. The RC circuit includes a capacitor and a resistor. The first end of the resistor is connected to the output end of the PSU. The first end of the capacitor is connected to the second end of the resistor and the power supply end of the device respectively. The second end of the capacitor is grounded. The RC circuit can play a filtering role. At the same time, the capacitor is connected in parallel between the output end of the PSU and the ground, which can further stabilize the output voltage and serve as an energy storage device for the converter. However, since the present invention has adjusted the control parameters of the converter to achieve the response to the load change and adjusted the output voltage, the capacitance of the capacitor at this time can be set relatively small and does not need to play the main role in stabilizing the voltage. A small-capacity capacitor of 2200uF can be used to achieve this.
[0080] The control method provided by the present invention ensures the real-time stability of the PSU output voltage through a fast-response design, so as to effectively adapt to the application environment with high-load jumps. The high-sensitivity current detection circuit can detect the load change within milliseconds and provide real-time data support for voltage regulation. Through fast current detection and dynamic adjustment of converter control parameters such as duty cycle, the output voltage regulation response can be completed within milliseconds, enabling the PSU to adjust the output in real time following the load change, significantly improving the response speed and stability of the power supply unit (PSU) in the high-dynamic load jump environment. During the voltage regulation response process within milliseconds, the stable regulation of the voltage can be effectively achieved by software detecting the trend of the load current change. Detect the current change quickly and adjust the duty cycle immediately to keep the output voltage within the safe range at all times, avoiding equipment failures or performance degradation caused by too high or too low voltage, and improving the stability of the entire power system. There is no need to rely on a large number of filter capacitors to stabilize the voltage, thus significantly reducing the volume and cost of the PSU, making it easier to integrate into miniaturized devices and reducing hardware dependence. In the case of high-frequency load changes, the voltage adjustment can be completed within milliseconds, with an accelerated response speed to meet the needs of high-power-consuming devices such as GPUs, thereby improving the adaptability of the PSU to dynamic loads.
[0081] As an optional embodiment, before determining the target control parameter corresponding to the current change situation of the load current based on the first correspondence relationship, it further includes:
[0082] Determine whether the current change value of the load current is greater than a preset control threshold;
[0083] If so, jump to the step of determining the target control parameter corresponding to the current change condition of the load current based on the first corresponding relationship;
[0084] If not, jump back to the step of detecting the current change condition of the load current of the device.
[0085] It can be understood that considering the voltage feedback control logic of the output voltage existing in the PSU itself, the voltage feedback control logic will detect the output voltage of the PSU in real time, judge whether the real-time output voltage of the PSU is consistent with the device required voltage, and adjust the control parameters of the converter in the PSU to ensure that the output voltage of the PSU always remains at the device required voltage when they are inconsistent. This voltage feedback control logic can also ensure the stability of the PSU output voltage to a certain extent. However, the response speed of the voltage feedback control logic itself is too slow to quickly respond to load changes, especially when the load changes greatly, the response speed is very slow, resulting in the output voltage of the PSU being undervoltaged or overvoltage for a long time. Therefore, the current feedback control logic provided by the present invention can be combined with the voltage feedback control logic existing in the PSU itself. When the change value and / or change degree of the load current are relatively small, the current feedback control logic is not added, and only the voltage feedback control logic is used to control the output voltage of the PSU; when the change value and / or change degree of the load current are relatively large, the current feedback control logic is added, and both the voltage feedback control logic and the current feedback control logic are used to control the output voltage of the PSU, so as to use the current feedback control logic to improve the response speed of the PSU output voltage to load changes. The specific value of the preset control threshold and the like are not particularly limited in this application. The voltage feedback control logic of the PSU itself can be simulated and applied to determine the load change value and / or change degree that the voltage feedback control logic can recover in a short time.
[0086] Specifically, when the load change is small, the voltage feedback control logic of the PSU itself is directly used to stabilize the output voltage of the PSU. When the load change is large, the current feedback control logic is further introduced to improve the response speed of the PSU output voltage to load changes, avoid unstable conditions such as undervoltage or overvoltage of the output voltage for a long time, and ensure the stability of the PSU output voltage.
[0087] See Figure 3 as shown Figure 3 is a control block diagram of a power supply unit provided by an embodiment of the present invention; As an optional embodiment, determining the target control parameter corresponding to the current change condition of the load current includes:
[0088] When the load current increases by a first preset value, the current duty cycle of the converter in the power supply is increased by a second preset value and then determined as the target duty cycle of the converter; wherein, the second preset value is positively correlated with the first preset value;
[0089] When the load current decreases by a third preset value, the current duty cycle of the converter in the power supply is decreased by a fourth preset value and then determined as the target duty cycle of the converter; wherein, the fourth preset value is positively correlated with the third preset value.
[0090] It is not difficult to understand that the converter generally adopts a buck circuit. At this time, for the converter, the control parameter that can realize the output voltage regulation can be the duty cycle of the switching device in the converter. The output voltage is controlled by dynamically adjusting the duty cycle of the converter. When the target control parameter is the duty cycle, the duty cycle is positively correlated with both the amplitude and direction of the load jump. Specifically, when it is detected that the load current increases sharply, the control device of the PSU immediately increases the duty cycle control value output to the converter, thereby quickly increasing the output voltage to meet the additional power required for the load to rise and avoiding the occurrence of undervoltage; at the same time, the greater the increase in the load current, the greater the duty cycle control value that the converter needs to increase. On the contrary, when it is detected that the load current drops rapidly, the control device of the PSU immediately reduces the duty cycle control value output to the converter, reduces the output voltage, and prevents system instability caused by excessive voltage; at the same time, the greater the drop in the load current, the greater the duty cycle control value that the converter needs to reduce. The specific values of the first preset value, the second preset value, the third preset value, and the fourth preset value are not particularly limited in this application. The first correspondence relationship specifically includes the correspondence relationship between the first preset value and the second preset value and the correspondence relationship between the third preset value and the fourth preset value.
[0091] It should be noted that in the PSU, the output voltage can be adjusted by controlling the duty cycle; by adjusting the duty cycle to control the storage and release time of the energy storage device in the PSU, thereby realizing the up and down conversion of the output voltage. When the duty cycle D is less than 50%, the converter operates in the buck mode, and the output voltage is lower than the input voltage. When the duty cycle D is greater than 50%, the converter operates in the boost mode, and the output voltage is higher than the input voltage. The duty cycle D is defined as the ratio of the switch-on time to the total period: ; where Ton is the conduction time of the switch, Toff is the turn-off time of the switch, and the duty cycle D ranges from 0 to 1. In the buck circuit of the PSU, the relationship between its output voltage Vout and input voltage Vin is: Vout = D * Vin; Generally, if the required output voltage of the device is 12V, the input voltage of the buck circuit is also set to 12V. In the case of a 12V input voltage, the output voltage of the buck converter is controlled by the duty cycle D, and the output voltage is ensured to be between 11.6V and 12.9V.
[0092] Specifically, based on the result of fast current detection, the present invention can control the output voltage of the PSU by dynamically adjusting the duty cycle of the converter to adapt to the change of the load; by adjusting the duty cycle of the switch in the converter, the charging and discharging time of the energy storage device by the converter can be effectively adjusted, thereby adjusting the output voltage of the PSU.
[0093] As an optional embodiment, determining a target control parameter corresponding to the current change situation of the load current includes:
[0094] When the load current increases by a first preset value, the current switching frequency of the converter in the power supply unit is increased by a fifth preset value and then determined as the target switching frequency of the converter; where the fifth preset value is positively correlated with the first preset value;
[0095] When the load current decreases by a third preset value, the current switching frequency of the converter in the power supply unit is decreased by a sixth preset value and then determined as the target switching frequency of the converter; where the sixth preset value is positively correlated with the third preset value.
[0096] It can be understood that the converter generally adopts a buck circuit. At this time, for the converter, the control parameter that can achieve output voltage regulation can be the switching frequency of the switching device in the converter. The output voltage is controlled by dynamically adjusting the switching frequency of the converter. The switching frequency of the switching device refers to the conversion rate between conduction and turn-off of the switching device. When the conduction time of the switching device is fixed, when the switching frequency of the converter increases, the switching period of the converter decreases, indirectly causing the duty cycle of the switching device to increase, thereby increasing the output voltage. Therefore, when the target control parameter is the switching frequency, the switching frequency is positively correlated with both the amplitude and direction of the load jump. Specifically, when it is detected that the load current increases sharply, the control device of the PSU immediately increases the switching frequency control value output to the converter, thereby quickly increasing the output voltage to meet the additional power required for the load increase and avoiding the occurrence of undervoltage; at the same time, the greater the increase in the load current, the greater the switching frequency control value that the converter needs to increase. On the contrary, when it is detected that the load current drops rapidly, the control device of the PSU immediately reduces the switching frequency control value output to the converter to reduce the output voltage and prevent system instability caused by excessive voltage; at the same time, the greater the drop in the load current, the greater the switching frequency control value that the converter needs to reduce. The specific values of the first preset value, the fifth preset value, the third preset value, the sixth preset value, etc. are not particularly limited in this application. The first correspondence specifically includes the correspondence between the first preset value and the fifth preset value and the correspondence between the third preset value and the sixth preset value.
[0097] Specifically, based on the result of fast current detection, the present invention can control the output voltage of the PSU by dynamically adjusting the switching frequency of the converter to adapt to the change of the load; by adjusting the switching frequency of the switch in the converter, the duty cycle of the switching device in the converter is indirectly affected, thereby adjusting the output voltage of the PSU.
[0098] As an optional embodiment, determining the target control parameter corresponding to the current change situation of the load current includes:
[0099] When the load current increases by a first preset value, the current supply voltage input to the converter in the power supply unit is increased by a seventh preset value and then determined as the target input voltage of the converter; wherein, the seventh preset value is positively correlated with the first preset value;
[0100] When the load current decreases by a third preset value, the current supply voltage input to the converter in the power supply unit is decreased by an eighth preset value and then determined as the target input voltage of the converter; wherein, the eighth preset value is positively correlated with the third preset value.
[0101] It is not difficult to understand that the converter generally adopts a buck circuit. At this time, for the converter, the control parameter that can achieve the output voltage regulation can be the input voltage of the converter itself. By dynamically adjusting the input voltage of the converter itself, the output voltage can be controlled. The input voltage of the converter refers to the power supply voltage input to the converter. The larger the input voltage of the converter, the larger the output voltage of the converter when other control parameters remain unchanged. Therefore, when the target control parameter is the input voltage of the converter, the input voltage of the converter is positively correlated with both the amplitude and direction of the load jump. Specifically, when it is detected that the load current increases sharply, the control device of the PSU immediately controls the input voltage input to the converter to increase, so as to quickly increase the output voltage, meet the additional power required for the load to rise, and avoid the occurrence of under-voltage conditions; at the same time, the greater the increase in the load current, the greater the input voltage that the converter needs to increase. On the contrary, when it is detected that the load current drops rapidly, the control device of the PSU immediately controls the input voltage input to the converter to decrease, reducing the output voltage to prevent system instability caused by excessive voltage; at the same time, the greater the drop in the load current, the greater the input voltage that the converter needs to decrease. The specific values of the first preset value, the seventh preset value, the third preset value, the eighth preset value, etc. are not particularly limited in this application. The first correspondence specifically includes the correspondence between the first preset value and the seventh preset value and the correspondence between the third preset value and the eighth preset value.
[0102] It should be noted that in the PSU, the alternating current will first be converted into direct current by using a rectifier circuit and a power factor correction (PFC) circuit, etc., and then the stable direct current will be input into the converter. The converter is used to further convert the direct current into the voltage required by the device. At this time, the input voltage of the converter will directly affect the output voltage of the converter, and the input voltage of the converter will be affected by the working parameters of the front-end rectifier circuit; therefore, the output voltage of the PSU can also be adjusted by adjusting the input voltage input to the converter. The specific regulation method of the input voltage of the converter is not particularly limited in this application and needs to be designed according to the specific circuit structure in the PSU. When adjusting the output voltage of the PSU, one or more combinations of the duty cycle, switching frequency, and input voltage of the converter can be used as control parameters for adjustment.
[0103] Specifically, based on the result of fast current detection, the present invention can control the output voltage of the PSU by dynamically adjusting the input voltage of the converter to adapt to the change of the load; by adjusting the input voltage of the switch in the converter, increasing or decreasing the energy input to the converter, thereby adjusting the output voltage of the PSU.
[0104] As an optional embodiment, before detecting the current change situation of the load current of the detection device, it further includes:
[0105] Determine the limit range of the output voltage of the power supply according to the power consumption requirements of the device connected to the power supply;
[0106] Determine the reference range of the target control parameter based on the limit range of the output voltage of the power supply.
[0107] Considering that the goal of constructing the first correspondence is that the time for the output voltage of the power supply to return to the required voltage of the device is less than the preset duration. Therefore, in order to ensure the response speed of the output voltage, when adjusting the control parameters of the PSU, the target control parameters that can restore the voltage to the required voltage of the device in a short time will be selected. Therefore, under the action of the target control parameter, the output voltage of the PSU may eventually be too large or too small. Therefore, in order to ensure that the device can receive a normal and effective output voltage and ensure that the output voltage of the PSU is always within the normal range, the reference range of the target control parameter that can keep the output voltage of the PSU always within the normal range can also be constructed in advance. The normal range of the output voltage refers to the voltage range that can ensure the normal operation of the device, generally a small voltage range centered on the required voltage of the device.
[0108] As a specific embodiment, taking the target control parameter as the duty cycle, the required voltage of the device is 12V, and the input voltage of the converter is 12V as an example, the output voltage of the PSU is generally limited between 11.6V and 12.9V. According to this limit condition, the duty cycle range that meets the voltage limit can be calculated. Calculate the minimum duty cycle according to the minimum value of the output voltage, and require Vout≥11.6V to calculate the minimum duty cycle: ... Calculate the maximum duty cycle according to the maximum value of the output voltage, and require Vout≤12.9V to calculate the maximum duty cycle: ...
[0109] Specifically, in order to cope with the challenge of voltage stability in the modern high-dynamic load jump environment, the present invention proposes a new power supply design, which precisely controls the voltage fluctuation of the output voltage by quickly detecting the current and dynamically adjusting the duty cycle, and at the same time determines the limit range of the PSU output voltage and the reference range of the target control parameter corresponding to this limit range according to the device requirements, so as to ensure that under extreme load change conditions, the output voltage can still always remain within the normal range of the voltage required by the device, improving the stability and reliability of the output voltage.
[0110] As an alternative embodiment, after determining the target control parameter corresponding to the current change situation of the load current based on the preset first correspondence, it further includes:
[0111] Judge whether the target control parameter corresponding to the current change situation of the load current is within the reference range;
[0112] If not, select a reference control parameter from the reference range, use the reference control parameter as the final target control parameter, and jump to the step of controlling the converter in the power supply based on the target control parameter; wherein, the reference control parameter is the target control parameter with the smallest difference between the target control parameters within the reference range and corresponding to the current change of the load current.
[0113] If so, jump to the step of controlling the converter in the power supply based on the target control parameter.
[0114] It can be understood that after obtaining the target control parameter based on the first correspondence, this target control parameter can be compared with the reference range of the target control parameter to determine whether the target control parameter obtained based on the first correspondence is within the reference range. If it is within the reference range, it means that the output voltage corresponding to this target control parameter can ensure the normal operation of the device, and the converter can directly adjust the output voltage based on this target control parameter. If it is not within the reference range, it means that the output voltage corresponding to this target control parameter is outside the normal range of the device required voltage. At this time, in order to ensure the normal operation of the device, a reference control parameter needs to be reselected from the reference range as the final target control parameter for controlling the converter. At the same time, in order to ensure the response speed of the output voltage, when selecting the reference control parameter, a control parameter that is the closest to this target control parameter, that is, the one with the smallest difference from this target control parameter, will be selected as the reference control parameter.
[0115] It should be noted that taking the minimum duty cycle to meet the voltage limit as 0.9667 and the maximum duty cycle as 1.075 as an example, since the maximum duty cycle is greater than 1, at this time, as long as the target duty cycle is not less than the minimum duty cycle, it can ensure that the output voltage is within the normal range of the device required voltage. At this time, if the target duty cycle obtained based on the first correspondence is 0.97, 0.97 can be directly output as the control value of the duty cycle of the converter; if the target duty cycle obtained based on the first correspondence is 0.96, a reference control parameter needs to be selected from the reference range. At this time, the one with the smallest difference from 0.96 is the minimum duty cycle 0.9667. Therefore, at this time, the duty cycle 0.9667 is used as the control value of the duty cycle of the final converter and input into the converter to control the switching device.
[0116] Furthermore, there is a special case in the change of the load. If the load suddenly drops rapidly to zero or close to zero, it indicates that the device suddenly stops working and the PSU suddenly jumps to the no-load state. At this time, the target duty cycle obtained according to the detected load current and the first corresponding relationship will also be zero or close to zero. Although the target duty cycle is not within the reference range at this time, the target duty cycle obtained based on the first corresponding relationship is a normal situation. Therefore, when the target control parameter corresponding to the current change of the load current is not within the reference range, it can be further determined whether the target control parameter corresponding to the current change of the load current is less than the no-load threshold. If so, it indicates that the load of the PSU jumps to the no-load state. At this time, the PSU does not need to output voltage, and the converter can be directly controlled to stop working, specifically, the duty cycle can be adjusted to zero; if not, the step of selecting the reference control parameter is continued. The specific value of the no-load threshold and the like are not particularly limited in this application. When the target control parameter is the no-load threshold, the output voltage of the converter is zero or in a state close to zero.
[0117] Specifically, by further comparing the obtained target control parameter with the reference range and reselecting the reference control parameter in the reference range as the target control parameter when the target control parameter is not within the reference range, it is ensured that the final target control parameter input to the converter is a control parameter within the reference range and can ensure the normal operation of the device, further improving the stability and reliability of the output voltage of the PSU and ensuring the normal operation of the device.
[0118] As an alternative embodiment, the power supply unit further includes a voltage detection circuit. The input end of the voltage detection circuit is respectively connected to the output end of the converter and the power supply end of the device, and the output end is connected to the input end of the processor; the voltage detection circuit is used to detect the output voltage of the converter; the control method of the power supply unit further includes:
[0119] When the current change value of the load current is not greater than the preset control threshold, the control parameter of the converter in the power supply unit is adjusted based on the current load power consumption of the load and the preset second corresponding relationship; wherein, the second corresponding relationship is the corresponding relationship between the load power consumption of the device and the control parameter of the converter in the power supply unit constructed with the goal of finally restoring the output voltage of the power supply unit to the required voltage of the device.
[0120] It is not difficult to understand that, when the load change is relatively small, the voltage feedback control logic of the PSU itself can be directly used to control the converter. The voltage feedback control logic is implemented based on a second corresponding relationship constructed with the goal of eventually restoring the output voltage of the power supply unit to the required voltage of the device. When it is detected that the output voltage of the PSU is less than or greater than the required voltage of the device, the difference between the current output voltage of the PSU and the required voltage of the device is calculated, and then the control parameter corresponding to this difference is determined according to the second corresponding relationship, so as to control the converter to gradually restore the output voltage of the PSU to the required voltage of the device. The specific construction method of the second corresponding relationship and the like are not particularly limited in this application.
[0121] Specifically, when the load change is relatively small, the current feedback control logic is not added, and the voltage feedback control logic of the PSU itself is directly used to stabilize the output voltage, simplifying the control logic and saving the control cost.
[0122] As an optional embodiment, after inputting the target control parameter into the converter of the power supply unit, it further includes:
[0123] Determine a first control parameter corresponding to the current load power consumption of the load based on the second corresponding relationship;
[0124] Adjust the control parameter of the converter in the power supply unit from the target control parameter to the first control parameter.
[0125] It can be understood that the voltage regulation strategy of the current feedback control logic introduced in the present invention gives priority to the response speed of the output voltage. Therefore, when controlling by detecting the change trend of the current, after ensuring the response speed of the output voltage, the output voltage is adjusted to ensure that the output voltage can be stabilized at the required voltage of the device, improving the stability of the output voltage. Finally, the regulation strategy of raising the output voltage first and then lowering the output voltage when the load current rises, and lowering the output voltage first and then raising the output voltage when the load current drops is realized to maintain voltage stability. For example, when the load current rises, it is detected that the load current is climbing, which means that the load power consumption increases. At this time, in order to prevent the output voltage from exceeding the set range, the target control parameter will be determined first to raise the voltage to quickly adapt to the load demand, and then the voltage will be gradually lowered to ensure that while providing sufficient power, the output voltage is not too high. When the load current drops, it is detected that the load current drops, indicating that the load power consumption is decreasing. In this case, the target control parameter will be determined first to lower the voltage to adapt to the load change and prevent the voltage from being too high; then the voltage will be slowly raised to an appropriate range to ensure system stability.
[0126] It should be noted that the target control parameter determined based on the first correspondence relationship will use a voltage higher or lower than the voltage of the device as the target voltage to adjust the control parameter of the converter. Therefore, under the action of the target control parameter, the final output voltage of the PSU will be greater than or less than the device demand voltage. To further ensure the stability of the PSU output voltage, after the control parameter of the converter reaches the target control parameter, the control parameter of the converter will be further adjusted to the first control parameter, so as to stably control the output voltage of the PSU at the device demand voltage. Since the voltage feedback control logic of the PSU itself aims to finally restore the output voltage of the power supply to the device demand voltage during control, the first control parameter can be directly determined using the first correspondence relationship.
[0127] As a specific embodiment, taking the example that when the duty ratio of the converter is 0.7, the output voltage of the converter remains at the device demand voltage. After detecting a significant increase in the load current, under the action of the first correspondence relationship, the duty ratio D of the converter will first be increased to a value greater than 0.7, for example, increased to 0.9. Under the action of this larger duty ratio, the output voltage will be rapidly increased to meet the rising load demand. As the converter continues to operate, the output voltage of the converter will continue to increase after reaching the device demand voltage. After the output voltage of the converter reaches the device demand voltage, the duty ratio of the converter can be gradually reduced to control the output voltage to gradually decrease to the set stable range, and a preferred embodiment is to stabilize at the device demand voltage. When the load current significantly decreases, under the action of the first correspondence relationship, the duty ratio D of the converter will first be reduced to a value less than 0.7, for example, reduced to 0.5. Under the action of this smaller duty ratio, the output voltage will be rapidly reduced to meet the decreasing load demand and prevent the overvoltage risk caused by the load reduction. As the converter continues to operate, the output voltage of the converter will continue to decrease after reaching the device demand voltage. After the output voltage of the converter reaches the device demand voltage, the voltage can be controlled within the ideal output range by slowly increasing the duty ratio, and a preferred embodiment is to stabilize at the device demand voltage.
[0128] Specifically, by introducing a mechanism of current feedback control logic, the response time of the PSU is significantly shortened. Furthermore, the first correspondence relationship is further utilized to stabilize the output voltage after a fast-response load within the ideal supply voltage range corresponding to the device demand voltage. By precise regulation, the stability of the PSU output voltage is improved, the dependence on large-capacity filter capacitors is reduced, thereby reducing the volume and cost of the entire power supply system. In this way, the PSU can efficiently cope with load jumps and ensure that the device always operates within a safe voltage range. The combination of fast current detection and duty cycle adjustment keeps the output voltage stable at all times, avoiding device failures or performance degradation caused by overvoltage or undervoltage, and ensuring the stability of the power supply system. Since it no longer completely relies on external large-capacity capacitors to maintain voltage stability, the overall volume and cost of the PSU are significantly reduced, facilitating integration into modern miniaturized devices and reducing hardware requirements. In the scenario of a fast load jump, the design of the present invention can complete voltage adjustment in an extremely short time to meet the requirements of high-power-consuming devices such as GPUs, significantly enhancing the adaptability of the PSU to dynamic loads and improving the response speed.
[0129] As an alternative embodiment, adjusting the control parameter of the converter in the power supply unit from the target control parameter to the first control parameter includes:
[0130] Within a preset time period, uniformly adjust the control parameter of the converter in the power supply unit from the target control parameter to the first control parameter.
[0131] Considering that during this output voltage adjustment process, that is, the process of reducing the elevated voltage to the device demand voltage or raising the reduced voltage to the device demand voltage, it is also necessary to ensure that the PSU can meet the load power consumption. Specifically, the stored energy in the energy storage device of the PSU is not less than the real-time load power consumption. Therefore, during the process of adjusting the control parameter, it is selected to gradually adjust the control parameter of the converter and uniformly adjust it from the target control parameter to the first control parameter to avoid the instability of the output voltage caused by sudden changes in the control parameter and the situation of being difficult to meet the load power consumption, and further improve the stability and reliability of the output voltage. The specific value of the preset time period and the like are not particularly limited in this application.
[0132] Further, the variation precision of the control parameter can be preset in advance to uniformly adjust the control parameter of the converter in the power supply from the target control parameter to the first control parameter, or the variation precision of the control parameter can be dynamically adjusted according to the comparison between the real-time stored energy of the energy storage device and the real-time power consumption of the load. When the real-time stored energy of the energy storage device is greater than the real-time power consumption of the load, the variation precision can be appropriately increased to accelerate the voltage adjustment speed. When the real-time stored energy of the energy storage device is less than the real-time power consumption of the load, the variation precision can be appropriately decreased to slow down the voltage adjustment speed. The variation precision of the control parameter refers to the change value of the control parameter of the converter within a unit time (such as 1 second).
[0133] As a specific embodiment, refer to Figure 4 as shown Figure 4 which is a schematic diagram of the signal waveform of the power supply system when the control method of the power supply provided by the present invention is not adopted in the embodiment of the present invention; refer to Figure 5 as shown Figure 5 which is a schematic diagram of the signal waveform of the power supply system after adopting the control method of the power supply provided by the present invention in the embodiment of the present invention; the load change refers to the change of the load current, the output voltage refers to the output voltage of the PSU, and the output voltage specification range generally directly adopts the ideal power supply voltage range corresponding to the device demand voltage. When the control method of the power supply provided by the present invention is not adopted, the output voltage of the PSU will exceed the specification. After adopting the control method of the power supply provided by the present invention, the duty cycle of the pulse width modulation (PWM) wave output to the switching device of the converter will change continuously, and the output voltage of the PSU can be stabilized within the output voltage specification range.
[0134] Refer to Figure 6 as shown Figure 6 which is a schematic structural diagram of a control device of a power supply in the embodiment of the present invention. To solve the above technical problems, the embodiment of the present invention also provides a control device of a power supply, and the control device of the power supply includes:
[0135] A memory 60 for storing a computer program;
[0136] A processor 61 for implementing the steps of the control method of the power supply as described in the above embodiment when executing the computer program.
[0137] The control device of the power supply provided in this embodiment may include but is not limited to smart phones, tablet computers, laptop computers or desktop computers, etc.
[0138] Among them, the processor 61 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 61 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 61 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 61 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 61 may further include an artificial intelligence (AI) processor, and the AI processor is used to process computational operations related to machine learning.
[0139] The memory 60 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 60 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In this embodiment, the memory 60 is at least used to store the following computer program 601. After the computer program is loaded and executed by the processor 61, it can implement the relevant steps of the control method of the power supply disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 60 may further include an operating system 602 and data 603, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 602 may include Windows, Unix, Linux, etc. The data 603 may include, but is not limited to, data in the control method of the power supply.
[0140] In some embodiments, the control device of the power supply may further include a display screen 62, an input / output interface 63, a communication interface 64, a power supply 65, and a communication bus 66.
[0141] Those skilled in the art can understand that Figure 6 the structure shown in
[0142] For the description of the features in the control device of the power supply provided in the embodiments of the present invention, reference may be made to the relevant descriptions in the embodiments of the above-mentioned control method of the power supply, which will not be elaborated here one by one.
[0143] To solve the above technical problems, an embodiment of the present invention further provides a power system, including a device, an energy storage device, and the aforementioned power supply. The first end of the energy storage device is respectively connected to the power supply end of the device and the output end of the power supply, and the second end is grounded.
[0144] For the description of the features in the power system provided in the embodiments of the present invention, reference may be made to the relevant descriptions in the embodiments of the above-mentioned control method of the power supply, which will not be elaborated here one by one.
[0145] It can be understood that if the control method of the power supply in the above embodiments is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the current technology, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods in the various embodiments of the present invention. The aforementioned storage medium includes: USB flash drive, mobile hard disk, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, magnetic disk or optical disk, etc., which can store program codes.
[0146] Based on this, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the control method of the power supply as described above are implemented.
[0147] For the description of the features in the computer-readable storage medium provided in the embodiments of the present invention, reference may be made to the relevant descriptions in the embodiments of the above-mentioned control method of the power supply, which will not be elaborated here one by one.
[0148] To solve the above technical problems, an embodiment of the present invention further provides a computer program product, including a computer program / instructions. When the computer program / instructions are executed by a processor, the steps of the control method of the power supply as described in the above embodiments are implemented.
[0149] For the description of the features in the computer program product provided in the embodiments of the present invention, reference may be made to the relevant descriptions in the embodiments of the above-mentioned control method of the power supply, which will not be elaborated here one by one.
[0150] The above has introduced in detail a power supply and its control method, device, power system, medium, and product provided by the embodiments of the present invention. The various embodiments in the specification are described in a progressive manner, and the key points of each embodiment are the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and reference can be made to the description in the method part for the relevant parts.
[0151] Those skilled in the art can further realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of the examples have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0152] The above has introduced in detail a power supply and its control method, device, power system, medium, and product provided by the present invention. Specific examples are used herein to elaborate on the principles and implementation manners of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the present invention.
Claims
1. A control method for a power supply, characterized in that: The control method of the power supply comprises: Detecting a current change in a load current of a device; the change in the load current includes a change value and a change degree of the load current; Determine a target control parameter corresponding to the current change of the load current based on a preset first corresponding relationship; wherein the first corresponding relationship is a corresponding relationship between the change degree of the load current of the device and the target control parameter, which is constructed with the goal that the time for the output voltage of the power supply to recover to the required voltage of the device is less than a preset time length; the adjustment amount between the target control parameter determined based on the first corresponding relationship and the current control parameter of the converter of the power supply is greater than the adjustment amount of the control parameter when the output voltage is adjusted to the required voltage of the device; Determining whether a target control parameter corresponding to a current change in the load current is within a reference range; If not, a reference control parameter is selected from the reference range, the reference control parameter is used as the final target control parameter, and the process proceeds to the step of controlling the converter in the power supply based on the target control parameter; wherein the reference control parameter is a target control parameter that is within the reference range and has the smallest difference with the target control parameter corresponding to the current change of the load current; If so, inputting the target control parameter into the converter of the power supply; Determining a first control parameter corresponding to the current load power consumption of the load based on the second corresponding relationship; the second corresponding relationship is a corresponding relationship between the load power consumption of the device and the control parameter of the converter in the power supply, which is constructed with the output voltage of the power supply eventually restoring to the required voltage of the device; A control parameter of a converter in the power supply is adjusted from the target control parameter to the first control parameter.
2. The control method of the power supply as claimed in claim 1, characterized in that: Before determining the target control parameter corresponding to the current change of the load current based on the preset first corresponding relationship, the method further includes: Determining whether the current change value of the load current is greater than a preset control threshold; If yes, jump to the step of determining the target control parameter corresponding to the current change of the load current based on the first corresponding relationship; If not, jump back to the step of detecting the current change of the load current of the device.
3. The control method of the power supply as claimed in claim 1, characterized in that: Determining a target control parameter corresponding to a current change in the load current includes: When the load current increases by a first preset value, the current duty cycle of the converter in the power supply is increased by a second preset value and determined as the target duty cycle of the converter; wherein the second preset value is positively correlated with the first preset value; When the load current decreases by a third preset value, the current duty cycle of the converter in the power supply is reduced by a fourth preset value and determined as the target duty cycle of the converter; wherein the fourth preset value is positively correlated with the third preset value.
4. The control method of the power supply as claimed in claim 1, wherein: Determining a target control parameter corresponding to a current change in the load current includes: When the load current increases by a first preset value, the current switching frequency of the converter in the power supply is increased by a fifth preset value and determined as the target switching frequency of the converter; wherein the fifth preset value is positively correlated with the first preset value; When the load current decreases by a third preset value, the current switching frequency of the converter in the power supply is reduced by a sixth preset value and determined as the target switching frequency of the converter; wherein the sixth preset value is positively correlated with the third preset value.
5. The control method of the power supply as claimed in claim 1, wherein: Determining a target control parameter corresponding to a current change in the load current includes: When the load current increases by the first preset value, the current supply voltage input to the converter from the power supply is increased by a seventh preset value and is determined as the target input voltage of the converter; wherein the seventh preset value is positively correlated with the first preset value; When the load current decreases by a third preset value, the current supply voltage input to the converter from the power supply is reduced by an eighth preset value and determined as the target input voltage of the converter; wherein the eighth preset value is positively correlated with the third preset value.
6. The control method of the power supply as claimed in claim 1, wherein: Before detecting the current change of the load current of the equipment, it also includes: Determining a limit range of an output voltage of the power supply according to a power demand of a device connected to the power supply; A reference range of a target control parameter is determined based on a limit range of an output voltage of the power supply.
7. The control method of a power supply according to any one of claims 1 to 6, characterized in that: The power supply device further comprises a voltage detection circuit, wherein the input end of the voltage detection circuit is respectively connected to the output end of the converter and the power supply end of the device, and the output end is connected to the input end of the processor; The voltage detection circuit is used to detect the output voltage of the converter; The control method of the power supply further includes: When the current change value of the load current is not greater than a preset control threshold, the control parameters of the converter in the power supply are adjusted based on the current load power consumption of the load and a preset second corresponding relationship; wherein the second corresponding relationship is a corresponding relationship between the load power consumption of the device and the control parameters of the converter in the power supply, which is constructed with the goal of ultimately restoring the output voltage of the power supply to the required voltage of the device.
8. The control method of the power supply as claimed in claim 1, wherein: Adjusting a control parameter of a converter in the power supply from the target control parameter to the first control parameter comprises: The control parameter of the converter in the power supply is uniformly adjusted from the target control parameter to the first control parameter within a preset time period.
9. A control device for a power supply, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the steps of the power supply control method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for controlling a power supply according to any one of claims 1 to 8 are implemented.
11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the power supply control method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Fast transient step load response in a power converter
CN101436826A
Voltage converting device and voltage converting method
CN101594054A