CN114567034A - Control method and device of battery charge-discharge module, terminal and storage medium - Google Patents

Control method and device of battery charge-discharge module, terminal and storage medium Download PDF

Info

Publication number
CN114567034A
CN114567034A CN202210190344.8A CN202210190344A CN114567034A CN 114567034 A CN114567034 A CN 114567034A CN 202210190344 A CN202210190344 A CN 202210190344A CN 114567034 A CN114567034 A CN 114567034A
Authority
CN
China
Prior art keywords
battery
power
module
voltage
state
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
CN202210190344.8A
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.)
Zhangzhou Kehua Electric Technology Co Ltd
Original Assignee
Zhangzhou Kehua Electric 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 Zhangzhou Kehua Electric Technology Co Ltd filed Critical Zhangzhou Kehua Electric Technology Co Ltd
Priority to CN202210190344.8A priority Critical patent/CN114567034A/en
Publication of CN114567034A publication Critical patent/CN114567034A/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
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0068Battery or charger load switching, e.g. concurrent charging and load supply
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • 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/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • 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
    • 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
    • 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/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • 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/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • H02J7/00716Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current in response to integrated charge or discharge current
    • 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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/20Charging or discharging characterised by the power electronics converter
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The invention provides a control method, a control device, a control terminal and a storage medium of a battery charge-discharge module, wherein the method comprises the following steps: when the battery charging and discharging module charges the battery module, acquiring the voltage of a battery port; determining whether the power conversion device is operating in a first state or a second state based on the voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is the power which is required by the power conversion equipment to supply power to the load and is supplemented to the load; if the power conversion equipment operates in the first state, the battery charging and discharging module is kept to charge the battery module, and the charging power is adjusted; and if the power conversion equipment operates in the second state, switching the battery charge-discharge module to supply power to the power conversion equipment. The invention subdivides the working state of the power conversion equipment when power is needed to be supplemented, and can avoid the situation that the battery charging and discharging module is switched back and forth among a plurality of working modes.

Description

Control method and device of battery charge-discharge module, terminal and storage medium
Technical Field
The invention relates to the technical field of circuit control, in particular to a control method, a control device, a control terminal and a storage medium for a battery charge-discharge module.
Background
At present, in order to improve the matching between a battery cabinet and a Power conversion device such as an Uninterruptible Power Supply (UPS), a bidirectional DC/DC module is usually added between the battery cabinet and the UPS, and when the bidirectional DC/DC module works, a working mode is switched according to a working condition of the UPS to control charging or discharging of a battery, so as to maintain the stability of Power consumption of a load.
Therefore, if the bidirectional DC/DC module cannot accurately determine the operating condition of the UPS, so that the switched operating mode does not correspond to the operating condition of the UPS, the bidirectional DC/DC module will be continuously switched between a plurality of operating modes, resulting in a reduction in the operating performance of the battery cabinet and the UPS.
Disclosure of Invention
The embodiment of the invention provides a control method, a control device, a control terminal and a storage medium of a battery charge-discharge module, and aims to solve the problem that the working mode of a DC/DC module does not correspond to the working condition of a power conversion device.
In a first aspect, the present invention provides a method for controlling a battery charge-discharge module, including:
when the battery charging and discharging module charges the battery module, acquiring the voltage of a battery port;
determining whether the power conversion device is operating in a first state or a second state based on the voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is the power which is required by the power conversion equipment to supply power to the load and is supplemented to the load;
if the power conversion equipment operates in the first state, the battery charging and discharging module is kept to charge the battery module, and the charging power is adjusted to meet the corresponding power supplement requirement;
and if the power conversion equipment operates in the second state, switching the battery charge-discharge module to supply power to the power conversion equipment so as to meet the corresponding power supplement requirement.
In one possible implementation, determining whether the power conversion device is operating in the first state or the second state based on the voltage of the battery port includes:
if the voltage of the battery port is lower than the voltage stabilization value and the fluctuation degree of the voltage of the battery port is within a preset range, judging that the working state of the power conversion equipment is a first state;
and if the voltage of the battery port is lower than the voltage stabilization value and the fluctuation degree of the voltage of the battery port is not in the preset range, judging that the working state of the power conversion equipment is in a second state.
In one possible implementation manner, the maintaining the battery charge-discharge module to charge the battery module and adjusting the charging power includes:
acquiring output voltage and output current of the battery module;
calculating a difference value between the voltage stabilization value and the voltage of the battery port to obtain a first difference value, limiting the first difference value to [0, + ∞ ], and inputting the limited first difference value into a first PI controller to obtain a first control value;
calculating a difference value between the battery voltage stabilization value and the output voltage of the battery module to obtain a second difference value, inputting the second difference value into a second PI controller, and carrying out amplitude limiting on the output value of the second PI controller based on the battery current limiting value to obtain a second control value;
subtracting the first control value and the output current of the battery module from the second control value respectively to obtain a third difference value;
inputting the third difference value into a third PI controller to obtain a third control value;
and adjusting the duty ratio of the battery charge-discharge module based on the third control value to adjust the charging power.
In one possible implementation manner, switching the battery charge-discharge module to supply power to the power conversion device includes:
acquiring the output current of the battery module;
calculating a difference value between the voltage stabilization value and the voltage of the battery port to obtain a first difference value, and inputting the first difference value into a first PI controller to obtain a first control value;
calculating a difference value between the first control value and the output current of the battery module to obtain a fourth difference value, and inputting the fourth difference value into a fourth PI controller to obtain a fourth control value;
and adjusting the duty ratio of the battery charge-discharge module based on the fourth control value so that the battery charge-discharge module supplies power to the power conversion equipment.
In one possible implementation, before determining whether the power conversion device operates in the first state or the second state based on the voltage of the battery port, the control method further includes:
and if the voltage of the battery port is lower than the voltage stabilization value, controlling the battery charging and discharging module not to charge the battery module.
In a second aspect, the present invention provides a control device for a battery charge-discharge module, including:
the battery charging and discharging module is used for charging the battery module;
a determining module for determining whether the power conversion apparatus operates in a first state or a second state based on a voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is the power which is required by the power conversion equipment to supply power to the load and is supplemented to the load;
the control module is used for keeping the battery charging and discharging module to charge the battery module and adjusting charging power to meet the corresponding power supplement requirement when the power conversion equipment operates in the first state; and when the power conversion equipment operates in the second state, the battery charge-discharge module is switched to supply power to the power conversion equipment so as to meet the corresponding power supplement requirement.
In a third aspect, the present invention provides a terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method as shown in the first aspect or any possible implementation manner of the first aspect when executing the computer program.
In a fourth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of the method as set forth in the first aspect or any one of the possible implementations of the first aspect.
The invention provides a control method, a control device, a control terminal and a storage medium of a battery charge-discharge module, wherein the method comprises the following steps: when the battery charging and discharging module charges the battery module, acquiring the voltage of a battery port; determining whether the power conversion device is operating in a first state or a second state based on the voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is the power which is required by the power conversion equipment to supply power to the load and is supplemented to the load; if the power conversion equipment operates in the first state, the battery charging and discharging module is kept to charge the battery module, and the charging power is adjusted to meet the corresponding power supplement requirement; and if the power conversion equipment operates in the second state, switching the battery charge-discharge module to supply power to the power conversion equipment so as to meet the corresponding power supplement requirement. The working states of the power conversion equipment when power supplement is needed are divided into two types, for the first state with lower power supplement requirement, the charging of the battery module is not stopped, and the power supplement is realized only by adjusting the charging power; for a second state of higher power supplement demand, charging of the battery module is stopped and the battery is used to supply power to the power conversion device to supplement more power. The invention subdivides the working state of the power conversion equipment when power is needed to be supplemented, and enables the battery charging and discharging module to work in different working modes under different working states, thereby avoiding the situation that the battery charging and discharging module is switched back and forth among a plurality of working modes.
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 an application scenario diagram of a control method of a battery charge-discharge module according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an implementation of a method for controlling a battery charge/discharge module according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a control device of a battery charge-discharge module according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal according to an embodiment of the present 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 make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
Fig. 1 is an application scenario diagram of a control method of a battery charge-discharge module according to an embodiment of the present invention. As shown in fig. 1, the power conversion device may be a UPS having at least three ports, wherein the battery port is connected to the battery charging and discharging module, the input terminal is used for connecting to an external power source such as a utility power, and the output terminal is used for connecting to a load. The operating logic of the power conversion device is: when the external power supply can stably supply power, electric energy provided by the external power supply enters the power conversion equipment from the input end, then the power conversion equipment provides part of electric energy to a load through the output end, and the rest electric energy is provided to the battery module through the battery port to charge the battery module; when the external power source has a problem, the power conversion device discharges the battery module, receives the electric energy provided by the battery module through the battery port, and provides the electric energy to the load through the output end.
Referring to fig. 2, it shows an implementation flowchart of a control method of a battery charge-discharge module according to an embodiment of the present invention, which is detailed as follows:
in step 201, when the battery charging/discharging module charges the battery module, the voltage of the battery port is obtained.
In this embodiment, the battery charge-discharge module may generally communicate with the power conversion device, directly obtain the operating state of the power conversion device, or directly adjust the operating mode under the control of the power conversion device. If the communication between the power conversion device and the battery charge-discharge module fails, the battery charge-discharge module can directly detect the voltage of the battery port to judge the working state of the power conversion device. The voltage of the battery port can reflect the amount of power provided by the power conversion device for the battery module, and if the voltage of the battery port is lower than a preset voltage stabilization value, it indicates that the power provided by the power conversion device for the battery module is too low, and the battery module may possibly work in an abnormal state, and the working state of the battery charge-discharge module needs to be adjusted accordingly.
Step 202, determining whether the power conversion device operates in a first state or a second state based on the voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is the power which is required by the power conversion equipment to supply power to the load and is supplemented to the load.
In this embodiment, when the voltage at the battery port is reduced, the power actually supplied to the load may be lower than the power required by the load, and there is a power supplement demand of the load, which is the power required by the load — the power actually obtained by the load. In order to maintain a stable power supply to the load (i.e., to maintain the voltage at the battery port stable), the load needs to be powered to meet the power supplement requirement of the load. The specific degree of power provided by the power conversion device to the battery module may be determined based on the voltage at the battery port, thereby determining the range of power that needs to be supplemented to the load. If the power supplement requirement is low, the battery charging and discharging module can be continuously kept to charge the battery module, and if the power supplement requirement is high, the battery charging and discharging module needs to be stopped to charge the battery module, so that the battery module supplies power to the power conversion equipment, and the power supplement requirement can be met.
In step 203, if the power conversion device operates in the first state, the battery charging/discharging module is kept to charge the battery module, and the charging power is adjusted to meet the corresponding power supplement requirement.
In this embodiment, the first state may be caused by the limited power of the external power source, that is, the power supplied to the power conversion device by the external power source is reduced, or the power demand of the load is increased, at this time, because the power conversion device needs to satisfy the electric energy demand of the load first, the power supplied to the battery module for charging is reduced, but the battery can still be charged, and the power supplement demand can be satisfied only by adjusting the charging power.
At this time, if the battery charging and discharging module is switched to the battery power supply mode, the voltage at the battery port can be recovered to normal immediately because the external power supply can still provide more power, and the battery charging and discharging module needs to be switched back to the battery charging mode, so that the phenomenon that the battery is continuously switched between the charging and discharging modes occurs
In step 204, if the power conversion device is in the second state, the battery charge-discharge module is switched to supply power to the power conversion device so as to meet the corresponding power supplement requirement.
In this embodiment, the second state may be an external power supply abnormality or a battery test, where the electric power provided to the power conversion device when the external power supply abnormality occurs is very small or even 0, and the battery test requires discharging the battery module to test the function of the battery module, so that the power supply from the external power supply needs to be suspended. At this time, the power conversion device is difficult to use externally obtained electric energy to supply power to the load, and the battery charge-discharge module needs to be switched to supply power to the power conversion device so as to supply the electric energy in the battery module to the load, thereby meeting the power supplement requirement.
In some embodiments, determining whether the power conversion device is operating in the first state or the second state based on the voltage of the battery port comprises:
if the voltage of the battery port is lower than the voltage stabilization value and the fluctuation degree of the voltage of the battery port is within a preset range, judging that the working state of the power conversion equipment is a first state;
and if the voltage of the battery port is lower than the voltage stabilization value and the fluctuation degree of the voltage of the battery port is not in the preset range, judging that the working state of the power conversion equipment is in a second state.
In the present embodiment, if the fluctuation degree of the voltage of the battery port is within the preset range, which indicates that the voltage is stable, and only the power that can be used to charge the battery module is reduced, but the power supply to the load is satisfied, it is determined as the first state. And if the fluctuation degree of the voltage of the battery port exceeds a preset range, which indicates that the voltage is greatly reduced, the power provided by the external power supply is greatly reduced, and the requirement of supplying power to the load is difficult to meet, determining that the battery port is in the second state.
In some embodiments, the keeping the battery charging and discharging module charge the battery module and adjusting the charging power includes:
acquiring output voltage and output current of the battery module;
calculating the difference between the regulated voltage value and the voltage of the battery port to obtain a first difference, limiting the first difference to [0, + ∞ ], and inputting the limited first difference into a first PI controller to obtain a first control value;
calculating a difference value between the battery voltage stabilization value and the output voltage of the battery module to obtain a second difference value, inputting the second difference value into a second PI controller, and carrying out amplitude limiting on the output value of the second PI controller based on the battery current limiting value to obtain a second control value;
subtracting the first control value and the output current of the battery module from the second control value respectively to obtain a third difference value;
inputting the third difference value into a third PI controller to obtain a third control value;
and adjusting the duty ratio of the battery charge-discharge module based on the third control value to adjust the charging power.
In this embodiment, the first difference is limited to a range greater than zero, so that the first control value is effective only when the voltage at the battery port is lower than the regulated voltage value, so that the voltage at the battery port is increased to the regulated voltage value, and when the voltage at the battery port is higher than the regulated voltage value, the voltage at the battery port is not affected by the first difference being zero. And performing amplitude limiting on the output value of the second PI controller based on the battery current limit value to limit the output value of the second PI controller to be not more than the battery current limit value, so that when the battery charging and discharging module charges the battery charging module, the charging voltage is controlled to be a battery voltage stabilizing value when the charging current does not reach the battery current limit value, and the charging current is controlled to be the battery current limit value when the charging current reaches the battery current limit value.
In some embodiments, switching the battery charge-discharge module to supply power to the power conversion device includes:
acquiring the output current of the battery module;
calculating a difference value between the voltage stabilization value and the voltage of the battery port to obtain a first difference value, and inputting the first difference value into a first PI controller to obtain a first control value;
calculating a difference value between the first control value and the output current of the battery module to obtain a fourth difference value, and inputting the fourth difference value into a fourth PI controller to obtain a fourth control value;
and adjusting the duty ratio of the battery charge-discharge module based on the fourth control value so that the battery charge-discharge module supplies power to the power conversion equipment.
In the present embodiment, the first control value is used to control the voltage of the battery port at a regulated value. When the battery charge-discharge module supplies power to the power conversion equipment, only the power supply voltage needs to be regulated, and the voltage for charging the battery does not need to be controlled.
In some embodiments, prior to determining whether the power conversion device is operating in the first state or the second state based on the voltage of the battery port, the control method further comprises:
and if the voltage of the battery port is lower than the voltage stabilization value, controlling the battery charging and discharging module not to charge the battery module.
In this embodiment, when it is detected that the voltage at the battery port is lower than the regulated voltage value, whether the battery charging/discharging module operates in the mode for charging the battery module or the mode for supplying power to the power conversion device at this time, it is required to firstly prohibit the battery charging/discharging module from operating in the mode for charging the battery module. The voltage of the battery port is lower than the voltage stabilization value, which indicates that an external power supply is abnormal, the electric energy obtained by the power conversion equipment is reduced, the load is likely to be powered down, and in order to ensure that the load is not powered down, the battery module needs to be stopped from being charged first. In addition, when the voltage of the battery port is detected to be lower than the regulated voltage value, the charging of the battery module is stopped first, and the reason for the voltage drop of the battery port can be judged more quickly: if the voltage of the battery port stops decreasing after the battery module is stopped being charged, the external power supply can still supply power for the power conversion equipment, and only the power provided by the external power supply cannot simultaneously meet the requirements of supplying power for the load and charging for the battery module, so that the power requirement of the battery module is higher than that of the power conversion module, and at the moment, the power conversion module is judged to be in a first state, and corresponding adjustment is carried out; and if the voltage of the battery port is still reduced after the battery module is stopped being charged, the external power supply is abnormal, the power conversion module is judged to be in the second state, and the battery module is discharged to supply power to the load.
The control method of the battery charge-discharge module provided by the embodiment of the invention comprises the following steps: when the battery charging and discharging module charges the battery module, acquiring the voltage of a battery port; determining whether the power conversion device is operating in a first state or a second state based on the voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is the power which is required by the power conversion equipment to supply power to the load and is supplemented to the load; if the power conversion equipment operates in the first state, the battery charging and discharging module is kept to charge the battery module, and the charging power is adjusted to meet the corresponding power supplement requirement; and if the power conversion equipment operates in the second state, switching the battery charge-discharge module to supply power to the power conversion equipment so as to meet the corresponding power supplement requirement. The working states of the power conversion equipment when power supplement is needed are divided into two types, for the first state with lower power supplement requirement, the charging of the battery module is not stopped, and the power supplement is realized only by adjusting the charging power; for a second state of higher power supplement demand, charging of the battery module is stopped and the battery is used to supply power to the power conversion device to supplement more power. The invention subdivides the working state of the power conversion equipment when power is needed to be supplemented, and enables the battery charging and discharging module to work in different working modes under different working states, thereby avoiding the situation that the battery charging and discharging module is switched back and forth among a plurality of working modes.
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.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 3 is a schematic structural diagram of a control device of a battery charge-discharge module according to an embodiment of the present invention, and for convenience of description, only the portions related to the embodiment of the present invention are shown, and detailed descriptions are as follows:
as shown in fig. 3, the control device 3 of the battery charge-discharge module includes:
the obtaining module 31 is configured to obtain a voltage of a battery port when the battery charging and discharging module charges the battery module;
a determining module 32 for determining whether the power conversion apparatus operates in the first state or the second state based on the voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is power which is required by the power conversion equipment to supplement power to the load and is supplied by the load;
the control module 33 is configured to keep the battery charging and discharging module charging the battery module and adjust the charging power to meet the corresponding power supplement requirement when the power conversion device operates in the first state; and when the power conversion equipment operates in the second state, the battery charge-discharge module is switched to supply power to the power conversion equipment so as to meet the corresponding power supplement requirement.
In some embodiments, the determining module 32 is specifically configured to:
when the voltage of the battery port is lower than the voltage stabilization value and the fluctuation degree of the voltage of the battery port is within a preset range, judging that the working state of the power conversion equipment is a first state;
and when the voltage of the battery port is lower than the regulated voltage value and the fluctuation degree of the voltage of the battery port is not in a preset range, judging that the working state of the power conversion equipment is in a second state.
In some embodiments, the control module 33 is specifically configured to:
acquiring output voltage and output current of the battery module;
calculating the difference between the regulated voltage value and the voltage of the battery port to obtain a first difference, limiting the first difference to [0, + ∞ ], and inputting the limited first difference into a first PI controller to obtain a first control value;
calculating a difference value between the battery voltage stabilization value and the output voltage of the battery module to obtain a second difference value, inputting the second difference value into a second PI controller, and carrying out amplitude limiting on the output value of the second PI controller based on the battery current limiting value to obtain a second control value;
respectively subtracting the first control value and the output current of the battery module from the second control value to obtain a third difference value;
inputting the third difference value into a third PI controller to obtain a third control value;
and adjusting the duty ratio of the battery charge-discharge module based on the third control value to adjust the charging power.
In some embodiments, the control module 33 is specifically configured to:
acquiring the output current of the battery module;
calculating a difference value between the voltage stabilization value and the voltage of the battery port to obtain a first difference value, and inputting the first difference value into a first PI controller to obtain a first control value;
calculating a difference value between the first control value and the output current of the battery module to obtain a fourth difference value, and inputting the fourth difference value into a fourth PI controller to obtain a fourth control value;
and adjusting the duty ratio of the battery charge-discharge module based on the fourth control value so that the battery charge-discharge module supplies power to the power conversion equipment.
In some embodiments, the control module 33 is further configured to:
before determining whether the power conversion device operates in the first state or the second state based on the voltage of the battery port, if the voltage of the battery port is lower than the regulated voltage value, controlling the battery charging and discharging module not to charge the battery module.
The control device 3 of the battery charge-discharge module provided by the embodiment of the invention comprises: the obtaining module 31 is configured to obtain a voltage at a battery port when the battery charging and discharging module charges the battery module; a determining module 32 for determining whether the power conversion apparatus operates in the first state or the second state based on the voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is the power which is required by the power conversion equipment to supply power to the load and is supplemented to the load; the control module 33 is configured to keep the battery charging and discharging module charging the battery module and adjust the charging power to meet the corresponding power supplement requirement when the power conversion device operates in the first state; and when the power conversion equipment operates in the second state, the battery charge-discharge module is switched to supply power to the power conversion equipment so as to meet the corresponding power supplement requirement. The working states of the power conversion equipment when power supplement is needed are divided into two types, for the first state with lower power supplement requirement, the charging of the battery module is not stopped, and the power supplement is realized only by adjusting the charging power; for a second state of higher power supplement demand, charging of the battery module is stopped and the battery is used to supply power to the power conversion device to supplement more power. The invention subdivides the working state of the power conversion equipment when power is needed to be supplemented, and enables the battery charging and discharging module to work in different working modes under different working states, thereby avoiding the situation that the battery charging and discharging module is switched back and forth among a plurality of working modes.
Fig. 4 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 4, the terminal 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40 implements the steps in the above-described embodiments of the control method of each battery charge-discharge module when executing the computer program 42. Alternatively, the processor 40 implements the functions of the modules/units in the above-described device embodiments when executing the computer program 42.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the terminal 4.
The terminal 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal 4 may include, 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 terminal 4 and does not constitute a limitation of terminal 4, and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal may also include input-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, discrete hardware components, 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 terminal 4, such as a hard disk or a memory of the terminal 4. The memory 41 may also be an external storage device of the terminal 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the terminal 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal 4. The memory 41 is used for storing the computer program and other programs and data required by the terminal. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned 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 system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
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 technical solution. 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.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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.
The 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 invention 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 above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the method for controlling the battery charge and discharge module may be implemented. 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 the 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 invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will 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 invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. The control method of the battery charge-discharge module is characterized in that the battery charge-discharge module is connected between a battery port of a power conversion device and a battery module, and the power conversion device is also used for supplying power to a load;
the control method comprises the following steps:
when the battery charging and discharging module charges the battery module, acquiring the voltage of the battery port;
determining whether the power conversion device is operating in a first state or a second state based on a voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is power which is required by the power conversion equipment to supplement power for the load and is supplied to the load;
if the power conversion equipment operates in the first state, keeping the battery charging and discharging module to charge the battery module, and adjusting charging power to meet the corresponding power supplement requirement;
and if the power conversion equipment operates in the second state, switching the battery charge-discharge module to supply power to the power conversion equipment so as to meet the corresponding power supplement requirement.
2. The method for controlling the battery charge-discharge module according to claim 1, wherein the determining whether the power conversion device operates in the first state or the second state based on the voltage of the battery port comprises:
if the voltage of the battery port is lower than a voltage stabilization value and the fluctuation degree of the voltage of the battery port is within a preset range, judging that the working state of the power conversion equipment is a first state;
and if the voltage of the battery port is lower than the voltage stabilization value and the fluctuation degree of the voltage of the battery port is not in a preset range, judging that the working state of the power conversion equipment is a second state.
3. The method for controlling a battery charge-discharge module according to claim 1, wherein the step of maintaining the charge of the battery charge-discharge module to the battery module and adjusting the charging power comprises:
acquiring the output voltage and the output current of the battery module;
calculating a difference value between a regulated voltage value and the voltage of the battery port to obtain a first difference value, limiting the amplitude of the first difference value to [0, + ∞ ], and inputting the limited first difference value into a first PI controller to obtain a first control value;
calculating a difference value between the battery voltage stabilization value and the output voltage of the battery module to obtain a second difference value, inputting the second difference value into a second PI controller, and carrying out amplitude limiting on the output value of the second PI controller based on the battery current limiting value to obtain a second control value;
subtracting the first control value and the output current of the battery module from the second control value respectively to obtain a third difference value;
inputting the third difference value into a third PI controller to obtain a third control value;
and adjusting the duty ratio of the battery charge-discharge module based on the third control value to adjust the charging power.
4. The method for controlling the battery charge-discharge module according to claim 1, wherein the switching the battery charge-discharge module to supply power to the power conversion device includes:
acquiring the output current of the battery module;
calculating a difference value between the voltage-stabilized value and the voltage of the battery port to obtain a first difference value, and inputting the first difference value into a first PI controller to obtain a first control value;
calculating a difference value between the first control value and the output current of the battery module to obtain a fourth difference value, and inputting the fourth difference value into a fourth PI controller to obtain a fourth control value;
and adjusting the duty ratio of the battery charge-discharge module based on the fourth control value so that the battery charge-discharge module supplies power to the power conversion equipment.
5. The control method of the battery charge-discharge module according to any one of claims 1 to 4, wherein before the determining whether the power conversion device operates in the first state or the second state based on the voltage of the battery port, the control method further comprises:
and if the voltage of the battery port is lower than a voltage stabilization value, controlling the battery charging and discharging module not to charge the battery module.
6. The control device of the battery charge-discharge module is characterized in that the battery charge-discharge module is connected between a battery connecting port of power conversion equipment and a battery module, and the output end of the power conversion equipment is used for supplying power to a load;
the control device includes:
the acquisition module is used for acquiring the voltage of the battery port when the battery charging and discharging module charges the battery module;
a determination module to determine whether the power conversion device is operating in a first state or a second state based on a voltage of the battery port; the power supplement requirement corresponding to the first state is lower than the power supplement requirement corresponding to the second state, and the power supplement requirement is the power which is required by the power conversion equipment to supplement the load when the power supply of the load is met;
the control module is used for keeping the battery charging and discharging module to charge the battery module and adjusting charging power to meet the corresponding power supplement requirement when the power conversion equipment operates in the first state; and when the power conversion equipment operates in the second state, switching the battery charge-discharge module to supply power to the power conversion equipment so as to meet the corresponding power supplement requirement.
7. The control device for the battery charge-discharge module according to claim 6, wherein the determining module is specifically configured to:
when the voltage of the battery port is lower than a voltage stabilization value and the fluctuation degree of the voltage of the battery port is within a preset range, judging that the working state of the power conversion equipment is a first state;
and when the voltage of the battery port is lower than a voltage stabilization value and the fluctuation degree of the voltage of the battery port is not in a preset range, judging that the working state of the power conversion equipment is a second state.
8. The control device of the battery charge-discharge module according to claim 6 or 7, wherein the control module is further configured to:
before determining whether the power conversion device operates in the first state or the second state based on the voltage of the battery port, if the voltage of the battery port is lower than a regulated voltage value, controlling the battery charging and discharging module not to charge the battery module.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for controlling a battery charge-discharge module according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the method for controlling a battery charge-discharge module according to any one of claims 1 to 5.
CN202210190344.8A 2022-02-28 2022-02-28 Control method and device of battery charge-discharge module, terminal and storage medium Pending CN114567034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210190344.8A CN114567034A (en) 2022-02-28 2022-02-28 Control method and device of battery charge-discharge module, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210190344.8A CN114567034A (en) 2022-02-28 2022-02-28 Control method and device of battery charge-discharge module, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114567034A true CN114567034A (en) 2022-05-31

Family

ID=81715243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210190344.8A Pending CN114567034A (en) 2022-02-28 2022-02-28 Control method and device of battery charge-discharge module, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114567034A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114977407A (en) * 2022-06-06 2022-08-30 江苏嘉擎信息技术有限公司 MCU-based dual-battery charging and discharging system, method, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114977407A (en) * 2022-06-06 2022-08-30 江苏嘉擎信息技术有限公司 MCU-based dual-battery charging and discharging system, method, storage medium and electronic equipment
CN114977407B (en) * 2022-06-06 2023-12-01 江苏嘉擎信息技术有限公司 Dual-battery charge and discharge system and method based on MCU, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN110474420B (en) Control method, control device and control terminal of multi-system uninterruptible power supply
CN110364775B (en) Battery charging control method, battery charging control device and terminal
CN110994689A (en) Method and system for switching grid connection to off-grid and energy storage converter
CN111049172B (en) Method and system for switching from off-grid to grid-connected and energy storage converter
CN111697556A (en) Operation control method of electrical equipment and terminal equipment
CN113162112A (en) Bus voltage control method of photovoltaic grid-connected and off-grid system and photovoltaic grid-connected and off-grid system
CN113472037A (en) Battery pack balancing method, battery pack balancing device and battery management system
CN114567034A (en) Control method and device of battery charge-discharge module, terminal and storage medium
CN109687485B (en) Power distribution method and system of energy storage system and terminal equipment
CN114142550A (en) Control method and device of energy storage device and energy storage device
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
CN114640258A (en) Compensation type alternating current voltage stabilizer control method, control device and control terminal
US20220181890A1 (en) Charging system and method
CN115668686A (en) Power supply device, method and system
CN106059013B (en) Method for improving battery endurance and electronic equipment
CN112039060B (en) Control method and device applied to power supply circuit, terminal and storage medium
CN112018872B (en) UPS control method and UPS
CN109962634B (en) Inverter control method, inverter control device, and electronic apparatus
CN113978256B (en) Control method, device and equipment for double DCDC of electric automobile and storage medium
CN113422404B (en) Power supply control method and power supply
CN111725854B (en) Energy storage system and control method and device thereof
CN109687489B (en) Control method and system for output power of energy storage device in microgrid and terminal equipment
CN112789779B (en) Charging current adjusting method, device, terminal and computer readable storage medium

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