Power supply and control method and device thereof, power system, medium and product
通过在电源供应器中引入电流侦测电路和处理器,快速侦测负载电流变化并动态调整变换器控制参数,解决了电源供应器在高动态负载环境中响应滞后的问题,实现了快速响应和 Stable output voltage.
Patent Information
- Application Number
- CN202411947021.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-01-28
- 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.
设计了一种电源供应器,包括变换器、电流侦测电路和处理器,通过快速侦测负载电流变化并基于预设的对应关系动态调整变换器的控制参数,以确保输出电压能够快速响应负载变化。
The response speed of the power supply in the high dynamic load environment is significantly improved, ensuring that the output voltage can quickly recover to the demand voltage of the device, and avoid device failure or performance decreased due to high or too low voltage.
Smart Images

Figure CN119382475A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power supply control technology, and in particular to a power supply and a control method, device, power supply system, medium, and product thereof. Background Art
[0002] In today's era of rapid development of informatization and intelligence, power supply units (PSUs), as core components of various electronic devices, are responsible for the key task of providing stable power supply for devices. Whether it is home electronic devices, industrial automation systems, or high-performance computing environments such as data centers and servers, the performance and stability of PSUs will directly affect the reliable operation of the entire system. Especially in data centers and server environments, a large number of computing tasks have put unprecedented high demands on the voltage stability of PSUs. The load of the equipment is no longer constant, especially in modern high-load applications, where the load fluctuates frequently and drastically. However, the current voltage regulation of PSUs has a certain response lag, making it difficult to adapt to changes in the load in a timely manner. The power supply voltage output to the device may be overvoltage or undervoltage, resulting in problems such as reduced equipment operating efficiency, and may even cause damage to the equipment.
[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 technical personnel in this field need to solve. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a power supply and a control method, device, power system, medium, and product thereof, which can solve the problem that the output voltage of the PSU cannot respond to load changes in a timely manner.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a power supply, comprising: A converter, an input end of which is connected to a preset power source and is used to convert the preset power source into a power source voltage required by the device; A current detection circuit, the input end of which is respectively connected to the output end of the converter and the power supply end of the device, and is used to detect the load current input from the converter to the device; The processor has an input end connected to the output end of the current detection circuit and an output end connected to the control end of the converter, and is used to adjust the control parameters of the converter based on the change of the load current.
[0006] To solve the above technical problems, an embodiment of the present invention further provides a control method of a power supply, which is applied to the above-mentioned power supply. The control method of the power supply includes: Detecting the current change of the load current of the equipment; the change of the load current includes the change value and the 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 target control parameter is input to the converter of the power supply.
[0007] Optionally, 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: Determine 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, the process jumps back to the step of detecting the current change of the load current of the device.
[0008] Optionally, 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 then 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 the 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.
[0009] Optionally, 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 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 the 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.
[0010] Optionally, 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 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 the third preset value, the current supply voltage input from the power supply to the converter is decreased 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.
[0011] Optionally, before detecting the current change of the load current of the device, the method further includes: Determine the output voltage limit range of the power supply according to the power demand of the equipment connected to the power supply; A reference range of the target control parameter is determined based on a limit range of the output voltage of the power supply.
[0012] Optionally, after 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 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 yes, the process jumps to the step of controlling the converter in the power supply based on the target control parameter.
[0013] 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; 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.
[0014] Optionally, after inputting the target control parameter into the converter of the power supply, the method further includes: Determine a first control parameter corresponding to the current load power consumption of the load based on the second corresponding relationship; A control parameter of a converter in the power supply is adjusted from a target control parameter to a first control parameter.
[0015] Optionally, adjusting a control parameter of a converter in the power supply from a target control parameter to a first control parameter includes: 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.
[0016] In order to solve the above technical problems, an embodiment of the present invention further provides a control device for a power supply, comprising: Memory for storing computer programs; The processor is used to execute the computer program to implement the steps of the control method of the power supply as mentioned above.
[0017] 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 a power supply as described above, wherein 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.
[0018] 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, the steps of the control method of the power supply as described above are implemented.
[0019] To solve the above technical problem, an embodiment of the present invention further provides a computer program product, including a computer program / instruction, which implements the steps of the aforementioned power supply control method when executed by a processor.
[0020] It can be seen from the above technical solution that by pre-constructing the first corresponding relationship between the target control parameter of the converter and the degree of change of the load current, the output voltage of the converter can reach the required voltage of the device within a preset time under the action of the target control parameter. The beneficial effect of the present invention is that through rapid load current detection and dynamic adjustment of the target control parameter, 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 restored to the required voltage as soon as possible to avoid equipment failure or performance degradation due to excessively high or low voltage; in the case of high-frequency load changes, the output voltage can be adjusted within milliseconds to meet the needs of high-power consumption equipment, thereby improving the adaptability of the PSU to dynamic loads. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1A schematic diagram of the structure of a power supply provided by an embodiment of the present invention; Figure 2 A schematic flow chart of a control method for a power supply provided by an embodiment of the present invention; Figure 3 A control block diagram of a power supply provided by an embodiment of the present invention; Figure 4 A schematic diagram of signal waveforms of a power supply system provided by an embodiment of the present invention when the control method of the power supply provided by the present invention is not adopted; Figure 5 A schematic diagram of signal waveforms of a power supply system after adopting the control method of the power supply provided by the present invention, provided in an embodiment of the present invention; Figure 6 A schematic structural diagram of a control device for a power supply provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] The terms "including" and "having" in the specification of the present invention and the above-mentioned drawings, as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.
[0025] 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 strong demand for parallel processing of large-scale data. Although the traditional central processing unit (CPU) has good general computing capabilities, it is unable to handle complex matrix operations and big data calculations. For this reason, the graphics processing unit (GPU) has gradually become the core of AI computing. GPU has significant advantages in deep learning model training and reasoning through its highly parallelized architecture, and has become an indispensable computing engine in AI applications. During deep learning training and reasoning, the dynamic changes of GPU load are extremely drastic, often showing extremely high load jump characteristics. When the AI model needs to process a large amount of data, the computing demand of the GPU increases instantly, and its power consumption also jumps to hundreds of watts or even higher. Once the calculation is completed or 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 put higher requirements on its response speed. In specific application scenarios, this load jump is manifested as a sharp increase or decrease in current demand in a short period of time. For example, in deep learning model training, the power consumption of the GPU may increase from tens of watts to hundreds of watts in just a few milliseconds, and then may quickly fall back to a lower level. This frequent and drastic change in power consumption not only puts huge load pressure on the PSU, but also greatly increases the difficulty of voltage regulation.
[0026] In traditional PSU design, voltage fluctuations are usually smoothed by filtering capacitors, inductors, and voltage stabilization circuits to ensure the stability of the output voltage. These filtering components can effectively smooth the voltage in scenarios where the load changes are relatively stable, avoiding voltage instability caused by small load fluctuations. However, when faced with the dynamic load jump of the GPU, traditional filtering and voltage stabilization methods are powerless. Specifically, the filter capacitors and inductors can store and release a limited amount of charge in a short period of time. When the power consumption changes sharply, the capacitor charge transfer speed is not enough to support the rapid power consumption change of the GPU, resulting in a significant reduction in the filtering effect. At the same time, in order to maintain voltage stability, it is often necessary to increase the capacity of the filter capacitor, but this will lead to an increase in the size of the device and an increase in cost. High-capacity capacitors will increase the power consumption requirements of the circuit and bring serious heat dissipation challenges, especially in dense circuit designs. It will affect the normal operation of other components. Even if a large number of capacitors are added, the charging and discharging speed of the capacitors is still limited, and it is difficult to cope with the instantaneous power consumption changes caused by extreme load jumps. The output voltage may still deviate from the set value in an instant, affecting the stability of the system, and cannot fundamentally solve the voltage instability caused by dynamic load jumps.
[0027] In summary, the traditional PSU design has the problem of response lag in the load dynamic jump environment. When the GPU brings frequent high load jumps, the adjustment speed of the prior art often cannot 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 the environment of multi-GPU parallel computing, the load jumps of each GPU are often not synchronized, and the power consumption requirements of each GPU change frequently and inconsistently, so that the PSU not only has to face the jump pressure of a single load, but also needs to deal with the complex load adjustment requirements brought about by the simultaneous or staggered changes of multiple loads. This situation further amplifies the risk of unstable voltage output, making it difficult for the prior art to fully cope with it. In order to adapt to the new load characteristics brought about by the application of AI GPUs, the present invention provides a control method for a power supply, so that the output voltage of the PSU can quickly respond to the load changes of the equipment, and respond to high-frequency load changes with fast response and dynamic adjustment capabilities, so as to ensure the stability of the output voltage and the safety of the equipment.
[0028] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0029] Next, a power supply and a control method thereof provided by an embodiment of the present invention are described in detail. Figure 1 As shown, Figure 1 A schematic diagram of a power supply provided by an embodiment of the present invention; see Figure 2 As shown, Figure 2 A flow chart of a control method of a power supply provided by an embodiment of the present invention; the power supply comprises: Converter 1, the input end of which is connected to a preset power source, and is used to convert the preset power source into a power source voltage required by the device; The current detection circuit 2 has an input end connected to the output end of the converter 1 and the power supply end of the device, and is used to detect the load current input from the converter 1 to the device; The processor 61 has an input end connected to the output end of the current detection circuit 2 and an output end connected to the control end of the converter 1, and is used to adjust the control parameters of the converter 1 based on the change of the load current.
[0030] It is understandable that when the PSU supplies power to the device, an energy storage device is set in the power supply system, and the energy storage device is generally an energy storage capacitor set at the output end of the PSU. When the switch device in the converter is turned on, the converter will use the input voltage to charge the energy storage device, thereby providing energy to 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 end of the PSU; when the load power consumption decreases, the energy consumption in the energy storage device will be reduced, resulting in an increase in the output voltage at the output end of the PSU. Therefore, when the load power consumption changes, the load current will also change accordingly, thereby driving the output voltage of the PSU to change. 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; resulting in the output voltage of the PSU being unable to stabilize at the required voltage of the device.
[0031] It should be noted that the device refers to the device load that is connected to the output end of the PSU and requires 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 needs to ensure the stability of its output voltage 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, which can be characterized by the time it takes for the output voltage of the PSU to recover from the current voltage to the required voltage of the device. Load power consumption refers to the energy consumed by the device load per unit time, and load current refers to the current flowing into the load.
[0032] The control method of the power supply includes: 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.
[0033] It is understandable that when controlling the PSU, the output voltage of the PSU needs to be adjusted according to the real-time load change of the device currently connected to the PSU, so the load change needs to be detected first. The current detection method is adopted in the present invention to detect the real-time change of the load current to determine the change of the load power consumption in real time. Since the change of the load current needs to be detected, the load current needs to be detected twice, and the current values of the two or more load currents detected are compared to obtain the change of the load current. As a specific embodiment, the detection cycle is pre-set, and the load current is periodically detected in units of the detection cycle, 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 corresponding load currents before and after a detection cycle. The degree of change is the ratio of the current change value to the corresponding change time, which can be the ratio of the load current change value of a detection cycle to the detection cycle. 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 degree of change is (I2-I1) / (t2-t1).
[0034] It is not difficult to understand that when the detection cycle of the load current is relatively small, the entire control method can dynamically adjust the target control parameters according to the real-time changes of the load current, comprehensively consider the response speed and whether the output voltage is within the ideal power supply voltage range corresponding to the equipment's required voltage, and flexibly adjust the control parameters of the converter, thereby realizing dynamic adjustment of the PSU output voltage.
[0035] It should be noted that the detection of load current can be achieved by setting a current detection circuit such as a current sensor. The specific method of load current detection and the specific detection logic of its changes are not particularly limited in this application. Changes in load power consumption will be directly reflected in changes in load current. By introducing a highly sensitive current detection circuit and utilizing a fast current detection mechanism, changes in load can be detected within milliseconds. Whenever there is a significant change in load power consumption, the current detection system can quickly capture the changing trend of the current, thereby providing instant feedback information. By monitoring the output current of the PSU in real time, the amplitude and direction of the load jump can be accurately identified, providing basic data support for subsequent voltage adjustments.
[0036] 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.
[0037] 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.
[0038] 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.
[0039] 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.
[0040] S13: Inputting the target control parameter to the converter of the power supply.
[0041] It is understandable that the final target control parameter will be input into the converter in the power supply. The converter is a device used for voltage conversion in the power supply. By adjusting the control parameters 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 parameters of the converter in the power supply, with the output current of the PSU as input, the control parameters of the converter in the PSU as output, and the time for the output voltage of the power supply to recover to the required voltage of the device is less than the preset time as the control target, and constructs the current feedback control logic and current loop feedback topology for the PSU.
[0042] 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 adjusting the output voltage of the converter, the voltage higher than the device or lower than the device will be used as the target voltage to adjust the control parameters of the converter, that is, the adjustment amount between the target control parameter determined based on the first corresponding relationship and the current control parameter of the converter will be greater than the adjustment amount of the control parameter when the output voltage is adjusted to the device required voltage. 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 parameters of the converter to control the increase of the output voltage of the PSU. At this time, when determining the target control parameter based on the first corresponding relationship, the target voltage that the converter needs to reach under the action of the target control parameter will be set to a reference value greater than the device required voltage. Taking the device required voltage as 12V as an example, the target control parameter determined based on the first corresponding relationship can be the control parameter corresponding to the output voltage of the converter when it is 13V. At this time, the target control parameter can increase the output voltage to 12V faster, but ultimately under the action of the target control parameter, the output voltage of the PSU will be stabilized at 13V, thereby ensuring the response speed of the PSU output voltage in response 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.
[0043] It should be noted that the present application does not make any special restrictions on the specific types and implementation methods of the PSU and the converter therein. Generally, a DC / DC converter is used in the PSU, and the converter is implemented through a buck circuit. The present application does not make any special restrictions on the specific types and implementation methods of the devices powered by the PSU. Not limited to the GPU described above, the PSU can be used to provide the voltage required for normal operation of various types of devices. The present application does not make any special restrictions on the specific value of the preset time. In order 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 respectively connected to the second end of the resistor and the power supply end of the device, and 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 achieved a response to load changes by adjusting the control parameters of the converter and adjusted the output voltage, the capacity of the capacitor can be set to be relatively small at this time, and there is no need to assume the main role of stabilizing the voltage. A small-capacity capacitor of 2200uF can be used.
[0044] The control method provided by the present invention ensures the real-time stability of the PSU output voltage through a fast response design, thereby effectively adapting to the application environment of high load jump. The high-sensitivity current detection circuit can detect the change of the load within the millisecond level 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 the millisecond level, so that the PSU can adjust the output in real time following the change of the load, significantly improving the response speed and stability of the power supply (PSU) in a high dynamic load jump environment. In the millisecond-level voltage regulation response process, the trend of load current change can be effectively achieved by software detection. Stable voltage regulation. Rapidly detect current changes and adjust the duty cycle in real time, so that the output voltage is always maintained within a safe range, avoiding equipment failure or performance degradation due to excessively high or 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, thereby significantly reducing the size 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, voltage adjustments can be completed within milliseconds, and the response speed is accelerated to meet the needs of high-power devices such as GPUs, thereby improving the PSU's adaptability to dynamic loads.
[0045] As an optional embodiment, before determining the target control parameter corresponding to the current change of the load current based on the first corresponding relationship, the method further includes: Determine 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, the process jumps back to the step of detecting the current change of the load current of the device.
[0046] It is understandable that, considering that there is a voltage feedback control logic for the output voltage in the PSU itself, the voltage feedback control logic will detect the output voltage of the PSU in real time to determine whether the real-time output voltage of the PSU is consistent with the voltage required by the device, and adjust the control parameters of the converter in the PSU in the case of inconsistency to ensure that the output voltage of the PSU always remains at the voltage required by the device. This voltage feedback control logic can also ensure the stability of the output voltage of the PSU to a certain extent, but the response speed of the voltage feedback control logic itself is too slow to respond to load changes quickly, especially when the load change is relatively large, the response speed is very slow, resulting in a long-term undervoltage or overvoltage situation in the output voltage of the PSU. 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 is 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 is relatively large, the current feedback control logic is added, and the voltage feedback control logic and the current feedback control logic are used to control the output voltage of the PSU, thereby using the current feedback control logic to improve the response speed of the output voltage of the PSU to the load change. This application does not make any special restrictions on the specific value of the preset control threshold, and the voltage feedback control logic of the PSU itself can be simulated and applied to determine the load change value and / or degree of change that the voltage feedback control logic can recover in a short time.
[0047] Specifically, when the load changes slightly, the voltage feedback control logic of the PSU itself is directly used to achieve the stability of the PSU output voltage. When the load changes greatly, the current feedback control logic is further introduced to improve the response speed of the PSU output voltage to load changes, avoid long-term undervoltage or overvoltage and other unstable conditions in the output voltage, and ensure the stability of the PSU output voltage.
[0048] See also Figure 3 As shown, Figure 3 A control block diagram of a power supply provided by an embodiment of the present invention; as an optional embodiment, determining a target control parameter corresponding to a current change of a 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 then 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 the 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.
[0049] It is not difficult to understand that the converter is generally implemented using a buck circuit. At this time, for the converter, the control parameter that can achieve output voltage regulation can be the duty cycle of the switching device in the converter, and 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 the amplitude and direction of the load jump. Specifically, when a sharp increase in load current is detected, 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 increase and avoid undervoltage. At the same time, the greater the increase in load current, the greater the duty cycle control value that the converter needs to increase. On the contrary, when a rapid decrease in load current is detected, 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 decrease in load current, the greater the duty cycle control value that the converter needs to reduce. This application does not make any special restrictions on the specific values of the first preset value, the second preset value, the third preset value, and the fourth preset value. The first corresponding relationship specifically includes the corresponding relationship between the first preset value and the second preset value and the corresponding relationship between the third preset value and the fourth preset value.
[0050] It should be noted that in 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, the output voltage can be increased or decreased. When the duty cycle D is less than 50%, the converter works in buck mode, and the output voltage is lower than the input voltage. When the duty cycle D is greater than 50%, the converter works in 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 cycle: ; Where Ton is the on-time of the switch, Toff is the off-time of the switch, and the duty cycle D ranges from 0 to 1. In the buck circuit in the PSU, the relationship between the output voltage Vout and the input voltage Vin is: Vout=D*Vin; Generally, if the output voltage required by the device is 12V, the input voltage of the buck circuit will also be set to 12V. In the case of a 12V input voltage, the duty cycle D controls the output voltage of the buck converter and ensures that the output voltage is between 11.6V and 12.9V.
[0051] Specifically, based on the results 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 changes in the load; by adjusting the duty cycle of the switch in the converter, the charging and discharging time of the converter for the energy storage device can be effectively adjusted, thereby adjusting the output voltage of the PSU.
[0052] As an optional embodiment, determining a target control parameter corresponding to a current change of the load current includes: When the load current increases by the 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 the 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.
[0053] It is understandable that the converter is generally implemented using 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, and 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 the switching device on and off. When the on-time of the switching device is fixed, when the switching frequency of the converter increases, the switching period of the converter decreases, which indirectly leads to an increase in the duty cycle of the switching device, thereby increasing the output voltage. Therefore, when the target control parameter is the switching frequency, the switching frequency is positively correlated with the amplitude and direction of the load jump. Specifically, when a sharp increase in load current is detected, 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 avoid undervoltage; at the same time, the greater the increase in 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, reduces the output voltage, and prevents system instability caused by excessive voltage; at the same time, the greater the load current drops, 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, and the sixth preset value are not particularly limited in this application. The first corresponding relationship specifically includes the corresponding relationship between the first preset value and the fifth preset value and the corresponding relationship between the third preset value and the sixth preset value.
[0054] Specifically, based on the results 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 changes in the load; by adjusting the switching frequency of the switch in the converter, it indirectly affects the duty cycle of the switching device in the converter, thereby adjusting the output voltage of the PSU.
[0055] As an optional embodiment, determining a target control parameter corresponding to a current change of 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 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 the third preset value, the current supply voltage input from the power supply to the converter is decreased 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.
[0056] It is not difficult to understand that the converter is generally implemented using a buck circuit. At this time, for the converter, the control parameter that can achieve output voltage regulation can be the input voltage of the converter itself, and the output voltage is controlled by dynamically adjusting the input voltage of the converter itself. 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 the amplitude and direction of the load jump. Specifically, when a sharp increase in load current is detected, the control device of the PSU immediately controls the input voltage of the converter to increase, thereby quickly increasing the output voltage to meet the additional power required for the load increase and avoid undervoltage. At the same time, the greater the increase in load current, the greater the input voltage that the converter needs to increase. On the contrary, when a rapid decrease in load current is detected, the control device of the PSU immediately controls the input voltage of the converter to decrease, reduce the output voltage, and prevent system instability caused by excessive voltage; at the same time, the greater the decrease in load current, the greater the input voltage that the converter needs to reduce. The present application does not make any special limitation on the specific values of the first preset value, the seventh preset value, the third preset value, and the eighth preset value. The first corresponding relationship specifically includes the corresponding relationship between the first preset value and the seventh preset value and the corresponding relationship between the third preset value and the eighth preset value.
[0057] It should be noted that the PSU will first use a rectifier circuit and a power factor correction (PFC) circuit to convert AC power into DC power, and then input the stable DC power into the converter, and use the converter to further convert the DC power into the voltage required by the equipment. 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 control method of the input voltage of the converter is not specifically 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.
[0058] Specifically, based on the results 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 changes in the load; by adjusting the input voltage of the switch in the converter, the energy input to the converter is increased or decreased, thereby adjusting the output voltage of the PSU.
[0059] As an optional embodiment, before detecting the current change of the load current of the device, the method further includes: Determine the output voltage limit range of the power supply according to the power demand of the equipment connected to the power supply; A reference range of the target control parameter is determined based on a limit range of the output voltage of the power supply.
[0060] Considering that the goal of constructing the first correspondence is that the time for the output voltage of the power supply to recover to the required voltage of the device is less than the preset time, 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 effect of the target control parameters, 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, a reference range of the target control parameters that can keep the output voltage of the PSU always within the normal range can also be pre-constructed. The normal range of output voltage refers to the voltage range that can ensure the normal operation of the device, which is generally a small voltage range with the required voltage of the device as the center of the interval.
[0061] As a specific embodiment, take the target control parameter as duty cycle, the required voltage of the device is 12V, and the input voltage of the converter is 12V. The PSU output voltage is generally limited to between 11.6V and 12.9V. Based on this restriction, the duty cycle range that meets the voltage restriction can be calculated. The minimum duty cycle is calculated based on the minimum output voltage, and Vout ≥ 11.6V is required to calculate the minimum duty cycle: The maximum duty cycle is calculated based on the maximum value of the output voltage, and Vout≤12.9V is required to calculate the maximum duty cycle: .
[0062] Specifically, in order to meet the challenge of voltage stability in a modern high-dynamic load jump environment, the present invention proposes a new power supply design, which accurately controls the fluctuation of the output voltage through fast current detection and dynamic adjustment of the duty cycle. At the same time, the limit range of the PSU output voltage and the reference range of the target control parameter corresponding to the limit range are determined according to the equipment requirements, so as to ensure that under extreme load change conditions, the output voltage can always be maintained within the normal range of the voltage required by the equipment, thereby improving the stability and reliability of the output voltage.
[0063] As an optional embodiment, after 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 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 yes, the process jumps to the step of controlling the converter in the power supply based on the target control parameter.
[0064] It can be understood that after obtaining the target control parameter based on the first corresponding relationship, the 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 corresponding relationship is within the reference range. If it is within the reference range, it means that the output voltage corresponding to the target control parameter can ensure the normal operation of the device, and the converter can directly adjust the output voltage based on the target control parameter. If it is not within the reference range, it means that the output voltage corresponding to the target control parameter is out of the normal range of the device's required voltage. At this time, in order to ensure the normal operation of the device, it is necessary to reselect a reference control parameter 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 closest to the target control parameter, that is, a control parameter with the smallest difference with the target control parameter, will be selected as the reference control parameter.
[0065] It should be noted that, taking the minimum duty cycle of 0.9667 and the maximum duty cycle of 1.075 to meet the voltage limit as an example, since the maximum duty cycle is greater than 1, at this time, only the target duty cycle needs to be not less than the minimum duty cycle to 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 corresponding relationship 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 corresponding relationship is 0.96, it is necessary to select the reference control parameter from the reference range. At this time, the minimum duty cycle 0.9667 is the smallest difference between the duty cycle and 0.96. Therefore, the duty cycle 0.9667 is used as the control value of the duty cycle of the final converter and is input into the converter to control the switching device.
[0066] Furthermore, there is a special case in the change of load. If the load suddenly drops rapidly to zero or close to zero, it means that the equipment suddenly stops working and the PSU suddenly jumps to a 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, the target duty cycle obtained based on the first corresponding relationship is normal. 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 means that the load of the PSU jumps to a no-load state. At this time, the PSU does not need to output voltage and can directly control the converter 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 is not particularly limited in this application. When the target control parameter is the no-load threshold, the converter output voltage is zero or is approximately zero.
[0067] Specifically, by further comparing the obtained target control parameter with the reference range, and reselecting the reference control parameter as the target control parameter in the reference range when the target control parameter is not within the reference range, it is ensured that the target control parameter finally input to the converter is within the reference range, which can ensure the control parameter for the normal operation of the equipment, further improving the stability and reliability of the PSU output voltage and ensuring the normal operation of the equipment.
[0068] As an optional embodiment, 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; 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.
[0069] 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 will be implemented based on a second corresponding relationship constructed with the goal of eventually restoring the output voltage of the power supply 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 parameters corresponding to the difference are determined according to the second corresponding relationship, so as to control the converter to gradually restore the PSU output voltage to the required voltage of the device. The specific construction method of the second corresponding relationship is not particularly limited in this application.
[0070] 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, thereby simplifying the control logic and saving control costs.
[0071] As an optional embodiment, after inputting the target control parameter into the converter of the power supply, the method further includes: Determine a first control parameter corresponding to the current load power consumption of the load based on the second corresponding relationship; A control parameter of a converter in the power supply is adjusted from a target control parameter to a first control parameter.
[0072] It can be understood that the voltage regulation strategy of the current feedback control logic introduced in the present invention will give priority to the response speed of the output voltage. Therefore, when controlling by detecting the change trend of the current, the output voltage will be adjusted after ensuring the response speed of the output voltage to ensure that the output voltage can be stabilized at the required voltage of the device, improve the stability of the output voltage, and finally realize the regulation strategy of first raising the output voltage and then lowering the output voltage when the load current rises, and first lowering the output voltage and then raising the output voltage when the load current decreases, so as to keep the voltage stable. 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 avoid the output voltage exceeding the set range, the target control parameters will be determined first to raise the voltage to quickly adapt to the load demand, and then gradually reduce the voltage to ensure that while providing sufficient power, the output voltage is avoided from being too high. When the load current decreases, the load current decreases, indicating that the load power consumption is decreasing. In this case, the target control parameters will be determined first to reduce the voltage to adapt to the load change and prevent the voltage from being too high; then the voltage will be slowly raised to the appropriate range to ensure system stability.
[0073] It should be noted that the target control parameter determined based on the first correspondence relationship will use a voltage higher than or lower than the device voltage 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 required voltage. In order 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 that the output voltage of the PSU is stably controlled at the device required voltage. Since the voltage feedback control logic of the PSU itself is aimed at restoring the output voltage of the power supply to the required voltage of the device during control, the first control parameter can be directly determined using the first correspondence relationship.
[0074] As a specific embodiment, taking the output voltage of the converter maintained at the device required voltage when the duty cycle of the converter is 0.7 as an example, after detecting that the load current has increased significantly, under the action of the first corresponding relationship, the duty cycle D of the converter will be first increased to a value greater than 0.7, for example, it will be increased to 0.9. Under the action of this larger duty cycle, the output voltage will be rapidly raised to meet the increased load demand. As the converter continues to work, the output voltage of the converter will continue to increase after reaching the device required voltage. After the output voltage of the converter reaches the device required voltage, the duty cycle of the converter can be gradually reduced to control the output voltage to gradually decrease to a set stable range. The preferred embodiment is to stabilize at the device required voltage. When the load current decreases significantly, under the action of the first corresponding relationship, the duty cycle D of the converter will first be reduced to a value less than 0.7, for example, it will be reduced to 0.5. Under the action of this smaller duty cycle, the output voltage will be rapidly reduced to meet the decreased load demand, preventing the risk of overvoltage caused by load reduction. As the converter continues to work, the output voltage of the converter will continue to decrease after reaching the voltage required by the device. After the output voltage of the converter reaches the voltage required by the device, the voltage can be controlled within the ideal output range by slowly increasing the duty cycle. The preferred embodiment is to stabilize at the voltage required by the device.
[0075] Specifically, the response time of the PSU is significantly shortened by introducing the mechanism of current feedback control logic, and the first corresponding relationship is further used to stabilize the output voltage after the rapid response load within the ideal power supply voltage range corresponding to the device demand voltage. The stability of the PSU output voltage is improved through precise adjustment, and 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 the jump of the load, and at the same time 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, avoids equipment failure or performance degradation caused by overvoltage or undervoltage, ensures the stability of the power supply system, and because it is no longer completely dependent on external large-capacity capacitors to maintain voltage stability, the overall volume and cost of the PSU can be greatly reduced, which is convenient for integration in modern miniaturized devices and reduces hardware requirements. In the scenario of rapid load jump, the design of the present invention can complete voltage adjustment in a very short time to meet the needs of high-power consumption devices such as GPUs, significantly improves the adaptability of the PSU to dynamic loads, and improves the response speed.
[0076] As an optional embodiment, adjusting a control parameter of a converter in a power supply from a target control parameter to a first control parameter includes: 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.
[0077] Considering that in this output voltage adjustment process, that is, in the process of lowering the raised voltage to the voltage required by the device or raising the lowered voltage to the voltage required by the device, it is also necessary to ensure that the PSU can meet the load power consumption, specifically, the energy storage energy in the energy storage device of the PSU is not less than the real-time power consumption of the load, so in the process of adjusting the control parameters, the control parameters of the converter are selected to be gradually adjusted, and evenly adjusted from the target control parameters to the first control parameters, to avoid the output voltage instability caused by the sudden change of the control parameters and the difficulty in meeting the load power consumption, and further improve the stability and reliability of the output voltage. The specific value of the preset time period is not particularly limited in this application.
[0078] Furthermore, the change accuracy 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, and the change accuracy of the control parameter can also be dynamically adjusted according to the comparison between the real-time energy storage of the energy storage device and the real-time power consumption of the load. When the real-time energy storage of the energy storage device is greater than the real-time power consumption of the load, the change accuracy can be appropriately increased to speed up the voltage adjustment speed. When the real-time energy storage of the energy storage device is less than the real-time power consumption of the load, the change accuracy can be appropriately reduced to slow down the voltage adjustment speed. The change accuracy of the control parameter refers to the change value of the control parameter of the converter within a unit time (for example, 1 second).
[0079] As a specific embodiment, see Figure 4 As shown, Figure 4 A schematic diagram of signal waveforms of a power supply system provided by an embodiment of the present invention when the control method of the power supply provided by the present invention is not adopted; see Figure 5 As shown, Figure 5 A schematic diagram of signal waveforms of a power supply system after adopting the control method of the power supply provided by the present invention is provided in an embodiment of the present invention; load change refers to the change of load current, 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 requirement 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 the control method of the power supply provided by the present invention is adopted, the duty cycle of the pulse width modulation wave (PWM) wave output to the switching device of the converter will continue to change, and the output voltage of the PSU can be stabilized within the output voltage specification range.
[0080] See also Figure 6 As shown, Figure 6 A schematic diagram of a control device for a power supply provided by an embodiment of the present invention. To solve the above technical problems, an embodiment of the present invention further provides a control device for a power supply, the control device for the power supply comprising: A memory 60, for storing computer programs; The processor 61 is used to implement the steps of the power supply control method as described in the above embodiment when executing the computer program.
[0081] The control device of the power supply provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.
[0082] 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 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and 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 awake state, also known as a 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 also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0083] The memory 60 may include one or more computer-readable storage media, which may be non-transitory. The memory 60 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 60 is at least used to store the following computer program 601, wherein, after the computer program is loaded and executed by the processor 61, the relevant steps of the control method of the power supply disclosed in any of the aforementioned embodiments can be implemented. In addition, the resources stored in the memory 60 may also 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, etc.
[0084] 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 .
[0085] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the control device of the power supply, and may include more or fewer components than those shown in the figure.
[0086] For the description of the features of the control device of the power supply provided in the embodiment of the present invention, reference can be made to the relevant description of the embodiment of the control method of the power supply described above, which will not be described in detail here.
[0087] 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 a power supply as described above, wherein 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.
[0088] For the description of the features of the power supply system provided by the embodiment of the present invention, reference can be made to the relevant description of the embodiment of the control method of the above-mentioned power supply, which will not be described in detail here.
[0089] It is understandable that if the control method of the power supply in the above embodiment 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 such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the current technology, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, 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. Various media that can store program codes.
[0090] 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.
[0091] For the description of the features in the computer-readable storage medium provided in the embodiment of the present invention, reference can be made to the relevant description of the embodiment of the power supply control method described above, which will not be described in detail here.
[0092] To solve the above technical problems, an embodiment of the present invention further provides a computer program product, including a computer program / instruction, which implements the steps of the power supply control method as described in the above embodiment when executed by a processor.
[0093] For descriptions of features in the computer program product provided by the embodiments of the present invention, reference may be made to the relevant descriptions of the embodiments of the power supply control method described above, which will not be described in detail here.
[0094] The above is a detailed introduction to a power supply and its control method, device, power system, medium, and product provided by an embodiment of the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments 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 relevant parts can be referred to the method part description.
[0095] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0096] The above is a detailed introduction to a power supply and its control method, device, power system, medium, and product provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the present invention.
Claims
1. A power supply, characterized in that: include: A converter, the input end of which is connected to a preset power source, and is used to convert the preset power source into a power source voltage required by the device; A current detection circuit, the input end of which is respectively connected to the output end of the converter and the power supply end of the device, and is used to detect the load current input from the converter to the device; A processor has an input end connected to the output end of the current detection circuit and an output end connected to the control end of the converter, and is used to adjust the control parameters of the converter based on the change of the load current.
2. A control method for a power supply, characterized in that: Applied to the power supply as claimed in claim 1, 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 target control parameter is input to a converter of the power supply.
3. The control method of the power supply as claimed in claim 2, 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.
4. The control method of the power supply as claimed in claim 2, 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 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.
5. The control method of the power supply as claimed in claim 2, 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.
6. The control method of the power supply as claimed in claim 2, 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.
7. The control method of the power supply as claimed in claim 2, 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.
8. The control method of the power supply as claimed in claim 7, wherein: After 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 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 yes, jump to the step of controlling the converter in the power supply based on the target control parameter.
9. The control method of a power supply according to any one of claims 2 to 8, characterized in that: The power supply 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.
10. The control method of the power supply as claimed in claim 9, wherein: After inputting the target control parameter into the converter of the power supply, the method further includes: Determine a first control parameter corresponding to the current load power consumption of the load based on the second corresponding relationship; A control parameter of a converter in the power supply is adjusted from the target control parameter to the first control parameter.
11. The control method of the power supply as claimed in claim 10, 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.
12. 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 2 to 11.
13. A power supply system, characterized in that: It comprises a device, an energy storage device and the power supply as claimed in claim 1, wherein a first end of the energy storage device is respectively connected to a power supply end of the device and an output end of the power supply, and a second end is grounded.
14. 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 2 to 11 are implemented.
15. 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 method for controlling a power supply as claimed in any one of claims 2 to 11 are implemented.
Citation Information
Patent Citations
Fast transient step load response in a power converter
CN101436826A
Voltage converting device and voltage converting method
CN101594054A
Cited By
Intelligent power supply output adjusting method and system based on data driving
CN120371070A
Power supply control method, power supply unit, electronic equipment and storage medium
CN120428638A
Voltage control method and system for electrical equipment
CN120743028A