CN117289158A - Battery SOC determination method and device, storage medium and electronic equipment - Google Patents

Battery SOC determination method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN117289158A
CN117289158A CN202311562483.XA CN202311562483A CN117289158A CN 117289158 A CN117289158 A CN 117289158A CN 202311562483 A CN202311562483 A CN 202311562483A CN 117289158 A CN117289158 A CN 117289158A
Authority
CN
China
Prior art keywords
soc
target
voltage value
battery
target battery
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
CN202311562483.XA
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.)
Weichai New Energy Power Technology Co ltd
Original Assignee
Weichai New Energy Power 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 Weichai New Energy Power Technology Co ltd filed Critical Weichai New Energy Power Technology Co ltd
Priority to CN202311562483.XA priority Critical patent/CN117289158A/en
Publication of CN117289158A publication Critical patent/CN117289158A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L58/00Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
    • B60L58/10Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries
    • B60L58/12Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries responding to state of charge [SoC]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/005Testing of electric installations on transport means
    • G01R31/006Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks
    • G01R31/007Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks using microprocessors or computers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • G01R31/387Determining ampere-hour charge capacity or SoC
    • G01R31/388Determining ampere-hour charge capacity or SoC involving voltage measurements

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Energy (AREA)
  • Sustainable Development (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides a method and a device for determining battery SOC, a storage medium and electronic equipment, wherein the method comprises the following steps: acquiring a first voltage value of a target battery and a second voltage value of the target battery, wherein the first voltage value is the voltage value of the target battery when the target battery is electrified last time, and the second voltage value is the voltage value of the target battery when the target battery is electrified last time; comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery; and according to the first voltage value and the target mapping relation, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery, wherein the target SOC is the SOC of the target battery when the current power-on is performed. According to different working conditions of the battery, different OCV curves are adopted to determine the current SOC, so that the estimation of the SOC can be more accurate.

Description

Battery SOC determination method and device, storage medium and electronic equipment
Technical Field
The present invention relates to a battery SOC determination neighborhood, and more particularly, to a battery SOC determination method, a battery SOC determination apparatus, a computer-readable storage medium, and an electronic device.
Background
The target battery of the electric automobile is controlled by a battery management system BMS, the BMS collects sensor current, and then the battery state of charge (SOC) is updated in real time by means of current integration and the like, but the reaction of chemical substances in the battery is not simple mechanical stopping charge movement, namely, when the battery is powered down and is still placed, the reaction of the chemical substances can occur in the battery, so that the influence on the battery SOC is generated. In general, when the battery is used up and is placed for a certain period of time for reuse, the SOC during reuse is different from the SOC stored before placement, which results in inaccurate initial value during re-power-up, errors in the SOC of the subsequent battery, and poor user experience.
Disclosure of Invention
The main object of the present application is to provide a method for determining a battery SOC, a device for determining a battery SOC, a computer readable storage medium and an electronic device, so as to at least solve the problem in the prior art that an initial value is inaccurate when a target battery is powered on again after standing, so that an error exists in the SOC of a subsequent battery and a user experience feel is poor.
In order to achieve the above object, according to one aspect of the present application, there is provided a method of determining a battery SOC, including: acquiring a first voltage value of a target battery and a second voltage value of the target battery, wherein the first voltage value is a voltage value of the target battery when the target battery is electrified last time, and the second voltage value is a voltage value of the target battery when the target battery is electrified last time; comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery; and determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery when the target battery is electrified at the current time.
Optionally, determining the corresponding target mapping relationship at least according to the comparison result includes: when the comparison result is that the first voltage value is larger than the second voltage value, determining that the historical battery state of the target battery is a discharge state, and determining that the target mapping relation is a discharge static OCV curve, wherein the historical battery state is the battery state of the target battery when the target battery is powered down last time, and the discharge static OCV curve represents the mapping relation between the voltage value of the target battery and the SOC of the target battery when the historical battery state of the target battery is the discharge state; and under the condition that the comparison result is that the first voltage value is smaller than the second voltage value, determining that the historical battery state of the target battery is a charging state, and determining that the target mapping relation is a charging static OCV curve, wherein the charging static OCV curve represents the mapping relation between the voltage value of the target battery and the SOC of the target battery under the condition that the historical battery state of the target battery is the charging state.
Optionally, determining the corresponding target mapping relationship at least according to the comparison result includes: determining an initial mapping relation set corresponding to the comparison result, wherein one initial mapping relation set comprises a plurality of initial mapping relations, the initial mapping relations are in one-to-one correspondence with the temperature values of the target battery, and the initial mapping relations are mapping relations between the voltage values of the target battery and the SOC of the target battery at the corresponding temperatures; acquiring a current temperature value of the target battery, wherein the current temperature value is the temperature of the target battery when the target battery is electrified at the current time; and determining the initial mapping relation corresponding to the current temperature value of the target battery as the target mapping relation.
Optionally, before comparing the first voltage value and the second voltage value to obtain a comparison result, the method further includes: acquiring a preset voltage range, wherein the preset voltage range is the voltage range of the target battery when the OCV curve of the target battery is in a platform area; determining not to execute a comparison step and determining a historical SOC of the target battery as the target SOC when the first voltage value is within the preset voltage range, wherein the historical SOC is the SOC of the target battery at the last power-down time, and the comparison step is a step of comparing the first voltage value with the second voltage value and obtaining a comparison result; and determining to execute the comparison step in the case that the first voltage value is not within the preset voltage range.
Optionally, after determining the corresponding target mapping relation according to at least the comparison result, the method further comprises: acquiring the actual standing time length of the target battery, wherein the initial time of the actual standing time length of the target battery is the last power-down time of the target battery, and the end time of the actual standing time length of the target battery is the current power-up time of the target battery; acquiring preset standing time length of the target battery, wherein the preset standing time length of the target battery is the shortest standing time length of complete depolarization of the target battery; determining the SOC of the target battery corresponding to the first voltage value as the initial SOC of the target battery according to the first voltage value and the target mapping relation; and under the condition that the actual standing time of the target battery is smaller than the preset standing time of the target battery, correcting the initial SOC by adopting a correction coefficient, and determining the target SOC of the target battery.
Optionally, when the actual rest duration of the target battery is smaller than the preset rest duration of the target battery, correcting the initial SOC by using a correction coefficient, to determine the target SOC of the target battery, including: acquiring the historical SOC of the target battery, wherein the historical SOC of the target battery is the SOC of the target battery when the target battery is powered down last time; determining a first SOC correction coefficient and a second SOC correction coefficient according to the actual standing time of the target battery, wherein the first SOC correction coefficient is positively correlated with the actual standing time of the target battery, the sum of the first SOC correction coefficient and the second SOC correction coefficient is 1, and the first SOC correction coefficient corresponds to the actual standing time of the target battery one by one; a first SOC correction value is determined as a product of an initial SOC of the target battery and the first SOC correction coefficient, and a second SOC correction value is determined as a product of a historical SOC of the target battery and the second SOC correction coefficient, and a target SOC of the target battery is determined as a sum of the first SOC correction value and the second SOC correction value.
Optionally, the method further comprises: and when the historical SOC of the target battery does not exist in the target storage area, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the historical SOC of the target battery is the SOC of the target battery at the last power-down time.
According to another aspect of the present application, there is provided a determination device of a battery SOC, including: the device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring a first voltage value of a target battery and a second voltage value of the target battery, the first voltage value is a voltage value of the target battery when the target battery is electrified last time, and the second voltage value is a voltage value of the target battery when the target battery is electrified last time; the processing unit is used for comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation at least according to the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery; and the determining unit is used for determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery when the target battery is electrified at the current time.
According to another aspect of the present application, there is provided a computer readable storage medium, the computer readable storage medium including a stored program, wherein when the program is executed, the device in which the computer readable storage medium is located is controlled to execute any one of the methods for determining the battery SOC.
According to another aspect of the present application, there is provided an electronic device including: the battery SOC determination apparatus includes one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a determination method for performing any one of the battery SOCs.
By applying the technical scheme, the method for determining the battery SOC firstly obtains a first voltage value of the target battery and a second voltage value of the target battery, wherein the first voltage value is the voltage value of the target battery when the target battery is electrified at the current time, and the second voltage value is the voltage value of the target battery when the target battery is electrified at the last time; then comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery; and finally, according to the first voltage value and the target mapping relation, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery, wherein the target SOC is the SOC of the target battery when the target battery is electrified at the current time. According to the method, the problem of inconsistent charge-discharge OCV curves of the lithium iron phosphate battery is solved by distinguishing OCV calibration values under charge/discharge working conditions; according to different working conditions of the battery, different OCV curves are adopted to determine the current SOC, so that estimation of the SOC is more accurate, and the problems that in the prior art, the initial value is inaccurate when the target battery is electrified again after standing, errors exist in the SOC of the subsequent battery, and the user experience is poor are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a flowchart illustrating a method for determining a battery SOC according to an embodiment of the present application;
FIG. 2 illustrates a schematic diagram of an OCV curve under battery charge/discharge conditions provided in accordance with an embodiment of the present application;
FIG. 3 shows a schematic diagram of a battery OCV curve at different temperatures provided in accordance with an embodiment of the present application;
fig. 4 is a flowchart illustrating another method for determining a battery SOC according to an embodiment of the present application;
fig. 5 shows a block diagram of a battery SOC determination apparatus provided in accordance with an embodiment of the present application;
fig. 6 shows a block diagram of a structure of another battery SOC determination apparatus provided in accordance with an embodiment of the present application.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures 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 in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, the following will describe some terms or terms related to the embodiments of the present application:
battery management system: battery Management System, BMS for short;
open circuit voltage: open Circuit Voltage, OCV, is a voltage curve that varies with capacity during charge and discharge of a battery;
state of charge: state of Charge, SOC for short, is used to reflect the remaining capacity of the battery, and is defined numerically as the ratio of the remaining capacity to the battery capacity.
As described in the background art, in the prior art, when the battery is used up and is placed for a certain time for reuse, the SOC during reuse is different from the SOC stored before placement, which leads to inaccurate initial value during secondary power-up, resulting in error of the SOC of the subsequent battery, and poor user experience.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
In the present embodiment, a method of determining the SOC of a battery operating in an electric vehicle or similar computing device is provided, and it is to be noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that herein.
Fig. 1 is a flowchart of a method of determining a battery SOC according to an embodiment of the present application. As shown in fig. 2, the method comprises the steps of:
step S101, a first voltage value of a target battery and a second voltage value of the target battery are obtained, wherein the first voltage value is a voltage value of the target battery when the target battery is electrified last time, and the second voltage value is a voltage value of the target battery when the target battery is electrified last time;
specifically, since the reaction of the chemical substances is inside the battery, the movement of charges is not simply stopped mechanically, and thus, the reaction of the chemical substances exists inside the battery during the period from the last power-down to the last power-up of the battery and the rest time, which results in that the voltage value of the battery at the last power-up and the voltage value at the last power-down may be different.
The state (for example, a charging state or a discharging state) of the battery at the last power-down time can be determined by the voltage value of the battery at the last power-up time and the voltage value at the last power-down time. And because the corresponding relation between the voltage and the SOC of the battery in the charge and discharge state may be different (that is, the OCV curves are different), the state of the battery in the last power-down state is determined by the voltage value of the battery in the last power-up state and the voltage value in the last power-down state, so that different OCV curves are selected, and the SOC of the battery in the last power-up state is predicted.
In addition, the power battery is controlled by a battery management system BMS, the current of the sensor is collected, the state of charge (SOC) of the battery is updated in real time through methods such as current integration and the like, but the reaction of chemical substances in the battery is not simple, the charge movement is stopped mechanically, and when the battery is used up and is kept still for a certain time for reuse, the SOC jump frequently occurs, so that the SOC can be accurately calibrated by adopting the steps of the method, the SOC jump is prevented, and the user experience is effectively improved.
The state of charge of a lithium battery is also called SOC (State of Charge) of the battery simply called the remaining capacity. Representing the ratio of the remaining charge to the fully charged charge of the lithium battery, typically a percentage. Soc=0 represents a full discharge, when soc=1 represents a full charge of the battery.
SOC is a value estimated by a set of algorithm models established by comparing the collected mass data with the actual battery data. The higher the estimation accuracy of the SOC is, the longer the discharging time of the battery with the same capacity is, so that the electric vehicle can have more constant endurance mileage. The high-precision SOC estimation can enable the lithium ion battery pack to exert the maximum efficiency.
SOC estimation is one of the bases of research on battery applications. The service life of the lithium ion battery can be greatly reduced due to deep charge and discharge in use. Accurate SOC estimation may prevent this from happening. The accurate display of the residual electric quantity can help the automobile or the two-wheeled electric vehicle control system to calculate the driving mileage, so that a travel route is planned for a user better.
SOC algorithms have been one of the key technologies for lithium ion Battery Management System (BMS) development applications. The calculation methods commonly adopted at present are an ampere-hour integration method and an open-circuit voltage calibration method. All algorithms are necessarily established in a large amount of data acquisition, actual data and calculation data are compared, and the algorithms are continuously optimized, so that the algorithms are more and more perfect.
The main prediction methods of lithium battery state of charge (SOC) currently include: discharge experiment method, open circuit voltage method, ampere-hour integration method, kalman filtering method, neural network method, etc.
Wherein, before comparing the first voltage value with the second voltage value to obtain a comparison result, the method further comprises the following steps:
step S201, obtaining a preset voltage range, wherein the preset voltage range is the voltage range of the target battery when the OCV curve of the target battery is in a platform area;
step S202, when the first voltage value is within the preset voltage range, determining not to execute a comparison step, and determining the historical SOC of the target battery as the target SOC, wherein the historical SOC is the SOC of the target battery at the last power-down time, and the comparison step is a step of comparing the first voltage value and the second voltage value and obtaining the comparison result;
step S203, determining to execute the comparing step when the first voltage value is not within the preset voltage range.
Specifically, as shown in fig. 2, the a curve is a charge-static OCV curve, the b curve is a discharge-static OCV curve, the abscissa is SOC, and the ordinate is OCV. The battery OCV can exist in a gentle slope area, a steep slope area and a platform area, wherein the corresponding SOC values of the gentle slope area and the steep slope area have larger and more obvious differences under the condition that the voltage values of the battery are different, and when the voltage of the battery is in the platform area, the difference between the corresponding SOCs of the battery voltage values is almost smaller, so that the current SOCs of the battery cannot be accurately determined according to an OCV curve, namely, when the voltage of the battery is in the platform area, the current SOCs of the battery can be determined by adopting the OCV curve, and therefore, under the condition that the voltage of the battery is in the platform area, the SOCs of the target battery at the last power-down time are directly the target SOCs, and although the method can also have errors, the errors are far smaller than the errors determined by adopting the OCV curve. And the platform phase characteristics of the lithium iron phosphate battery are considered, and the SOC is calibrated by adopting an OCV table lookup in a non-platform area, so that the accuracy of the SOC is improved.
The new energy vehicle is powered by adopting a lithium iron phosphate battery, and due to the characteristics of a platform area of the lithium iron phosphate battery, as shown in fig. 2, different SOC calibration schemes are required to be considered, and the SOC is calibrated in real time so as to obtain a precise SOC value, provide accurate cruising mileage and relieve the mileage anxiety of a driver. After the battery is used, chemical reaction in the static state is continuously carried out, after the battery is depolarized, the collected battery state represents the real state of the battery, and the SOC is recalibrated after the battery is static, so that the SOC precision is improved.
OCV (Open Circuit Voltage) is a voltage curve that varies with capacity during charge and discharge of a battery. In terms of the principle of a battery, when the battery is in a state of shutdown, the voltage of the unit cell is an OCV called an open circuit voltage. In this state, no current flows inside the battery, i.e., neither charging nor discharging. Therefore, if the battery is placed under conditions where temperature, pressure and moisture content are constant, its OCV will vary with the change in capacity, which is the OCV curve.
The OCV curve can help us to understand the characteristics of the battery and can provide accurate information on the charging and discharging process of the battery. In addition, the OCV profile can be used to diagnose battery usage, as well as predict battery life.
Step S102, comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery;
specifically, the state (e.g., a charged state or a discharged state) of the battery at the time of last power-down can be determined by the magnitudes of the voltage value of the battery at the time of last power-up and the voltage value at the time of last power-down. When the voltage value at the last power-on is larger than the voltage value at the last power-off, the battery is in a discharging state at the last power-off, the target mapping relation is a discharging OCV curve, and when the voltage value at the last power-on is smaller than the voltage value at the last power-off, the battery is in a charging state at the last power-off, and the target mapping relation is a charging OCV curve. In the case where the voltage value at the time of last power-up is equal to the voltage value at the time of last power-down, the SOC stored at the time of last power-down of the battery may be directly adopted as the current SOC.
The specific implementation step of determining the corresponding target mapping relation at least according to the comparison result comprises the following steps:
step S301, when the comparison result is that the first voltage value is greater than the second voltage value, determining that the historical battery state of the target battery is a discharge state, and determining that the target mapping relationship is a discharge standing OCV curve, where the historical battery state is a battery state of the target battery at the last power down time, and the discharge standing OCV curve represents a mapping relationship between the voltage value of the target battery and the SOC of the target battery when the historical battery state of the target battery is a discharge state;
the first voltage value is a cell voltage of the battery collected at the current time (i.e. when the battery is powered up last time), and the second voltage value is a cell voltage of the battery stored in the storage area when the battery is powered down last time. Under the condition that the battery is in a discharging working condition after the last power-on, the voltage of the single battery is pulled down after the battery is discharged (at the moment, the second voltage value is lower), and after standing and depolarizing, the voltage rises (namely, the voltage after the last power-on is higher than the voltage when the last power-off), so that the historical battery state of the target battery is determined to be in a discharging state under the condition that the first voltage value is higher than the second voltage value, and the target mapping relation is a discharging standing OCV curve.
And step S302, when the comparison result is that the first voltage value is smaller than the second voltage value, determining that the historical battery state of the target battery is a charging state, and determining that the target mapping relationship is a charging static OCV curve, wherein the charging static OCV curve represents the mapping relationship between the voltage value of the target battery and the SOC of the target battery when the historical battery state of the target battery is the charging state.
When the battery is in the charging condition after the last power-up, the voltage of the battery is raised (at this time, the second voltage value is higher), and after standing and depolarizing, the voltage falls back (i.e. the voltage after the last power-up is lower than the voltage when the last power-down), so that the historical battery state of the target battery is determined to be the charging state when the first voltage value is smaller than the second voltage value. The target mapping relationship is a charging static OCV curve.
Specifically, through distinguishing the OCV calibration value under the charge/discharge operating mode, solve the inconsistent problem of charge-discharge OCV curve of lithium iron phosphate battery, prevent the SOC jump, effectively promote user experience.
The specific implementation step of determining the corresponding target mapping relation at least according to the comparison result further comprises the following steps:
Step S401, determining an initial mapping relation set corresponding to the comparison result, wherein one initial mapping relation set comprises a plurality of initial mapping relations, the initial mapping relations are in one-to-one correspondence with the temperature values of the target battery, and the initial mapping relations are mapping relations between the voltage values of the target battery and the SOC of the target battery at the corresponding temperatures;
step S402, obtaining a current temperature value of the target battery, wherein the current temperature value is the temperature of the target battery when the target battery is electrified at the current time;
step S403, determining the initial mapping relation corresponding to the current temperature value of the target battery as the target mapping relation.
Specifically, as shown in fig. 3, the abscissa in fig. 3 is OCV and the ordinate is SOC. The temperatures corresponding to the curve a, the curve B, the curve C, the curve D, the curve E and the curve F are respectively from low to high, that is, the curve a is an OCV curve at-10 ℃, the curve B is an OCV curve at 0 ℃, the curve C is an OCV curve at 10 ℃, the curve D is an OCV curve at 25 ℃, the curve E is an OCV curve at 45 ℃, the curve F is an OCV curve at 55 ℃, and for a charge standing OCV curve or a discharge standing OCV curve, the charge standing OCV curve or the discharge standing OCV curve are different according to the temperature, so that the current temperature value of the target battery needs to be detected, the SOC value of the target battery is determined by adopting the OCV curve at different temperatures, and the SOC error caused by the large difference of OCV characteristics at high and low temperatures is avoided. The OCV characteristics of the batteries at different temperatures are considered, and calculation errors caused by temperature differences are reduced. Therefore, after determining that the target battery is in a charged state or in a discharged state by the magnitude relation between the voltage after the current power-up and the voltage at the last power-down, determining to use the charge-rest OCV curve or the discharge-rest OCV curve, and then selecting the charge-rest OCV curve or the discharge-rest OCV curve at the corresponding temperature based on the temperature of the battery at the current time.
As shown in fig. 4, after determining the corresponding target mapping relationship according to at least the comparison result, the method further includes the following steps:
step S501, obtaining an actual rest time length of the target battery, where an initial time of the actual rest time length of the target battery is a last power-down time of the target battery, and an end time of the actual rest time length of the target battery is a current power-up time of the target battery;
step S502, obtaining a preset standing time length of the target battery, wherein the preset standing time length of the target battery is the shortest standing time length of complete depolarization of the target battery;
step S503, according to the first voltage value and the target mapping relation, determining the SOC of the target battery corresponding to the first voltage value as the initial SOC of the target battery;
step S504, when the actual rest period of the target battery is less than the preset rest period of the target battery, correcting the initial SOC by using a correction coefficient, and determining the target SOC of the target battery.
Specifically, lithium iron phosphate batteries generally stand for more than 2 hours and can be completely depolarized. Therefore, in general, the preset rest period of the target battery is set to 2 hours, and the setting of the period can be adjusted correspondingly according to the actual application or the performance of the battery itself. And after the battery is completely depolarized, the current SOC of the target battery can be directly determined by checking the OCV curve according to the voltage value at the current power-on time. However, in the case where the battery is not completely depolarized, that is, the actual rest period is less than 2 hours, it is necessary to give a different weight to the stored SOC stored at the last power-down time and the current SOC obtained by checking the OCV curve according to the voltage value at the current power-up time, and the magnitude of the weight is related to the actual rest period of the battery. Generally, the longer the actual standing time of the battery, the higher the weight of the current SOC obtained by checking the OCV curve according to the voltage value at the current power-up. Thus, accuracy of current SOC estimation can be improved.
When the actual standing time length of the target battery is smaller than the preset standing time length of the target battery, the initial SOC is corrected by using a correction coefficient, and the specific implementation steps of determining the target SOC of the target battery are as follows:
step S5041, obtaining a historical SOC of the target battery, wherein the historical SOC of the target battery is the SOC of the target battery at the last power-down time;
step S5042, determining a first SOC correction coefficient and a second SOC correction coefficient according to the actual standing time of the target battery, wherein the first SOC correction coefficient is positively correlated with the actual standing time of the target battery, the sum of the first SOC correction coefficient and the second SOC correction coefficient is 1, and the first SOC correction coefficient corresponds to the actual standing time of the target battery one by one;
step S5043, determining a first SOC correction value as a product of the initial SOC of the target battery and the first SOC correction coefficient, determining a second SOC correction value as a product of the historical SOC of the target battery and the second SOC correction coefficient, and determining a target SOC of the target battery as a sum of the first SOC correction value and the second SOC correction value.
Specifically, the weighting process of the OCV table lookup SOC and the power-down storage SOC is carried out for the short time of the battery standing time, the SOC is obtained by using the OCV table lookup for a long time, and the SOC error caused by insufficient standing depolarization is improved.
Step S103, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery at the current power-on time.
Specifically, the OCV calibration values under the charge/discharge working conditions are distinguished, the problem that the charge/discharge OCV curves of the lithium iron phosphate battery are inconsistent is solved, the SOC can be accurately calibrated, the SOC jump is prevented, and the user experience is effectively improved.
Wherein, the method further comprises the following steps: when the target storage area does not have the historical SOC of the target battery, the SOC of the target battery corresponding to the first voltage value is determined as the target SOC of the target battery based on the first voltage value and the target map, and the historical SOC of the target battery is the SOC of the target battery at the last power-down time.
Specifically, in order to solve the problem of unsuccessful storage caused by short-time power-down of the controller, an OCV table is adopted to obtain the SOC instead of the true value, so that the large jump of the SOC is avoided. And the SOC calibration precision of the power-on initialization is improved, the accurate endurance mileage is provided, and the mileage anxiety of a driver is relieved.
According to the method for determining the battery SOC, a first voltage value of a target battery and a second voltage value of the target battery are obtained, wherein the first voltage value is a voltage value of the target battery when the target battery is electrified at the current time, and the second voltage value is a voltage value of the target battery when the target battery is electrified at the last time; then comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery; and finally, according to the first voltage value and the target mapping relation, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery, wherein the target SOC is the SOC of the target battery when the target battery is electrified at the current time. According to the method, the problem of inconsistent charge-discharge OCV curves of the lithium iron phosphate battery is solved by distinguishing OCV calibration values under charge/discharge working conditions; according to different working conditions of the battery, different OCV curves are adopted to determine the current SOC, so that estimation of the SOC is more accurate, and the problems that in the prior art, the initial value is inaccurate when the target battery is electrified again after standing, errors exist in the SOC of the subsequent battery, and the user experience is poor are solved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment of the application also provides a device for determining the battery SOC, and it should be noted that the device for determining the battery SOC of the embodiment of the application can be used for executing the method for determining the battery SOC provided by the embodiment of the application. The device is used for realizing the above embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The following describes a device for determining the SOC of the battery provided in the embodiment of the present application.
Fig. 5 is a schematic diagram of a determination device of battery SOC according to an embodiment of the present application. As shown in fig. 5, the device includes an acquisition unit 10, a processing unit 20, and a determining unit 30, where the acquisition unit 10 is configured to acquire a first voltage value of a target battery and a second voltage value of the target battery, where the first voltage value is a voltage value of the target battery at a current power-up time, and the second voltage value is a voltage value of the target battery at a last power-down time; the processing unit 20 is configured to compare the first voltage value with the second voltage value to obtain a comparison result, and determine a corresponding target mapping relationship according to at least the comparison result, where the comparison result is that the first voltage value is greater than the second voltage value or the first voltage value is less than the second voltage value, and the target mapping relationship is a mapping relationship between the voltage value of the target battery and the SOC of the target battery; the determining unit 30 is configured to determine, based on the first voltage value and the target mapping relationship, an SOC of the target battery corresponding to the first voltage value as a target SOC of the target battery, where the target SOC is an SOC of the target battery at a current power-up time.
The battery SOC determining device comprises an acquiring unit, a processing unit and a determining unit, wherein the acquiring unit is used for acquiring a first voltage value of a target battery and a second voltage value of the target battery, the first voltage value is a voltage value of the target battery when the target battery is electrified at the current time, and the second voltage value is a voltage value of the target battery when the target battery is electrified at the last time; the processing unit is used for comparing the first voltage value with the second voltage value to obtain a comparison result, determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery; the determining unit is used for determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery when the target battery is electrified at the current time. According to the method, the problem of inconsistent charge-discharge OCV curves of the lithium iron phosphate battery is solved by distinguishing OCV calibration values under charge/discharge working conditions; according to different working conditions of the battery, different OCV curves are adopted to determine the current SOC, so that estimation of the SOC is more accurate, and the problems that in the prior art, the initial value is inaccurate when the target battery is electrified again after standing, errors exist in the SOC of the subsequent battery, and the user experience is poor are solved.
In some alternative examples, as shown in fig. 6, the processing unit includes a first determining module 21 and a second determining module 22, where the first determining module 21 is configured to determine that, when the comparison result is that the first voltage value is greater than the second voltage value, a historical battery state of the target battery is a discharge state, and determine that the target mapping relationship is a discharge static OCV curve, where the historical battery state is a battery state of the target battery at the last time of powering down, and the discharge static OCV curve is a mapping relationship between a voltage value of the target battery and an SOC of the target battery when the historical battery state of the target battery is a discharge state; the second determining module 22 is configured to determine that the historical battery state of the target battery is a state of charge and determine that the target mapping relationship is a charge standing OCV curve when the comparison result is that the first voltage value is smaller than the second voltage value, where the charge standing OCV curve characterizes a mapping relationship between the voltage value of the target battery and the SOC of the target battery when the historical battery state of the target battery is the state of charge. By distinguishing the OCV calibration values under the charge/discharge working conditions, the problem that the charge/discharge OCV curves of the lithium iron phosphate battery are inconsistent is solved, SOC jump is prevented, and user experience is effectively improved.
In some optional examples, the processing unit includes a third determining module, a first obtaining module, and a fourth determining module, where the third determining module is configured to determine an initial mapping relation set corresponding to the comparison result, where one initial mapping relation set includes a plurality of initial mapping relations, where the initial mapping relations are in one-to-one correspondence with temperature values of the target battery, and the initial mapping relations are mapping relations between voltage values of the target battery and SOCs of the target battery at corresponding temperatures; the first acquisition module is used for acquiring a current temperature value of the target battery, wherein the current temperature value is the temperature of the target battery when the target battery is electrified at the current time; and the fourth determining module is used for determining the initial mapping relation corresponding to the current temperature value of the target battery as the target mapping relation. And determining the SOC value of the target battery by adopting OCV curves at different temperatures, so as to avoid the SOC error caused by large difference of OCV characteristics at high and low temperatures. The OCV characteristics of the batteries at different temperatures are considered, and calculation errors caused by temperature differences are reduced.
In some optional examples, the apparatus further includes a second obtaining module, a fifth determining module, and a sixth determining module, where the second obtaining module is configured to obtain a preset voltage range, where the preset voltage range is a voltage range of the target battery when the OCV curve of the target battery is in the plateau region, before comparing the first voltage value with the second voltage value to obtain a comparison result; a fifth determining module, configured to determine that a comparing step is not performed and determine a historical SOC of the target battery as the target SOC when the first voltage value is within the preset voltage range, where the historical SOC is a SOC of the target battery at a last power-down time, and the comparing step is a step of comparing the first voltage value and the second voltage value and obtaining the comparison result; the sixth determining module is configured to determine to perform the comparing step if the first voltage value is not within the preset voltage range. And (3) recalibrating the SOC after the battery is kept stand, so that the SOC precision is improved.
In this embodiment, the apparatus further includes a second obtaining module, a third obtaining module, a seventh determining module, and an eighth determining module, where the second obtaining module is configured to obtain an actual standing duration of the target battery after determining a corresponding target mapping relationship according to at least the comparison result, where an initial time of the actual standing duration of the target battery is a last time of powering down the target battery, and an end time of the actual standing duration of the target battery is a current time of powering up the target battery; the third obtaining module is used for obtaining the preset standing time length of the target battery, wherein the preset standing time length of the target battery is the shortest standing time length of the target battery for complete depolarization; a seventh determining module configured to determine, according to the first voltage value and the target mapping relationship, an SOC of the target battery corresponding to the first voltage value as an initial SOC of the target battery; and the eighth determining module is used for correcting the initial SOC by adopting a correction coefficient under the condition that the actual standing time length of the target battery is smaller than the preset standing time length of the target battery, and determining the target SOC of the target battery. Thus, accuracy of current SOC estimation can be improved.
An eighth determining module comprises an acquiring sub-module, a first determining sub-module and a second determining sub-module, wherein the acquiring sub-module is used for acquiring the historical SOC of the target battery, and the historical SOC of the target battery is the SOC of the target battery when the target battery is powered down last time; the first determining submodule is used for determining a first SOC correction coefficient and a second SOC correction coefficient according to the actual standing time of the target battery, the first SOC correction coefficient is positively correlated with the actual standing time of the target battery, the sum of the first SOC correction coefficient and the second SOC correction coefficient is 1, and the first SOC correction coefficient corresponds to the actual standing time of the target battery one by one; the second determination submodule is used for determining that the first SOC correction value is the product of the initial SOC of the target battery and the first SOC correction coefficient, determining that the second SOC correction value is the product of the historical SOC of the target battery and the second SOC correction coefficient, and determining that the target SOC of the target battery is the sum of the first SOC correction value and the second SOC correction value. And (3) weighting the OCV table lookup SOC and the power-down storage SOC for short standing time of the battery, and obtaining the SOC by using the OCV table lookup for a long time to improve the SOC error caused by insufficient standing depolarization.
As an alternative, the apparatus further includes a ninth determining module, configured to determine, when the historical SOC of the target battery does not exist in the target storage area, the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relationship, and the historical SOC of the target battery as the SOC of the target battery at the last power-down time. And the SOC calibration precision of the power-on initialization is improved, the accurate endurance mileage is provided, and the mileage anxiety of a driver is relieved.
The determination device of the battery SOC includes a processor and a memory, the acquisition unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions. The modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The core can be provided with one or more cores, and the problem that in the prior art, the initial value is inaccurate when the target battery is electrified again after standing, so that the SOC of the subsequent battery has errors and the user experience is poor is solved by adjusting the core parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, which comprises a stored program, wherein the device where the computer readable storage medium is located is controlled to execute the method for determining the battery SOC when the program runs.
Specifically, the method for determining the battery SOC includes:
step S101, a first voltage value of a target battery and a second voltage value of the target battery are obtained, wherein the first voltage value is a voltage value of the target battery when the target battery is electrified last time, and the second voltage value is a voltage value of the target battery when the target battery is electrified last time;
specifically, since the reaction of the chemical substances is inside the battery, the movement of charges is not simply stopped mechanically, and thus, the reaction of the chemical substances exists inside the battery during the period from the last power-down to the last power-up of the battery and the rest time, which results in that the voltage value of the battery at the last power-up and the voltage value at the last power-down may be different.
Step S102, comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery;
specifically, the state (e.g., a charged state or a discharged state) of the battery at the time of last power-down can be determined by the magnitudes of the voltage value of the battery at the time of last power-up and the voltage value at the time of last power-down. When the voltage value at the last power-on is larger than the voltage value at the last power-off, the battery is in a discharging state at the last power-off, the target mapping relation is a discharging OCV curve, and when the voltage value at the last power-on is smaller than the voltage value at the last power-off, the battery is in a charging state at the last power-off, and the target mapping relation is a charging OCV curve. In the case where the voltage value at the time of last power-up is equal to the voltage value at the time of last power-down, the SOC stored at the time of last power-down of the battery may be directly adopted as the current SOC.
Step S103, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery at the current power-on time.
Specifically, the OCV calibration values under the charge/discharge working conditions are distinguished, the problem that the charge/discharge OCV curves of the lithium iron phosphate battery are inconsistent is solved, the SOC can be accurately calibrated, the SOC jump is prevented, and the user experience is effectively improved.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute the method for determining the battery SOC.
Specifically, the method for determining the battery SOC includes:
step S101, a first voltage value of a target battery and a second voltage value of the target battery are obtained, wherein the first voltage value is a voltage value of the target battery when the target battery is electrified last time, and the second voltage value is a voltage value of the target battery when the target battery is electrified last time;
specifically, since the reaction of the chemical substances is inside the battery, the movement of charges is not simply stopped mechanically, and thus, the reaction of the chemical substances exists inside the battery during the period from the last power-down to the last power-up of the battery and the rest time, which results in that the voltage value of the battery at the last power-up and the voltage value at the last power-down may be different.
Step S102, comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery;
specifically, the state (e.g., a charged state or a discharged state) of the battery at the time of last power-down can be determined by the magnitudes of the voltage value of the battery at the time of last power-up and the voltage value at the time of last power-down. When the voltage value at the last power-on is larger than the voltage value at the last power-off, the battery is in a discharging state at the last power-off, the target mapping relation is a discharging OCV curve, and when the voltage value at the last power-on is smaller than the voltage value at the last power-off, the battery is in a charging state at the last power-off, and the target mapping relation is a charging OCV curve. In the case where the voltage value at the time of last power-up is equal to the voltage value at the time of last power-down, the SOC stored at the time of last power-down of the battery may be directly adopted as the current SOC.
Step S103, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery at the current power-on time.
Specifically, the OCV calibration values under the charge/discharge working conditions are distinguished, the problem that the charge/discharge OCV curves of the lithium iron phosphate battery are inconsistent is solved, the SOC can be accurately calibrated, the SOC jump is prevented, and the user experience is effectively improved.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program stored in the memory and capable of running on the processor, wherein the processor realizes at least the following steps when executing the program:
step S101, a first voltage value of a target battery and a second voltage value of the target battery are obtained, wherein the first voltage value is a voltage value of the target battery when the target battery is electrified last time, and the second voltage value is a voltage value of the target battery when the target battery is electrified last time;
step S102, comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery;
Step S103, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery at the current power-on time.
The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform a program initialized with at least the following method steps when executed on a data processing device:
step S101, a first voltage value of a target battery and a second voltage value of the target battery are obtained, wherein the first voltage value is a voltage value of the target battery when the target battery is electrified last time, and the second voltage value is a voltage value of the target battery when the target battery is electrified last time;
step S102, comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery;
Step S103, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery at the current power-on time.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1) According to the method for determining the battery SOC, a first voltage value of a target battery and a second voltage value of the target battery are obtained, wherein the first voltage value is a voltage value of the target battery when the target battery is electrified at the current time, and the second voltage value is a voltage value of the target battery when the target battery is electrified at the last time; then comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery; and finally, according to the first voltage value and the target mapping relation, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery, wherein the target SOC is the SOC of the target battery when the target battery is electrified at the current time. According to the method, the problem of inconsistent charge-discharge OCV curves of the lithium iron phosphate battery is solved by distinguishing OCV calibration values under charge/discharge working conditions; according to different working conditions of the battery, different OCV curves are adopted to determine the current SOC, so that estimation of the SOC is more accurate, and the problems that in the prior art, the initial value is inaccurate when the target battery is electrified again after standing, errors exist in the SOC of the subsequent battery, and the user experience is poor are solved.
2) The battery SOC determining device comprises an acquiring unit, a processing unit and a determining unit, wherein the acquiring unit is used for acquiring a first voltage value of a target battery and a second voltage value of the target battery, the first voltage value is a voltage value of the target battery when the target battery is electrified at the current time, and the second voltage value is a voltage value of the target battery when the target battery is electrified at the last time; the processing unit is used for comparing the first voltage value with the second voltage value to obtain a comparison result, determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery; the determining unit is used for determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery when the target battery is electrified at the current time. According to the method, the problem of inconsistent charge-discharge OCV curves of the lithium iron phosphate battery is solved by distinguishing OCV calibration values under charge/discharge working conditions; according to different working conditions of the battery, different OCV curves are adopted to determine the current SOC, so that estimation of the SOC is more accurate, and the problems that in the prior art, the initial value is inaccurate when the target battery is electrified again after standing, errors exist in the SOC of the subsequent battery, and the user experience is poor are solved.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method of determining a battery SOC, comprising:
acquiring a first voltage value of a target battery and a second voltage value of the target battery, wherein the first voltage value is a voltage value of the target battery when the target battery is electrified last time, and the second voltage value is a voltage value of the target battery when the target battery is electrified last time;
comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation according to at least the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery;
and determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery when the target battery is electrified at the current time.
2. The method according to claim 1, wherein determining the corresponding target mapping relationship at least according to the comparison result comprises:
when the comparison result is that the first voltage value is larger than the second voltage value, determining that the historical battery state of the target battery is a discharge state, and determining that the target mapping relation is a discharge static OCV curve, wherein the historical battery state is the battery state of the target battery when the target battery is powered down last time, and the discharge static OCV curve represents the mapping relation between the voltage value of the target battery and the SOC of the target battery when the historical battery state of the target battery is the discharge state;
and under the condition that the comparison result is that the first voltage value is smaller than the second voltage value, determining that the historical battery state of the target battery is a charging state, and determining that the target mapping relation is a charging static OCV curve, wherein the charging static OCV curve represents the mapping relation between the voltage value of the target battery and the SOC of the target battery under the condition that the historical battery state of the target battery is the charging state.
3. The method according to claim 1, wherein determining the corresponding target mapping relationship at least according to the comparison result comprises:
determining an initial mapping relation set corresponding to the comparison result, wherein one initial mapping relation set comprises a plurality of initial mapping relations, the initial mapping relations are in one-to-one correspondence with the temperature values of the target battery, and the initial mapping relations are mapping relations between the voltage values of the target battery and the SOC of the target battery at the corresponding temperatures;
acquiring a current temperature value of the target battery, wherein the current temperature value is the temperature of the target battery when the target battery is electrified at the current time;
and determining the initial mapping relation corresponding to the current temperature value of the target battery as the target mapping relation.
4. The method of determining according to claim 1, wherein before comparing the first voltage value and the second voltage value to obtain a comparison result, the method further comprises:
acquiring a preset voltage range, wherein the preset voltage range is the voltage range of the target battery when the OCV curve of the target battery is in a platform area;
determining not to execute a comparison step and determining a historical SOC of the target battery as the target SOC when the first voltage value is within the preset voltage range, wherein the historical SOC is the SOC of the target battery at the last power-down time, and the comparison step is a step of comparing the first voltage value with the second voltage value and obtaining a comparison result;
And determining to execute the comparison step in the case that the first voltage value is not within the preset voltage range.
5. The method according to claim 1, wherein after determining the corresponding target mapping relation at least based on the comparison result, the method further comprises:
acquiring the actual standing time length of the target battery, wherein the initial time of the actual standing time length of the target battery is the last power-down time of the target battery, and the end time of the actual standing time length of the target battery is the current power-up time of the target battery;
acquiring preset standing time length of the target battery, wherein the preset standing time length of the target battery is the shortest standing time length of complete depolarization of the target battery;
determining the SOC of the target battery corresponding to the first voltage value as the initial SOC of the target battery according to the first voltage value and the target mapping relation;
and under the condition that the actual standing time of the target battery is smaller than the preset standing time of the target battery, correcting the initial SOC by adopting a correction coefficient, and determining the target SOC of the target battery.
6. The determination method according to claim 5, wherein, in the case where the actual rest period of the target battery is smaller than the preset rest period of the target battery, the initial SOC is corrected with a correction coefficient, and determining the target SOC of the target battery includes:
acquiring the historical SOC of the target battery, wherein the historical SOC of the target battery is the SOC of the target battery when the target battery is powered down last time;
determining a first SOC correction coefficient and a second SOC correction coefficient according to the actual standing time of the target battery, wherein the first SOC correction coefficient is positively correlated with the actual standing time of the target battery, the sum of the first SOC correction coefficient and the second SOC correction coefficient is 1, and the first SOC correction coefficient corresponds to the actual standing time of the target battery one by one;
a first SOC correction value is determined as a product of an initial SOC of the target battery and the first SOC correction coefficient, and a second SOC correction value is determined as a product of a historical SOC of the target battery and the second SOC correction coefficient, and a target SOC of the target battery is determined as a sum of the first SOC correction value and the second SOC correction value.
7. The method of determining according to claim 6, further comprising:
And when the historical SOC of the target battery does not exist in the target storage area, determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the historical SOC of the target battery is the SOC of the target battery at the last power-down time.
8. A battery SOC determination apparatus, comprising:
the device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring a first voltage value of a target battery and a second voltage value of the target battery, the first voltage value is a voltage value of the target battery when the target battery is electrified last time, and the second voltage value is a voltage value of the target battery when the target battery is electrified last time;
the processing unit is used for comparing the first voltage value with the second voltage value to obtain a comparison result, and determining a corresponding target mapping relation at least according to the comparison result, wherein the comparison result is that the first voltage value is larger than the second voltage value or the first voltage value is smaller than the second voltage value, and the target mapping relation is a mapping relation between the voltage value of the target battery and the SOC of the target battery;
And the determining unit is used for determining the SOC of the target battery corresponding to the first voltage value as the target SOC of the target battery according to the first voltage value and the target mapping relation, wherein the target SOC is the SOC of the target battery when the target battery is electrified at the current time.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein the program, when run, controls a device in which the computer-readable storage medium is located to execute the method of determining the battery SOC of any of claims 1 to 7.
10. An electronic device, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of determining the battery SOC of any of claims 1-7.
CN202311562483.XA 2023-11-22 2023-11-22 Battery SOC determination method and device, storage medium and electronic equipment Pending CN117289158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311562483.XA CN117289158A (en) 2023-11-22 2023-11-22 Battery SOC determination method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311562483.XA CN117289158A (en) 2023-11-22 2023-11-22 Battery SOC determination method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117289158A true CN117289158A (en) 2023-12-26

Family

ID=89257440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311562483.XA Pending CN117289158A (en) 2023-11-22 2023-11-22 Battery SOC determination method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117289158A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471034A (en) * 2017-09-08 2019-03-15 上海汽车集团股份有限公司 A kind of acquisition methods and device of electric automobile energy efficiency
CN110515003A (en) * 2019-07-18 2019-11-29 安徽力高新能源技术有限公司 A kind of method of open-circuit voltage amendment lithium battery SOC
CN112782593A (en) * 2020-12-24 2021-05-11 潍柴动力股份有限公司 Method and device for acquiring initial state of charge of battery
CN113933728A (en) * 2021-09-27 2022-01-14 江苏双登富朗特新能源有限公司 Method for calibrating static SOC (State of Charge) by using SOC-OCV (State of Charge) -OCV (open Circuit Voltage) curve of lithium iron phosphate battery
CN115575842A (en) * 2022-09-30 2023-01-06 广州小鹏汽车科技有限公司 Battery management method, device, electronic equipment and storage medium
CN115616413A (en) * 2022-10-21 2023-01-17 万帮数字能源股份有限公司 Method and device for estimating state of charge of battery

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109471034A (en) * 2017-09-08 2019-03-15 上海汽车集团股份有限公司 A kind of acquisition methods and device of electric automobile energy efficiency
CN110515003A (en) * 2019-07-18 2019-11-29 安徽力高新能源技术有限公司 A kind of method of open-circuit voltage amendment lithium battery SOC
CN112782593A (en) * 2020-12-24 2021-05-11 潍柴动力股份有限公司 Method and device for acquiring initial state of charge of battery
CN113933728A (en) * 2021-09-27 2022-01-14 江苏双登富朗特新能源有限公司 Method for calibrating static SOC (State of Charge) by using SOC-OCV (State of Charge) -OCV (open Circuit Voltage) curve of lithium iron phosphate battery
CN115575842A (en) * 2022-09-30 2023-01-06 广州小鹏汽车科技有限公司 Battery management method, device, electronic equipment and storage medium
CN115616413A (en) * 2022-10-21 2023-01-17 万帮数字能源股份有限公司 Method and device for estimating state of charge of battery

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜久春: "电动汽车动力电池应用技术", 30 June 2016, 北京交通大学出版社, pages: 99 - 108 *

Similar Documents

Publication Publication Date Title
KR101903225B1 (en) Apparatus for Estimating Degree-of-Aging of Secondary Battery and Method thereof
CN110967636B (en) Battery state of charge correction method, device and system and storage medium
CN110869784B (en) Method and apparatus for estimating SOC-OCV curve
US9759779B2 (en) State of charge estimation device and method of estimating state of charge
US11105861B2 (en) Device and method for estimating battery resistance
US20200094707A1 (en) Estimation device, energy storage apparatus, estimation method
KR102082866B1 (en) Battery management system and driving method thereof
WO2020259355A1 (en) Battery state of charge determination method and device, management system and storage medium
EP3051305B1 (en) Status determining method for secondary battery, status determining apparatus for secondary battery, secondary battery system, and charge/discharge control apparatus having status determining apparatus
JP5619744B2 (en) Method and apparatus for detecting state of power storage device
WO2012169061A1 (en) Battery control device and battery system
JP6867478B2 (en) Battery control and vehicle system
KR101783918B1 (en) Apparatus and Method for Estimating Resistance of Secondary Battery
US20140327407A1 (en) Method and system for managing the electric charges of battery cells
US20150369876A1 (en) Deterioration determination method, manufacturing method of electric storage device, deterioration determination device, and storage medium
KR20220029109A (en) Method and apparatus estimating a state of battery
WO2012066643A1 (en) Method and apparatus for detecting state of electrical storage device
KR20220048753A (en) Method and apparatus charging battery
CN112259813B (en) Battery charging and discharging power determination method, system and equipment
CN115303128A (en) Method, device, equipment and medium for calculating battery equalization time
CN113075558B (en) Battery SOC estimation method, device and system
JP5851514B2 (en) Battery control device, secondary battery system
CN117289158A (en) Battery SOC determination method and device, storage medium and electronic equipment
CN113013507A (en) Secondary battery management device and method, non-transitory recording medium
WO2014038555A1 (en) Battery state-of-charge detection device, battery system, battery state-of-charge detection method, and program

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