CN113422404B - Power supply control method and power supply - Google Patents

Power supply control method and power supply Download PDF

Info

Publication number
CN113422404B
CN113422404B CN202110604025.2A CN202110604025A CN113422404B CN 113422404 B CN113422404 B CN 113422404B CN 202110604025 A CN202110604025 A CN 202110604025A CN 113422404 B CN113422404 B CN 113422404B
Authority
CN
China
Prior art keywords
power supply
voltage
battery
mode
protection mode
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
Application number
CN202110604025.2A
Other languages
Chinese (zh)
Other versions
CN113422404A (en
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.)
Kehua Data Co Ltd
Original Assignee
Kehua Data 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 Kehua Data Co Ltd filed Critical Kehua Data Co Ltd
Priority to CN202110604025.2A priority Critical patent/CN113422404B/en
Publication of CN113422404A publication Critical patent/CN113422404A/en
Application granted granted Critical
Publication of CN113422404B publication Critical patent/CN113422404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • 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
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • 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
    • 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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The invention is suitable for the technical field of power supplies, and provides a power supply control method and a power supply, wherein the method comprises the following steps: when the current working mode of the power supply is detected to be switched into a battery low-voltage protection mode, acquiring the voltage of the battery at the current moment as a first voltage and the voltage of the battery at the previous moment as a second voltage; the power supply is not switched to a battery low-voltage protection mode at the previous moment; subtracting the second voltage from the first voltage to obtain a first difference value; if the first difference is larger than a first preset difference, controlling the power supply to keep a battery low-voltage protection mode; and if the first difference is not greater than the first preset difference, controlling the power supply to exit the battery low-voltage protection mode. The invention determines whether the low voltage of the battery is really low according to the voltage difference before and after the power supply is switched to the battery low-voltage protection mode, and if the battery voltage is low, the battery low-voltage protection mode is kept, so that the battery low-voltage protection mode and the battery power supply mode are prevented from being repeatedly switched when the battery voltage is low, and the service life of the battery is prolonged.

Description

Power supply control method and power supply
Technical Field
The invention belongs to the technical field of power supplies, and particularly relates to a power supply control method and a power supply.
Background
A battery-powered power supply may be used to provide an uninterrupted supply of power to power electronics. Referring to fig. 1, when the external power supply is normal, the power supply operates in the external power supply mode, and the external power supply is output to supply power to the back end through the converter 1. When the external power supply is abnormal, the power supply starts the battery power supply mode, and the electric energy output of the battery 2 supplies power to the rear end.
In the prior art, a power supply is generally provided with battery low-voltage protection, when the voltage of a battery 2 is low, the power supply starts a battery low-voltage protection mode, the battery 2 unloads a load, the voltage of the battery 2 rebounds to a virtual high voltage value, the voltage of the battery 2 is detected to rise at the moment, a battery power supply mode is started, the battery recovers a load, the voltage of the battery 2 is reduced, and the power supply enters the battery low-voltage protection mode again, so that the service life of the battery is seriously influenced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a power control method and a power supply, so as to solve the problem in the prior art that when a battery voltage is at a low-voltage protection critical value, the power supply is continuously switched between a battery low-voltage protection mode and a battery power supply mode, which affects the service life of the battery.
A first aspect of an embodiment of the present invention provides a power supply control method, where a power supply includes: a converter and a battery; the input end of the converter is connected with the input end of the power supply, and the output end of the converter is respectively connected with the output end of the power supply and the battery; discharging the battery at constant power; the power supply control method comprises the following steps:
when the current working mode of the power supply is detected to be switched into a battery low-voltage protection mode, acquiring the voltage of the battery at the current moment as a first voltage and the voltage of the battery at the previous moment as a second voltage; the power supply is not switched to a battery low-voltage protection mode at the previous moment;
subtracting the second voltage from the first voltage to obtain a first difference value;
if the first difference is larger than a first preset difference, controlling the power supply to keep a battery low-voltage protection mode;
and if the first difference is not greater than the first preset difference, controlling the power supply to exit the battery low-voltage protection mode.
A second aspect of the embodiments of the present invention provides a power supply, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the power supply control method provided in the first aspect of the embodiments of the present invention when executing the computer program.
A third aspect of the embodiments of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the power supply control method as provided in the first aspect of the embodiments of the present invention.
The embodiment of the invention provides a power supply control method, which comprises the following steps: when the current working mode of the power supply is detected to be switched into a battery low-voltage protection mode, acquiring the voltage of the battery at the current moment as a first voltage and the voltage of the battery at the previous moment as a second voltage; the power supply is not switched to a battery low-voltage protection mode at the previous moment; subtracting the second voltage from the first voltage to obtain a first difference value; if the first difference is larger than a first preset difference, controlling the power supply to keep a battery low-voltage protection mode; and if the first difference is not greater than the first preset difference, controlling the power supply to exit the battery low-voltage protection mode. The larger the battery discharge current is before the power supply is switched to the battery low-voltage protection mode, the higher the magnitude of the battery voltage rebound is. In the embodiment of the invention, the battery is discharged at constant power, so that the lower the battery voltage is, the higher the discharge current is, and the higher the battery voltage bounce is after the battery load is disconnected (the power supply is switched to the battery low-voltage protection mode). Therefore, the embodiment of the invention determines whether the switched voltage is really low according to the voltage difference of the battery before and after the power supply is switched to the battery low-voltage protection mode, and if the battery voltage is low, the battery low-voltage protection mode is kept, so that the battery low-voltage protection mode and the battery power supply mode are prevented from being switched repeatedly when the battery voltage is low, and the service life of the battery is prolonged.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions 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 based on these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a power supply according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an implementation of a power control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a power control apparatus provided in an embodiment of the present invention;
fig. 4 is a schematic diagram of a power supply provided by an embodiment of the invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 2, an embodiment of the present invention provides a power supply control method, where the power supply includes: a converter and a battery; the input end of the converter is connected with the input end of the power supply, and the output end of the converter is respectively connected with the output end of the power supply and the battery; discharging the battery at constant power; the power supply control method comprises the following steps:
s101: when the current working mode of the power supply is detected to be switched into a battery low-voltage protection mode, acquiring the voltage of the battery at the current moment as a first voltage and the voltage of the battery at the previous moment as a second voltage; the power supply is not switched to a battery low-voltage protection mode at the previous moment;
s102: subtracting the second voltage from the first voltage to obtain a first difference value;
s103: if the first difference is larger than a first preset difference, controlling the power supply to keep a battery low-voltage protection mode;
s104: and if the first difference is not greater than the first preset difference, controlling the power supply to exit the battery low-voltage protection mode.
According to the characteristics of the battery, the battery voltage rebounds after the battery is unloaded, and the larger the discharge current before unloading is, the larger the rebound amplitude of the battery voltage after unloading (battery low-voltage protection mode) is. If the battery is discharged at constant power, the discharge current tends to increase as the voltage of the battery decreases. Because the rebound amplitude of the battery voltage after the load of the battery is unloaded is in direct proportion to the discharge current, if the actual voltage value of the battery is lower, the discharge current is larger, and the rebound amplitude of the battery voltage after the load of the battery is unloaded is also larger. According to the above, in the embodiment of the present invention, whether the battery voltage is actually low is determined according to the first difference between the voltages before and after the power supply enters the battery low-voltage protection mode. If the first difference value is larger, the voltage of the battery is really lower, the power supply is controlled to keep the battery low-voltage protection mode, and the battery voltage is prevented from entering the battery low-voltage protection mode again after being switched into the battery power supply mode due to the virtual high; if the first difference value is not large, the battery voltage is not low, and normal power supply can be performed, the battery low-voltage protection mode is quitted, the battery voltage is prevented from being repeatedly switched between the battery low-voltage protection mode and the battery power supply mode, and the service life of the battery and the stability of the power supply are improved.
The sampling frequency of the battery voltage can be reasonably set in the embodiment of the invention, the voltage of the battery is collected and stored in real time, and the voltage of the battery at the moment before the battery is switched to the low-voltage protection mode and the voltage of the battery at the moment after the battery is switched to the voltage protection mode can be accurately obtained. Exiting the battery undervoltage protection mode may be switching to a battery-powered mode or an externally-powered mode.
In some embodiments, after S101, the power control method may further include:
s105: acquiring the voltage of the battery in real time as a third voltage, and subtracting the first voltage from the third voltage to obtain a second difference value;
s106: if the second difference is larger than the second preset difference, controlling the power supply to exit the battery low-voltage protection mode;
s107: and if the second difference is not greater than the second preset difference, controlling the power supply to keep the battery low-voltage protection mode.
When the power supply is switched to a battery low-voltage protection mode, the voltage of the battery is acquired in real time, whether a new energy storage source is supplemented or not is determined, and the output voltage of the battery is improved. If a new energy storage source is supplemented, the voltage of the battery is greatly increased, the battery can normally supply power, and therefore the power supply is controlled to exit the battery low-voltage protection mode; if the voltage of the battery is increased slightly, it is indicated that no new energy storage source is supplemented or the supplement is insufficient, and the battery cannot supply power normally, so that the power supply is controlled to keep a battery low-voltage protection mode.
In some embodiments, S104 may include:
s1041: acquiring the current working state of the converter;
s1042: if the current working state of the converter is normal, controlling the power supply to be switched to an external power supply mode;
s1043: and if the current working state of the converter is abnormal, controlling the power supply to be switched into a battery power supply mode.
If the converter is abnormal (namely the output voltage of the converter is abnormal and cannot meet the power supply requirement of the rear end), the power supply is switched to a battery power supply mode, and the battery supplies power; if the converter recovers to be normal (namely, the output voltage of the converter is normal and can meet the power supply requirement of the rear end), the power supply is switched to an external power supply mode, the external power supply preferentially supplies power, and the service life of the battery is prolonged.
In some embodiments, the power control method may further include:
s108: if the current working mode of the power supply is an external power supply mode, the current working state of the converter is abnormal, and the current voltage of the battery is greater than a first preset voltage, controlling the power supply to be switched to a battery power supply mode;
s109: and if the current working mode of the power supply is an external power supply mode, the current working state of the converter is abnormal, and the current voltage of the battery is not greater than a first preset voltage, controlling the power supply to be switched into a battery low-voltage protection mode.
When the current working mode of the power supply is an external power supply mode and the converter is abnormal, the external power supply is cut off, and at the moment, if the battery voltage is higher and can supply power normally, the power supply is controlled to be switched into the battery power supply mode; if the battery voltage is low at the moment and the battery can not normally supply power, the power supply is controlled to be switched to a battery low-voltage protection mode, switching from an external power supply mode to other modes is achieved, and the battery is prevented from being over-discharged and damaged.
In some embodiments, the power control method may further include:
s1010: if the current working mode of the power supply is a battery power supply mode, the current working state of the converter is abnormal, and the current voltage of the battery is not greater than a first preset voltage, controlling the power supply to be switched to a battery low-voltage protection mode;
s1011: and if the current working mode of the power supply is a battery power supply mode, the current working state of the converter is abnormal, the current voltage of the battery is greater than a first preset voltage, and the current voltage of the battery is less than a second preset voltage, controlling the power supply to be switched into a battery pre-protection mode.
According to the embodiment of the invention, the battery pre-protection mode is set, and when the battery voltage is not reduced enough to enter the battery low-voltage protection mode, the battery pre-protection mode is entered, so that part of load is cut off, the power supply time of the power supply is prolonged, and the availability of the power supply is improved.
In some embodiments, the battery pre-protection mode comprises: a first pre-protection mode and a second pre-protection mode;
the first pre-protection mode is used for cutting off the first type of load when the current voltage of the battery is smaller than the second preset voltage and larger than the third preset voltage;
the second pre-protection mode is used for cutting off the first type of load and the second type of load when the current voltage of the battery is not more than the third preset voltage and is more than the first preset voltage;
and the battery low-voltage protection mode is used for cutting off all loads when the current voltage of the battery is not greater than a first preset voltage.
In the embodiment of the invention, the battery pre-protection mode is divided into two stages, and partial load is cut off in stages, so that the power supply of important load is ensured, the power supply time is prolonged, and the availability of the power supply is improved. For example, if the power supply directly enters the second pre-protection mode, the first type of load and the second type of load are switched. If the power supply firstly enters a first pre-protection mode, cutting off a first type of load, and enters a second pre-protection mode along with the continuous reduction of the battery voltage, keeping the first type of load cut off, and then cutting off a second type of load (the second type of load can be an important load); the specific implementation mode is set according to the actual application requirement.
Specifically, the battery pre-protection mode can be further subdivided according to the actual application condition.
Based on the above, in some embodiments, the power control method may further include:
s1012: if the current working mode of the power supply is a battery pre-protection mode, the current working state of the converter is abnormal, and the current voltage of the battery is not more than a first preset voltage, controlling the power supply to be switched into a battery low-voltage protection mode;
s1013: and if the current working mode of the power supply is the battery pre-protection mode, the current working state of the converter is abnormal, and the current voltage of the battery is not less than the second preset voltage, controlling the power supply to be switched into the battery power supply mode.
When the power supply works in the battery pre-protection mode, if the voltage is continuously reduced to be lower than a first preset voltage, and normal power supply of the load cannot be guaranteed, the power supply is controlled to be switched to the battery low-voltage protection mode. If a new energy storage source is added at the moment, the voltage of the battery is increased, and the power supply is controlled to be switched into a battery power supply mode. The switching of the power supply from the battery pre-protection mode to other modes is realized.
In some embodiments, the power control method may further include:
s1014: acquiring the current working state of the converter;
s1015: and if the current working state of the converter is normal, controlling the power supply to be switched into an external power supply mode.
When the converter is normal, no matter what working mode the power supply is in, the converter is switched to an external power supply mode, and the external power supply is preferentially used for supplying power. Furthermore, the power supply can be further controlled according to the output voltage of the converter. The power supply control method may further include:
s1016: if the current working state of the converter is normal, acquiring the voltage of the battery and the output voltage of the converter;
s1017: and if the voltage of the battery is greater than the output voltage of the converter, controlling the power supply to switch to a battery power supply mode.
When the converter is normal, if the output voltage of the converter is less than the voltage of the battery, the battery with high voltage is used for supplying power preferentially, and the normal power supply of the load is ensured.
In some embodiments, the first predetermined difference, the second predetermined difference, the first predetermined voltage, the second predetermined voltage, and the third predetermined voltage may be determined according to actual application requirements.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 3, an embodiment of the present invention further provides a power supply control apparatus, where the power supply includes: a converter and a battery; the input end of the converter is connected with the input end of the power supply, and the output end of the converter is respectively connected with the output end of the power supply and the battery; discharging the battery at constant power; the power supply control device includes:
the first parameter obtaining module 21 is configured to, when it is detected that the current working mode of the power supply is switched to the battery low-voltage protection mode, obtain a voltage of the battery at a current moment as a first voltage and a voltage of the battery at a previous moment as a second voltage; the power supply is not switched to a battery low-voltage protection mode at the previous moment;
a first difference determining module 22, configured to subtract the second voltage from the first voltage to obtain a first difference;
the first switching module 23 is configured to control the power supply to maintain the battery low-voltage protection mode if the first difference is greater than a first preset difference;
and the second switching module 24 is configured to control the power supply to exit the battery low-voltage protection mode if the first difference is not greater than the first preset difference.
In some embodiments, the power control device may further include:
the second parameter obtaining module 25 is configured to obtain a voltage of the battery in real time as a third voltage, and subtract the first voltage from the third voltage to obtain a second difference;
the third switching module 26 is configured to control the power supply to exit the battery low-voltage protection mode if the second difference is greater than a second preset difference;
and a fourth switching module 27, configured to control the power supply to maintain the battery low-voltage protection mode if the second difference is not greater than the second preset difference.
In some embodiments, the second switching module 24 may include:
a state obtaining unit 241, configured to obtain a current working state of the converter;
a first exiting unit 242, configured to control the power supply to switch to an external power supply mode if the current operating state of the converter is normal;
the second exiting unit 243 controls the power supply to switch to the battery power supply mode if the current operating state of the inverter is abnormal.
In some embodiments, the power control device may further include:
a fifth switching module 28, configured to control the power supply to switch to the battery power supply mode if the current operating mode of the power supply is the external power supply mode, the current operating state of the converter is abnormal, and the current voltage of the battery is greater than the first preset voltage;
and a sixth switching module 29, configured to control the power supply to switch to the battery low-voltage protection mode if the current operating mode of the power supply is the external power supply mode, the current operating state of the converter is abnormal, and the current voltage of the battery is not greater than the first preset voltage.
In some embodiments, the power control device may further include:
a seventh switching module 210, configured to control the power supply to switch to a battery low-voltage protection mode if the current operating mode of the power supply is a battery power supply mode, the current operating state of the converter is abnormal, and the current voltage of the battery is not greater than a first preset voltage;
the eighth switching module 211 is configured to control the power supply to switch to the battery pre-protection mode if the current working mode of the power supply is the battery power supply mode, the current working state of the converter is abnormal, the current voltage of the battery is greater than the first preset voltage, and the current voltage of the battery is less than the second preset voltage.
In some embodiments, the battery pre-protection mode comprises: a first pre-protection mode and a second pre-protection mode;
the first pre-protection mode is used for cutting off the first type of load when the current voltage of the battery is smaller than the second preset voltage and larger than the third preset voltage;
the second pre-protection mode is used for cutting off the first type of load and the second type of load when the current voltage of the battery is not more than the third preset voltage and is more than the first preset voltage;
and the battery low-voltage protection mode is used for cutting off all loads when the current voltage of the battery is not greater than a first preset voltage.
In some embodiments, the power control device may further include:
a ninth switching module 212, configured to control the power supply to switch to the battery low-voltage protection mode if the current working mode of the power supply is the battery pre-protection mode, the current working state of the converter is abnormal, and the current voltage of the battery is not greater than the first preset voltage;
the tenth switching module 213 is configured to control the power supply to switch to the battery power supply mode if the current working mode of the power supply is the battery pre-protection mode, the current working state of the converter is abnormal, and the current voltage of the battery is not less than the second preset voltage.
In some embodiments, the power control device may further include:
a third parameter obtaining module 214, configured to obtain a current working state of the converter;
and an eleventh switching module 215, configured to control the power supply to switch to the external power supply mode if the current operating state of the converter is normal.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the UPS is divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 4 is a schematic block diagram of the power supply 4 provided by an embodiment of the present invention. As shown in fig. 4, the power supply 4 of this embodiment includes: one or more processors 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processors 40. The processor 40, when executing the computer program 42, implements the steps in the various power control method embodiments described above, such as the steps S101 to S104 shown in fig. 2. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the various modules/units in the above-described power control apparatus embodiment, such as the functions of the modules 21 to 24 shown in fig. 3.
Illustratively, the computer program 42 may be divided into one or more modules/units, which are stored in the memory 41 and executed by the processor 40 to accomplish the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions that describe the execution of the computer program 42 in the power supply. For example, the computer program 42 may be divided into the first parameter acquisition module 21, the first difference determination module 22, the first switching module 23 and the second switching module 24.
The first parameter obtaining module 21 is configured to, when it is detected that the current working mode of the power supply is switched to the battery low-voltage protection mode, obtain a voltage of the battery at a current moment as a first voltage and a voltage of the battery at a previous moment as a second voltage; the power supply is not switched to a battery low-voltage protection mode at the previous moment;
a first difference determining module 22, configured to subtract the second voltage from the first voltage to obtain a first difference;
the first switching module 23 is configured to control the power supply to maintain the battery low-voltage protection mode if the first difference is greater than a first preset difference;
and the second switching module 24 is configured to control the power supply to exit the battery low-voltage protection mode if the first difference is not greater than the first preset difference.
Other modules or units are not described in detail herein.
The power source 4 includes, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a power supply 4 and does not constitute a limitation of the power supply 4 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the power supply 4 may also include input devices, output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the power supply 4, such as a hard disk or a memory of the power supply 4. The memory 41 may also be an external storage device of the power supply 4, such as a plug-in hard disk provided on the power supply 4, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 41 may also include both an internal storage unit of the power supply 4 and an external storage device. The memory 41 is used for storing a computer program 42 and other programs and data required by the power supply 4. The memory 41 may also be used to temporarily store data that has been output or is to be output.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed power supply 4 and method may be implemented in other ways. For example, the above-described embodiment of the power supply 4 is merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments described above may be implemented by a computer program, which is stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A power supply control method, characterized in that the power supply comprises: a converter and a battery; the input end of the converter is connected with the input end of the power supply, and the output end of the converter is respectively connected with the output end of the power supply and the battery; the battery discharges at constant power; the power supply control method comprises the following steps:
when the current working mode of the power supply is detected to be switched to a battery low-voltage protection mode, acquiring the voltage of the battery at the current moment as a first voltage and the voltage of the battery at the previous moment as a second voltage; the power supply is not switched to a battery low-voltage protection mode at the previous moment;
subtracting the second voltage from the first voltage to obtain a first difference value;
if the first difference is larger than a first preset difference, controlling the power supply to keep a battery low-voltage protection mode;
and if the first difference is not greater than the first preset difference, controlling the power supply to exit the battery low-voltage protection mode.
2. The power supply control method according to claim 1, wherein after acquiring the voltage of the battery at the present time as the first voltage and the voltage of the battery at the previous time as the second voltage, the power supply control method further comprises:
acquiring a third voltage of the battery in real time, and subtracting the first voltage from the third voltage to obtain a second difference value;
if the second difference is larger than a second preset difference, controlling the power supply to exit the battery low-voltage protection mode;
and if the second difference is not greater than the second preset difference, controlling the power supply to keep a battery low-voltage protection mode.
3. The power control method of claim 1 or 2, wherein said controlling said power source to exit a battery under-voltage protection mode comprises:
acquiring the current working state of the converter;
if the current working state of the converter is normal, controlling the power supply to be switched to an external power supply mode;
and if the current working state of the converter is abnormal, controlling the power supply to be switched into a battery power supply mode.
4. The power supply control method according to claim 1, further comprising:
if the current working mode of the power supply is an external power supply mode, the current working state of the converter is abnormal, and the current voltage of the battery is greater than a first preset voltage, controlling the power supply to be switched to a battery power supply mode;
and if the current working mode of the power supply is an external power supply mode, the current working state of the converter is abnormal, and the current voltage of the battery is not greater than the first preset voltage, controlling the power supply to be switched to a battery low-voltage protection mode.
5. The power supply control method according to claim 1, further comprising:
if the current working mode of the power supply is a battery power supply mode, the current working state of the converter is abnormal, and the current voltage of the battery is not greater than a first preset voltage, controlling the power supply to be switched to a battery low-voltage protection mode;
and if the current working mode of the power supply is a battery power supply mode, the current working state of the converter is abnormal, the current voltage of the battery is greater than the first preset voltage, and the current voltage of the battery is less than the second preset voltage, controlling the power supply to be switched to a battery pre-protection mode.
6. The power control method of claim 5, wherein the battery pre-protection mode comprises: a first pre-protection mode and a second pre-protection mode;
the first pre-protection mode is used for cutting off a first type of load when the current voltage of the battery is smaller than the second preset voltage and larger than a third preset voltage;
the second pre-protection mode is used for cutting off the first type of load and the second type of load when the current voltage of the battery is not more than the third preset voltage and is more than the first preset voltage;
and the battery low-voltage protection mode is used for cutting off all loads when the current voltage of the battery is not greater than the first preset voltage.
7. The power supply control method according to claim 5 or 6, characterized by further comprising:
if the current working mode of the power supply is a battery pre-protection mode, the current working state of the converter is abnormal, and the current voltage of the battery is not greater than the first preset voltage, controlling the power supply to be switched to a battery low-voltage protection mode;
and if the current working mode of the power supply is a battery pre-protection mode, the current working state of the converter is abnormal, and the current voltage of the battery is not less than the second preset voltage, controlling the power supply to be switched into a battery power supply mode.
8. The power supply control method according to claim 1, further comprising:
acquiring the current working state of the converter;
and if the current working state of the converter is normal, controlling the power supply to be switched into an external power supply mode.
9. A power supply, comprising: memory, processor and computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the power supply control method according to any of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the power supply control method according to any one of claims 1 to 8.
CN202110604025.2A 2021-05-31 2021-05-31 Power supply control method and power supply Active CN113422404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110604025.2A CN113422404B (en) 2021-05-31 2021-05-31 Power supply control method and power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110604025.2A CN113422404B (en) 2021-05-31 2021-05-31 Power supply control method and power supply

Publications (2)

Publication Number Publication Date
CN113422404A CN113422404A (en) 2021-09-21
CN113422404B true CN113422404B (en) 2022-08-09

Family

ID=77713435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110604025.2A Active CN113422404B (en) 2021-05-31 2021-05-31 Power supply control method and power supply

Country Status (1)

Country Link
CN (1) CN113422404B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106410892A (en) * 2016-09-14 2017-02-15 东软集团股份有限公司 Battery protection method, device and system
EP3396152A1 (en) * 2017-04-26 2018-10-31 Team Young Technology Co., Ltd. Battery power sustainability device and method for battery power sustainability
CN110364775A (en) * 2019-05-27 2019-10-22 漳州科华技术有限责任公司 Charge control method, battery charge controller and the terminal of battery
CN112104037A (en) * 2020-09-15 2020-12-18 北京百度网讯科技有限公司 Power supply system, control method thereof, automatic driving vehicle and power supply management device
CN112510814A (en) * 2020-11-25 2021-03-16 漳州科华技术有限责任公司 UPS power supply control method and device and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106410892A (en) * 2016-09-14 2017-02-15 东软集团股份有限公司 Battery protection method, device and system
EP3396152A1 (en) * 2017-04-26 2018-10-31 Team Young Technology Co., Ltd. Battery power sustainability device and method for battery power sustainability
CN110364775A (en) * 2019-05-27 2019-10-22 漳州科华技术有限责任公司 Charge control method, battery charge controller and the terminal of battery
CN112104037A (en) * 2020-09-15 2020-12-18 北京百度网讯科技有限公司 Power supply system, control method thereof, automatic driving vehicle and power supply management device
CN112510814A (en) * 2020-11-25 2021-03-16 漳州科华技术有限责任公司 UPS power supply control method and device and terminal equipment

Also Published As

Publication number Publication date
CN113422404A (en) 2021-09-21

Similar Documents

Publication Publication Date Title
US20220329070A1 (en) Method and system for switching from grid-connected to grid-disconnected and power conversion system
CN110364775B (en) Battery charging control method, battery charging control device and terminal
EP3800763A1 (en) Multi-mode uninterruptible power supply control method, control apparatus and control terminal
CN103915863B (en) Terminal unit and method of supplying power to thereof
CN111049172B (en) Method and system for switching from off-grid to grid-connected and energy storage converter
CN113422404B (en) Power supply control method and power supply
CN112039064B (en) Control method based on power supply system and related device
CN110797968B (en) Power-off prevention method and system for uninterruptible power supply and terminal equipment
CN109818089B (en) Battery current limiting method and device
CN114567034A (en) Control method and device of battery charge-discharge module, terminal and storage medium
CN112332526B (en) Storage battery energy storage system and control method thereof
CN115425716A (en) Electronic device
CN114825594A (en) Control method and control device of uninterruptible power supply
CN112713632A (en) Control method and device for variable pitch system super capacitor charging equipment and terminal equipment
CN114301050B (en) Control method, terminal and storage medium of uninterruptible power supply rectifying module
CN114301114B (en) Lithium battery, lithium battery system and control method
CN217469494U (en) Charging and power supply circuit and electronic equipment
CN113224959B (en) Inverter control method and UPS
CN116001626B (en) Charging station control method and device
CN112564205B (en) Power supply control method and power supply system of 5G base station
KR102395442B1 (en) Power supply apparatus having hierarchical structure
CN214755527U (en) Power supply module and electronic equipment
CN117310534A (en) Battery aging test method, control terminal and storage medium
CN115764864A (en) Power supply control method and device for light storage microgrid, electronic equipment and storage medium
CN117200290A (en) Charge and discharge control method and energy storage device

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