Disclosure of Invention
Therefore, it is necessary to provide a method and a system for measuring remaining battery power, which can realize accurate measurement of battery SOC, in order to solve the problem of large error in the conventional battery SOC measurement method.
A battery remaining capacity measuring method includes the steps of:
according to the battery characteristics, a first SOC interval of which the SOC and the battery terminal voltage value are in a linear relation under a constant temperature state of the battery is obtained, and two endpoint values of the first SOC interval are recordedaAnd SOCbMeasuring the SOC of the battery into SOC under different charging and discharging currents with constant temperatureaMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCbThen, obtaining the corresponding relation between the SOC and the battery terminal voltage under different charging and discharging flows at constant temperature by utilizing a two-dimensional linear interpolation algorithm for the battery terminal voltage value;
according to the battery characteristics, a second SOC interval in which the SOC of the battery is in a linear relation with the terminal voltage value of the battery under the constant charging and discharging current state is obtained, and two endpoint values SOC of the second SOC interval are recordednAnd SOCmMeasuring the SOC of the battery to be SOC under constant charge-discharge current and different temperaturesnMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCmThen, the voltage value of the battery terminal is obtained by utilizing a two-dimensional linear interpolation algorithm under different temperatures under constant charge and discharge currentA correspondence of SOC to battery terminal voltage;
selecting an interval in which a first SOC interval in which the SOC of the battery is in a linear relation with the terminal voltage value of the battery in a constant temperature state and a second SOC interval in which the SOC of the battery is in a linear relation with the terminal voltage value of the battery in a constant charging and discharging current state are overlapped, and recording the interval as a third SOC interval;
in the third SOC interval, the corresponding relation of the SOC, the charge and discharge current, the temperature and the battery terminal voltage is arranged, and the charge and discharge current, the current temperature and the terminal voltage value of the battery are measured;
according to the third SOC interval, the corresponding relation of the SOC, the charge-discharge current, the temperature and the battery terminal voltage and the charge-discharge current, the current temperature and the terminal voltage value of the battery are arranged, a first measurement value of the current battery is calculated and recorded as a voltage method SOCE;
Measuring the SOC of the battery by adopting a current integration method, calculating a second measured SOC value of the battery under the constant charge-discharge current state, and recording as the SOC of the current integration methodC;
For the voltage method SOCEAnd the current integration method SOCCAnd (3) weighted integration, namely integrating to obtain the SOC value of the battery, wherein the weighted integration formula is as follows:
wherein,in order to be the weighting coefficients,and when the SOC is infinitely close to either of the two end points of the third SOC interval,infinitely close to 1;
wherein, the battery is a nickel-hydrogen battery or a lithium battery.
A battery remaining capacity measuring system comprising:
the constant temperature different charging and discharging current processing module is used for obtaining a first SOC interval of which the SOC and the terminal voltage value of the battery are in a linear relation in a constant temperature state according to the characteristics of the battery and recording two endpoint values of the SOC intervalaAnd SOCbMeasuring the SOC of the battery into SOC under different charging and discharging currents with constant temperatureaMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCbThen, obtaining the corresponding relation between the SOC and the battery terminal voltage under different charging and discharging flows at constant temperature by utilizing a two-dimensional linear interpolation algorithm for the battery terminal voltage value;
the constant charge-discharge current different temperature processing module is used for obtaining a second SOC interval in which the SOC and the terminal voltage value of the battery are in a linear relation under the state of constant charge-discharge current according to the characteristics of the battery, and recording two endpoint values of the second SOC intervalnAnd SOCmMeasuring the SOC of the battery to be SOC under constant charge-discharge current and different temperaturesnMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCmThen, obtaining the corresponding relation between the SOC and the battery terminal voltage at different temperatures of constant charge and discharge current by using a two-dimensional linear interpolation algorithm for the battery terminal voltage value;
the overlapping module is used for selecting an interval where a first SOC interval of which the SOC and the battery terminal voltage value are in a linear relation in a constant temperature state of the battery and a second SOC interval of which the SOC and the battery terminal voltage value are in a linear relation in a constant charging and discharging current state of the battery are overlapped, and recording the interval as a third SOC interval;
the measurement module is used for sorting the corresponding relation among the SOC, the charge and discharge current, the temperature and the terminal voltage of the battery in the third SOC interval and measuring the charge and discharge current, the current temperature and the terminal voltage value of the battery;
a voltage method calculation module for arranging corresponding relation between SOC, charge-discharge current, temperature and battery terminal voltage according to the third SOC intervalCharging and discharging current, current temperature and terminal voltage values, calculating a first measured value of the current battery, and recording the first measured value as a voltage method SOCE;
The current integration method calculation module is used for measuring the SOC of the battery by adopting a current integration method, calculating a second measurement SOC value of the battery under the constant charge-discharge current state and recording the second measurement SOC value as the SOC of the current integration methodC;
A weighted integration module for the voltage method SOCEAnd the current integration method SOCCAnd (3) weighted integration, namely integrating to obtain the SOC value of the battery, wherein the weighted integration formula is as follows:
wherein,in order to be the weighting coefficients,and when the SOC is infinitely close to either of the two end points of the third SOC interval,infinitely close to 1;
wherein, the battery is a nickel-hydrogen battery or a lithium battery.
The invention relates to a method and a system for measuring the residual electricity of a battery, which respectively obtain the corresponding relation between SOC and battery terminal voltage under different temperatures of constant charge-discharge current and the corresponding relation between SOC and battery terminal voltage under different temperatures of constant charge-discharge current by utilizing a two-dimensional interpolation algorithm, then arrange the corresponding relation between SOC, charge-discharge current, temperature and battery terminal voltage, the charge-discharge current, the current temperature and the terminal voltage value of the battery, and calculate the SOC based on the current battery voltage method according to the charge-discharge current, the current temperature and the terminal voltage value of the batteryEIn addition, the SOC of the battery is calculated by a current integration method to obtain the SOC of the battery by the current integration methodCTo, forSOC by voltage methodESum current integration method SOCCAnd (4) carrying out weighted integration, and integrating to obtain the SOC value of the battery. Obtaining voltage method SOC by utilizing the linear relation between the SOC of the battery and terminal voltage in a certain intervalEAdditionally weighted integrated current integration and distribution SOCCAnd the final SOC value of the battery is obtained, and the accurate measurement of the SOC can be realized.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The method and the system for measuring the residual capacity of the battery are realized by the applicant based on the following theoretical research:
SOC refers to state of charge. The ratio of the remaining capacity of a battery when used for a period of time or left unused for an extended period of time to its capacity in its fully charged state is often expressed as a percentage.
It is known that the current integration method works well when the battery is fully charged and just charged, but if it is not used for several days after charging or if it is not fully charged for several charging and discharging cycles, the self-discharge phenomenon caused by the internal chemical reaction becomes very significant. It must therefore be corrected using a method such that the current integration method can be used accurately without charging completely.
Taking a nickel-metal hydride battery as an example, a charge-discharge experiment was performed on the nickel-metal hydride battery at a constant temperature (room temperature 25 ℃), I [ ± 1, ± 2, ± 3, ± 4] a (the current is positive charge, and the current is negative discharge), and data such as charge-discharge current, terminal voltage, SOC, and the like were recorded, as shown in fig. 1 and fig. 2. It can be seen that the voltage variation curve is parallel and substantially linear with the SOC under different current charging and discharging conditions when the SOC is between 20% and 80%. As shown in fig. 3 and 4, in order to obtain the relationship between the terminal voltage and the SOC at different temperatures, the relationship between the SOC and the terminal voltage V under the charging and discharging conditions of 1C (C represents the battery capacity, and the discharging rate is 1C when the battery with 1C representing the 10AH capacity is discharged with 10A) at different temperatures was obtained in the charging and discharging experiment of 1C at 20C, 25C, 30C and 35C, and it was found that when the SOC is between 20% and 80%, the voltage change curves were all parallel and substantially linear with the SOC under the charging and discharging conditions at different temperatures. Through a large amount of experimental data, a Map graph between the nickel-hydrogen SOC and the temperature, the current and the terminal voltage is established, and the adjacent charging and discharging characteristic curves under different current and temperature conditions are basically parallel to each other within the working interval of 20% to 80% of the SOC. Therefore, terminal voltage values under different temperatures and different current conditions are established, and the relation among the battery charge-discharge current, the environment temperature, the terminal voltage and the SOC is searched.
As shown in fig. 1 to 5, a remaining power measuring method of a battery includes the steps of:
s100: according to the battery characteristics, a first SOC interval of which the SOC and the battery terminal voltage value are in a linear relation under a constant temperature state of the battery is obtained, and two endpoint values of the first SOC interval are recordedaAnd SOCbAt constant temperature with different charging and dischargingMeasuring the SOC of the battery to be SOC under the currentaMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCbThen, the voltage value of the battery terminal is obtained by utilizing a two-dimensional linear interpolation algorithm to obtain the corresponding relation between the SOC and the voltage value of the battery terminal under different charging and discharging currents with constant temperature, wherein the SOC isaLess than SOCb。
As described above, through a large amount of implementation data, we find that under the conditions of constant temperature and different current charging and discharging, when the SOC is within a certain area data range, the voltage change curve is parallel and basically has a linear relationship with the SOC, so that the relationship between the SOC and the terminal voltage V at different currents can be obtained through two-dimensional linear interpolation. Here we record the region of this SOC as [ SOC ]a,SOCb]SOC, which can be found visually in FIGS. 1 and 2aAt 20% SOCbThe content was 80%. Since the voltage change curves in the interval are parallel and basically have a linear relation with the SOC, the SOC can be measured firstlyaCorresponding battery terminal voltage value Va、SOCbCorresponding battery terminal voltage value VbThen, a two-dimensional linear interpolation algorithm is adopted to calculate the SOC as [ SOC ]a,SOCb]The corresponding battery terminal voltage value in the time of the intermediate value represents the corresponding relation between the SOC and the battery terminal voltage under different constant temperature charging and discharging flows by using a mathematical formula. The detailed formula is as follows:
therein, SOCx1Is [ SOC ]n,SOCm]Partial SOC value, V, in the intervalqIs SOCxCorresponding terminal voltage value of battery, VbWhen the battery SOC is SOCbTerminal voltage value of time, VaWhen the battery SOC is SOCaAnd the terminal voltage value is used for establishing a four-dimensional database of the terminal voltage, the residual electric quantity, the charging and discharging current and the temperature in subsequent processing.
S200: according to the battery characteristics, the battery is obtained in a constant charge-discharge flow stateA second SOC interval with the SOC and the battery terminal voltage value in a linear relation under the state, and two end point values of the second SOC interval are recordednAnd SOCmMeasuring the SOC of the battery to be SOC under constant charge-discharge current and different temperaturesnMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCmThen, the voltage value of the battery terminal is obtained by utilizing a two-dimensional linear interpolation algorithm to obtain the corresponding relation between the SOC and the voltage value of the battery terminal under different temperatures of constant charge-discharge current, wherein the SOC isnLess than SOCm。
As described above, a large amount of implementation data shows that, at different temperatures with constant charge and discharge current, when the SOC is within a certain data range, the voltage change curves are parallel and substantially linear with the SOC, so that the relationship between the SOC and the terminal voltage V at different temperatures can be obtained through two-dimensional linear interpolation. Here we record the region of this SOC as [ SOC ]n,SOCm]SOC, which can be found visually in FIGS. 3 and 4nAt 20% SOCmThe content was 80%. Due to the interval [ SOCn,SOCm]The voltage change curves are all parallel and basically have a linear relation with the SOC, so that the SOC can be measured firstlynCorresponding battery terminal voltage value Vn、SOCmCorresponding battery terminal voltage value VmThen, a two-dimensional linear interpolation algorithm is adopted to calculate the SOC as [ SOC ]n,SOCm]The corresponding relation between the SOC and the terminal voltage value in the time of the intermediate value is represented by a mathematical formula, and the corresponding relation between the SOC and the terminal voltage of the battery in different temperature states of constant charge and discharge current is represented by the mathematical formula. The detailed formula is as follows:
therein, SOCx2Is [ SOC ]n,SOCm]Partial SOC value, V, in the intervalpIs SOCxCorresponding terminal voltage value of battery, VmWhen the battery SOC is SOCmTerminal voltage value of time, VnWhen the battery SOC is SOCnTerminal voltage value of time for subsequent processingAnd establishing a four-dimensional database of terminal voltage, residual electric quantity, charging and discharging current and temperature.
S300: and selecting an interval in which a first SOC interval in which the SOC of the battery is in a linear relation with the terminal voltage value of the battery in a constant temperature state and a second SOC interval in which the SOC of the battery is in a linear relation with the terminal voltage value of the battery in a constant charging and discharging current state are overlapped, and recording the interval as a third SOC interval.
Because different battery performances are different, detailed numerical values of a first SOC interval and a second SOC interval cannot be known, in order to ensure the accuracy of a settlement result, the relation among the battery charge-discharge current, the environment temperature, the terminal voltage and the SOC needs to be considered comprehensively, so that an SOC interval in which the SOC and the terminal voltage are in a linear relation no matter under the conditions of different charge-discharge currents at constant temperature or different temperatures at constant charge-discharge current needs to be selected, namely an interval in which a first SOC interval in which the SOC and the terminal voltage value of the battery are in the linear relation and a second SOC interval in which the SOC and the terminal voltage value of the battery are in the linear relation under the constant charge-discharge current state are overlapped is selected and recorded as a third SOC interval. (in the specific example of FIGS. 1-4, the first and second intervals are the same interval, both 20% to 80%)
S400: and in the third SOC interval, the corresponding relation of the SOC, the charge and discharge current, the temperature and the terminal voltage of the battery is arranged, and the charge and discharge current, the current temperature and the terminal voltage value of the battery are measured.
And in the third interval, comprehensively considering the corresponding relation between the SOC, the charge and discharge current, the temperature and the terminal voltage of the battery, measuring the charge and discharge current, the current temperature and the terminal voltage value of the battery, and preparing for the detailed calculation of the next step of data. Regarding the arrangement of the corresponding relationship between the SOC, the charge and discharge current, the temperature and the battery terminal voltage, in order to facilitate the next processing, a terminal voltage value table under different temperatures and different currents can be established, and the corresponding SOC value can be obtained by using a table look-up method for the terminal voltage value obtained by measurement.
S500: according to the third SOC intervalManaging the corresponding relation among the SOC, the charge-discharge current, the temperature and the battery terminal voltage, and the charge-discharge current, the current temperature and the terminal voltage value of the battery, calculating a first measurement value of the current battery, and recording the first measurement value as a voltage method SOCE。
After the charge and discharge current, the current temperature and the terminal voltage value of the battery are obtained, the corresponding SOC value can be accurately found out through the corresponding relation among the SOC, the charge and discharge current, the temperature and the terminal voltage of the battery.
S600: measuring the SOC of the battery by adopting a current integration method, calculating a second measured SOC value of the battery under the constant charge-discharge current state, and recording as the SOC of the current integration methodC。
The current integration method, also called an ampere-hour integration method, is a common simple and reliable SOC calculation method, which can calculate the SOC of a battery according to the rated electric quantity, the charge and discharge current and the charge and discharge efficiency of the battery, but has the problem of large error, and a specific calculation formula of the current integration method can be found in related teaching materials or hundred-degree encyclopedias, and is not repeated herein. As mentioned above, the method for measuring the residual electric quantity of the battery corrects the current integration method so that the current integration method can be accurately used under the condition that the battery is not fully charged, and on the other hand, the current integration method is adopted to measure the SOC of the battery, and the measured value SOC of the current integration method is recordedC。
S700: for the voltage method SOCEAnd the current integration method SOCCAnd (3) weighted integration, namely integrating to obtain the SOC value of the battery, wherein the weighted integration formula is as follows:
wherein,in order to be the weighting coefficients,and when SOC is unlimitedly connectedNear either of the two end points of the third SOC interval,infinitely close to 1.
SOC obtained for previous voltage measurementsESOC by sum current integration methodCCarrying out weighting integration to obtain a final SOC value:
in the above formulaIn order to be the weighting coefficients,and when the SOC is infinitely close to either of the two end points of the third SOC interval,infinite proximity to 1, aboutThe specific values can be obtained by drawing a curve table through a large amount of implementation data, and obtaining corresponding parameter values according to the curve table, which is not described in detail herein.
Within a third interval (SOC is more than or equal to 20% and less than or equal to 80%) of the battery, under different current and temperature conditions, the charge-discharge curve is relatively gentle, and the adjacent charge-discharge characteristic curves are basically parallel to each other. Therefore, the voltage and the remaining capacity can be approximately considered to be in a linear relationship. At a fixed temperature, when the residual capacity of the battery is 20% and 80% of the total capacity, the voltage across the battery is basically constant. Therefore, the voltage values of batteries of different types at different temperatures when the batteries are discharged or charged to 20% and 80% of the electricity quantity at different currents can be determined through experiments. FromAnd a four-dimensional database (based on the SOC) about terminal voltage, residual capacity, charging and discharging current and temperature is establishedE1And SOCE2And measured electrical and temperature parameters) for correcting the inaccuracy at the starting point of the current integration method. Therefore, a residual electric quantity value can be obtained according to the measured voltage value. This is quite different from the conventional open circuit voltage method.
Wherein, the battery is a nickel-hydrogen battery or a lithium battery.
The invention relates to a method for measuring the residual electricity of a battery, which respectively obtains the corresponding relation between SOC and battery terminal voltage under different temperatures of constant charge-discharge current and the corresponding relation between SOC and battery terminal voltage under different temperatures of constant charge-discharge current by utilizing a two-dimensional interpolation algorithm, then arranges the corresponding relation between the SOC, the charge-discharge current, the temperature and the battery terminal voltage, the charge-discharge current, the current temperature and the terminal voltage value of the battery, and calculates the SOC method of the current battery voltage according to the charge-discharge current, the current temperature and the terminal voltage value of the batteryEIn addition, the SOC of the battery is calculated by a current integration method to obtain the SOC of the battery by the current integration methodCFor voltage method SOCESum current integration method SOCCAnd (4) carrying out weighted integration, and integrating to obtain the SOC value of the battery. Obtaining voltage method SOC by utilizing the linear relation between the SOC of the battery and terminal voltage in a certain intervalEAdditionally weighted integrated current integration and distribution SOCCAnd the final SOC value of the battery is obtained, and the accurate measurement of the SOC can be realized.
In one embodiment, the SOC of the battery is measured to be SOC under different charging and discharging currents at constant temperatureaMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCbThe method specifically comprises the following steps of obtaining the corresponding relation between the SOC and the battery terminal voltage under different constant temperature charging and discharging currents by utilizing a two-dimensional linear interpolation algorithm:
measuring constant temperature M different charging and discharging currents, wherein the SOC of the battery is SOCaThe terminal voltage value of the battery and the SOC of the battery are SOCbA battery terminal voltage value;
according to the constant temperature M different charging and discharging flows, the SOC of the battery is the SOCaThe terminal voltage value of the battery and the SOC of the battery are SOCbThen, the terminal voltage value of the battery is calculated by utilizing a two-dimensional linear interpolation algorithm to obtain other N different charging and discharging currents, and the SOC of the battery is the SOCaThe terminal voltage value of the battery and the SOC of the battery are SOCbThen, the voltage value of the battery end, wherein the charge and discharge current values in the N different charge and discharge currents are all smaller than the highest value in the M different charge and discharge currents and larger than the lowest value in the M different charge and discharge currents;
and acquiring the corresponding relation between the SOC and the battery terminal voltage under different charging and discharging current states at constant temperature.
In order to ensure the accuracy of a final result and obtain a charging and discharging curve under all charging and discharging currents, data under a large number of charging and discharging currents need to be obtained for analysis, a method for directly measuring the charging and discharging currents and terminal voltages can be adopted for statistics on a small amount of data, but the large amount of data cannot be obtained through measurement under limited energy. Here, we use the two-dimensional linear interpolation algorithm again, measure the SOC as two endpoints in the second SOC interval, the corresponding battery terminal voltage values under M different charging and discharging currents, and the corresponding battery terminal voltage values of N charging and discharging currents which are greater than the lowest charging and discharging current of M charging and discharging currents and less than the maximum charging and discharging current of M charging and discharging currents can be obtained by calculating with the two-dimensional linear interpolation algorithm.
In one embodiment, the specific calculation formula of the above calculation is as follows:
wherein, IxFor the current charge-discharge current of the battery, I1For M different charging and discharging currents less than IxCharge and discharge current value of (1)2For M different charging and discharging currents greater than IxCharge and discharge current value of, VI1For the battery SOC to be SOCaWhen the charging and discharging current is I1Voltage value of battery terminal corresponding to time, VI2For the battery SOC to be SOCaWhen the charging and discharging current is I2Voltage value of battery terminal corresponding to time, Vi1For the battery SOC to be SOCbWhen the charging and discharging current is I1Voltage value of battery terminal corresponding to time, Vi2For the battery SOC to be VI2For the battery SOC to be SOCbWhen the voltage value of the corresponding battery terminal is I, the charging and discharging current is2Voltage value of battery terminal corresponding to time, VaFor the battery SOC to be SOCaThe charge-discharge current is IxTime, terminal voltage value of battery, VbFor the battery SOC to be SOCbThe charge-discharge current is IxThe battery terminal voltage value.
More specifically, when M different charge and discharge currents are integers and N charge and discharge currents are decimals, we can calculate in the following manner.
When the charging and discharging current is an integer, the SOC of the battery is measured to be SOCaAnd SOCbWhen the charging and discharging current is non-integer, the charging and discharging current is read to be two adjacent and nearest integers of the current charging and discharging current, and the SOC of the battery is respectively SOCaAnd SOCbThen, the corresponding battery terminal voltage value adopts a two-dimensional linear interpolation algorithm to obtain the current charging and discharging current, and the SOC of the battery is respectively SOCaAnd SOCbA terminal voltage value of the battery;
and obtaining the corresponding relation between the SOC and the battery terminal voltage under different constant temperatures and charging and discharging currents by adopting a two-dimensional linear interpolation algorithm according to the charging and discharging currents, the battery terminal voltage value and the corresponding battery SOC value.
For example, when the required charge/discharge current is 1.2A, the SOC is measured as SOCaAnd SOCbAnd calculating the corresponding terminal voltage when the charge-discharge current is 1A and 2A by using a two-dimensional linear interpolation algorithm to obtain the SOC when the SOC is the SOC when the charge-discharge current is 1.2AaAnd SOCbCorresponding to the terminal voltage value. In the above formula, the current-dependent parameter (I)1、I2And Ix) Can be obtained by direct measurement with current measuring device (ammeter)I1、VI2、Vi1And Vi2) Can be obtained by direct measurement using a voltage measuring device (voltmeter).
For convenience of explanation, the calculation process of the above embodiment will be explained below using an example in which the battery is a nickel-metal hydride battery, SOCaAt 20% SOCbThe required charge and discharge current was 1.2A at 80%.
Firstly, 1.2A is non-integer charge-discharge current, two nearest integer charge-discharge currents of 1.2A are searched, the charge-discharge current is measured to be 1A or 2A, and the corresponding battery terminal voltage values are respectively V when the SOC is 20 percentI1And VI2Using the formulaCalculate V20%Measuring the charging and discharging current as 1A or 2A, and the corresponding battery terminal voltage value is V when the SOC is 80%i1And Vi2Using the formulaCalculate V80%Substituting the calculation result into the formulaTo obtain the final result. Therefore, by adopting the two-dimensional linear interpolation algorithm again, the complete charging and discharging curves under all the charging and discharging numerical values can be obtained by using the limited charging and discharging current and the corresponding data thereof, and the accuracy of the final calculation result is ensured.
In one embodiment, the calculating a first measured SOC value of the battery at the constant temperature state according to the correspondence between the SOC and the battery terminal voltage at the constant temperature and different charging and discharging currents and the battery terminal voltage value at the constant temperature and different charging and discharging currents specifically includes:
using formulasA first measured SOC of the battery at a constant temperature state;
wherein, VbWhen the battery SOC is SOCbTerminal voltage value of time, VaWhen the battery SOC is SOCaTerminal voltage value of time, VxFor the currently obtained terminal voltage value, SOCEAnd calculating the obtained SOC value of the current battery for a voltage method.
In one embodiment, the SOC of the battery is measured to be SOC under different temperature states with constant charge and discharge currentsnMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCmThe method comprises the following steps of obtaining a corresponding relation between the SOC and the battery terminal voltage under different temperature states of constant charge and discharge current by utilizing a two-dimensional linear interpolation algorithm:
measuring the SOC of the battery at M different temperatures under constant charge-discharge currentnThe terminal voltage value of the battery and the SOC of the battery are SOCmA battery terminal voltage value;
the SOC of the battery is the SOC according to the constant charge-discharge current M different temperaturesnThe terminal voltage value of the battery and the SOC of the battery are SOCmThen, the voltage value of the battery terminal is calculated to be SOC of the battery at other N different temperatures by utilizing a two-dimensional linear interpolation algorithmnThe terminal voltage value of the battery and the SOC of the battery are SOCmThen, the voltage value of the battery terminal is measured, wherein the temperature values in the N different temperatures are all smaller than the highest temperature in the M different temperatures and are larger than the lowest temperature in the M different temperatures;
and acquiring the corresponding relation between the SOC and the battery terminal voltage under different temperature states of constant charge and discharge current.
In order to ensure the accuracy of a final result and obtain a charge-discharge curve at all temperature values, data at a plurality of temperatures needs to be obtained for analysis, a method for directly measuring the temperature and the terminal voltage can be adopted for statistics on a small amount of data, but the measurement cannot be completely carried out on a large amount of data under limited energy. Here, we use the two-dimensional linear interpolation algorithm again, measure the SOC as two endpoints in the second SOC interval first, the battery terminal voltage value corresponding to M different temperature values, for N temperature values greater than the lowest temperature value of M temperature values and less than the maximum temperature value of M temperature values, the battery terminal voltage value can be calculated and obtained by the two-dimensional linear interpolation algorithm.
In one embodiment, the specific calculation formula of the above calculation is as follows:
wherein, T1And T2Respectively, any two values of M different temperature values, TxGreater than T for N different temperature values1And is less than T2Temperature value of, VT1For the battery SOC to be SOCnTemperature of T1Voltage value of battery terminal corresponding to time, VT2For the battery SOC to be SOCnTemperature of T2Voltage value of battery terminal corresponding to time, Vt1For the battery SOC to be SOCmTemperature of T1Voltage value of battery terminal corresponding to time, Vt2For the battery SOC to be SOCmTemperature of T2Voltage value of battery terminal corresponding to time, VnFor the battery SOC to be SOCnTemperature of TxTime, terminal voltage value of battery, VmFor the battery SOC to be SOCmTemperature of TxThe battery terminal voltage value.
More specifically, when M different temperature values are integers and N temperature values are decimal values, we can calculate the values in the following manner.
When the temperature is an integer, the SOC of the battery is measured to be SOCnAnd SOCmWhen the temperature is non-integer, the reading temperature is two nearest integers adjacent to the current temperature, and the SOC of the battery is respectively SOCnAnd SOCmThen, the corresponding battery terminal voltage values adopt a two-dimensional linear interpolation algorithm to obtain the SOC of the batteries respectively at the current temperaturenAnd SOCmA terminal voltage value of the battery;
and acquiring the corresponding relation between the SOC and the battery terminal voltage under different temperature states of constant charge-discharge current by adopting a two-dimensional linear interpolation algorithm according to the temperature, the battery terminal voltage value and the corresponding battery SOC value.
For example, when the required charge/discharge current is 21.5 ℃, the SOC is measured as SOCnAnd SOCmAnd the terminal voltages corresponding to the temperatures of 20 ℃ and 21 ℃ are calculated by utilizing a two-dimensional linear interpolation algorithm to obtain the SOC at the SOC of 21.5 DEG CnAnd SOCmCorresponding to the terminal voltage value. In the above formula, the temperature dependent parameter (T)1、T2And Tx) Can be obtained by direct measurement with a temperature measuring device (thermometer), and the terminal voltage parameter (V)T1、VT2、Vt1And Vt2) Can be obtained by direct measurement using a voltage measuring device (voltmeter).
For convenience of explanation, the calculation process of the above embodiment will be explained below using an example in which the battery is a nickel-metal hydride battery, SOCnAt 20% SOCm80% and the desired temperature is 21.5 ℃.
Firstly, the charging and discharging current with the temperature of 21.5 ℃ being non-integer is searched, the two nearest integer charging and discharging currents with the temperature of 21.5 ℃ are searched, the charging and discharging current is measured to be 20 ℃ or 21 ℃, and the corresponding terminal voltage values of the battery are respectively V when the SOC is 20 percentT1And VT2Using the formulaCalculate V20%The measurement temperature is 20 ℃ or 21 DEG CAnd the terminal voltage values of the batteries corresponding to the SOC of 80 percent are respectively Vt1And Vt2Using the formulaCalculate V80%Substituting the calculation result into the formulaTo obtain the final result. Therefore, the two-dimensional linear interpolation algorithm is adopted again, the complete charging and discharging curves under all temperature values can be obtained by using the limited temperature and the corresponding data thereof, and the accuracy of the final calculation result is ensured.
In one embodiment, the calculating a first measured SOC value of the battery in the constant charging/discharging current state according to the correspondence between the SOC and the battery terminal voltage at different temperatures and the battery terminal voltage values at different temperatures specifically includes:
using formulasCalculating a first measurement SOC value of the battery in a constant charge-discharge current state;
wherein, VmWhen the battery SOC is SOCmTerminal voltage value of time, VnWhen the battery SOC is SOCnTerminal voltage value of time, VyFor the currently obtained terminal voltage value, SOCEAnd calculating the SOC value of the battery under different temperature states of the current constant charge-discharge current obtained by a voltage method.
In one embodiment, the SOCaAt 20%, the SOCbThe content was 80%.
In one embodiment, the SOCnAt 20%, the SOCmThe content was 80%.
SOCa、SOCb、SOCnAnd SOCmMay be obtained based on analysis of a large number of experimental data, or may be obtained by consulting relevant historical empirical data,it should be noted that the corresponding values of the different batteries are different.
As shown in fig. 6, a remaining battery capacity measuring system includes:
a constant temperature different charging and discharging current processing module 100, configured to obtain a first SOC interval in which an SOC of the battery is in a linear relationship with a terminal voltage value of the battery in a constant temperature state according to characteristics of the battery, and record two endpoint values of the first SOC intervalaAnd SOCbMeasuring the SOC of the battery into SOC under different charging and discharging currents with constant temperatureaMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCbThen, the voltage value of the battery terminal is obtained by utilizing a two-dimensional linear interpolation algorithm to obtain the corresponding relation between the SOC and the voltage value of the battery terminal under different charging and discharging currents with constant temperature, wherein the SOC isaLess than SOCb;
A constant charge-discharge current different temperature processing module 200, configured to obtain a second SOC interval in which the SOC of the battery is in a linear relationship with the terminal voltage value of the battery in a constant charge-discharge current state according to the characteristics of the battery, and record two endpoint values of the second SOC intervalnAnd SOCmMeasuring the SOC of the battery to be SOC under constant charge-discharge current and different temperaturesnMeasuring the voltage value of the battery terminal, and measuring the SOC of the battery as SOCmThen, the voltage value of the battery terminal is obtained by utilizing a two-dimensional linear interpolation algorithm to obtain the corresponding relation between the SOC and the voltage value of the battery terminal under different temperatures of constant charge-discharge current, wherein the SOC isnLess than SOCm;
The overlapping module 300 is used for selecting an interval where a first SOC interval in which the SOC of the battery is in a linear relation with the terminal voltage value of the battery in a constant temperature state and a second SOC interval in which the SOC of the battery is in a linear relation with the terminal voltage value of the battery in a constant charging and discharging current state are overlapped, and recording the interval as a third SOC interval;
the measurement module 400 is configured to, in the third SOC interval, arrange a correspondence between the SOC, the charge and discharge current, the temperature, and the terminal voltage of the battery, and measure the charge and discharge current, the current temperature, and the terminal voltage value of the battery;
a voltage method calculation module 500, configured to calculate a first measurement value of the current battery according to the third SOC interval, by sorting the correspondence between the SOC, the charge/discharge current, the temperature, and the battery terminal voltage, and the charge/discharge current, the current temperature, and the terminal voltage value of the battery, and recording the first measurement value as a voltage method SOCE;
A current integration method calculation module 600, configured to perform SOC measurement on the battery by using a current integration method, calculate a second measured SOC value of the battery in a constant charging/discharging current state, and record the second measured SOC value as the current integration method SOCC;
A weighted integration module 700 for the voltage method SOCEAnd the current integration method SOCCAnd (3) weighted integration, namely integrating to obtain the SOC value of the battery, wherein the weighted integration formula is as follows:
wherein,in order to be the weighting coefficients,and when the SOC is infinitely close to either of the two end points of the third SOC interval,infinitely close to 1;
wherein, the battery is a nickel-hydrogen battery or a lithium battery.
In the system for measuring the remaining battery power, the constant-temperature different-charging-and-discharging-current processing module 100 and the constant-charging-and-discharging-current different-temperature processing module 200 respectively obtain the corresponding relation between the SOC and the battery terminal voltage under the constant charging and discharging current and different temperatures by utilizing a two-dimensional interpolation algorithm, and the SOC, the charging and discharging current, the temperature and the battery terminal voltage are arranged by the reclosing module 300, the measuring module 400 and the voltage method calculating module 500Calculating the corresponding relation of the terminal voltage, the charge-discharge current, the current temperature and the terminal voltage value of the battery, and calculating the current battery voltage method SOC according to the charge-discharge current, the current temperature and the terminal voltage value of the batteryEThe current integration method calculation module 600 calculates the SOC of the battery by using the current integration method to obtain the SOC of the batteryCWeighting integration module 700 for voltage method SOCESum current integration method SOCCAnd (4) carrying out weighted integration, and integrating to obtain the SOC value of the battery. Obtaining voltage method SOC by utilizing the linear relation between the SOC of the battery and terminal voltage in a certain intervalEAdditionally weighted integrated current integration and distribution SOCCAnd the final SOC value of the battery is obtained, and the accurate measurement of the SOC can be realized.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.