CN119382475B - Power supply and control method, device, power supply system, medium, product - Google Patents
Power supply and control method, device, power supply system, medium, product Download PDFInfo
- Publication number
- CN119382475B CN119382475B CN202411947021.4A CN202411947021A CN119382475B CN 119382475 B CN119382475 B CN 119382475B CN 202411947021 A CN202411947021 A CN 202411947021A CN 119382475 B CN119382475 B CN 119382475B
- Authority
- CN
- China
- Prior art keywords
- power supply
- converter
- control parameter
- current
- load
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/0003—Details of control, feedback or regulation circuits
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of DC power input into DC power output
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Dc-Dc Converters (AREA)
Abstract
本发明公开了一种电源供应器及其控制方法、装置、电源系统、介质、产品,涉及电源控制技术领域,预先构建了变换器的目标控制参数与负载电流的变化程度之间的第一对应关系,使得在目标控制参数的作用下,变换器的输出电压能够在预设时长内达到设备的需求电压,通过快速的负载电流侦测以及动态的目标控制参数的调整,显著提升电源供应器在高动态负载跳变环境中的响应速度,尽快将电源供应器的输出电压恢复到需求电压,避免因电压过高或过低导致设备故障或性能下降;在高频负载变化的情况下,能够在毫秒级内完成输出电压的调整,以适应高功耗设备的需求,从而提升PSU对动态负载的适应性。
The present invention discloses a power supply and a control method, device, power system, medium and product thereof, which relate to the field of power supply control technology. A first corresponding relationship between a target control parameter of a converter and a degree of change of a load current is pre-constructed, so that under the action of the target control parameter, the output voltage of the converter can reach the required voltage of the device within a preset time. Through fast 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.
Description
技术领域Technical Field
本发明涉及电源控制技术领域,特别是涉及一种电源供应器及其控制方法、装置、电源系统、介质、产品。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
在当今信息化、智能化高速发展的时代,电源供应器(Power supply unit,PSU)作为各类电子设备的核心组件,肩负着为设备稳定供电的关键任务。无论是家庭电子设备、工业自动化系统,还是数据中心、服务器等高性能计算环境,PSU的性能和稳定性都会直接影响整个系统的可靠运行。尤其是在数据中心和服务器环境中,大量的计算任务对PSU的电压稳定性提出了前所未有的高要求。设备的负载不再是恒定不变的,特别是在现代高负载应用中,负载的波动极为频繁且波动幅度剧烈,但是目前PSU的电压调节存在一定的响应滞后,难以及时适应负载的变化,最终输出到设备的供电电压可能存在过压或欠压的情况,导致设备运行效率降低等问题,甚至可能对设备造成损害。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.
可见,如何保证PSU的输出电压能够及时响应负载变化,是本领域技术人员需要解决的问题。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
本发明实施例的目的是提供一种电源供应器及其控制方法、装置、电源系统、介质、产品,可以解决PSU的输出电压无法及时响应负载变化的问题。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.
为解决上述技术问题,本发明实施例提供了一种电源供应器,包括: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.
为解决上述技术问题,本发明实施例还提供了一种电源供应器的控制方法,应用于如前述的电源供应器,电源供应器的控制方法包括: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.
可选的,基于预设的第一对应关系确定与负载电流的当前变化情况对应的目标控制参数之前,还包括: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.
可选的,确定与负载电流的当前变化情况对应的目标控制参数,包括: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.
可选的,确定与负载电流的当前变化情况对应的目标控制参数,包括: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.
可选的,确定与负载电流的当前变化情况对应的目标控制参数,包括: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.
可选的,检测设备的负载电流的当前变化情况之前,还包括: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.
可选的,基于预设的第一对应关系确定与负载电流的当前变化情况对应的目标控制参数之后,还包括: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.
可选的,电源供应器还包括电压侦测电路,电压侦测电路的输入端分别与变换器的输出端和设备的供电端连接,输出端与处理器的输入端连接;电压侦测电路用于检测变换器的输出电压;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.
可选的,将目标控制参数输入至电源供应器的变换器之后,还包括: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.
可选的,将电源供应器中的变换器的控制参数从目标控制参数调整至第一控制参数,包括: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.
为解决上述技术问题,本发明实施例还提供了一种电源供应器的控制装置,包括: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.
为解决上述技术问题,本发明实施例还提供了一种电源系统,包括设备、储能器件和如前述的电源供应器,储能器件的第一端分别与设备的供电端和电源供应器的输出端连接,第二端接地。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.
为解决上述技术问题,本发明实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如前述的电源供应器的控制方法的步骤。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.
为解决上述技术问题,本发明实施例还提供了一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现如前述的电源供应器的控制方法的步骤。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.
由上述技术方案可以看出,通过预先构建变换器的目标控制参数与负载电流的变化程度之间的第一对应关系,使得在目标控制参数的作用下,变换器的输出电压能够在预设时长内达到设备的需求电压。本发明的有益效果在于通过快速的负载电流侦测以及动态的目标控制参数的调整,显著提升电源供应器在高动态负载跳变环境中的响应速度,尽快将电源供应器的输出电压恢复到需求电压,避免因电压过高或过低导致设备故障或性能下降;在高频负载变化的情况下,能够在毫秒级内完成输出电压的调整,以适应高功耗设备的需求,从而提升PSU对动态负载的适应性。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
为了更清楚地说明本发明实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。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.
图1为本发明实施例提供的一种电源供应器的结构示意图;FIG1 is a schematic diagram of the structure of a power supply provided by an embodiment of the present invention;
图2为本发明实施例提供的一种电源供应器的控制方法的流程示意图;FIG2 is a schematic flow chart of a control method for a power supply provided by an embodiment of the present invention;
图3为本发明实施例提供的一种电源供应器的控制框图;FIG3 is a control block diagram of a power supply provided by an embodiment of the present invention;
图4为本发明实施例提供的一种未采用本发明提供的电源供应器的控制方法时电源系统的信号波形示意图;4 is 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;
图5为本发明实施例提供的一种采用了本发明提供的电源供应器的控制方法后电源系统的信号波形示意图;5 is 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 by an embodiment of the present invention;
图6为本发明实施例提供的一种电源供应器的控制装置的结构示意图。FIG. 6 is a schematic structural diagram of a control device for a power supply provided by an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下,所获得的所有其他实施例,都属于本发明保护范围。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.
本发明的说明书及上述附图中的术语“包括”和“具有”,以及与“包括”和“具有”相关的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可包括没有列出的步骤或单元。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.
近年来,随着人工智能(Artificial Intelligence,AI)技术的迅猛发展,带来了以深度学习和机器学习为主导的新一代计算任务。这些计算任务往往对大规模数据的并行处理需求非常强烈,而传统的中央处理单元(Central Processing Unit,CPU)虽然具备较好的通用计算能力,但在处理复杂的矩阵运算和大数据计算方面显得力不从心。正因如此,图形处理单元(Graphics Processing Unit ,GPU)逐渐成为AI计算的核心。GPU通过其高度并行化的架构,在深度学习模型训练和推理中具有显著的优势,已成为AI应用中不可或缺的计算引擎。在深度学习训练和推理过程中,GPU负载的动态变化极为剧烈,往往呈现出极高的负载跳变特性。当AI模型需要处理大量数据时,GPU的计算需求瞬间提升,其功耗也随之跃升至数百瓦甚至更高,而一旦计算完成或进入低负载状态,功耗又会急剧下降。如此剧烈的动态跳变,不仅增加了PSU的负担,也对其响应速度提出了更高的要求。在具体应用场景中,这种负载跳变表现为短时间内的电流需求的剧增或急速下降。例如,在深度学习模型训练中,GPU的功耗可能在短短几毫秒内从几十瓦上升到几百瓦,随后又可能迅速回落到较低的水平。这种频繁且剧烈的功耗变化,不仅给PSU带来了巨大的负载压力,同时也极大地增加了电压调节的难度。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.
在传统PSU设计中,通常依赖滤波电容、电感和稳压回路的方式来平滑电压波动,以保证输出电压的稳定。这些滤波元件可以在负载变化较为平稳的场景中有效平滑电压,避免因负载微小波动引起的电压不稳定。然而,当面对GPU的动态负载跳变时,传统的滤波和稳压手段就显得力不从心。具体而言,滤波电容和电感在短时间内能存储和释放的电荷有限,当功耗急剧变化时,电容电荷转移速度不足以支撑GPU的快速功耗变化,导致滤波效果大打折扣。同时,为了维持电压稳定,往往需要增加滤波电容的容量,但这样会导致设备体积增大,成本上升,高容量的电容会增加电路的功耗需求,并带来严重的散热挑战,尤其在密集电路设计中会影响其他元件的正常运行,且即使增加大量电容,由于电容的充放电速度仍然有限,难以应对极端负载跳变带来的瞬时功耗变化,输出电压仍可能在瞬间偏离设定值,影响系统的稳定性,并不能根本解决动态负载跳变带来的电压不稳问题。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.
综上所述,传统的PSU设计在负载动态跳变环境中存在响应滞后性的问题,在GPU带来频繁的高负载跳变时,现有技术的调节速度往往无法满足要求,输出电压的稳定性也较差。这样不仅会影响AI计算任务的正常执行,还可能因为电压的不稳定导致计算错误,甚至中断整个计算任务。此外,在多GPU并行计算的环境中,各GPU的负载跳变往往不具备同步性,各个GPU的功耗需求变化频繁且不一致,使得PSU不仅要面对单一负载的跳变压力,还需要应对多个负载同时或交错变化带来的复杂负载调节需求。这种情况进一步放大了电压输出不稳的风险,使得现有技术难以充分应对。为适应AI GPU应用带来的新负载特性,本发明提供了一种电源供应器的控制方法,使得PSU的输出电压能够快速响应设备的负载变化,以快速响应和动态调节能力来应对高频负载变化,保证输出电压的稳定性和设备的安全性。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.
为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。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.
接下来,详细介绍本发明实施例所提供的一种电源供应器及其控制方法。参见图1所示,图1为本发明实施例提供的一种电源供应器的结构示意图;参见图2所示,图2为本发明实施例提供的一种电源供应器的控制方法的流程示意图;该电源供应器包括:Next, a power supply and a control method thereof provided by an embodiment of the present invention are described in detail. Referring to FIG. 1 , FIG. 1 is a schematic diagram of the structure of a power supply provided by an embodiment of the present invention; referring to FIG. 2 , FIG. 2 is a schematic diagram of the flow chart of a control method of a power supply provided by an embodiment of the present invention; the power supply includes:
变换器1,输入端与预设电源连接,用于将预设电源转换为设备所需的电源电压;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;
电流侦测电路2,输入端分别与变换器1的输出端和设备的供电端连接,用于检测变换器1输入到设备的负载电流;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;
处理器61,输入端与电流侦测电路2的输出端连接,输出端与变换器1的控制端连接,用于基于负载电流的变化情况调整变换器1的控制参数。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.
可以理解的是,PSU在对设备进行供电时,电源系统中会设置储能器件,储能器件一般为设置在PSU输出端的储能电容。当变换器中的开关器件导通时,变换器会利用输入电压为储能器件进行充电,从而为负载提供能量。因此当负载变化时,负载功耗会影响储能器件中存储的能量;当负载功耗增大时,会消耗储能器件中的大量能量,从而导致PSU输出端的输出电压减小,当负载功耗减小时,会减少对储能器件中能量的消耗,从而导致PSU输出端的输出电压增大。因此当负载功耗变化时,负载电流也会随之变化,从而带动PSU的输出电压变化,当负载功耗增大时,负载电流增大,PSU的输出电压减小;当负载功耗减小时,负载电流减小,PSU的输出电压增大;从而导致PSU的输出电压无法稳定在设备的需求电压。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.
需要说明的是,设备指的是与PSU输出端连接的,需要PSU提供电源电压的设备负载。PSU用于将交流电(Alternating Current,AC)转换为设备可以使用的直流电(DirectCurrent,DC),同时需要确保自身输出到设备的输出电压的稳定性,从而确保设备能够接收到恒定可靠的供电电源,保持正常工作。因此本发明中的响应速度指的是PSU的输出电压从当前电压恢复到设备的需求电压的速度,可以用PSU的输出电压从当前电压恢复到设备的需求电压的所用时间来表征。负载功耗指的是设备负载单位时间中需要消耗的能源,负载电流指的是流入负载的电流。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.
该电源供应器的控制方法包括:The control method of the power supply includes:
S11:检测设备的负载电流的当前变化情况;负载电流的变化情况包括负载电流的变化值和变化程度。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.
可以理解的是,在控制PSU时,需要根据当前与PSU连接的设备的实时负载变化情况来调控PSU的输出电压,因此需要先检测负载的变化情况,本发明中采用电流侦测的方式,通过检测负载电流的实时变化情况,来实时确定负载功耗的变化,由于需要检测的是负载电流的变化情况,因此需要检测两次负载电流,将检测到的两次或多次负载电流的电流值进行比较来得到负载电流的变化情况。作为一种具体的实施例,会预先设定检测周期,以检测周期为单位,对负载电流进行周期性的检测,从而实现对负载电流的变化情况的实时检测。负载电流的变化值指的是电流变化值,也即一个检测周期前后对应的负载电流之间的差值,变化程度是电流变化值与对应的变化时间的比值,可以是一个检测周期的负载电流的变化值与检测周期的比值,例如t1时刻检测到的负载电流为I1,t2时刻检测到的负载电流为I2,则负载电流的变化值为I2-I1,变化程度为(I2-I1)/(t2-t1)。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).
不难理解的是,当负载电流的检测周期比较小时,整个控制方法能够根据负载电流的实时变化情况动态调整目标控制参数,综合考虑响应速度以及输出电压是否在设备需求电压对应的理想供电电压范围内,灵活调整变换器的控制参数,从而实现对PSU输出电压的动态调整。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.
需要说明的是,对于负载电流的检测可以通过设置电流传感器等电流侦测电路的方式实现,对于负载电流检测的具体方式及其变化情况的具体检测逻辑等本申请在此不做特别的限定。负载功耗的变化会直接体现在负载电流的变化上,通过引入高灵敏度的电流侦测电路,利用快速电流侦测机制,能够在毫秒级别内侦测到负载的变化。每当负载功耗出现显著变化时,电流侦测系统能够迅速捕捉到电流的变化趋势,从而提供即时的反馈信息。通过实时监测PSU的输出电流,可以准确识别负载跳变的幅度和方向,为后续电压调整提供基础数据支持。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.
S12:基于预设的第一对应关系确定与负载电流的当前变化情况对应的目标控制参数;其中,第一对应关系为以电源供应器的输出电压恢复到设备的需求电压的时间小于预设时长为目标构建的设备的负载电流的变化程度与目标控制参数之间的对应关系。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.
考虑到目前PSU进行供电的各种设备会存在负载波动的情况,特别是在现代高负载应用中,负载波动极为频繁且幅度剧烈,PSU以及整个电源系统必须快速响应负载的变化,避免因为电压波动导致的系统不稳定问题。因此在对PSU进行控制时,预先构建了设备的负载电流的变化程度与目标控制参数之间的第一对应关系,在构建第一对应关系时,会优先考虑PSU的输出电压的响应速度,确保PSU的输出电压能够在预设时长内恢复到设备的需求电压,从而提高PSU的输出电压对负载变化的响应速度,保证输出电压的稳定性和可靠性。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.
不难理解的是,设备的需求电压指的是设备正常工作所需的供电电压,当与PSU连接的设备负载存在变动时,设备的需求电压也会发生变化,此时需要重新构建第一对应关系。第一对应关系可以是直接在PSU的控制装置中进行构建设置的,也可以预先在其他软件或硬件中将第一对应关系构建完成之后,直接录入PSU的控制装置,对于第一对应关系的具体实现方式等本申请在此不做特别的限定,可以通过实验模拟或仿真等方式来构建第一对应关系。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.
不难理解的是,第一对应关系主要是为了确保PSU输出电压的响应速度,而当负载的变化越剧烈时,也即负载电流的变化程度越大时,PSU的输出电压与设备的需求电压之间的差值就会越大,例如当负载电流在短时间急剧增大时,PSU的输出电压下降的速度也会非常快,此时需要更快的响应速度来适应负载的这种变化,因此与负载电流的当前变化情况对应的目标控制参数本质上是与负载电流的当前变化程度对应的目标控制参数,当负载电流的变化程度越大时,目标控制参数对PSU输出电压的调控速度越快。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.
S13:将目标控制参数输入至电源供应器的变换器。S13: Inputting the target control parameter to the converter of the power supply.
可以理解的是,最终目标控制参数会输入到电源供应器中的变换器,变换器是电源供应器中用于进行电压转换的器件,通过调整变换器的控制参数,能够有效调整变换器的输出电压,从而实现对PSU输出电压的调控。整个控制方法构成了对电源供应器中的变换器的控制参数的闭环控制,以PSU的输出电流为输入,PSU中变换器的控制参数为输出,电源供应器的输出电压恢复到设备的需求电压的时间小于预设时长为控制目标,构建针对PSU的电流反馈控制逻辑以及电流环反馈拓扑。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.
不难理解的是,利用电流环拓扑来提高PSU输出电压的响应速度的本质是在调控变换器的输出电压时,会以高于设备的电压或低于设备的电压作为目标电压来进行变换器的控制参数的调控,也即基于第一对应关系确定的目标控制参数与变换器当前控制参数之间的调整量会大于将输出电压调整到设备需求电压时控制参数的调整量。例如当负载电流增大时,PSU的输出电压会由于负载电流的增大而减小,此时需要调整变换器的控制参数来控制PSU的输出电压增大,此时在基于第一对应关系确定目标控制参数时,会将目标控制参数作用下变换器所需要达到的目标电压设置为大于设备需求电压的一个参考值,以设备需求电压为12V电压为例,基于第一对应关系确定的目标控制参数可以为变换器的输出电压为13V时对应的控制参数,此时的目标控制参数能够更快的将输出电压增加到12V,但是最终在目标控制参数的作用下,PSU的输出电压会稳定在13V,由此来确保PSU输出电压响应负载变化的响应速度。因此在设置预设时长时,需要兼顾考虑输出电压的响应速度和输出电压的安全范围。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.
需要说明的是,对于PSU以及其中的变换器的具体类型以及实现方式等本申请在此不做特别的限定,一般情况下,PSU中会采用DC/DC变换器,通过buck电路来实现变换器。对于PSU供电的设备的具体类型以及实现方式等本申请在此不做特别的限定,不限于上文所述的GPU,PSU能够用于为各种类型的设备提供正常工作所需的电压。对于预设时长的具体取值等本申请在此不做特别的限定。为了提高设备接收到的电压的准确性和可靠性,PSU的输出端还会进一步设置RC电路,RC电路包括电容和电阻,电阻的第一端与PSU的输出端连接,电容的第一端分别与电阻的第二端和设备的供电端连接,电容的第二端接地。RC电路能够起到滤波的作用,同时电容并联在PSU的输出端和地之间,能够进一步稳定输出电压,同时作为变换器的储能器件,但是由于本发明已经通过调整变换器的控制参数实现了对负载变化的响应,对输出电压进行了调整,因此此时的电容的容量可以设置的比较小,无需承担主要的稳定电压的作用,采用2200uF的小容量电容实现即可。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.
本发明提供的控制方法通过快速响应的设计来确保PSU输出电压的实时稳定性,从而有效地适应高负载跳变的应用环境。高灵敏度电流侦测电路能够在毫秒级别内侦测到负载的变化,并为电压调节提供实时数据支持,通过快速的电流侦测和占空比等变换器控制参数的动态调整,可以在毫秒级内完成输出电压的调节响应,使PSU能够跟随负载的变化实时调整输出,显著提升电源供应器(PSU)在高动态负载跳变环境中的响应速度和稳定性,在毫秒级的电压调节响应过程中,通过软件检测负载电流变化的趋势可以有效实现电压的稳定调控。快速侦测电流变化并即时调整占空比,使输出电压始终维持在安全范围内,避免因电压过高或过低导致设备故障或性能下降,提升整个电源系统的稳定性。无需依赖大量滤波电容来稳定电压,从而显著降低了PSU的体积和成本,使其更易集成于小型化设备中,减少硬件依赖。在高频负载变化的情况下,能够在毫秒级内完成电压调整,响应速度加快,以适应GPU等高功耗设备的需求,从而提升PSU对动态负载的适应性。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.
作为一种可选的实施例,基于第一对应关系确定与负载电流的当前变化情况对应的目标控制参数之前,还包括: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.
可以理解的是,考虑到PSU中本身存在输出电压的电压反馈控制逻辑,电压反馈控制逻辑会通过实时检测PSU的输出电压,判断PSU的实时输出电压是否与设备需求电压一致,在不一致的情况下调整PSU中变换器的控制参数来确保PSU的输出电压始终保持在设备需求电压。这一电压反馈控制逻辑同样能够在一定程度上保证PSU输出电压的稳定性,只是电压反馈控制逻辑本身的响应速度过慢,无法快速响应负载变化,特别是在负载变化比较大时响应速度非常慢,导致PSU的输出电压出现长时间的欠压或过压的情况,因此可以将本发明提供的电流反馈控制逻辑与PSU本身存在的电压反馈控制逻辑相互结合,在负载电流的变化值和/或变化程度比较小时,不加入电流反馈控制逻辑,仅仅采用电压反馈控制逻辑来实现对PSU输出电压的控制;在负载电流的变化值和/或变化程度比较大时,加入电流反馈控制逻辑,同时采用电压反馈控制逻辑和电流反馈控制逻辑来实现对PSU输出电压的控制,从而利用电流反馈控制逻辑来提高PSU的输出电压对负载变化的响应速度。对于预设控制阈值的具体取值等本申请在此不做特别的限定,可以对PSU本身的电压反馈控制逻辑进行模拟应用,确定电压反馈控制逻辑能够短时间恢复的负载变化值和/或变化程度。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.
具体地,在负载变化不大的情况下,直接利用PSU本身的电压反馈控制逻辑来实现PSU输出电压的稳定,在负载变化较大的情况下,进一步引入电流反馈控制逻辑,提高PSU输出电压对负载变化的响应速度,避免输出电压出现长时间的欠压或过压等不稳定的情况,确保PSU输出电压的稳定性。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.
参见图3所示,图3为本发明实施例提供的一种电源供应器的控制框图;作为一种可选的实施例,确定与负载电流的当前变化情况对应的目标控制参数,包括:Referring to FIG. 3 , FIG. 3 is 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.
不难理解的是,变换器一般采用buck电路实现,此时对于变换器而言,能够实现输出电压调控的控制参数可以为变换器中开关器件的占空比(duty cycle),通过动态调整变换器的占空比来控制输出电压。当目标控制参数为占空比时,占空比与负载跳变的幅度和方向均呈正相关,具体来说,当检测到负载电流急剧增加时,PSU的控制装置立即增加输出到变换器的占空比控制值,从而迅速提升输出电压,满足负载上升所需的额外功率,避免欠压情况发生;同时负载电流增加的越大,变换器需要增加的占空比控制值也越大。相反,当检测到负载电流迅速下降时,PSU的控制装置立即降低输出到变换器的占空比控制值,减少输出电压,防止因过高电压引起的系统不稳定;同时负载电流下降的越大,变换器需要降低的占空比控制值也越大。对于第一预设值、第二预设值、第三预设值、第四预设值的具体取值等本申请在此不做特别的限定,第一对应关系中具体包括第一预设值与第二预设值之间的对应关系以及第三预设值和第四预设值之间的对应关系。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.
需要说明的是,在PSU中,可以通过控制占空比可以实现对输出电压的调整;通过 调整占空比来控制PSU中储能器件的储存和释放能量的时间,从而实现输出电压的升降转 换,当占空比D小于50%时,变换器工作在降压模式,输出电压低于输入电压。而当占空比D大 于50%时,变换器则工作在升压模式,输出电压高于输入电压。占空比D定义为开关导通时间 与总周期的比率:;其中Ton是开关的导通时间,Toff是开关的关断时间,占空 比D的取值范围为0到1之间。在PSU中的buck电路中,其输出电压Vout和输入电压Vin之间的 关系为:Vout=D*Vin;一般情况下,若设备需求的输出电压为12V,buck电路的输入电压也会 设置为12V,在以12V输入电压的情况下,通过占空比D控制buck变换器的输出电压,并保证 输出电压在11.6V到12.9V之间。 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.
具体地,基于快速电流侦测的结果,本发明能够以动态调整变换器的占空比的方式来控制PSU的输出电压,以适应负载的变化;通过调整变换器中开关的占空比,能够有效调整变换器对储能器件的充放电时间,从而调整PSU的输出电压。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.
作为一种可选的实施例,确定与负载电流的当前变化情况对应的目标控制参数,包括: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.
可以理解的是,变换器一般采用buck电路实现,此时对于变换器而言,能够实现输出电压调控的控制参数可以为变换器中开关器件的开关频率,通过动态调整变换器的开关频率来控制输出电压。开关器件的开关频率指的是开关器件在导通和关断之间的转换速率。开关器件的导通时间固定不变的情况下,当变换器的开关频率增大时,变换器的开关周期减小,间接导致开关器件的占空比增大,从而提高输出电压。因此当目标控制参数为开关频率时,开关频率与负载跳变的幅度和方向均呈正相关,具体来说,当检测到负载电流急剧增加时,PSU的控制装置立即增加输出到变换器的开关频率控制值,从而迅速提升输出电压,满足负载上升所需的额外功率,避免欠压情况发生;同时负载电流增加的越大,变换器需要增加的开关频率控制值也越大。相反,当检测到负载电流迅速下降时,PSU的控制装置立即降低输出到变换器的开关频率控制值,减少输出电压,防止因过高电压引起的系统不稳定;同时负载电流下降的越大,变换器需要降低的开关频率控制值也越大。对于第一预设值、第五预设值、第三预设值、第六预设值的具体取值等本申请在此不做特别的限定,第一对应关系中具体包括第一预设值与第五预设值之间的对应关系以及第三预设值和第六预设值之间的对应关系。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.
具体地,基于快速电流侦测的结果,本发明能够以动态调整变换器的开关频率的方式来控制PSU的输出电压,以适应负载的变化;通过调整变换器中开关的开关频率,间接影响变换器中开关器件的占空比,从而调整PSU的输出电压。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.
作为一种可选的实施例,确定与负载电流的当前变化情况对应的目标控制参数,包括: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.
不难理解的是,变换器一般采用buck电路实现,此时对于变换器而言,能够实现输出电压调控的控制参数可以为变换器本身的输入电压,通过动态调整变换器本身的输入电压来控制输出电压。变换器的输入电压指的是输入到变换器的供电电压,变换器的输入电压越大,其他控制参数不变的情况下,变换器的输出电压越大。因此当目标控制参数为变换器的输入电压时,变换器的输入电压与负载跳变的幅度和方向均呈正相关,具体来说,当检测到负载电流急剧增加时,PSU的控制装置立即控制输入到变换器的输入电压增加,从而迅速提升输出电压,满足负载上升所需的额外功率,避免欠压情况发生;同时负载电流增加的越大,变换器需要增加的输入电压也越大。相反,当检测到负载电流迅速下降时,PSU的控制装置立即控制输入到变换器的输入电压降低,减少输出电压,防止因过高电压引起的系统不稳定;同时负载电流下降的越大,变换器需要降低的输入电压也越大。对于第一预设值、第七预设值、第三预设值、第八预设值的具体取值等本申请在此不做特别的限定,第一对应关系中具体包括第一预设值与第七预设值之间的对应关系以及第三预设值和第八预设值之间的对应关系。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.
需要说明的是,PSU中会先利用整流电路以及功率因数校正(Power FactorCorrection,PFC)电路等先将交流电转换为直流电,再将稳定的直流电输入到变换器中,利用变换器来将直流电进一步转换为设备需求电压,此时变换器的输入电压会直接影响变换器的输出电压,而变换器的输入电压会受到前端的整流电路的工作参数的影响;因此还可以通过调整输入到变换器的输入电压来调整PSU的输出电压,对于变换器的输入电压的具体调控方式等本申请在此不做特别的限定,需要根据PSU中具体的电路结构进行设计。在调整PSU的输出电压时,可以将变换器的占空比、开关频率和输入电压的一种或多种组合作为控制参数来进行调整。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.
具体地,基于快速电流侦测的结果,本发明能够以动态调整变换器的输入电压的方式来控制PSU的输出电压,以适应负载的变化;通过调整变换器中开关的输入电压,增加或减少输入到变换器的能量,从而调整PSU的输出电压。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.
作为一种可选的实施例,检测设备的负载电流的当前变化情况之前,还包括: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.
考虑到构建第一对应关系的目标是电源供应器的输出电压恢复到设备的需求电压的时间小于预设时长,因此为了保证输出电压的响应速度,在对PSU的控制参数进行调整时,会选择能够短时间内将电压恢复到设备需求电压的目标控制参数,因此在目标控制参数的作用下,PSU的输出电压最终可能会过大或过小。因此为了确保设备能够接收到正常有效的输出电压,保证PSU的输出电压始终处于正常范围内,还可以预先构建能够使PSU的输出电压始终处于正常范围内的目标控制参数的参考范围。输出电压的正常范围指的是能够保证设备正常工作的电压范围,一般是以设备的需求电压为区间中心的小范围电压区间。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.
作为一种具体的实施例,以目标控制参数为占空比,设备的需求电压是12V,变换 器的输入电压是12V为例,PSU输出电压一般会限制在11.6V至12.9V之间,根据这一限制条 件,可以计算满足电压限制的占空比范围。根据输出电压的最小值来计算最小占空比,要求 Vout≥11.6V来计算最小占空比:。根据输出电压的最大值来 计算最大占空比,要求Vout≤12.9V来计算最大占空比:。 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: .
具体地,为了应对现代高动态负载跳变环境下电压稳定性的挑战,本发明提出了一种新型电源供应器设计,通过快速电流侦测和动态调整占空比来精确控制输出电压的波动,同时根据设备需求确定PSU输出电压的限制范围以及与该限制范围对应的目标控制参数的参考范围,以确保在极端负载变化条件下,输出电压仍能够始终保持在设备所需电压的正常范围内,提高输出电压的稳定性和可靠性。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.
作为一种可选的实施例,基于预设的第一对应关系确定与负载电流的当前变化情况对应的目标控制参数之后,还包括: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.
可以理解的是,在基于第一对应关系得到目标控制参数之后,可以将这一目标控制参数与目标控制参数的参考范围进行比较,判断基于第一对应关系得到的目标控制参数是否在参考范围内,若在参考范围内,则说明该目标控制参数对应的输出电压能够保证设备的正常工作,变换器可以直接基于该目标控制参数调整输出电压。若不在参考范围内,则说明该目标控制参数对应的输出电压脱离了设备需求电压的正常范围,此时为了保证设备的正常工作,需要从参考范围中重新选取一个参考控制参数来作为最终的控制变换器的目标控制参数。同时为了保证输出电压的响应速度,在选取参考控制参数时会选取一个距离该目标控制参数最近的,也即与该目标控制参数之间的差值最小的一个控制参数来作为参考控制参数。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.
需要说明的是,以满足电压限制的最小占空比为0.9667,最大占空比为1.075为例,由于最大占空比大于1,此时只需要目标占空比不小于最小占空比就能够保证输出电压在设备需求电压的正常范围内。此时若基于第一对应关系得到的目标占空比为0.97,则可以直接输出0.97作为变换器的占空比的控制值;若基于第一对应关系得到的目标占空比为0.96,则需要从参考范围中选取参考控制参数,此时与0.96之间差值最小的即为最小占空比0.9667,因此此时将占空比0.9667作为最终变换器的占空比的控制值,输入到变换器中进行开关器件的控制。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.
进一步地,负载的变化还存在一种特殊情况,若负载突然迅速下降至零或接近于零的状态,此时说明设备突然停止工作,PSU突然跳变到空载的状态,此时根据检测到的负载电流和第一对应关系得到的目标占空比也会是零或接近于零的状态,此时虽然目标占空比不在参考范围内,但是基于第一对应关系得到的目标占空比是正常情况。因此还可以在与负载电流的当前变化情况对应的目标控制参数不处于参考范围的情况下,进一步判断与负载电流的当前变化情况对应的目标控制参数是否小于空载阈值,若是,则说明PSU的负载跳变至空载状态,此时PSU无需输出电压,可以直接控制变换器停止工作,具体可以为将占空比调节为零;若否,则继续进行选取参考控制参数的步骤。对于空载阈值的具体取值等本申请在此不做特别的限定,当目标控制参数为空载阈值时,变换器输出电压为零或处于近似于零的状态。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.
具体地,通过将得到的目标控制参数进一步与参考范围进行比较,并在目标控制参数不处于参考范围时在参考范围中重新选取参考控制参数作为目标控制参数,保证最终输入到变换器的目标控制参数为处于参考范围中,能够确保设备正常工作的控制参数,进一步提高了PSU输出电压的稳定性和可靠性,保证了设备的正常工作。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.
作为一种可选的实施例,电源供应器还包括电压侦测电路,电压侦测电路的输入端分别与变换器的输出端和设备的供电端连接,输出端与处理器的输入端连接;电压侦测电路用于检测变换器的输出电压;电源供应器的控制方法还包括: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.
不难理解的是,在负载变化比较小的情况下,可以直接利用PSU本身的电压反馈控制逻辑来进行变换器的控制。电压反馈控制逻辑会基于以电源供应器的输出电压最终恢复到设备的需求电压为目标构建的第二对应关系实现。当检测到PSU的输出电压小于或大于设备的需求电压时,计算PSU的当前输出电压与设备的需求电压之间的差值,然后根据第二对应关系确定与该差值对应的控制参数,从而控制变换器逐渐将PSU输出电压恢复到设备的需求电压。对于第二对应关系的具体构建方式等本申请在此不做特别的限定。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.
具体地,在负载变化比较小的情况下,不加入电流反馈控制逻辑,直接利用PSU本身的电压反馈控制逻辑来稳定输出电压,简化控制逻辑,节约控制成本。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.
作为一种可选的实施例,将目标控制参数输入至电源供应器的变换器之后,还包括: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.
可以理解的是,本发明引入的电流反馈控制逻辑的电压调节策略会优先考虑输出电压的响应速度,因此在通过检测电流的变化趋势进行控制时,会在确保了输出电压的响应速度之后,再对输出电压进行调整,保证输出电压能够稳定在设备的需求电压,提高输出电压的稳定性,最终实现负载电流上升时先抬高输出电压再降低输出电压,以及负载电流下降时先降低输出电压再抬高输出电压的调节策略,以保持电压稳定。例如当负载电流上升时,检测到负载电流正在爬升,意味着负载功耗增加,这时,为了避免输出电压超过设定范围,会先确定目标控制参数来抬高电压以快速适应负载需求,然后再逐步降低电压,确保在提供足够功率的同时,避免输出电压过高。当负载电流下降时,检测到负载电流下降,表明负载功耗正在减少。在这种情况下,会先确定目标控制参数来降低电压以适应负载变化,防止电压过高;然后再缓慢抬高电压至适当范围,确保系统稳定。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.
需要说明的是,基于第一对应关系确定的目标控制参数会以高于设备的电压或低于设备的电压作为目标电压来进行变换器的控制参数的调控,因此在目标控制参数的作用下,PSU最终的输出电压会大于或小于设备需求电压,为了进一步保证PSU输出电压的稳定性,变换器的控制参数达到目标控制参数后,会进一步将变换器的控制参数调整为第一控制参数,从而将PSU的输出电压稳定控制在设备需求电压。而由于PSU本身的电压反馈控制逻辑在控制时是以电源供应器的输出电压最终恢复到设备的需求电压为目标的,因此第一控制参数可以直接利用第一对应关系来进行确定。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.
作为一种具体的实施例,以变换器的占空比为0.7时变换器的输出电压保持在设备需求电压为例,在检测到负载电流显著上升后,在第一对应关系的作用下,会先将变换器的占空比D调高至一个大于0.7的值,例如将其调高至0.9,在这一较大的占空比的作用下,输出电压会被迅速抬高来满足上升的负载需求。随着变换器的不断工作,变换器的输出电压会在达到设备需求电压之后继续增大,在变换器的输出电压达到设备需求电压之后,可以开始逐步减少变换器的占空比,控制输出电压逐步下降至设定的稳定范围,较优的实施例是稳定在设备需求电压。在负载电流显著下降时,在第一对应关系的作用下,会先将变换器的占空比D降低到一个小于0.7的值,例如将其降低至0.5,在这一较小的占空比的作用下,输出电压会被迅速降低来符合下降的负载需求,防止因负载减少而导致的过压风险。随着变换器的不断工作,变换器的输出电压会在达到设备需求电压之后继续减小,在变换器的输出电压达到设备需求电压之后,可以再通过缓慢增加占空比,将电压控制在理想的输出范围内,较优的实施例是稳定在设备需求电压。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.
具体地,通过引入电流反馈控制逻辑的机制显著缩短了PSU的响应时间,而且进一步利用第一对应关系来将快速响应负载之后的输出电压稳定在设备需求电压对应的理想供电电压范围内,通过精确的调节提高了PSU输出电压的稳定性,减少了对大容量滤波电容的依赖,从而减小了整个电源系统的体积与成本。这样一来,PSU能够高效地应对负载的跳变,同时也能确保设备始终在安全电压范围内运行。快速电流侦测和占空比调整的结合使输出电压始终保持稳定,避免因过压或欠压引起的设备故障或性能下降,确保电源系统的稳定性,由于不再完全依赖外部大容量电容来维持电压稳定性,PSU的整体体积和成本得以大幅降低,便于集成在现代小型化设备中,减小硬件需求。在快速负载跳变的场景中,本发明的设计可以在极短时间内完成电压调整,以适应GPU等高功耗设备的需求,显著提升了PSU对动态负载的适应性,提升响应速度。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.
作为一种可选的实施例,将电源供应器中的变换器的控制参数从目标控制参数调整至第一控制参数,包括: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.
考虑到在这一输出电压调整过程中,也即将抬高的电压降低到设备需求电压或者将降低的电压抬高到设备需求电压的调整过程中,同样需要确保PSU能够满足负载功耗,具体为PSU的储能器件中的储能能量不小于负载实时功耗,因此在调整控制参数的过程中,选择将变换器的控制参数进行逐步调整,将其从目标控制参数均匀调整至第一控制参数,避免控制参数突变造成的输出电压不稳以及难以满足负载功耗的情况,进一步提高输出电压的稳定性和可靠性。对于预设时间段的具体取值等本申请在此不做特别的限定。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 they are 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.
进一步地,可以提前预设控制参数的变化精度来将电源供应器中的变换器的控制参数从目标控制参数均匀调整至第一控制参数,也可以根据储能器件的实时储能量与负载实时功耗之间的比较来动态调整控制参数的变化精度。当储能器件的实时储能量大于负载实时功耗,可以适当加大变化精度来加快电压调整速度,当储能器件的实时储能量小于负载实时功耗,可以适当减小变化精度来减缓电压调整速度。控制参数的变化精度指的是变换器的控制参数在单位时间(例如1秒)内的变化值。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).
作为一种具体地实施例,参见图4所示,图4为本发明实施例提供的一种未采用本发明提供的电源供应器的控制方法时电源系统的信号波形示意图;参见图5所示,图5为本发明实施例提供的一种采用了本发明提供的电源供应器的控制方法后电源系统的信号波形示意图;负载变化指的是负载电流的变化,输出电压指的是PSU的输出电压,输出电压规格范围一般直接采用设备需求电压对应的理想供电电压范围,当没有采用本发明提供的电源供应器的控制方法时,PSU的输出电压会存在超出规格的情况,当采用了本发明提供的电源供应器的控制方法之后,输出到变换器的开关器件的脉冲宽度调制(Pulse widthmodulation wave,PWM)波的占空比会不断变化,并且PSU的输出电压能够稳定在输出电压规格范围中。As a specific embodiment, refer to Figure 4, which is 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; refer to Figure 5, which is 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; 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 required 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 (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.
参见图6所示,图6为本发明实施例提供的一种电源供应器的控制装置的结构示意图。为解决上述技术问题,本发明实施例还提供了一种电源供应器的控制装置,电源供应器的控制装置包括:See FIG6 , which is a schematic diagram of the structure 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:
存储器60,用于存储计算机程序;A memory 60, for storing computer programs;
处理器61,用于执行计算机程序时实现如上述实施例所述的电源供应器的控制方法的步骤。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.
本实施例提供的电源供应器的控制装置可以包括但不限于智能手机、平板电脑、笔记本电脑或台式电脑等。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.
其中,处理器61可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器61可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器61也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(CentralProcessing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器61可以在集成有图像处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器61还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。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.
存储器60可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器60还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器60至少用于存储以下计算机程序601,其中,该计算机程序被处理器61加载并执行之后,能够实现前述任一实施例公开的电源供应器的控制方法的相关步骤。另外,存储器60所存储的资源还可以包括操作系统602和数据603等,存储方式可以是短暂存储或者永久存储。其中,操作系统602可以包括Windows、Unix、Linux等。数据603可以包括但不限于电源供应器的控制方法中的数据等。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.
在一些实施例中,电源供应器的控制装置还可包括有显示屏62、输入输出接口63、通信接口64、电源65以及通信总线66。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 .
本领域技术人员可以理解,图6中示出的结构并不构成对电源供应器的控制装置的限定,可以包括比图示更多或更少的组件。Those skilled in the art will appreciate that the structure shown in FIG. 6 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.
对于本发明实施例提供的电源供应器的控制装置中特征的说明可以参见上述电源供应器的控制方法的实施例的相关说明,这里不再一一赘述。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.
为解决上述技术问题,本发明实施例还提供了一种电源系统,包括设备、储能器件和如前述的电源供应器,储能器件的第一端分别与设备的供电端和电源供应器的输出端连接,第二端接地。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.
对于本发明实施例提供的电源系统中特征的说明可以参见上述电源供应器的控制方法的实施例的相关说明,这里不再一一赘述。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.
可以理解的是,如果上述实施例中的电源供应器的控制方法以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对目前技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、磁碟或者光盘等各种可以存储程序代码的介质。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.
基于此,本发明实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述电源供应器的控制方法的步骤。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.
对于本发明实施例提供的计算机可读存储介质中特征的说明可以参见上述电源供应器的控制方法的实施例的相关说明,这里不再一一赘述。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.
为解决上述技术问题,本发明实施例还提供了一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现如上述实施例所述的电源供应器的控制方法的步骤。To solve the above technical problems, an embodiment of the present invention further provides a computer program product, including a computer program/instruction, which, when executed by a processor, implements the steps of the power supply control method as described in the above embodiment.
对于本发明实施例提供的计算机程序产品中特征的说明可以参见上述电源供应器的控制方法的实施例的相关说明,这里不再一一赘述。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.
以上对本发明实施例所提供的一种电源供应器及其控制方法、装置、电源系统、介质、产品进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。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.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。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.
以上对本发明所提供的一种电源供应器及其控制方法、装置、电源系统、介质、产品进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明的保护范围内。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 (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411947021.4A CN119382475B (en) | 2024-12-27 | 2024-12-27 | Power supply and control method, device, power supply system, medium, product |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411947021.4A CN119382475B (en) | 2024-12-27 | 2024-12-27 | Power supply and control method, device, power supply system, medium, product |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN119382475A CN119382475A (en) | 2025-01-28 |
| CN119382475B true CN119382475B (en) | 2025-05-30 |
Family
ID=94337876
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411947021.4A Active CN119382475B (en) | 2024-12-27 | 2024-12-27 | Power supply and control method, device, power supply system, medium, product |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN119382475B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120428638B (en) * | 2025-07-08 | 2025-09-05 | 苏州元脑智能科技有限公司 | Power supply control method, power supply unit, electronic device and storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101436826A (en) * | 2007-09-28 | 2009-05-20 | 雅达电子国际有限公司 | Fast Transient Step Load Response in Power Converters |
| CN101594054A (en) * | 2008-05-29 | 2009-12-02 | 富士通株式会社 | Voltage conversion device and voltage conversion method |
-
2024
- 2024-12-27 CN CN202411947021.4A patent/CN119382475B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101436826A (en) * | 2007-09-28 | 2009-05-20 | 雅达电子国际有限公司 | Fast Transient Step Load Response in Power Converters |
| CN101594054A (en) * | 2008-05-29 | 2009-12-02 | 富士通株式会社 | Voltage conversion device and voltage conversion method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119382475A (en) | 2025-01-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN119382475B (en) | Power supply and control method, device, power supply system, medium, product | |
| USRE41752E1 (en) | Bus clock controlling apparatus and method | |
| US9467052B2 (en) | Adaptive control scheme of voltage regulator for light and sinking load operation | |
| CN103546029B (en) | A kind of suitching type adjuster and control method thereof | |
| CN111857315B (en) | PSU output voltage control method, system and related components | |
| CN118778790A (en) | Operation control method and device of server power supply | |
| JP2011003174A (en) | Power-saving trigger-type control device for instantly varying frequency and method thereof | |
| JP5957759B2 (en) | Time division multiple access load system USB interface power supply method and power supply equipment | |
| US11251624B2 (en) | Energy efficiency control method, control apparatus, and communications device | |
| CN107204705B (en) | The control method of DC-DC adjuster and its soft start, controller | |
| CN117811150A (en) | Battery rapid charging method, electronic equipment and storage medium | |
| CN112882560B (en) | Power management method, power device, electronic apparatus, and storage medium | |
| CN113726154B (en) | Switch power supply control method and device and switch power supply | |
| JP2023107757A (en) | Method for controlling operation state of computer system and corresponding computer system | |
| CN116107415A (en) | Processor circuit, power supply control method and terminal equipment | |
| CN114649863A (en) | Power supply control method, device and medium for storage system | |
| CN118763917B (en) | Quasi-resonance control method, device and medium for photovoltaic micro inverter | |
| US12444972B2 (en) | Power charging system and power charging method using adapter with built-in battery | |
| US20250132568A1 (en) | Power stabilization using energy storage | |
| CN117424444A (en) | PFC control method of direct current power supply, direct current power supply and power supply equipment | |
| TW201945751A (en) | A method and an apparatus for optimizing battery power supply, a storage medium, and an electronic device | |
| CN116247764A (en) | Backup battery unit discharge circuit, method, electronic device and storage medium | |
| US20220407344A1 (en) | Power charging system and power charging method using adapter with built-in battery | |
| CN120723481A (en) | Method, device and storage medium for dynamic adjustment of server power consumption | |
| CN120341989A (en) | Mode control method, device, medium and equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |