CN115800431A - Method and system for controlling battery through IP protocol - Google Patents
Method and system for controlling battery through IP protocol Download PDFInfo
- Publication number
- CN115800431A CN115800431A CN202211375901.XA CN202211375901A CN115800431A CN 115800431 A CN115800431 A CN 115800431A CN 202211375901 A CN202211375901 A CN 202211375901A CN 115800431 A CN115800431 A CN 115800431A
- Authority
- CN
- China
- Prior art keywords
- battery
- battery pack
- batteries
- target
- priority
- 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
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The application relates to a method and a system for controlling a battery through an IP protocol, which comprises the following steps: acquiring serial number data corresponding to all batteries in a battery pack, wherein each battery only corresponds to one IP; determining the connection relation among the batteries in the battery pack, wherein the connection relation comprises three conditions of parallel connection, series connection and series-parallel connection combination; acquiring required electric energy data corresponding to the electric appliances corresponding to the battery pack; determining a target battery pack according to the required electric energy data, wherein the target battery pack comprises a plurality of batteries; calling target power supply electric energy data which can be output by a target battery pack; and if the target power supply electric energy data is larger than the required electric energy data, controlling the target battery pack to supply power to the electric appliance. This application has the effect that can realize in time chooseing for use the suitable group battery of battery package.
Description
Technical Field
The present application relates to the field of battery packs, and in particular, to a method and a system for controlling a battery via an IP protocol.
Background
The battery pack is generally formed by a plurality of battery packs, and each battery of the battery pack has a corresponding IP, so that the corresponding battery can be directly controlled through the IP.
The internal battery pack of the battery pack comprises a plurality of batteries which are electrically connected in different forms, the conduction of the plurality of batteries can be realized by connecting the batteries in series or in parallel, whether the batteries are connected is realized by controlling a control switch corresponding to the batteries, but the application scenes of the battery pack are different, so that the battery packs in the battery pack need to be selected are different, the situation that the battery pack is not selected in time can exist, and the control method for the batteries through an IP protocol is provided.
Disclosure of Invention
In order to realize timely selection of a battery pack with a proper battery pack, the application provides a method and a system for controlling a battery through an IP protocol.
In a first aspect, the present application provides a method for controlling a battery through an IP protocol, which adopts the following technical solution: a control method for a battery through an IP protocol comprises the following steps:
acquiring serial number data corresponding to all batteries in a battery pack, wherein each battery only corresponds to one IP;
determining the connection relation among the batteries in the battery pack, wherein the connection relation comprises three conditions of parallel connection, series connection and series-parallel connection combination;
acquiring required electric energy data corresponding to the electric appliances corresponding to the battery pack;
determining a target battery pack according to the required electric energy data, wherein the target battery pack comprises a plurality of batteries;
calling target power supply electric energy data which can be output by a target battery pack;
and if the target power supply electric energy data is larger than the required electric energy data, controlling the target battery pack to supply power to the electric appliance.
By adopting the technical scheme, when the battery pack supplies power to the electric appliance, the battery pack comprises a plurality of batteries, the system can acquire the serial number data corresponding to each battery and can determine the connection relation between the conducted batteries, and the batteries in the batteries can be in parallel connection, series connection or series-parallel connection; the system can acquire required electric energy data corresponding to the electric appliance, so that the minimum electric quantity required for maintaining the normal use of the electric appliance can be known, the system can select a plurality of batteries as output batteries and is defined as a target battery pack, the system can determine target power supply electric energy data which can be output by the target battery pack, if the target power supply electric energy data is larger than the required electric energy data, the electric quantity output by the target battery pack can be used by the electric appliance, and at the moment, the system controls the target battery pack to supply power to the electric appliance; if the target power supply electric energy data is not larger than the required electric energy data, the system needs to reselect more batteries through the number data, and the target power supply electric energy data is continuously compared with the required electric energy data, so that the electric energy data which can be provided by the target battery pack can continuously maintain the use of the electric appliance, and the battery pack suitable for the battery pack can be selected in time.
Optionally, if the connection relationship of the batteries in the battery pack is that the batteries are all connected in parallel, the following steps are performed:
acquiring voltage data of each battery in the battery pack;
acquiring priority data corresponding to each battery in the battery pack, wherein the priority data are sorted from large to small according to the voltage data of each battery;
and controlling the battery with the first priority data to supply power to the electric appliance.
By adopting the technical scheme, when all batteries of the battery pack are connected in parallel, if the voltage difference of the batteries in the selected target battery pack is large, potential safety hazards may exist in the use process of the battery pack, therefore, the system firstly acquires the voltage data of the batteries corresponding to each serial number data of the battery pack, and carries out priority ranking on all the batteries according to the voltage data of each battery from large to small, so that the system can determine the priority data corresponding to each battery in the battery pack, and selects to supply power to an electric appliance according to the priority of the batteries when the target battery pack is selected; through the process, the potential safety hazard in the use process of the battery pack can be reduced.
Optionally, in the process of supplying power to the electrical appliance by the battery with the first control priority data, the following steps are further performed:
defining a battery being powered as a used battery, wherein the used battery may be one or more batteries;
acquiring a voltage difference value of a used battery and a battery of the next priority, wherein the voltage difference value is changed in real time;
a difference threshold value in parallel connection is called;
if the voltage difference is smaller than the difference threshold, controlling the battery corresponding to the next priority to be connected with the used battery in parallel to supply power to the electric appliance.
By adopting the technical scheme, the voltage difference value of the used battery and the next priority level in the battery pack is obtained, the voltage difference value is slowly smaller because the used battery is always supplied with power, and when the voltage difference value is smaller than the difference threshold value, the output voltage of the used battery is similar to the voltage of the battery with the next priority level, and at the moment, the battery with the next priority level and the used battery can be connected in parallel to be connected into the power supply circuit, so that the battery with the next priority level can be connected into the power supply circuit in time under the condition of ensuring safety.
Optionally, if the connection relationship of the battery packs in the battery pack is that all the battery packs are connected in series, the following steps are performed:
acquiring output electric energy data of each battery pack, wherein the battery pack comprises a plurality of battery packs connected in series, and the battery packs comprise a plurality of batteries connected in parallel;
determining the discharge priority of all batteries in the battery pack, wherein the discharge priority is sorted from large to small according to the voltage data of each battery in the battery pack;
determining the number of batteries of a power supply circuit of a continuous electric appliance of the battery pack;
and controlling the battery pack in the battery pack to supply power to the electric appliance.
By adopting the technical scheme, the battery packs are in series connection, but the batteries in the battery packs are in parallel connection, so after the battery packs are selected, the system determines the number of the batteries to be selected according to the discharge priority of the batteries in the battery packs, if one battery is selected, the system can be directly connected into a power supply circuit, if a plurality of batteries are required to be connected, the potential safety hazard problem of parallel connection use of the plurality of batteries needs to be considered, and the voltage difference between the selected batteries can be reduced as much as possible.
Optionally, in the process of determining the number of batteries in the power supply circuit of the electrical appliance continuously used by the battery pack, the method includes the following steps: determining a voltage difference value of voltage data corresponding to a first priority battery and voltage data corresponding to a second priority battery;
calling a target difference value in the battery pack;
and if the voltage difference value is greater than the target difference value, controlling the battery corresponding to the first priority to be connected into the power supply circuit of the electric appliance, otherwise, controlling the battery corresponding to the first priority to be connected in parallel with the battery corresponding to the second priority and to be connected into the power supply circuit of the electric appliance.
By adopting the technical scheme, when the voltage difference value between the first priority battery and the second priority battery in the battery pack is smaller than the target difference value, the voltage data corresponding to the first priority battery is not much different from the voltage data corresponding to the second priority battery, the first priority battery and the second priority battery can be connected in parallel, then the electric appliance is powered on, and the potential safety hazard of the battery pack in use can be further reduced through the judgment process.
Optionally, in the process of controlling the battery corresponding to the first priority and the battery corresponding to the second priority to be connected to the power supply circuit of the electrical appliance, the following steps are further performed:
defining the battery corresponding to the first priority and the battery corresponding to the second priority as output batteries;
acquiring real-time output voltage of an output battery in real time;
calling voltage data corresponding to the battery with the next priority;
acquiring a real-time difference value of the real-time output voltage and voltage data corresponding to a battery with the next priority;
and comparing the real-time difference value with the target difference value, and if the real-time difference value is smaller than the target difference value, connecting the battery with the next priority level in parallel with the output battery and connecting the battery with an electric appliance power supply circuit.
By adopting the technical scheme, when the battery pack continuously supplies power, other batteries in the battery pack can be connected into the power supply circuit in time by comparing the real-time difference value of the real-time output voltage and the voltage data corresponding to the battery with the next priority with the target difference value; thereby slowing down the power consumption of all the batteries in use in the battery pack.
Optionally, in the process of controlling the target battery pack to supply power to the electrical appliance, the following steps are also performed;
calling voltage critical data corresponding to the battery, wherein the voltage critical data is the voltage required to be charged by the battery;
and comparing the voltage data of all the batteries in the battery pack with the voltage critical data, if the voltage data is smaller than the voltage critical data, closing the corresponding batteries, and controlling the charging of the batteries.
Through adopting above-mentioned technical scheme, in the use of battery package, the system is through the real-time voltage that every serial number data of monitoring correspond to carry out the comparison with the critical data of voltage with the real-time voltage of every battery, thereby can in time close the battery when battery power is not enough and choose other batteries in the battery package for use to supply power, can charge to the battery that the power is not enough simultaneously when being connected with the power.
In a second aspect, the present application provides a control system for a battery through an IP protocol, which adopts the following technical solutions: a control system for a battery over an IP protocol, comprising:
the serial number acquisition module is used for acquiring serial number data corresponding to all batteries in the battery pack, wherein each battery only corresponds to one IP; the connection determining module is used for determining the connection relation among the batteries in the battery pack, wherein the connection relation comprises three conditions of parallel connection, series connection and series-parallel connection combination;
the required electric energy acquisition module is used for acquiring required electric energy data corresponding to the electric appliances corresponding to the battery pack;
the target battery pack determining module is used for determining a target battery pack according to the required electric energy data, wherein the target battery pack comprises a plurality of batteries;
the calling module is used for calling target power supply electric energy data which can be output by the target battery pack;
and the control module is used for controlling the target battery pack to supply power to the electric appliance if the target power supply electric energy data is larger than the required electric energy data.
By adopting the technical scheme, when the battery pack supplies power to the electric appliance, the battery pack comprises a plurality of batteries, the serial number acquisition module can acquire serial number data corresponding to each battery, and the connection determination module can determine the connection relation between the conducted batteries, wherein the batteries in the batteries can be in parallel connection, series connection or series-parallel connection; the required electric energy acquisition module can acquire required electric energy data corresponding to the electric appliance, so that the minimum electric quantity required for maintaining the normal use of the electric appliance can be known, the target battery pack determining module can select a plurality of batteries as output batteries and is defined as a target battery pack, the calling module can determine target power supply electric energy data which can be output by the target battery pack, if the target power supply electric energy data are larger than the required electric energy data, the electric quantity output by the target battery pack can be provided for the electric appliance, and at the moment, the control module controls the target battery pack to supply power to the electric appliance; if the target power supply electric energy data is not larger than the required electric energy data, the system needs to select more batteries again through the number data, and the target power supply electric energy data is continuously compared with the required electric energy data, so that the electric energy data which can be provided by the target battery pack can continuously maintain the use of the electric appliance, and the battery pack which is suitable for the battery pack can be selected in time.
In a third aspect, the present application provides a computer readable storage medium storing a computer program that can be loaded by a processor and executes a method for controlling a battery according to an IP protocol.
In a fourth aspect, the present application provides an intelligent terminal, including a memory and a processor, where the memory stores a computer program that can be loaded by the processor and execute a method for controlling a battery according to an IP protocol.
In summary, the present application includes at least one of the following beneficial technical effects:
1. when the battery pack supplies power to the electric appliance, the battery pack comprises a plurality of batteries, the system can acquire serial number data corresponding to each battery and can determine the connection relation between the conducted batteries, and it needs to be pointed out that the batteries in the batteries can be in parallel connection, series connection or series-parallel connection; the system can acquire the required electric energy data corresponding to the electric appliance, so that the minimum electric quantity required for maintaining the normal use of the electric appliance can be known, the system can select a plurality of batteries as output batteries and define the output batteries as a target battery pack, the system can determine target power supply electric energy data which can be output by the target battery pack, if the target power supply electric energy data is larger than the required electric energy data, the electric quantity output by the target battery pack can be provided for the electric appliance to use, and at the moment, the system controls the target battery pack to supply power to the electric appliance; if the target power supply electric energy data is not larger than the required electric energy data, the system needs to select more batteries again through the number data, and the target power supply electric energy data is continuously compared with the required electric energy data, so that the electric energy data which can be provided by the target battery pack can continuously maintain the use of the electric appliance, and the battery pack which is suitable for the battery pack can be selected in time.
2. The system selects to supply power to the electrical appliances according to the priority of the battery, and can reduce the potential safety hazard in the use process of the battery pack.
3. Can in time close the battery when battery power is not enough and choose other batteries in the battery package for use to supply power, can charge to the battery that the power is not enough when being connected with the power simultaneously.
Drawings
FIG. 1 is an overall flow chart in an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating the case where the batteries in the battery pack are all connected in parallel according to the embodiment of the present invention;
fig. 3 is a schematic flow chart of a plurality of battery packs connected in series and a plurality of batteries in the battery packs connected in parallel according to the embodiment of the present application;
fig. 4 is a schematic flowchart of controlling the connection of the battery corresponding to the first priority and the battery corresponding to the second priority to the power supply circuit of the electrical appliance in the embodiment of the present application;
fig. 5 is a schematic diagram of module connection in the embodiment of the present application.
Description of the reference numerals:
1. a number obtaining module; 2. a connection determination module; 3. a required electric energy acquisition module; 4. a target battery pack determination module; 5. a calling module; 6. and a control module.
Detailed Description
The present application will be described in further detail below.
In a first aspect, an embodiment of the present application discloses a method for controlling a battery through an IP protocol, with reference to fig. 1, including the following steps:
s1, acquiring serial number data corresponding to all batteries in a battery pack;
each battery pack corresponds to a plurality of batteries, each battery corresponds to only one IP, and the system can correspond to the battery through the number data.
S2, determining the connection relation between batteries in the battery pack;
the connection relationship comprises three conditions of parallel connection, series connection and series-parallel connection combination, wherein the series-parallel connection refers to the series connection between battery packs and the series connection of a plurality of batteries in the battery packs; and the series and parallel connections may be connections between cells or between battery packs.
S3, acquiring required electric energy data corresponding to the electric appliances corresponding to the battery pack;
the power consumption of each battery pack for supplying power is different, the required power consumption is different, the required input voltage of the power consumption in different states is different, for example, the input voltage required by the power consumption in a dormant state is different from the input voltage required by the power consumption in a working state, and different battery combinations can be selected by the system according to the required power data.
S4, determining a target battery pack according to the required electric energy data;
wherein the target battery pack includes a plurality of cells; in the process, the connection relation of the batteries in the battery pack is different, and the selection is also different; the specific situation is as follows.
S41, if the connection relationship of the batteries in the battery pack is all parallel connection, referring to fig. 2, performing the following steps:
s411, acquiring voltage data of each battery in the battery pack;
the output voltage of each battery is different, and when the batteries are connected in parallel, if the voltage difference of the batteries in the selected target battery pack is large, potential safety hazards may exist in the use process of the battery pack, so that the selection of which part of the batteries needs to be judged.
S412, acquiring priority data corresponding to each battery in the battery pack;
the priority data are sorted from large to small according to the voltage data of each battery, and the larger the voltage data of the battery is, the higher the priority is.
S413, controlling the battery with the first priority data to supply power to the electrical appliance, and in the process, defining the battery supplying power as a used battery, where the used battery may be one or more batteries;
s4131, acquiring a voltage difference between the used battery and the battery of the next priority;
it should be noted that, if the used battery is a battery, the voltage difference is the voltage difference between the used battery and the battery of the next priority; if the used battery is a plurality of batteries, the voltage difference value is the voltage difference between the output voltage of the plurality of batteries connected in parallel and the battery with the next priority; and the used battery is always powered, and the electric quantity of the battery is lost, so that the voltage difference value is changed in real time.
S4132, calling a difference threshold value in parallel connection;
wherein the difference threshold is preset.
S4133, if the voltage difference is smaller than the difference threshold, it indicates that the battery of the next priority can be safely connected to the power supply circuit at this time, and no potential safety hazard exists, and the system controls the battery corresponding to the next priority and the used battery to be connected in parallel to supply power to the electrical appliance.
By executing the steps from S41 to S4133, it is possible to reduce the potential safety hazard when the battery is supplied with power in the parallel state, and to connect the battery to the power supply circuit in time.
S42, if the connection relation of the battery packs in the battery pack is all series connections, when it needs to be pointed out here, if the battery pack is a situation where a plurality of batteries are simply connected in series, it only needs to consider whether the output voltage provided by the batteries connected in series meets the use requirement of the electrical appliance, and when a plurality of battery packs are connected in series and a plurality of batteries in the battery packs are connected in parallel, referring to fig. 3, the system needs to perform the following steps:
s421, acquiring output electric energy data of each battery pack;
here, the output power data is the output voltage of the entire battery pack.
S422, determining the discharge priority of all batteries in the battery pack;
the discharging priority is sorted from large to small according to the voltage data of each battery in the battery pack, and the larger the voltage data is, the higher the priority is, the system can preferentially select the battery with the higher priority to supply power.
S423, determining the number of the batteries of the power supply circuit of the continuous electric appliance of the battery pack;
it should be noted here that if a plurality of batteries are simultaneously powered, the power consumption of each battery is reduced compared with that of a single battery, and the following steps are also performed in the process:
s4231, determining a voltage difference value between the voltage data corresponding to the first priority battery and the voltage data corresponding to the second priority battery;
like step S411, the voltage difference between the batteries in the selected target battery pack needs to be considered, and the voltage difference is too large, so that potential safety hazards may exist during the use of the battery pack.
S4232, calling a target difference value in the battery pack;
wherein the target difference is preset.
S4233, if the voltage difference value is larger than the target difference value, it is indicated that the difference between the output voltages of the first priority battery and the second priority battery is large, and the two batteries are not suitable for being connected in parallel at the same time, and at the moment, the system controls the battery corresponding to the first priority to be connected into an electric appliance power supply circuit; otherwise, if the output voltages of the first priority battery and the second priority battery are similar, the battery corresponding to the first priority and the battery corresponding to the second priority are controlled to be connected in parallel and connected to the power supply circuit of the electric appliance.
It should be noted that, when the first priority battery is controlled to supply power separately, since the battery continuously supplies power and the electric quantity of the battery itself is reduced, the voltage difference is reduced, so that the voltage difference needs to be continuously compared with the target difference, and when the voltage difference is not greater than the target difference, the battery corresponding to the first priority is switched to be controlled to be connected in parallel with the battery corresponding to the second priority and to be connected to the power supply circuit of the electrical appliance.
In addition, in the process of controlling the batteries corresponding to the first priority and the batteries corresponding to the second priority to be connected into the power supply circuit of the electrical appliance, referring to fig. 4, the following steps are also performed:
s42331, defining the battery corresponding to the first priority and the battery corresponding to the second priority as output batteries;
s42332, acquiring real-time output voltage of the output battery in real time;
the output voltage is the output voltage when the first priority level is connected with the second priority level in parallel.
S42333, calling voltage data corresponding to the battery with the next priority;
here, the voltage data of the third priority voltage is referred to herein.
S42334, acquiring a real-time difference value of the real-time output voltage and voltage data corresponding to the next priority battery;
and S42335, comparing the real-time difference value with the target difference value, and if the real-time difference value is smaller than the target difference value, indicating that the output voltage of the output battery is close to the output voltage of the next priority, and connecting the battery of the next priority and the output battery in parallel and connecting the battery of the next priority into an electric appliance power supply circuit by the system.
In the steps from S42331 to S42335, if there are more batteries in the battery pack, the above steps may be repeatedly executed, so that all batteries may be controlled to supply power on the premise of ensuring the potential safety hazard, thereby reducing the loss of all batteries.
S5, target power supply electric energy data which can be output by a target battery pack are called;
after determining the battery to be powered, the system needs to obtain the output voltage that can be provided by the selected battery combination, namely the target power supply data.
And S6, if the target power supply electric energy data is larger than the required electric energy data, the electric quantity provided by the selected target battery pack can be used by the electric appliance, and the system controls the target battery pack to supply power to the electric appliance.
In addition, in the process of controlling the target battery pack to supply power to the electric appliance, the battery cannot supply power continuously because the electric quantity of the battery reaches a certain limit, and recharging is needed, so the following steps are also carried out;
s61, calling voltage critical data corresponding to the battery;
the voltage critical data is the voltage of the battery needing to be charged;
and S62, comparing the voltage data of all the batteries in the battery pack with the voltage critical data, if the voltage data is smaller than the voltage critical data, closing the corresponding batteries, and controlling the batteries to be charged.
Compare the real-time voltage of every battery with the critical data of voltage to can in time close the battery when battery power is not enough and choose other batteries in the battery package for use to supply power, can charge the follow-up use of being convenient for to the battery that the electric quantity is not enough simultaneously when being connected with the power.
The implementation principle of the method for controlling the battery through the IP protocol in the embodiment of the application is as follows: the system can determine the target battery pack by firstly determining the connection relation between the batteries in the battery pack, simultaneously acquiring the required electric energy data corresponding to the electric appliances corresponding to the battery pack and then starting to select the batteries in the battery pack for power supply, and the steps executed by the system are different due to different battery connection conditions in the target battery pack.
In the first case: if the connection relationship of the batteries in the battery pack is all parallel connection and the batteries are in parallel connection, if the voltage difference of the batteries in the selected target battery pack is large and the battery pack possibly has potential safety hazards in the use process, the system firstly acquires the voltage data of each battery in the battery pack and acquires the priority data corresponding to each battery in the battery pack, controls the battery with the first priority data to supply power to an electric appliance, and defines the battery for supplying power as a used battery, wherein the used battery can be one or more batteries, and in addition, the voltage difference value of the used battery and the battery with the next priority needs to be acquired, and simultaneously calls a difference threshold value in parallel connection.
In the second case: when the connection relationship of the battery packs in the battery pack is that all the batteries are connected in series and a plurality of batteries in the battery packs are connected in parallel, the system firstly acquires output electric energy data of each battery pack, wherein the output electric energy data is the output voltage of the whole battery pack, the discharge priority of all the batteries in each battery pack needs to be determined, and the battery number of a power supply circuit of a continuous electric appliance of the battery pack is determined; the system then determines a voltage difference value of voltage data corresponding to the first priority battery and voltage data corresponding to the second priority battery, simultaneously extracts a target difference value in the battery pack, compares the target difference value with the voltage difference value, and if the voltage difference value is larger than the target difference value, the output voltage difference between the first priority battery and the second priority battery is larger, so that the two batteries are not suitable for being simultaneously connected in parallel, and at the moment, the system controls the battery corresponding to the first priority to be connected into an electric appliance power supply circuit; if the real-time difference value is smaller than the target difference value, the output voltage of the output battery at the moment is similar to the output voltage of the next priority, and the system connects the battery of the next priority in parallel and is connected to the power supply circuit of the electric appliance; through the process, under the condition that batteries in the battery pack are more, the steps can be repeatedly executed, and all the batteries can be managed and controlled to supply power on the premise of ensuring the potential safety hazard, so that the loss of all the batteries is reduced.
It should be noted that, if there is a situation where the battery is connected in series with the battery pack and the batteries in the battery pack are connected in parallel, when controlling the output voltage of the battery pack, the second situation of the steps is the same, and then all the series operations are performed.
After the target battery pack is determined, the system can determine target power supply electric energy data which can be output by the target battery pack, the target power supply electric energy data is compared with the required electric energy data, if the target power supply electric energy data is larger than the required electric energy data, the electric quantity provided by the selected target battery pack can be used by an electric appliance, and at the moment, the system controls the target battery pack to supply power to the electric appliance; otherwise, the target battery pack needs to be determined again.
In conclusion, the system needs to select the battery through the serial number data, and the target power supply electric energy data is continuously compared with the required electric energy data, so that the electric energy data provided by the target battery pack can continuously maintain the use of the electric appliance, and the battery can be connected into the power supply module in time in the use process of the battery pack, so that the battery pack with the proper battery pack can be selected in time.
In a second aspect, the present application provides a control system for a battery through an IP protocol, with reference to fig. 5, including: a serial number obtaining module 1 for obtaining serial number data corresponding to all batteries in the battery pack,
wherein each battery corresponds to only one IP.
The connection determining module 2 is used for determining the connection relation between the batteries in the battery pack;
wherein, the connection relation comprises three conditions of parallel connection, series connection and series-parallel connection combination;
the required electric energy acquisition module 3 is used for acquiring required electric energy data corresponding to the electric appliances corresponding to the battery pack;
the target battery pack determining module 4 is used for determining a target battery pack according to the required electric energy data, wherein the target battery pack comprises a plurality of batteries;
the calling module 5 is used for calling target power supply electric energy data which can be output by the target battery pack;
and the control module 6 is used for controlling the target battery pack to supply power to the electric appliance if the target power supply electric energy data is larger than the required electric energy data.
The implementation principle of the control system for the battery through the IP protocol in the embodiment of the application is as follows: when the battery pack supplies power to the electric appliance, the battery pack comprises a plurality of batteries, the number acquisition module can acquire number data corresponding to each battery, and the connection determination module can determine the connection relation between the conducted batteries, wherein the batteries in the batteries can be in parallel connection, series connection or series-parallel connection; the required electric energy acquisition module can acquire required electric energy data corresponding to the electric appliance, so that the minimum electric energy required for maintaining the normal use of the electric appliance can be known, the target battery pack determination module can select a plurality of batteries as output batteries and is defined as a target battery pack, the calling module can determine target power supply electric energy data which can be output by the target battery pack, if the target power supply electric energy data is larger than the required electric energy data, the electric quantity output by the target battery pack can be provided for the electric appliance, and at the moment, the control module controls the target battery pack to supply power to the electric appliance; if the target power supply electric energy data is not larger than the required electric energy data, the system needs to reselect more batteries through the number data, and the target power supply electric energy data is continuously compared with the required electric energy data, so that the electric energy data which can be provided by the target battery pack can continuously maintain the use of the electric appliance, and the battery pack suitable for the battery pack can be selected in time.
In a third aspect, the present application provides a computer readable storage medium storing a computer program that can be loaded by a processor and executes a method for controlling a battery according to an IP protocol.
In a fourth aspect, the present application provides an intelligent terminal, including a memory and a processor, where the memory stores a computer program that can be loaded by the processor and execute a method for controlling a battery according to an IP protocol.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.
Claims (10)
1. A method for controlling a battery through an IP protocol is characterized by comprising the following steps:
acquiring serial number data corresponding to all batteries in a battery pack, wherein each battery only corresponds to one IP;
determining the connection relation among the batteries in the battery pack, wherein the connection relation comprises three conditions of parallel connection, series connection and series-parallel connection combination;
acquiring required electric energy data corresponding to the electric appliances corresponding to the battery pack;
determining a target battery pack according to the required electric energy data, wherein the target battery pack comprises a plurality of batteries;
calling target power supply electric energy data which can be output by a target battery pack;
and if the target power supply electric energy data is larger than the required electric energy data, controlling the target battery pack to supply power to the electric appliance.
2. The method as claimed in claim 1, wherein if the connection relationship of the batteries in the battery pack is all parallel, the following steps are performed:
acquiring voltage data of each battery in the battery pack;
acquiring priority data corresponding to each battery in the battery pack, wherein the priority data are sorted from large to small according to the voltage data of each battery;
and controlling the battery with the first priority data to supply power to the electric appliance.
3. The method for controlling the battery through the IP protocol according to claim 2, wherein in the process of controlling the battery with the priority data first to supply power to the electrical appliance, the following steps are further performed:
defining a battery that is supplying power as a used battery, wherein the used battery may be one or more batteries;
acquiring a voltage difference value of a used battery and a battery of the next priority, wherein the voltage difference value is changed in real time;
adjusting a difference threshold value in parallel connection;
if the voltage difference is smaller than the difference threshold, controlling the battery corresponding to the next priority and the used battery to be connected in parallel to supply power to the electrical appliance.
4. The method as claimed in claim 1, wherein if the connection relationship of the battery packs in the battery pack is all in series connection, the following steps are performed:
acquiring output electric energy data of each battery pack, wherein the battery pack comprises a plurality of battery packs connected in series, and the battery packs comprise a plurality of batteries connected in parallel;
determining the discharge priority of all batteries in the battery pack, wherein the discharge priority is sorted from large to small according to the voltage data of each battery in the battery pack;
determining the number of batteries of a power supply circuit of a continuous electric appliance of the battery pack;
and controlling the battery pack in the battery pack to supply power to the electrical appliance.
5. The method for controlling the battery through the IP protocol according to claim 4, wherein in the process of determining the number of the batteries of the battery pack continuous electric appliance power supply circuit, the method comprises the following steps:
determining a voltage difference value of voltage data corresponding to the first priority battery and voltage data corresponding to the second priority battery;
calling a target difference value in the battery pack;
if the voltage difference value is larger than the target difference value, controlling the batteries corresponding to the first priority level to be connected into the power supply circuit of the electric appliance, otherwise, controlling the batteries corresponding to the first priority level to be connected with the batteries corresponding to the second priority level in parallel and to be connected into the power supply circuit of the electric appliance.
6. The method as claimed in claim 5, wherein in the process of controlling the connection of the battery corresponding to the first priority and the battery corresponding to the second priority to the power supply circuit of the electrical appliance, the following steps are further performed:
defining the battery corresponding to the first priority and the battery corresponding to the second priority as output batteries;
acquiring real-time output voltage of an output battery in real time;
calling voltage data corresponding to the battery with the next priority;
acquiring a real-time difference value of the real-time output voltage and voltage data corresponding to a battery with the next priority;
and comparing the real-time difference value with the target difference value, and if the real-time difference value is smaller than the target difference value, connecting the battery with the next priority level in parallel with the output battery and connecting the battery with an electric appliance power supply circuit.
7. The method for controlling a battery through an IP protocol according to claim 1, wherein in the process of controlling the target battery set to supply power to the consumer, the following steps are further performed;
calling voltage critical data corresponding to the battery, wherein the voltage critical data is the voltage of the battery needing to be charged;
and comparing the voltage data of all the batteries in the battery pack with the voltage critical data, if the voltage data is smaller than the voltage critical data, closing the corresponding batteries and controlling the batteries to be charged.
8. A control system for a battery via an IP protocol, comprising:
the serial number acquisition module (1) is used for acquiring serial number data corresponding to all batteries in the battery pack, wherein each battery only corresponds to one IP;
the connection determining module (2) is used for determining the connection relation among the batteries in the battery pack, wherein the connection relation comprises three conditions of parallel connection, series connection and series-parallel connection combination;
the required electric energy acquisition module (3) is used for acquiring required electric energy data corresponding to the electric appliances corresponding to the battery pack;
the target battery pack determining module (4) is used for determining a target battery pack according to the required electric energy data, wherein the target battery pack comprises a plurality of batteries;
the calling module (5) is used for calling target power supply electric energy data which can be output by the target battery pack;
and the control module (6) is used for controlling the target battery pack to supply power to the electric appliance if the target power supply electric energy data is larger than the required electric energy data.
9. Computer readable storage medium, storing a computer program that can be loaded by a processor and executed to perform the method according to any of claims 1 to 7.
10. Intelligent terminal comprising a memory and a processor, said memory having stored thereon a computer program which can be loaded by the processor and which executes the method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211375901.XA CN115800431A (en) | 2022-11-04 | 2022-11-04 | Method and system for controlling battery through IP protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211375901.XA CN115800431A (en) | 2022-11-04 | 2022-11-04 | Method and system for controlling battery through IP protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115800431A true CN115800431A (en) | 2023-03-14 |
Family
ID=85435483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211375901.XA Pending CN115800431A (en) | 2022-11-04 | 2022-11-04 | Method and system for controlling battery through IP protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115800431A (en) |
-
2022
- 2022-11-04 CN CN202211375901.XA patent/CN115800431A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109874360A (en) | It is able to carry out high speed monomer balance and energy-efficient battery charge controller and its method | |
US9413037B2 (en) | Cell capacity adjusting device | |
CN110085947A (en) | A kind of quick self-heating method of battery cell, system and device | |
EP3836340A1 (en) | Charging circuit and electronic device | |
CN106848457A (en) | A kind of charging method and electronic equipment | |
CN108565914B (en) | Battery pack cyclic charge and discharge system and method | |
US20240222986A1 (en) | Power supply control method and power supply control circuit | |
CN114498834A (en) | Control method and device for parallel battery clusters and battery system control board | |
CN117081198A (en) | Battery control method, device, battery module, battery system and storage medium | |
CN110661316A (en) | Control method and system of battery energy storage circuit | |
CN115622187B (en) | Active equalization circuit and active equalization method of battery pack | |
CN113612294B (en) | Charging control method and system for battery cabinet with solar energy-saving system | |
CN115800431A (en) | Method and system for controlling battery through IP protocol | |
CN114649859B (en) | Expandable energy storage system and expansion method thereof | |
CN102801197A (en) | Terminal and charge control method thereof | |
CN115776152A (en) | Control method and system for combined power supply of solar panel and storage battery | |
CN116231787A (en) | Charging and discharging control method and device, terminal equipment and storage medium | |
CN113922437B (en) | Remote-control lithium battery no-loop management method and device and electronic equipment | |
CN115276181A (en) | Parallel operation control method, device and equipment of battery pack and storage medium | |
CN113824182A (en) | Passive equalization method and passive equalization system with self-variable period | |
JP2002315224A (en) | Fuel battery power source system and method for charging secondary cell in the fuel battery power source system | |
CN217984572U (en) | Multi-core series voltage equalization circuit | |
KR101401805B1 (en) | Power managing apparatus and method for mobile device | |
CN114268154B (en) | Charging method, device, system, multi-battery equipment and storage medium | |
JPH1174001A (en) | Charging method for lead-acid battery |
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 |