CN117791806A - Method and device for balancing battery voltage and computer storage medium - Google Patents

Method and device for balancing battery voltage and computer storage medium Download PDF

Info

Publication number
CN117791806A
CN117791806A CN202311836356.4A CN202311836356A CN117791806A CN 117791806 A CN117791806 A CN 117791806A CN 202311836356 A CN202311836356 A CN 202311836356A CN 117791806 A CN117791806 A CN 117791806A
Authority
CN
China
Prior art keywords
battery
balanced
batteries
voltage
adjacent
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
CN202311836356.4A
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.)
Hangzhou Huasu Technology Co ltd
Original Assignee
Hangzhou Huasu 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 Hangzhou Huasu Technology Co ltd filed Critical Hangzhou Huasu Technology Co ltd
Priority to CN202311836356.4A priority Critical patent/CN117791806A/en
Publication of CN117791806A publication Critical patent/CN117791806A/en
Pending legal-status Critical Current

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present disclosure relates to the field of circuit control technologies, and in particular, to a method and an apparatus for balancing battery voltage, and a computer storage medium; the method is applied to a battery equalization circuit, wherein the battery equalization circuit comprises a plurality of battery unit circuits and a plurality of equalization capacitors; the method comprises the following steps: under the condition that the battery to be balanced is a plurality of batteries, the first switch is controlled to be closed, and the second switch is controlled to be opened; after a first preset time period, controlling the second switch to be closed and the first switch to be opened; repeatedly executing the steps of determining the battery to be balanced in the plurality of batteries until the first preset time period is reached, controlling the second switch to be closed, and controlling the first switch to be opened until the battery to be balanced does not exist in the plurality of batteries; the battery balancing circuit is provided with the plurality of capacitors, so that the voltages of the plurality of unbalanced batteries are balanced through the plurality of capacitors, and the balancing efficiency of the voltages of the plurality of batteries is improved.

Description

Method and device for balancing battery voltage and computer storage medium
Technical Field
The present disclosure relates to the field of circuit control technologies, and in particular, to a method and an apparatus for balancing battery voltage, and a computer storage medium.
Background
Under the condition of power supply to more loads, a plurality of batteries are often required to be connected in series to supply power to the loads; under the condition that a plurality of batteries are connected in series and then power is supplied to a load, the voltages among the batteries are from an initial balanced state to an unbalanced state, namely, the voltage difference among different batteries is overlarge, so that the work of the load is affected, and therefore, the unbalanced batteries are required to be subjected to voltage balancing treatment; in the prior art, only one battery can be balanced for battery voltage balancing, and when a plurality of batteries are unbalanced, unbalanced voltages need to be balanced one by one in sequence, so that the battery voltage balancing efficiency is low, and the load working fluency is low.
Disclosure of Invention
The purpose of the present application is to set up a plurality of electric capacities through in the battery equalization circuit to above-mentioned problem to the prior art to make realize simultaneously carrying out the equilibrium to the voltage of a plurality of unbalanced batteries through a plurality of electric capacities, improve the equilibrium efficiency of a plurality of battery voltages, and then improve load operational safety and working smoothness nature.
In order to solve the above problems, the present application provides a method for balancing battery voltage, which is applied to a battery balancing circuit, wherein the battery balancing circuit comprises a plurality of battery unit circuits and a plurality of balancing capacitors, any battery unit circuit comprises a battery, a first switch and a second switch, the first switch is close to the negative electrode of the battery, and the second switch is close to the positive electrode of the battery; an equalization wire is arranged on a connecting line between the first switch and the second switch, and an equalization capacitor is arranged between any two adjacent equalization wires; the method comprises the following steps:
determining a cell to be equalized among the plurality of cells;
when the battery to be balanced is a plurality of batteries, controlling the first switch corresponding to each of the battery to be balanced and the adjacent battery to be closed, and controlling the second switch corresponding to each of the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the first time; the adjacent battery is at least one battery adjacent to the battery to be balanced; the target capacitance is the balance capacitance between the battery to be balanced and the adjacent battery;
after a first preset time period, controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed, and controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the second time;
and after a second preset time period, repeatedly executing the determination of the battery to be balanced in the plurality of batteries until the second switch corresponding to each of the battery to be balanced and the adjacent battery is closed after the first preset time period, and controlling the first switch corresponding to each of the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the second time until the battery to be balanced does not exist in the plurality of batteries, and controlling the first switch and the second switch corresponding to each of the plurality of batteries to be opened.
In an embodiment of the present application, the determining a battery to be equalized among the plurality of batteries includes:
acquiring current voltage values corresponding to the batteries respectively;
carrying out average processing based on the current voltage values corresponding to the batteries respectively to obtain a current average voltage;
comparing the current voltage value corresponding to each of the plurality of batteries with the current average voltage to obtain offset values corresponding to each of the plurality of batteries;
and under the condition that the offset value corresponding to any battery is larger than a preset offset value, determining the battery to be balanced as the battery to be balanced.
In an embodiment of the present application, the method further includes:
comparing the number of the batteries to be balanced with the number of the batteries to obtain a duty ratio to be balanced;
and under the condition that the duty ratio to be balanced is larger than a preset duty ratio, determining that the batteries are all the batteries to be balanced.
In an embodiment of the present application, the method further includes:
and under the condition that the offset values corresponding to the batteries are smaller than or equal to the preset offset value, determining that no battery to be balanced exists in the batteries.
In an embodiment of the present application, determining a battery to be equalized among the plurality of batteries includes:
acquiring current voltage values corresponding to the batteries respectively;
sequencing the current voltage values corresponding to the batteries respectively, and determining the highest voltage battery and the lowest voltage battery in the batteries;
determining the highest voltage battery and the lowest voltage battery as the battery to be balanced under the condition that the voltage difference value of the highest voltage battery and the lowest voltage battery is larger than a preset difference value; the voltage difference is the difference between the current voltage corresponding to the highest voltage battery and the current voltage corresponding to the lowest voltage battery.
In an embodiment of the present application, the method further includes:
and under the condition that the voltage difference value of the highest voltage battery and the lowest voltage battery is smaller than or equal to the preset difference value, determining that no battery to be balanced exists in the batteries.
In an embodiment of the present application, the method further includes:
under the condition that the battery to be balanced is one battery, controlling the first switch corresponding to each of the battery to be balanced and the adjacent battery to be closed, and controlling the second switch corresponding to each of the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the first time;
after a first preset time period, controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed, and controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the second time;
and after a second preset time period, repeatedly executing the determination of the battery to be balanced in the plurality of batteries until the second switch corresponding to each of the battery to be balanced and the adjacent battery is closed after the first preset time period, and controlling the first switch corresponding to each of the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the second time until the battery to be balanced does not exist in the plurality of batteries, and controlling the first switch and the second switch corresponding to each of the plurality of batteries to be opened.
In another aspect, the present application further provides an apparatus for equalizing a battery voltage, the apparatus including:
the balancing determination module is used for determining a battery to be balanced in the plurality of batteries;
the first control module is used for controlling the first switches corresponding to the to-be-balanced battery and the adjacent battery to be closed and controlling the second switches corresponding to the to-be-balanced battery and the adjacent battery to be opened under the condition that the to-be-balanced battery is a plurality of batteries, so that the target capacitor is charged or discharged for the first time; the adjacent battery is at least one battery adjacent to the battery to be balanced; the target capacitance is the balance capacitance between the battery to be balanced and the adjacent battery;
the second control module is used for controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed and controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened after a first preset time period so as to charge or discharge the target capacitor for the second time;
and the circulation module is used for repeatedly executing the determination of the battery to be balanced in the plurality of batteries after a second preset time period, controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed after a first preset time period, controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened, so that the target capacitor is charged or discharged for the second time until the battery to be balanced does not exist in the plurality of batteries, and controlling the first switches and the second switches corresponding to the plurality of batteries to be opened.
In another aspect, the present application also provides an electronic device, where the device includes a processor and a memory, where at least one instruction or at least one program is stored in the memory, where the at least one instruction or the at least one program is loaded and executed by the processor to implement a method for balancing battery voltage as described above.
In another aspect, the present application further provides a computer storage medium having at least one instruction or at least one program stored therein, the at least one instruction or the at least one program loaded and executed by a processor to implement a method for balancing battery voltages as described above.
Due to the technical scheme, the method for balancing the battery voltage has the following beneficial effects:
an equalization lead is arranged on a connecting line between the first switch and the second switch, and an equalization capacitor is arranged between any two adjacent equalization leads, so that an equalization capacitor exists between two adjacent battery units; in the process of balancing the voltages of a plurality of batteries, the first switch and the second switch are controlled so that the balancing capacitors are sequentially electrically connected with two adjacent battery units, and therefore the voltages of a plurality of unbalanced batteries are balanced through the charge or discharge of the balancing capacitors, the balancing efficiency of the voltages of the batteries is improved, and the working safety and the working fluency of loads are further improved.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the following description will make a brief introduction to the drawings used in the description of the embodiments or the prior art. It is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a schematic diagram of a battery equalization circuit according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a method for balancing battery voltage according to an embodiment of the present application;
fig. 3 is a schematic diagram of a to-be-equalized battery determination flow in a method for equalizing battery voltages according to an embodiment of the present application;
fig. 4 is a second schematic diagram of a battery to be balanced determination flow in the method for balancing battery voltage according to the embodiment of the present application;
fig. 5 is a schematic diagram III of a to-be-equalized battery determination flow in a battery voltage equalization method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a device for balancing battery voltage according to an embodiment of the present application;
fig. 7 is a hardware block diagram of a method for balancing battery voltage according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
Reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic may be included in at least one implementation of the present application. In the description of the present application, it should be understood that the terms "upper," "lower," "left," "right," "top," "bottom," and the like indicate an orientation or a positional relationship based on that shown in the drawings, and are merely for convenience of description and simplification of the description, and do not indicate or imply that the apparatus or element in question must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may include one or more of the feature, either explicitly or implicitly. Moreover, the terms "first," "second," and the like, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein.
The following describes a method for balancing battery voltage provided in an embodiment of the present application, referring to fig. 1, applied to a battery balancing circuit, where the battery balancing circuit includes a plurality of battery unit circuits and a plurality of balancing capacitors, and any battery unit circuit includes a battery Bn (B1-B4), a first switch S1 and a second switch S2, the first switch is close to a negative electrode of the battery, and the second switch is close to a positive electrode of the battery; an equalization wire is arranged on a connecting line between the first switch and the second switch, and an equalization capacitor Cn (C1-C3) is arranged between any two adjacent equalization wires; the batteries in the battery unit circuits are connected in series to form a larger power supply end; the power supply end formed by combining the batteries is used for supplying power to a load; the equalizing capacitor is used for equalizing voltages of two adjacent batteries.
Referring to fig. 2, the method of battery voltage equalization includes:
s1001, determining a battery to be balanced in a plurality of batteries; the battery to be balanced is a battery which needs to be subjected to voltage balancing, and the battery to be balanced can be one or a plurality of batteries, and comprises unbalanced batteries; the voltage difference between the unbalanced battery and other batteries is larger; in some special cases, the cells to be equalized may also include cells that are not unbalanced.
S1002, under the condition that the battery to be balanced is a plurality of batteries, controlling the first switches corresponding to the battery to be balanced and the adjacent batteries to be closed, and controlling the second switches corresponding to the battery to be balanced and the adjacent batteries to be opened, so that the target capacitor is charged or discharged for the first time; the adjacent battery is at least one battery adjacent to the battery to be balanced; the target capacitance is the equalization capacitance between the cell to be equalized and the adjacent cells.
In the embodiment of the application, the cells to be balanced and the adjacent cells are divided into at least one cell balancing group; specifically, in the case where there is no stable battery between a plurality of batteries to be equalized and a battery pack formed of adjacent batteries, the stable battery refers to a battery that is neither a battery to be equalized nor is adjacent to the battery to be equalized; namely, under the condition that a plurality of batteries to be balanced and adjacent batteries are combined to form a series of adjacent batteries, the batteries to be balanced and the adjacent batteries are regarded as a battery balancing group; and when the stable battery exists between the plurality of batteries to be balanced and the battery pack formed by the adjacent batteries, the adjacent batteries corresponding to the plurality of batteries to be balanced are regarded as a plurality of groups of battery balancing packs.
In the specific embodiment of the present application, it is assumed that the plurality of battery cell circuits includes a first battery B1, a second battery B2, … …, an nth battery Bn; and B1, B2, … and Bn are sequentially connected in series; specifically, referring to fig. 1, when n is 4, the connection relationship between the plurality of battery cell circuits and the plurality of equalizing capacitors may be referred to; in the case that a plurality of batteries to be balanced are B1, B3 and B5 and adjacent batteries are B2, B4 and B6, no stable battery exists between the batteries B1 and B6, and the batteries B1 to B6 can be regarded as a battery balancing group; in the case that a plurality of batteries to be equalized are B1, B8 and B50 and adjacent batteries are B2, B3, B7, B9, B49 and B51, stable batteries exist between the batteries B1 to B51, and then the batteries B1 to B3, B7 to B9 and B49 to B51 are regarded as three battery equalization groups.
In the embodiment of the application, when the first switch corresponding to each of the battery to be balanced and the adjacent battery is closed and the second switch corresponding to each of the battery to be balanced and the adjacent battery is opened, after the target capacitor is charged or discharged for the first time, the voltage of the target capacitor is sequentially consistent with the voltage of the first target battery pack; the first target battery pack refers to a battery of a battery equalization pack from which the positive terminal-most battery has been removed.
In the specific embodiment of the application, assuming that the battery equalization groups are B1-B6, the target capacitance is C1-C5, B1 is the positive terminal, B6 is the negative terminal, then the first target battery group is B2-B6; then the first switch S1 corresponding to each of B1-B6 is closed, and the second switch S2 corresponding to each of B1-B6 is openedIn the open state, after C1-C5 charge or discharge, the voltage of capacitor C1 is equal to the voltage of second battery B2, i.e. V c1 =V B2 The method comprises the steps of carrying out a first treatment on the surface of the The voltage value of the capacitor C2 is equal to the voltage value of the second battery B3, i.e. V c2 =V B3 The method comprises the steps of carrying out a first treatment on the surface of the And so on until the voltage value of the capacitor C5 is equal to the voltage value of the second battery B6, i.e. V c5 =V B6
And S1003, after a first preset time period, controlling the second switches corresponding to the battery to be balanced and the adjacent batteries to be closed, and controlling the first switches corresponding to the battery to be balanced and the adjacent batteries to be opened so as to charge or discharge the target capacitor for the second time.
In the embodiment of the application, when the second switches corresponding to the battery to be balanced and the adjacent battery are closed and the first switches corresponding to the battery to be balanced and the adjacent battery are opened, the voltage of the target capacitor is consistent with the voltage of the second target battery pack in sequence after the target capacitor is charged or discharged for the first time; the second target battery pack refers to a battery of a battery equalization pack from which the extreme end of the negative electrode is removed.
In the specific embodiment of the application, assuming that the battery equalization groups are B1-B6, the target capacitance is C1-C5, B1 is the positive terminal, B6 is the negative terminal, then the second target battery group is B1-B5; then, when the second switch S2 corresponding to each of the B1-B6 is closed and the first switch S1 corresponding to each of the B1-B6 is opened, the capacitor C1 is charged or discharged to obtain a voltage value equal to the voltage value of the second battery B1, namely V c1 =V B1 The method comprises the steps of carrying out a first treatment on the surface of the The voltage value of the capacitor C2 is equal to the voltage value of the second battery B2, i.e. V c2 =V B2 The method comprises the steps of carrying out a first treatment on the surface of the And so on until the voltage value of the capacitor C5 is equal to the voltage value of the second battery B5, i.e. V c5 =V B5
After a second preset period of time, steps S1001-S1003 are repeated until there are no more batteries to be equalized among the plurality of batteries.
S1004, the first switch and the second switch which are respectively corresponding to the batteries are controlled to be disconnected, so that the influence of the balance capacitor on the load operation is avoided.
In the specific embodiment of the application, the first preset time period and the second preset time period are set based on actual requirements, so that the balance capacitor is fully discharged or charged to reach an equilibrium state; the first preset time period may be equal to the second preset time period.
In the embodiment of the application, the equalization wires are arranged on the connecting wire between the first switch and the second switch, and one equalization capacitor is arranged between any two adjacent equalization wires, so that one equalization capacitor exists between two adjacent battery units; in the process of balancing the voltages of a plurality of batteries, the first switch and the second switch are controlled so that the balancing capacitors are sequentially electrically connected with two adjacent battery units, and therefore the voltages of a plurality of unbalanced batteries are balanced through the charge or discharge of the balancing capacitors, the balancing efficiency of the voltages of the batteries is improved, and the working safety and the working fluency of loads are further improved.
In the specific embodiment of the application, a plurality of batteries to be balanced are assumed to be B1, B3 and B5, adjacent batteries are assumed to be B2, B4 and B6, a battery balancing group is assumed to be B1-B6, a target capacitance is assumed to be C1-C5, B1 is assumed to be an anode terminal, B6 is assumed to be a cathode terminal, and voltage values corresponding to the batteries B1-B6 are assumed to be: v (V) B1 =V 1 ,V B2 =V 2 ,…,V B6 =V 6 The method comprises the steps of carrying out a first treatment on the surface of the And wherein V is 2 =V 4 =V 6 And V is 1 >V 3 >V 2 >V 5
In the embodiment of the present application, after the first switch S1 corresponding to each of B1-B6 is closed and the second switch S2 corresponding to each of B1-B6 is opened, V c1 =V 2 ,V c2 =V 3 ,…,V c5 =V 6 The method comprises the steps of carrying out a first treatment on the surface of the And the second switch S2 corresponding to each of B1-B6 is closed, and after the first switch S1 corresponding to each of B1-B6 is opened, V c1 =V B1 =V′ 1 、V c2 =V B2 =V′ 2 、……、V c5 =V B5 =V′ 5 The method comprises the steps of carrying out a first treatment on the surface of the Wherein V is 6 >V′ 5 >V 5 、V 4 >V′ 4 >V 5 、V 3 >V′ 3 >V 4 、V 3 >V′ 2 >V 2 、V 1 >V′ 1 >V 2 The method comprises the steps of carrying out a first treatment on the surface of the That is, in this battery equalization, the voltage values of B1, B3, and B4 are lowered, the voltage values of B2 and B5 are raised, wherein the voltage values of B1 and B3 are lowered, the voltage value of B5 is raised, and the voltage value ranges of B1 to B6 are narrowed, and in the process of repeatedly performing S1001 to S1003, the voltage value ranges of B1 to B6 are gradually narrowed, thereby achieving voltage equalization of B1 to B6.
Referring to fig. 3, in the embodiment of the present application, S1001 includes:
s2001, acquiring current voltage values corresponding to a plurality of batteries respectively; the current voltage value refers to a voltage value corresponding to the battery at the current moment or in a time period.
S2002, carrying out average processing based on the current voltage values corresponding to the batteries to obtain the current average voltage; the current average voltage represents ideal voltage values corresponding to a plurality of batteries in an ideal state.
S2003, comparing the current voltage value corresponding to each of the batteries with the current average voltage to obtain offset values corresponding to each of the batteries; the offset value represents the current equilibrium state of the batteries, specifically, the offset value is larger than the preset offset value to represent that the battery corresponding to the offset value is in an unbalanced state, and the offset value is smaller than or equal to the preset offset value to represent that the battery corresponding to the offset value is in a stable state.
In this embodiment of the present application, the process of comparing the current voltage values and the current average voltage corresponding to each of the plurality of batteries may be that the two voltage values are compared by making a difference to obtain a difference value, or may be that the two voltage values are compared by dividing quotient values.
And S2004, determining any battery as the battery to be balanced under the condition that the offset value corresponding to any battery is larger than the preset offset value.
In the embodiment of the present application, the preset offset value is set based on the actual situation, and is not limited herein.
In the embodiment of the application, the current average voltage is obtained, and the current balance state of the battery is judged by taking the current average voltage as a reference, so that the voltage ranges of a plurality of batteries are ensured to be in a preset range, and the balance precision of the voltage balance of the batteries is improved.
In an embodiment of the present application, the method for balancing battery voltage further includes:
and in the adjacent two batteries to be balanced, determining that the battery close to the negative end of the battery pack of the batteries to be balanced is an adjacent battery under the condition that the current voltage value corresponding to one battery to be balanced is larger than the current average voltage and the current voltage value corresponding to the other battery to be balanced is smaller than the current average voltage.
In the embodiment of the application, under the condition that a plurality of batteries to be balanced are sequentially arranged in a mode of high-low- … or low-high- …, only the battery at the negative end of the battery pack of the plurality of batteries to be balanced is determined to be adjacent to the battery, so that stable batteries are prevented from participating in balancing, and balancing efficiency is improved.
In the specific embodiment of the present application, it is assumed that the plurality of battery cell circuits includes a first battery B1, a second battery B2, … …, an nth battery Bn, and B1 is a positive terminal and Bn is a negative terminal; the batteries to be balanced are B4-B6, and the voltage values of B4 and B6 are larger than the current average voltage; and under the condition that the voltage value of B5 is smaller than the current average voltage, determining B7 as the adjacent battery.
In an embodiment of the present application, the method for balancing battery voltage further includes:
under the condition that the battery to be balanced is a discrete battery to be balanced, determining a battery close to the positive end of the discrete battery to be balanced and a battery close to the discrete battery to be balanced as a nearby battery; the discrete type battery to be balanced refers to a battery with preset battery quantity between the battery to be balanced and other batteries to be balanced; for example, the plurality of cells to be equalized include B3, B4, B10; then B10 is the discrete cell to be equalized, at which point B9 and B11 are adjacent cells.
Referring to fig. 4, in an embodiment of the present application, the method for balancing battery voltage further includes:
s3001, comparing the number of the batteries to be balanced with the number of a plurality of batteries to obtain a duty ratio to be balanced; the duty cycle to be equalized characterizes the number duty cycle of the cells to be equalized relative to the total cells.
S3002, determining that the plurality of batteries are all batteries to be balanced under the condition that the duty ratio to be balanced is larger than the preset duty ratio.
In the specific embodiment of the present application, the preset duty ratio may be 50% or 80%.
In the embodiment of the application, the preset duty ratio is set, so that voltage equalization is directly carried out on all batteries under the condition that the number of the batteries to be equalized is excessive, and the equalization efficiency of the battery voltage is improved.
In an embodiment of the present application, the method for balancing battery voltage further includes:
and under the condition that the offset values corresponding to the batteries are smaller than or equal to the preset offset value, determining that the batteries to be balanced do not exist in the batteries.
Referring to fig. 5, in another embodiment of the present application, S1001 includes:
s4001, obtaining current voltage values corresponding to the batteries respectively.
S4002, sorting the current voltage values corresponding to the batteries respectively, and determining the highest voltage battery and the lowest voltage battery in the batteries; the highest voltage battery is the battery with the highest current voltage value in the plurality of batteries; the lowest voltage battery is a battery having the lowest current voltage value among the plurality of batteries.
S4003, determining the highest voltage battery and the lowest voltage battery as the battery to be balanced under the condition that the voltage difference value of the highest voltage battery and the lowest voltage battery is larger than a preset difference value; the voltage difference is the difference between the current voltage corresponding to the highest voltage battery and the current voltage corresponding to the lowest voltage battery.
In the embodiment of the application, the battery to be balanced is determined through the highest-voltage battery and the lowest-voltage battery, so that the battery range corresponding to the batteries can be gradually reduced, the voltage range of the batteries is further ensured to be in a preset range, and the balancing precision of balancing the voltages of the batteries is further improved.
In another embodiment of the present application, the method for balancing battery voltage further includes:
and under the condition that the voltage difference value of the highest voltage battery and the lowest voltage battery is smaller than or equal to a preset difference value, determining that the battery to be balanced does not exist in the batteries.
In an embodiment of the present application, the method for balancing battery voltage further includes:
s5001, under the condition that the battery to be balanced is one battery, controlling the first switch corresponding to each of the battery to be balanced and the adjacent battery to be closed, and controlling the second switch corresponding to each of the battery to be balanced and the adjacent battery to be opened, so that the target capacitor is charged or discharged for the first time.
S5002, after a first preset time period, controlling the second switches corresponding to the batteries to be balanced and the adjacent batteries to be closed, and controlling the first switches corresponding to the batteries to be balanced and the adjacent batteries to be opened so as to charge or discharge the target capacitor for the second time;
s5003, after a second preset period of time, repeating S1001-S5001-S5003 until no battery to be balanced exists in the plurality of batteries.
S5004, controlling the first switch and the second switch which are respectively corresponding to the batteries to be disconnected.
In the embodiment of the application, the battery voltage balancing method is also suitable for the situation that only one battery to be balanced exists, so that the flexibility of battery balancing is improved.
The method for balancing the battery voltage in the embodiment of the application has the following beneficial effects:
an equalization lead is arranged on a connecting line between the first switch and the second switch, and an equalization capacitor is arranged between any two adjacent equalization leads, so that an equalization capacitor exists between two adjacent battery units; in the process of balancing the voltages of a plurality of batteries, the first switch and the second switch are controlled so that the balancing capacitors are sequentially electrically connected with two adjacent battery units, and therefore the voltages of a plurality of unbalanced batteries are balanced through the charge or discharge of the balancing capacitors, the balancing efficiency of the voltages of the batteries is improved, and the working safety and the working fluency of loads are further improved.
Referring to fig. 6, an apparatus for equalizing battery voltage in an embodiment of the present application is described below, the apparatus including:
an equalization determination module 101 for determining a battery to be equalized among a plurality of batteries;
the first control module 102 is configured to, in a case where the battery to be balanced is a plurality of batteries, control the first switches corresponding to the battery to be balanced and the adjacent battery to be closed, and control the second switches corresponding to the battery to be balanced and the adjacent battery to be opened, so that the target capacitor is charged or discharged for the first time; the adjacent battery is at least one battery adjacent to the battery to be balanced; the target capacitance is the balance capacitance between the cells to be balanced and adjacent cells;
the second control module 103 is configured to control, after a first preset period of time, the second switches corresponding to the to-be-equalized battery and the adjacent battery to be closed, and control the first switches corresponding to the to-be-equalized battery and the adjacent battery to be opened, so that the target capacitor is charged or discharged for a second time;
and the circulation module 104 is configured to repeatedly perform determining the battery to be balanced in the plurality of batteries after the second preset period of time until the second switch corresponding to each of the battery to be balanced and the adjacent battery is closed after the first preset period of time, and control the first switch corresponding to each of the battery to be balanced and the adjacent battery to be opened, so that the target capacitor charges or discharges for the second time until the battery to be balanced does not exist in the plurality of batteries, and control the first switch and the second switch corresponding to each of the plurality of batteries to be opened.
An equalization determination module comprising:
the first acquisition unit is used for acquiring the current voltage values corresponding to the batteries respectively;
the average unit is used for carrying out average processing based on the current voltage values corresponding to the batteries to obtain the current average voltage;
the offset calculation unit is used for comparing the current voltage value corresponding to each of the plurality of batteries with the current average voltage to obtain offset values corresponding to each of the plurality of batteries;
the first equalization determining unit is used for determining that any battery is the battery to be equalized under the condition that the offset value corresponding to any battery is larger than the preset offset value.
The device for balancing the battery voltage further comprises:
the duty ratio calculation unit is used for comparing the number of the batteries to be balanced with the number of the batteries to obtain the duty ratio to be balanced;
and the second equalization determining unit is used for determining that the plurality of batteries are all batteries to be equalized under the condition that the duty ratio to be equalized is larger than the preset duty ratio.
The device for balancing the battery voltage further comprises:
and the first ending unit is used for determining that the battery to be balanced does not exist in the plurality of batteries under the condition that the offset values corresponding to the plurality of batteries are smaller than or equal to the preset offset value.
In another embodiment of the present application, the equalization determination module includes:
the second acquisition unit is used for acquiring the current voltage values corresponding to the batteries respectively;
the sequencing unit is used for sequencing the current voltage values corresponding to the batteries respectively and determining the highest voltage battery and the lowest voltage battery in the batteries;
the second equalization determining unit is used for determining the highest voltage battery and the lowest voltage battery as the battery to be equalized under the condition that the voltage difference value of the highest voltage battery and the lowest voltage battery is larger than a preset difference value; the voltage difference is the difference between the current voltage corresponding to the highest voltage battery and the current voltage corresponding to the lowest voltage battery.
The device for balancing the battery voltage further comprises:
and the second ending unit is used for determining that the battery to be balanced does not exist in the batteries under the condition that the voltage difference value of the highest voltage battery and the lowest voltage battery is smaller than or equal to a preset difference value.
The device for balancing the battery voltage further comprises:
the third control module is used for controlling the first switch corresponding to the battery to be balanced and the adjacent battery to be closed and controlling the second switch corresponding to the battery to be balanced and the adjacent battery to be opened under the condition that the battery to be balanced is one battery, so that the target capacitor is charged or discharged for the first time;
the fourth control module is used for controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed after a first preset time period, and controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the second time;
and the circulation submodule is used for repeatedly executing the determination of the battery to be balanced in the plurality of batteries after a second preset time period, controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed after the first preset time period, controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened, enabling the target capacitor to charge or discharge for the second time until the battery to be balanced does not exist in the plurality of batteries, and controlling the first switches and the second switches corresponding to the plurality of batteries to be opened.
The embodiment of the application also provides an electronic device, which comprises a processor and a memory, wherein at least one instruction or at least one section of program is stored in the memory, and the at least one instruction or the at least one section of program is loaded and executed by the processor to realize the method for balancing the battery voltage.
The memory may be used to store software programs and modules that the processor executes to perform various functional applications and data processing by executing the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one hard disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide access to the memory by the processor.
The method embodiments provided in the embodiments of the present application may be performed in an electronic device such as a mobile terminal, a computer terminal, a server, or a similar computing device. Fig. 7 is an electronic device provided in an embodiment of the present application. As shown in fig. 7, the electronic device 900 may vary considerably in configuration or performance, and may include one or more central processing units (Central Processing Units, CPU) 910 (the processor 910 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA), a memory 930 for storing data, one or more storage media 920 (e.g., one or more mass storage devices) for storing applications 923 or data 922. Wherein memory 930 and storage medium 920 may be transitory or persistent storage. The program stored on the storage medium 920 may include one or more modules, each of which may include a series of instruction operations in the electronic device. Still further, the central processor 910 may be configured to communicate with a storage medium 920 and execute a series of instruction operations in the storage medium 920 on the electronic device 900. The electronic device 900 may also include one or more power supplies 960, one or more wired or wireless network interfaces 950, one or more input/output interfaces 940, and/or one or more operating systems 921, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The input-output interface 940 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communications provider of the electronic device 900. In one example, the input-output interface 940 includes a network adapter (Network Interface Controller, NIC) that may be connected to other network devices through a base station to communicate with the internet. In one example, the input/output interface 940 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 7 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, electronic device 900 may also include more or fewer components than shown in FIG. 7, or have a different configuration than shown in FIG. 7.
Embodiments of the present application also provide a storage medium having at least one instruction or at least one program stored therein, the at least one instruction or the at least one program loaded and executed by a processor to implement a method of battery voltage balancing as described above.
The foregoing description has fully disclosed the embodiments of this application. It should be noted that any modifications to the specific embodiments of the present application may be made by those skilled in the art without departing from the scope of the claims of the present application. Accordingly, the scope of the claims of the present application is not limited to the foregoing detailed description.

Claims (10)

1. The battery voltage balancing method is characterized by being applied to a battery balancing circuit, wherein the battery balancing circuit comprises a plurality of battery unit circuits and a plurality of balancing capacitors, any battery unit circuit comprises a battery, a first switch and a second switch, the first switch is close to the negative electrode of the battery, and the second switch is close to the positive electrode of the battery; an equalization wire is arranged on a connecting line between the first switch and the second switch, and an equalization capacitor is arranged between any two adjacent equalization wires; the method comprises the following steps:
determining a cell to be equalized among the plurality of cells;
when the battery to be balanced is a plurality of batteries, controlling the first switch corresponding to each of the battery to be balanced and the adjacent battery to be closed, and controlling the second switch corresponding to each of the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the first time; the adjacent battery is at least one battery adjacent to the battery to be balanced; the target capacitance is the balance capacitance between the battery to be balanced and the adjacent battery;
after a first preset time period, controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed, and controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the second time;
and after a second preset time period, repeatedly executing the determination of the battery to be balanced in the plurality of batteries until the second switch corresponding to each of the battery to be balanced and the adjacent battery is closed after the first preset time period, and controlling the first switch corresponding to each of the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the second time until the battery to be balanced does not exist in the plurality of batteries, and controlling the first switch and the second switch corresponding to each of the plurality of batteries to be opened.
2. The method of claim 1, wherein said determining a cell of said plurality of cells to be equalized comprises:
acquiring current voltage values corresponding to the batteries respectively;
carrying out average processing based on the current voltage values corresponding to the batteries respectively to obtain a current average voltage;
comparing the current voltage value corresponding to each of the plurality of batteries with the current average voltage to obtain offset values corresponding to each of the plurality of batteries;
and under the condition that the offset value corresponding to any battery is larger than a preset offset value, determining the battery to be balanced as the battery to be balanced.
3. The method of battery voltage equalization as recited in claim 2, further comprising:
comparing the number of the batteries to be balanced with the number of the batteries to obtain a duty ratio to be balanced;
and under the condition that the duty ratio to be balanced is larger than a preset duty ratio, determining that the batteries are all the batteries to be balanced.
4. The method of battery voltage equalization as recited in claim 2, further comprising:
and under the condition that the offset values corresponding to the batteries are smaller than or equal to the preset offset value, determining that no battery to be balanced exists in the batteries.
5. The method of claim 1, wherein determining a cell of the plurality of cells to be equalized comprises:
acquiring current voltage values corresponding to the batteries respectively;
sequencing the current voltage values corresponding to the batteries respectively, and determining the highest voltage battery and the lowest voltage battery in the batteries;
determining the highest voltage battery and the lowest voltage battery as the battery to be balanced under the condition that the voltage difference value of the highest voltage battery and the lowest voltage battery is larger than a preset difference value; the voltage difference is the difference between the current voltage corresponding to the highest voltage battery and the current voltage corresponding to the lowest voltage battery.
6. The method of claim 5, further comprising:
and under the condition that the voltage difference value of the highest voltage battery and the lowest voltage battery is smaller than or equal to the preset difference value, determining that no battery to be balanced exists in the batteries.
7. The method of claim 1, further comprising:
under the condition that the battery to be balanced is one battery, controlling the first switch corresponding to each of the battery to be balanced and the adjacent battery to be closed, and controlling the second switch corresponding to each of the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the first time;
after a first preset time period, controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed, and controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the second time;
and after a second preset time period, repeatedly executing the determination of the battery to be balanced in the plurality of batteries until the second switch corresponding to each of the battery to be balanced and the adjacent battery is closed after the first preset time period, and controlling the first switch corresponding to each of the battery to be balanced and the adjacent battery to be opened so as to charge or discharge the target capacitor for the second time until the battery to be balanced does not exist in the plurality of batteries, and controlling the first switch and the second switch corresponding to each of the plurality of batteries to be opened.
8. An apparatus for battery voltage equalization, comprising:
the balancing determination module is used for determining a battery to be balanced in the plurality of batteries;
the first control module is used for controlling the first switches corresponding to the to-be-balanced battery and the adjacent battery to be closed and controlling the second switches corresponding to the to-be-balanced battery and the adjacent battery to be opened under the condition that the to-be-balanced battery is a plurality of batteries, so that the target capacitor is charged or discharged for the first time; the adjacent battery is at least one battery adjacent to the battery to be balanced; the target capacitance is the balance capacitance between the battery to be balanced and the adjacent battery;
the second control module is used for controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed and controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened after a first preset time period so as to charge or discharge the target capacitor for the second time;
and the circulation module is used for repeatedly executing the determination of the battery to be balanced in the plurality of batteries after a second preset time period, controlling the second switches corresponding to the battery to be balanced and the adjacent battery to be closed after a first preset time period, controlling the first switches corresponding to the battery to be balanced and the adjacent battery to be opened, so that the target capacitor is charged or discharged for the second time until the battery to be balanced does not exist in the plurality of batteries, and controlling the first switches and the second switches corresponding to the plurality of batteries to be opened.
9. A computer storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, loaded and executed by a processor to implement a fuel cell simulation method according to any one of claims 1-7.
10. An electronic device comprising a processor and a memory, wherein the memory has stored therein at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the fuel cell simulation method of any of claims 1-7.
CN202311836356.4A 2023-12-27 2023-12-27 Method and device for balancing battery voltage and computer storage medium Pending CN117791806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311836356.4A CN117791806A (en) 2023-12-27 2023-12-27 Method and device for balancing battery voltage and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311836356.4A CN117791806A (en) 2023-12-27 2023-12-27 Method and device for balancing battery voltage and computer storage medium

Publications (1)

Publication Number Publication Date
CN117791806A true CN117791806A (en) 2024-03-29

Family

ID=90394290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311836356.4A Pending CN117791806A (en) 2023-12-27 2023-12-27 Method and device for balancing battery voltage and computer storage medium

Country Status (1)

Country Link
CN (1) CN117791806A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105576719A (en) * 2014-10-08 2016-05-11 香港理工大学 Voltage balancing circuit
CN107294167A (en) * 2017-07-11 2017-10-24 成都芯源系统有限公司 Voltage equalization method, battery equalization control circuit and battery equalization circuit
CN108281993A (en) * 2017-12-08 2018-07-13 东莞市德尔能新能源股份有限公司 A kind of improved striding capacitance equalizing circuit and its equalization methods
US20210083484A1 (en) * 2019-04-24 2021-03-18 Contemporary Amperex Technology Co., Limited Method, apparatus, device and medium for equalization control of battery packs
CN115079020A (en) * 2022-05-27 2022-09-20 中国第一汽车股份有限公司 Battery failure detection method, system, device storage medium, and vehicle
CN115799678A (en) * 2022-12-19 2023-03-14 湖北工业大学 Segmented balance fuzzy control method based on voltage SOC and temperature

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105576719A (en) * 2014-10-08 2016-05-11 香港理工大学 Voltage balancing circuit
CN107294167A (en) * 2017-07-11 2017-10-24 成都芯源系统有限公司 Voltage equalization method, battery equalization control circuit and battery equalization circuit
CN108281993A (en) * 2017-12-08 2018-07-13 东莞市德尔能新能源股份有限公司 A kind of improved striding capacitance equalizing circuit and its equalization methods
US20210083484A1 (en) * 2019-04-24 2021-03-18 Contemporary Amperex Technology Co., Limited Method, apparatus, device and medium for equalization control of battery packs
CN115079020A (en) * 2022-05-27 2022-09-20 中国第一汽车股份有限公司 Battery failure detection method, system, device storage medium, and vehicle
CN115799678A (en) * 2022-12-19 2023-03-14 湖北工业大学 Segmented balance fuzzy control method based on voltage SOC and temperature

Similar Documents

Publication Publication Date Title
CN106992561B (en) Apparatus and method for charging battery pack
JP5771210B2 (en) Method and system for balancing a plurality of electrical cells
JP5975169B2 (en) Charge / discharge device, charge / discharge control method, and program
US9831689B2 (en) Battery cell balancing method
US10553913B2 (en) Battery apparatus, charging control apparatus, and charging control method
JP7337061B2 (en) battery management
CN110383620B (en) Method for operating a modular battery storage system, modular battery storage system and battery management system therefor
ES2950800T3 (en) Procedure and device for charging electrical energy accumulators
WO2019125916A1 (en) Cell balancing in batteries
CN112803512A (en) Method and control device for operating a battery system and battery system
CN113489080B (en) Battery electric quantity balancing method, device, equipment and storage medium
CN117791806A (en) Method and device for balancing battery voltage and computer storage medium
CN112636431A (en) Charging device, charging system and charging device control method
CN113922437B (en) Remote-control lithium battery no-loop management method and device and electronic equipment
US20200287394A1 (en) A system to charge cells assembled into a battery
CN114977378A (en) Energy storage system, balance control method and device thereof, and storage medium
KR102133558B1 (en) Cell balancing apparatus and method using fan
Skruch et al. Fractional-order models of the ultracapacitors
KR20210053785A (en) Battery management system and method for controlling battery charging
CN113875120B (en) Method for operating an electrical energy store, electrical energy store and device
JP7213776B2 (en) Cell balance control device and vehicle running system
WO2023234395A1 (en) Power supply device, diagnosis device, and diagnosis method
CN115765080B (en) Battery active equalization method, device and charging system
CN116559634A (en) Circuit fault detection method and device, storage medium and electronic equipment
CN113036832A (en) Balanced charging method and charging device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination