CN113890179A - Power supply method and device - Google Patents

Power supply method and device Download PDF

Info

Publication number
CN113890179A
CN113890179A CN202111447297.2A CN202111447297A CN113890179A CN 113890179 A CN113890179 A CN 113890179A CN 202111447297 A CN202111447297 A CN 202111447297A CN 113890179 A CN113890179 A CN 113890179A
Authority
CN
China
Prior art keywords
power supply
main power
time
abnormal
module
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.)
Pending
Application number
CN202111447297.2A
Other languages
Chinese (zh)
Inventor
华要宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111447297.2A priority Critical patent/CN113890179A/en
Publication of CN113890179A publication Critical patent/CN113890179A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/30Systems integrating technologies related to power network operation and communication or information technologies for improving the carbon footprint of the management of residential or tertiary loads, i.e. smart grids as climate change mitigation technology in the buildings sector, including also the last stages of power distribution and the control, monitoring or operating management systems at local level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems

Abstract

The invention discloses a power supply method and a power supply device, which are characterized in that working data of a main power supply in a time period before the current time are obtained, then the working trend of the main power supply is obtained based on the working data, whether the main power supply is abnormal or not is judged in advance based on the working trend, and if the main power supply is abnormal, the standby power supply is switched from a cold standby mode to a hot standby mode at a certain time before the abnormality. Through the mode in this application, will send control signal for stand-by power supply so that these two processes of stand-by power supply start go on before the main power supply breaks down to this moment that the main power supply takes place unusually, can direct automatic switch to stand-by power supply, in addition, also need not set up stand-by power supply from the beginning to be hot standby mode, thereby on the basis of having guaranteed stand-by power supply's life-span, still avoided the time gap that exists in the power switching process as far as possible, guaranteed the reliability of load power supply.

Description

Power supply method and device
Technical Field
The present invention relates to the field of power supply, and in particular, to a power supply method and apparatus.
Background
In the prior art, when a storage system is powered, a Power Supply Unit (PSU) and a Back Battery Unit (BBU) are combined to supply power to the storage system. However, in consideration of the service life of the backup battery, the PSU/BBU is set as a cold backup power supply mode in the prior art. The method specifically comprises the following steps: when the mains supply is abnormal (namely, when the input power supply of the PSU is abnormal), the BBU is switched to supply power to the storage system, when the PSU is abnormal, the PSU is not automatically switched to the BBU, and the specific switching process is as follows: when the input power supply of the PSU is detected to be abnormal, a control signal is sent to the BBU, so that the BBU is started and outputs the power supply, and therefore, a cold backup power supply mode is used, the switching process comprises two processes of sending the control signal and starting the BBU, a time gap easily exists, and the storage system has the risk of power failure in the time gap and the reliability of power supply of the storage system is influenced.
Disclosure of Invention
The invention aims to provide a power supply method and a power supply device, which can directly and automatically switch to a standby power supply at the moment when a main power supply is abnormal, and in addition, the standby power supply does not need to be set to a hot standby mode from the beginning, so that the time gap existing in the power supply switching process is avoided as much as possible on the basis of ensuring the service life of the standby power supply, and the reliability of load power supply is ensured.
In order to solve the above technical problem, the present invention provides a power supply method, which is applied to a processor of a power supply system, wherein the power supply system includes a main power supply and a standby power supply, and the method includes:
acquiring working data in a time period between the current time of the main power supply and a first time before the current time;
deriving an operating trend of the main power supply based on the operating data;
judging whether the main power supply is to be abnormal or not based on the working trend;
if so, adjusting the standby power supply from a cold standby mode to a hot standby mode at a second moment before the main power supply is abnormal, so that the standby power supply is automatically switched to supply power to a load when the main power supply is abnormal.
Preferably, the adjusting the standby power supply from the cold standby mode to the hot standby mode at a second time before the main power supply is abnormal includes:
controlling the main power supply to output an abnormal signal at a second moment before the abnormality occurs;
and after the abnormal signal is detected, the standby power supply is adjusted from the cold standby mode to the hot standby mode.
Preferably, the operating data includes one or more of an input voltage, an input current, an output voltage, an output current of the main power supply, an ambient temperature of the main power supply, and a temperature of the main power supply itself.
Preferably, the main power supply comprises an Active Power Factor Correction (APFC) module, an inverter module and a synchronous rectification module which are sequentially connected, and further comprises a driving module which is connected with the inverter module and is used for driving the inverter module;
before the working data in the time period between the current time of the main power supply and the first time before the current time is acquired, the method further includes:
acquiring whether the current duty ratio of a Pulse Width Modulation (PWM) signal output by the driving module is the same as a target duty ratio;
if not, adjusting the current duty ratio to the target duty ratio, and judging that the driving module fails after the adjustment to the target duty ratio fails.
Preferably, before the obtaining of the working data in the time period between the current time of the main power supply and the first time before the current time, the method further includes:
acquiring a bus voltage between the APFC module and the inverter module;
judging whether the bus voltage is within a preset range;
if not, judging that the APFC module is in failure.
Preferably, before the APFC module and the driver module are normal and working data in a time period between a current time of the main power supply and a first time before the current time is acquired, the method further includes:
acquiring output parameters of the synchronous rectification module;
judging whether the output parameters are the same as target parameters or not;
if the output parameter is different from the target parameter, adjusting the output parameter based on a PID algorithm so as to enable the output parameter to be stabilized at the target parameter;
in the adjusting process, judging whether the output parameter is gradually close to the target parameter;
and if not, judging that the PID parameters in the PID algorithm are incorrect.
Preferably, before the obtaining of the working data in the time period between the current time of the main power supply and the first time before the current time, the method further includes:
controlling the main power supply to stop outputting the power supply, and controlling the standby power supply to supply power within a preset time;
acquiring the total discharge amount of the standby power supply within a preset time;
calculating the total capacity of the standby power supply based on the total discharge amount and the preset time;
judging whether the total capacity is larger than a preset capacity or not;
if not, the standby power supply is judged not to meet the preset requirement so that the standby power supply can be replaced by a worker conveniently.
Preferably, before the obtaining of the working data in the time period between the current time of the main power supply and the first time before the current time, the method further includes:
sending a fault simulation signal to the main power supply based on a user instruction;
judging whether a protection device corresponding to the fault simulation signal acts or not based on the fault simulation signal;
and if not, judging that the protection device and/or the protection threshold corresponding to the protection device are abnormal.
Preferably, before the obtaining of the working data in the time period between the current time of the main power supply and the first time before the current time, the method further includes:
receiving a power utilization instruction of the load, and controlling the main power supply to output a power supply based on the power utilization instruction;
detecting whether current is present on a power supply link between the primary power source and the load;
if not, judging that the power supply link is abnormal.
In order to solve the above technical problem, the present invention further provides a power supply apparatus, including:
a memory for storing a computer program;
a processor for implementing the above-described power supply method when storing the computer program.
The application provides a power supply method and a power supply device, which are characterized in that working data of a main power supply in a time period before the current time are obtained, then the working trend of the main power supply is obtained based on the working data, whether the main power supply is abnormal or not is judged in advance based on the working trend, and if the main power supply is abnormal, the standby power supply is switched from a cold standby mode to a hot standby mode at a certain time before the abnormality. Through the mode in this application, will send control signal for stand-by power supply so that these two processes of stand-by power supply start go on before the main power supply breaks down to this moment that the main power supply takes place unusually, can direct automatic switch to stand-by power supply, in addition, also need not set up stand-by power supply from the beginning to be hot standby mode, thereby on the basis of having guaranteed stand-by power supply's life-span, still avoided the time gap that exists in the power switching process as far as possible, guaranteed the reliability of load power supply.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of a power supply method according to the present invention;
fig. 2 is a block diagram of a power supply device according to the present invention.
Detailed Description
The core of the invention is to provide a power supply method and a device, which can directly and automatically switch to a standby power supply at the moment when a main power supply is abnormal, and in addition, the standby power supply does not need to be set to a hot standby mode from the beginning, thereby avoiding the time gap existing in the power supply switching process as much as possible on the basis of ensuring the service life of the standby power supply and ensuring the reliability of load power supply.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a power supply method applied to a processor of a power supply system, where the power supply system includes a main power source and a standby power source, and the method includes:
s11: acquiring working data in a time period between the current time of a main power supply and a first time before the current time;
s12: obtaining the working trend of the main power supply based on the working data;
s13: judging whether the main power supply is to be abnormal or not based on the working trend;
s14: if so, adjusting the standby power supply from the cold standby mode to the hot standby mode at a second moment before the main power supply is abnormal, so that the standby power supply is automatically switched to supply power to the load when the main power supply is abnormal.
In consideration of the fact that a time gap may exist in the process of switching power supplies in the prior art, power failure of a storage system may be caused, and the reliability of the operation of the storage system is affected.
In order to solve the above problems, the design idea of the present application is: an intelligent power supply scheme is designed, so that when a main power supply is abnormal, the time gap for switching from the main power supply to a standby power supply is reduced as much as possible, and the reliability of power supply of a storage system is ensured.
Based on the above, the application provides a power supply method, which includes the steps of firstly obtaining working data of a main power supply in a time period before the current time, then obtaining a working trend of the main power supply based on the working data, then prejudging whether the main power supply is abnormal or not based on the working trend, and if so, switching a standby power supply from a cold standby mode to a hot standby mode at a certain time before the abnormality. That is, a control signal is sent to the standby power supply at a certain moment before the abnormality so as to enable the standby power supply to be started and output the power supply, and the preparation work of the standby power supply can be completely finished before the abnormality is also understood in a popular way, so that the standby power supply can be directly and automatically switched to the standby power supply at the moment when the main power supply is abnormal, the time gap during switching the power supply is greatly reduced, and the power failure of a storage system is avoided.
It should be noted that, in the present application, the longer the time period between the first time and the current time is, the more the acquired data is, the more accurate the result of determining whether the main power supply is abnormal is, but the larger the calculation amount is, the more specifically the operation data in the time period is acquired, which may be determined according to actual situations, and the present application is not limited herein.
In addition, in the present application, the longer the time period between the second time and the time when the abnormality occurs, the more the corresponding preparation work is completed, but the longer the time when the corresponding backup power source is in the hot standby mode, the longer the time period between the second time and the time when the abnormality occurs may affect the life of the backup power source to some extent, wherein the length of the time period between the second time and the time when the abnormality occurs may be, but is not limited to, 6ms, within the 6ms, the main power source still normally outputs the power source to ensure the normal operation of the load, and may be other values, which is not limited herein.
It should be noted that the processor in the present application may be, but is not limited to, an MCU (micro controller Unit), and may also be another processor. The load in this application may be, but is not limited to, a storage system.
In summary, through the mode in this application, will give stand-by power supply send control signal so that these two processes of stand-by power supply start go on before the main power supply breaks down to this moment that the main power supply takes place the anomaly, can direct automatic switch to stand-by power supply, in addition, also need not set up stand-by power supply from the beginning to be hot standby mode, thereby on the basis of having guaranteed stand-by power supply's life-span, still avoided the time gap that exists in the power switching process as far as possible, guaranteed the reliability of load power supply.
On the basis of the above-described embodiment:
as a preferred embodiment, adjusting the standby power supply from the cold standby mode to the hot standby mode at a second time before the main power supply is abnormal includes:
controlling the main power supply to output an abnormal signal at a second moment before the abnormality occurs;
and after the abnormal signal is detected, the standby power supply is adjusted from the cold standby mode to the hot standby mode.
Specifically, in this embodiment, an abnormal signal (ALERT signal or AC _ well signal) is output at the second time before the main power supply is abnormal, and at this time, this abnormal signal is used as an enable signal for triggering the standby power supply, that is, when the abnormal signal is output, the standby power supply is triggered to be switched from the cold standby mode to the hot standby mode.
The abnormal signal in the present application may include, but is not limited to, an ALERT signal and/or an AC _ well signal, where the ALERT signal is a first abnormal signal output when the main power source is abnormal, and the AC _ well signal is a second abnormal signal output when the input of the main power source is abnormal, where the input abnormality may be, but is not limited to, an input voltage abnormality and/or an input current abnormality of the main power source, and the present application is not limited herein.
In addition, when the abnormal signal is used as an enabling signal for triggering the standby power supply, the abnormal signal can be sent to the upper computer, so that a user can know that the main power supply is abnormal, the main power supply can be maintained in time, and the like.
In summary, the mode in this embodiment can implement the function of switching the standby mode of the standby power supply, and can also prompt the user to request manual intervention.
As a preferred embodiment, the operational data comprises a combination of one or more of an input voltage, an input current, an output voltage, an output current of the primary power source, an ambient temperature in which the primary power source is located, and a temperature of the primary power source itself.
In particular, the present application intends to define that the operational data may comprise a combination of one or more of the above examples. Specifically, the input voltage may be, but is not limited to, the output voltage of the commercial power; the input current may be, but is not limited to, the output current of the mains; the output voltage may be, but is not limited to, a voltage provided to a load; the output current may be, but is not limited to, the current provided to the load; the ambient temperature of the main power source may be, but is not limited to, the temperature of the ambient environment around the position of the main power source in the application scenario where the main power source is located (the ambient temperature may affect the performance of the main power source); the temperature of the main power supply is the temperature of the main power supply itself as the name implies, wherein the temperature of the main power supply itself may be the temperature of a certain key device in the main power supply, and the like, and the application is not particularly limited herein.
In addition, when the working data includes the above example, the working trend of the corresponding main power source may be, but is not limited to, a slope of the working data, that is, it is determined whether the main power source is about to be abnormal based on the slope.
Of course, the operation data is not limited to the above examples, and may be implemented in other ways, and the present application is not limited thereto.
In summary, the working data can be used for judging whether the working state of the main power supply is abnormal, and the implementation mode is simple and reliable.
As a preferred embodiment, the main Power source includes an APFC (Active Power Factor Correction) module, an inverter module, a synchronous rectification module, and a driving module connected to the inverter module and configured to drive the inverter module, which are sequentially connected;
before the working data in the time period between the current time of the main power supply and the first time before the current time is acquired, the method further comprises the following steps:
acquiring whether the current duty ratio of a Pulse Width Modulation (PWM) signal output by a driving module is the same as a target duty ratio or not;
if not, adjusting the current duty ratio to the target duty ratio, and judging that the driving module fails after the adjustment to the target duty ratio fails.
Specifically, when the main power supply in this application uses the commercial power as the power supply, the main power supply may include, but is not limited to, an APFC module, an inverter module, a synchronous rectifier module and a driving module, wherein the commercial power is input to an input end of the APFC module, and is used for adjusting a phase change and a phase of the commercial power, and the adjustment of the specific phase may be, but is not limited to, adjusting a voltage and a current of the commercial power so that a phase angle thereof is zero, that is, the voltage and the current of the commercial power are kept synchronous. In addition, the pollution to the commercial power is also avoided. The driving module is used for outputting a PWM signal according to an instruction output by the processor so as to drive a switching tube in the inversion module, so that inversion of the rectified current is realized.
Considering that a fault can occur inside the driving module due to external interference or other influences, the duty ratio of the PWM signal output by the driving module is different from the target duty ratio corresponding to the control signal output by the processor, thereby causing a situation that the power supply is unreliable.
In order to solve the above problem, in this embodiment, whether the current duty ratio of the PWM signal output by the driving module is the same as the target duty ratio (that is, whether the duty ratio corresponding to the control signal output to the driving module by the processor is the same) is further obtained, and if so, it is determined that the driving module is normal, and the PWM signal corresponding to the correct duty ratio may be output; otherwise, the duty ratio is adjusted, whether the duty ratio can be adjusted to the target duty ratio is judged in the adjusting process, if not, the driving module is judged to be abnormal, the control signal output by the processor cannot be correctly converted, namely the control signal cannot be converted into the PWM signal with the correct duty ratio. At this time, an abnormal signal of the driving module can be output or the alarm device can be controlled to send out corresponding alarm information so as to request manual intervention, replace the driving module or maintain the driving module and the like.
In addition, when the driving module is abnormal, the standby power supply can be used for supplying power.
Therefore, the control signal in the embodiment can be used for detecting the driving module in the structure of the main power supply, so that the power supply abnormity caused by the abnormity of the driving module in the power supply process of the main power supply is avoided, and the reliability of supplying power to the load is further improved.
As a preferred embodiment, before acquiring the operation data in the time period between the current time of the main power supply and the first time before the current time, the method further includes:
acquiring bus voltage between an APFC module and an inverter module;
judging whether the bus voltage is within a preset range;
if not, the APFC module is judged to be in fault.
In addition, the specific way for detecting the APFC module in the main power supply self structure is as follows: and detecting the voltage on the bus output by the APFC module, namely the bus voltage between the APFC module and the inverter module, and judging that the AFPC module is normal when the voltage is in a normal range, or judging that the APFC module has a fault. At this moment, an APFC module abnormal signal can be output or the alarm device can be controlled to send out corresponding alarm information so as to request manual intervention, replace the APFC module or maintain the APFC module and the like.
In summary, by detecting the bus voltage in this embodiment, the APFC module in the structure of the main power supply itself can be detected, so that power supply abnormality caused by the abnormal APFC module in the power supply process of the main power supply is avoided, and the reliability of supplying power to the load is further improved.
As a preferred embodiment, before the APFC module and the driver module are normal and obtain the working data in the time period between the current time of the main power supply and the first time before the current time, the method further includes:
acquiring output parameters of a synchronous rectification module;
judging whether the output parameters are the same as the target parameters or not;
if the output parameter is different from the target parameter, adjusting the output parameter based on a PID (proportional-integral-derivative) algorithm so as to enable the output parameter to be stabilized at the target parameter;
in the adjusting process, judging whether the output parameters are gradually close to the target parameters;
and if not, judging that the PID parameters in the PID algorithm are incorrect.
It is considered that when the output of the main power supply is controlled to be stably operated, it is generally regulated by a closed loop to be stably output. If the closed-loop output is controlled by the PID algorithm, but if the PID parameter of the PID algorithm is inaccurate, the stability of the main power output parameter cannot be controlled.
In order to solve the above problems, in this embodiment, the output parameter is compared with the target parameter, and when the output parameter is different from the target parameter, the PID algorithm is used to perform closed-loop adjustment on the output parameter to stabilize the output parameter at the target parameter, and whether the output parameter gradually approaches to the target parameter is determined in the process of closed-loop adjustment, if so, the PID parameter is determined to be correct, that is, when the PID parameter is used to perform closed-loop adjustment on the output parameter, the PID parameter can be stabilized at the target parameter, so that the main power supply has stable output; otherwise, if the output parameter is gradually far away from the target parameter, that is, when the PID algorithm is used to adjust the output parameter through the PID parameter, the direction to be adjusted is opposite to the actual adjustment direction, that is, the PID parameter is determined not to satisfy the condition of stabilizing the output parameter at the target parameter, and the main power supply cannot have stable output, and then the PID parameter is determined to be incorrect.
At this time, a PID parameter abnormal signal can be output or the alarm device can be controlled to send out corresponding alarm information to request manual intervention, modify PID parameters, and the like.
In summary, by detecting the PID parameters in the PID algorithm in the embodiment, power supply abnormality caused by inappropriate PID parameters in the power supply process of the main power supply is avoided, and the reliability of supplying power to the load is further improved.
As a preferred embodiment, before acquiring the operation data in the time period between the current time of the main power supply and the first time before the current time, the method further includes:
controlling the main power supply to stop outputting the power supply, and controlling the standby power supply to supply power within a preset time;
acquiring the total discharge amount of the standby power supply within a preset time;
calculating the total capacity of the standby power supply based on the total discharge amount and the preset time;
judging whether the total capacity is larger than a preset capacity or not;
if not, the standby power supply is judged not to meet the preset requirement so that the standby power supply can be replaced by the working personnel conveniently.
Specifically, when the backup power source is a battery, the capacity of the battery may decrease after the battery is used for a period of time, and the total capacity of the backup power source after the battery capacity decreases may not meet the power demand of the load.
For solving the above problem, the idea of this embodiment is to test the standby power supply, and specifically is: the total capacity of the standby power supply is detected, and whether the total capacity meets the preset capacity (the preset capacity is not less than the power demand of the load) is judged. The way of detecting the total capacity of the backup power supply is: the method includes discharging the backup power source for a preset time, and then calculating the total capacity of the backup power source based on the total discharge amount and the preset time, wherein the calculation method can be, but is not limited to, integrating the discharge current when the backup power source is discharged. And if the calculated total capacity is larger than the preset capacity, judging that the standby power supply meets the requirement, otherwise, judging that the standby power supply does not meet the requirement.
Specifically, the power failure of the main power supply 1s may be controlled, that is, the preset time is 1s, and the time for specifically testing the standby power supply may be, but is not limited to, performing the power failure test for 1s once when the load is turned on or is turned on for more than three months.
At the moment, a signal indicating that the total capacity of the standby power supply is insufficient can be output or the alarm device is controlled to send out corresponding alarm information so as to request manual intervention, replace the standby power supply or reduce the power consumption requirement of the load and the like.
Therefore, the total capacity of the standby power supply can be tested in the mode, so that the load power failure caused by insufficient electric quantity of the standby power supply in the power supply process is avoided, and the reliability of load power supply is further improved.
As a preferred embodiment, before acquiring the operation data in the time period between the current time of the main power supply and the first time before the current time, the method further includes:
sending a fault simulation signal to a main power supply based on a user instruction;
judging whether a protection device corresponding to the fault simulation signal acts or not based on the fault simulation signal;
and if not, judging that the protection device and/or the protection threshold corresponding to the protection device are abnormal.
Furthermore, it is contemplated that the various protection modules in the primary power source are typically implemented by protection thresholds and/or protection devices. In order to determine whether each protection threshold and the corresponding protection device are abnormal, in this embodiment, it is further determined whether the protection device and/or the protection threshold corresponding to the fault analog signal in the main power supply is normal by inputting the fault analog signal to the main power supply, and if the protection device and/or the protection threshold acts based on the fault analog signal, it is determined that the protection device and/or the protection threshold is normal, that is, the main power supply can make an appropriate response to the fault analog signal after receiving the fault analog signal, so as to protect the main power supply. Otherwise, it is determined that the protection device and/or the protection threshold are abnormal, that is, the main power supply cannot respond to the fault simulation signal, and in practical application, the power supply abnormality may be easily caused.
Therefore, after the fault of the protection device and/or the protection threshold is detected, an abnormal signal of the protection device and/or the protection threshold can be output or the alarm device is controlled to send out corresponding alarm information so as to request manual intervention, modify the protection threshold or replace or maintain the protection device.
Therefore, the protection threshold and/or the protection device can be tested in a mode of outputting the fault simulation signal, so that the load power failure caused by the abnormity of the protection threshold and/or the protection device in the power supply process is avoided, and the reliability of load power supply is further improved.
As a preferred embodiment, before acquiring the operation data in the time period between the current time of the main power supply and the first time before the current time, the method further includes:
receiving a power utilization instruction of a load, and controlling a main power supply to output a power supply based on the power utilization instruction;
detecting whether current exists on a power supply link between a main power supply and a load;
if not, the power supply link is judged to be abnormal.
In addition, the power supply link between the main power supply and the load is also detected in consideration of possible abnormity of the power supply link, so that the reliability of power supply is further improved.
Specifically, after the power utilization instruction of the load is received, the main power supply is controlled to output the power supply to the load, if the load can be powered, specifically, if current exists on the power supply link, the power supply link is judged to be normal, and if not, the power supply link is judged to be abnormal.
At this time, an abnormal signal of the power supply link may be output or the alarm device may be controlled to send out corresponding alarm information to request manual intervention, perform maintenance or the like on the power supply link.
Therefore, the power supply link can be tested in the mode, so that the load power failure caused by the abnormal power supply link in the power supply process is avoided, and the reliability of load power supply is further improved.
Referring to fig. 2, fig. 2 is a block diagram of a power supply apparatus provided in the present invention, the apparatus includes:
a memory 21 for storing a computer program;
the processor 22, when storing the computer program, is adapted to implement the above-described power supply method.
For solving the above technical problem, the present application further provides a power supply apparatus, and please refer to the above embodiments for the introduction of the power supply apparatus, which is not described herein again.
It is to be noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of supplying power to a processor of a power supply system, the power supply system including a primary power source and a backup power source, the method comprising:
acquiring working data in a time period between the current time of the main power supply and a first time before the current time;
deriving an operating trend of the main power supply based on the operating data;
judging whether the main power supply is to be abnormal or not based on the working trend;
if so, adjusting the standby power supply from a cold standby mode to a hot standby mode at a second moment before the main power supply is abnormal, so that the standby power supply is automatically switched to supply power to a load when the main power supply is abnormal.
2. The method of claim 1, wherein adjusting the backup power supply from a cold-standby mode to a hot-standby mode at a second time before the primary power supply anomaly occurs comprises:
controlling the main power supply to output an abnormal signal at a second moment before the abnormality occurs;
and after the abnormal signal is detected, the standby power supply is adjusted from the cold standby mode to the hot standby mode.
3. The power supply method of claim 1, wherein the operational data comprises a combination of one or more of an input voltage, an input current, an output voltage, an output current, an ambient temperature at which the primary power source is located, and a temperature of the primary power source itself.
4. The power supply method according to claim 1, wherein the main power supply comprises an Active Power Factor Correction (APFC) module, an inverter module and a synchronous rectification module which are connected in sequence, and further comprises a driving module which is connected with the inverter module and is used for driving the inverter module;
before the working data in the time period between the current time of the main power supply and the first time before the current time is acquired, the method further includes:
acquiring whether the current duty ratio of a Pulse Width Modulation (PWM) signal output by the driving module is the same as a target duty ratio;
if not, adjusting the current duty ratio to the target duty ratio, and judging that the driving module fails after the adjustment to the target duty ratio fails.
5. The power supply method according to claim 4, wherein before acquiring the operation data in the time period between the current time of the main power supply and the first time before the current time, further comprising:
acquiring a bus voltage between the APFC module and the inverter module;
judging whether the bus voltage is within a preset range;
if not, judging that the APFC module is in failure.
6. The power supply method according to claim 5, wherein before the APFC module and the driver module are normal and the operation data in the time period between the current time of the main power supply and the first time before the current time is acquired, the method further comprises:
acquiring output parameters of the synchronous rectification module;
judging whether the output parameters are the same as target parameters or not;
if the output parameter is different from the target parameter, adjusting the output parameter based on a PID algorithm so as to enable the output parameter to be stabilized at the target parameter;
in the adjusting process, judging whether the output parameter is gradually close to the target parameter;
and if not, judging that the PID parameters in the PID algorithm are incorrect.
7. The power supply method according to any one of claims 1 to 6, wherein before acquiring the operation data in the time period between the current time of the main power supply and the first time before the current time, further comprising:
controlling the main power supply to stop outputting the power supply, and controlling the standby power supply to supply power within a preset time;
acquiring the total discharge amount of the standby power supply within a preset time;
calculating the total capacity of the standby power supply based on the total discharge amount and the preset time;
judging whether the total capacity is larger than a preset capacity or not;
if not, the standby power supply is judged not to meet the preset requirement so that the standby power supply can be replaced by a worker conveniently.
8. The power supply method according to any one of claims 1 to 6, wherein before acquiring the operation data in the time period between the current time of the main power supply and the first time before the current time, further comprising:
sending a fault simulation signal to the main power supply based on a user instruction;
judging whether a protection device corresponding to the fault simulation signal acts or not based on the fault simulation signal;
and if not, judging that the protection device and/or the protection threshold corresponding to the protection device are abnormal.
9. The power supply method according to any one of claims 1 to 6, wherein before acquiring the operation data in the time period between the current time of the main power supply and the first time before the current time, further comprising:
receiving a power utilization instruction of the load, and controlling the main power supply to output a power supply based on the power utilization instruction;
detecting whether current is present on a power supply link between the primary power source and the load;
if not, judging that the power supply link is abnormal.
10. A power supply device, comprising:
a memory for storing a computer program;
a processor for implementing the power supply method according to any one of claims 1-9 when storing the computer program.
CN202111447297.2A 2021-12-01 2021-12-01 Power supply method and device Pending CN113890179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111447297.2A CN113890179A (en) 2021-12-01 2021-12-01 Power supply method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111447297.2A CN113890179A (en) 2021-12-01 2021-12-01 Power supply method and device

Publications (1)

Publication Number Publication Date
CN113890179A true CN113890179A (en) 2022-01-04

Family

ID=79016182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111447297.2A Pending CN113890179A (en) 2021-12-01 2021-12-01 Power supply method and device

Country Status (1)

Country Link
CN (1) CN113890179A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415813A (en) * 2022-03-29 2022-04-29 苏州浪潮智能科技有限公司 Power supply method and device for storage array and server
CN115940392A (en) * 2023-03-14 2023-04-07 浪潮电子信息产业股份有限公司 Control method, device, server and medium for battery power backup
CN116780914A (en) * 2023-06-19 2023-09-19 深圳市安科讯实业有限公司 Hybrid switch mode power supply conversion method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111312325A (en) * 2020-02-14 2020-06-19 苏州浪潮智能科技有限公司 BBU fault diagnosis method and device, electronic equipment and storage medium
CN111864890A (en) * 2020-07-29 2020-10-30 北京浪潮数据技术有限公司 BBU discharge control system, BBU discharge control method and memory array

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111312325A (en) * 2020-02-14 2020-06-19 苏州浪潮智能科技有限公司 BBU fault diagnosis method and device, electronic equipment and storage medium
CN111864890A (en) * 2020-07-29 2020-10-30 北京浪潮数据技术有限公司 BBU discharge control system, BBU discharge control method and memory array

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415813A (en) * 2022-03-29 2022-04-29 苏州浪潮智能科技有限公司 Power supply method and device for storage array and server
CN114415813B (en) * 2022-03-29 2022-07-05 苏州浪潮智能科技有限公司 Power supply method and device for storage array and server
CN115940392A (en) * 2023-03-14 2023-04-07 浪潮电子信息产业股份有限公司 Control method, device, server and medium for battery power backup
CN116780914A (en) * 2023-06-19 2023-09-19 深圳市安科讯实业有限公司 Hybrid switch mode power supply conversion method and device
CN116780914B (en) * 2023-06-19 2024-02-27 深圳市安科讯实业有限公司 Hybrid switch mode power supply conversion method and device

Similar Documents

Publication Publication Date Title
CN113890179A (en) Power supply method and device
EP2174400B1 (en) Adjustable battery charger for ups
KR20180101752A (en) Device detecting fault of inverter power relay
WO2022142452A1 (en) On-grid/off-grid scheduling method and apparatus, and energy-storage power supply system
JP2010259321A (en) Battery charger, and method for charging battery
JP6648614B2 (en) Power storage device
WO2002061917A1 (en) Power supply
JP2000116029A (en) Backup power supply device
EP3591799A1 (en) Avr bypass relay welding detection
CN112684746A (en) Gas meter valve control method, system and computer readable storage medium
JP3552586B2 (en) Uninterruptible power system
JPS6197730A (en) Power failure processing system for computer system
JP3139193B2 (en) Power supply
US20220094180A1 (en) Charge protection circuit, charger, electronic device, and charge protection method
CN109917895A (en) A kind of control device and control method of voltage regulator module VRM
EP2306213B1 (en) Power saving system for household electric appliance
US11183869B2 (en) System and method for generator frequency control during UPS power walk-in
JP5008465B2 (en) Uninterruptible power system
GB2415796A (en) Regulating switching power supply frequency dependant on computer operating status
JP2000245074A (en) Method for avoiding capacity decrease of battery
KR102475112B1 (en) Protection apparatus of inverter
JP4962032B2 (en) Control method of DC power supply system
JP2002325462A (en) Power converter solar power generation
US20230307944A1 (en) OFFLINE UNINTERRUPTIBLE POWER SUPPLIES (UPSs) AND RELATED DESIGN OF ENERGY (DOE) MODE FAILURE DETECTION METHODS
JP3656379B2 (en) Battery charger

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220104