Nothing Special   »   [go: up one dir, main page]

CN114487865A - Battery SOC estimation method, battery management system and computer readable storage medium - Google Patents

Battery SOC estimation method, battery management system and computer readable storage medium Download PDF

Info

Publication number
CN114487865A
CN114487865A CN202011172369.2A CN202011172369A CN114487865A CN 114487865 A CN114487865 A CN 114487865A CN 202011172369 A CN202011172369 A CN 202011172369A CN 114487865 A CN114487865 A CN 114487865A
Authority
CN
China
Prior art keywords
soc
correction data
measured
current
preset
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.)
Granted
Application number
CN202011172369.2A
Other languages
Chinese (zh)
Other versions
CN114487865B (en
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN202011172369.2A priority Critical patent/CN114487865B/en
Publication of CN114487865A publication Critical patent/CN114487865A/en
Application granted granted Critical
Publication of CN114487865B publication Critical patent/CN114487865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • G01R31/3842Arrangements for monitoring battery or accumulator variables, e.g. SoC combining voltage and current measurements
    • 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/367Software therefor, e.g. for battery testing using modelling or look-up tables

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Secondary Cells (AREA)
  • Tests Of Electric Status Of Batteries (AREA)

Abstract

The invention discloses a battery SOC estimation method, a battery management system and a computer readable storage medium. The method comprises the following steps: acquiring actual measurement data of the battery, wherein the actual measurement data of the battery comprises: acquiring actually measured data of the battery, wherein the actually measured data of the battery comprises actually measured current, actually measured voltage, actually measured SOC and actually measured accumulated historical electric quantity; inquiring a correction data table according to the actually measured current and the actually measured voltage, and acquiring SOC upper limit correction data and SOC lower limit correction data matched with the actually measured current and the actually measured voltage; determining an SOC upper limit threshold and an SOC lower limit threshold according to the actually measured accumulated historical electric quantity, the SOC upper limit correction data and the SOC lower limit correction data; and correcting the actual measurement SOC by adopting an SOC upper limit threshold and an SOC lower limit threshold to obtain the target SOC. The target SOC estimated by the battery SOC method is high in accuracy and small in error with the actual SOC of the battery, so that the requirements of high accuracy, low resource requirement and high instantaneity can be met for SOC estimation.

Description

电池SOC估算方法、电池管理系统和计算机可读存储介质Battery SOC estimation method, battery management system and computer-readable storage medium

技术领域technical field

本发明涉及电池管理技术领域,尤其涉及一种电池SOC估算方法、电池管理系统和计算机可读存储介质。The present invention relates to the technical field of battery management, and in particular, to a battery SOC estimation method, a battery management system and a computer-readable storage medium.

背景技术Background technique

SOC(State Of Charge的简称,即电池荷电状态或剩余电量),是指电池使用一段时间或者长期搁置不用后的剩余可放电电量与其完全充电状态的电量的比值。SOC是整个电池储能系统的重要参数,准确估算SOC可实现对电池能量进行合理利用,防止电池过充或过放等不合理使用的问题,以提高电池的使用寿命。SOC (abbreviation for State Of Charge, that is, battery state of charge or remaining power) refers to the ratio of the remaining dischargeable power after a battery has been used for a period of time or left unused for a long time to its fully charged state of charge. SOC is an important parameter of the entire battery energy storage system. Accurate estimation of SOC can realize rational utilization of battery energy, prevent battery overcharge or overdischarge and other unreasonable use problems, so as to improve battery service life.

现有SOC估算方法包括但不限于安时积分法、实时电压修正法、开路电压法和神经网络法,每一种SOC估算方法具有各自的优点和不足。安时积分法是根据电流的累积实现SOC估算,其操作简单且资源要求低,但依赖于采样电流的精度,对充满时的高压和放空时的低压进行校准的要求大,准确性较低。实时电压修正法是根据实时电压、实时电流和已知的各电流充放电电压曲线进行SOC估算,在电压变化明显或者电池使用频率较高时可准确估算SOC,误差较小,但在电压变化不明显或者电池使用频率较低的情况下,SOC估算的准确性较低,误差较大。开路电压法是在电池静置不充放几个小时后进行测量,利用开路电压曲线进行SOC估算,通过静置电池,可以避免电流干扰,保证SOC估算的精度,但实时性较差。神经网络法是指采用神经网络对不同运行工况采集到的电池数据进行校正累算,以进行SOC估算,具有准确性较高,但资源要求高,但工况运行数据要求高。Existing SOC estimation methods include, but are not limited to, the ampere-hour integration method, the real-time voltage correction method, the open-circuit voltage method, and the neural network method. Each SOC estimation method has its own advantages and disadvantages. The ampere-hour integration method realizes SOC estimation based on the accumulation of current. It is simple to operate and requires low resources. However, it depends on the accuracy of the sampling current. The calibration requirements for high voltage when full and low voltage when emptying are large, and the accuracy is low. The real-time voltage correction method is to estimate the SOC based on the real-time voltage, real-time current and the known charge-discharge voltage curves of each current. When the voltage changes significantly or the battery is used at a high frequency, the SOC can be accurately estimated, and the error is small, but when the voltage changes are not high. Obviously or when the battery usage frequency is low, the accuracy of SOC estimation is low and the error is large. The open-circuit voltage method is to measure the battery after it has not been charged and discharged for several hours, and use the open-circuit voltage curve to estimate the SOC. The neural network method refers to the use of neural networks to correct and accumulate battery data collected under different operating conditions for SOC estimation.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种电池SOC估算方法、电池管理系统和计算机可读存储介质,以解决现有SOC估算方法无法兼顾准确性高、运行资源低且实时性强的问题。Embodiments of the present invention provide a battery SOC estimation method, a battery management system, and a computer-readable storage medium, so as to solve the problems that existing SOC estimation methods cannot take into account high accuracy, low operating resources, and strong real-time performance.

本发明实施例提供一种电池SOC估算方法,包括:An embodiment of the present invention provides a battery SOC estimation method, including:

获取电池实测数据,所述电池实测数据包括实测电流、实测电压、实测SOC和实测累计历史电量;Obtaining measured data of the battery, the measured data of the battery including the measured current, the measured voltage, the measured SOC and the measured accumulated historical power;

根据所述实测电流和所述实测电压查询修正数据表,获取与所述实测电流和所述实测电压相匹配的SOC上限修正数据和SOC下限修正数据;Query the correction data table according to the measured current and the measured voltage, and obtain the SOC upper limit correction data and the SOC lower limit correction data that match the measured current and the measured voltage;

根据所述实测累计历史电量、所述SOC上限修正数据和所述SOC下限修正数据,确定SOC上限阈值和SOC下限阈值;determining the SOC upper limit threshold and the SOC lower limit threshold according to the measured accumulated historical power, the SOC upper limit correction data and the SOC lower limit correction data;

采用所述SOC上限阈值和所述SOC下限阈值对所述实测SOC进行修正,获取目标SOC。The measured SOC is corrected by using the SOC upper limit threshold and the SOC lower limit threshold to obtain a target SOC.

优选地,所述根据所述实测电流和所述实测电压查询修正数据表,获取与所述实测电流和所述实测电压相匹配的SOC上限修正数据和SOC下限修正数据,包括:Preferably, the correction data table is inquired according to the measured current and the measured voltage, and the SOC upper limit correction data and the SOC lower limit correction data matching the measured current and the measured voltage are obtained, including:

基于所述实测电流查询修正数据表,获取所述修正数据表内预设电流与所述实测电流相匹配的SOC待选修正数据;Query the correction data table based on the measured current, and obtain the SOC candidate correction data that matches the preset current in the correction data table and the measured current;

基于所述实测电压和所述SOC待选修正数据,获取所述SOC上限修正数据和所述SOC下限修正数据;Based on the measured voltage and the SOC candidate correction data, obtain the SOC upper limit correction data and the SOC lower limit correction data;

其中,SOC待选修正数据包括:预设电流、预设电压、预设SOC以及预设累计历史电量。Wherein, the SOC candidate correction data includes: preset current, preset voltage, preset SOC, and preset accumulated historical power.

优选地,所述基于所述实测电流查询修正数据表,获取所述修正数据表内预设电流与所述实测电流相匹配的SOC待选修正数据,包括:Preferably, the querying the correction data table based on the measured current, and obtaining the SOC candidate correction data in which the preset current in the correction data table matches the measured current, includes:

若所述修正数据表内的预设电流等于所述实测电流,则将所述预设电流对应的第一修正数据作为SOC待选修正数据;If the preset current in the correction data table is equal to the measured current, the first correction data corresponding to the preset current is used as the SOC candidate correction data;

若所述修正数据表内的预设电流不等于所述实测电流,则获取所述修正数据表内的第二修正数据以及第三修正数据,基于所述实测电流、所述第二修正数据和所述第三修正数据,获取SOC待选修正数据,其中,所述第二修正数据中的预设电流小于所述实测电流,所述第三修正数据中的预设电流大于所述实测电流。If the preset current in the correction data table is not equal to the measured current, acquire the second correction data and the third correction data in the correction data table, based on the measured current, the second correction data and the The third correction data is to obtain SOC candidate correction data, wherein the preset current in the second correction data is smaller than the measured current, and the preset current in the third correction data is greater than the measured current.

优选地,所述基于所述实测电流、所述第二修正数据和所述第三修正数据,获取SOC待选修正数据,包括:Preferably, the acquiring SOC candidate correction data based on the measured current, the second correction data and the third correction data includes:

采用数据估算公式对所述实测电流、所述第二修正数据和所述第三修正数据进行处理,获取所述SOC待选修正数据;Using a data estimation formula to process the measured current, the second correction data and the third correction data, to obtain the SOC candidate correction data;

所述数据估算公式为ST=(Sa-Sb)*(IT-Ib)/(Ia-Ib)+Sb;若Sa为所述第二修正数据中的预设电压,Sb为第三修正数据中的预设电压,则ST为所述SOC待选修正数据中的预设电压;若Sa为所述第二修正数据中的预设SOC,Sb为所述第三修正数据中的预设SOC,则ST为所述SOC待选修正数据中的预设SOC;若Sa为所述第二修正数据中的预设累计历史电量,Sb为所述第三修正数据中的预设累计历史电量,则ST为所述SOC待选修正数据中的预设累计历史电量;IT为实测电流;Ia为第二修正数据中的预设电流;Ib为第三修正数据中的预设电流。The data estimation formula is ST=(Sa-Sb)*(IT-Ib)/(Ia-Ib)+Sb; if Sa is the preset voltage in the second correction data, Sb is the third correction data If the preset voltage of , ST is the preset voltage in the SOC candidate correction data; if Sa is the preset SOC in the second correction data, Sb is the preset SOC in the third correction data, Then ST is the preset SOC in the SOC candidate correction data; if Sa is the preset cumulative historical power in the second modified data, and Sb is the preset cumulative historical power in the third modified data, then ST is the preset accumulated historical power in the SOC candidate correction data; IT is the measured current; Ia is the preset current in the second correction data; Ib is the preset current in the third correction data.

优选地,所述基于所述实测电压和所述SOC待选修正数据,获取所述SOC上限修正数据和所述SOC下限修正数据,包括:Preferably, the acquiring the SOC upper limit correction data and the SOC lower limit correction data based on the measured voltage and the SOC candidate correction data includes:

若所述SOC待选修正数据中的预设电压大于所述实测电压,则将所述预设电压与所述SOC待选修正数据中的实测电压的差值确定为第一差值,将所述第一差值最小的SOC待选修正数据确定为SOC上限修正数据;If the preset voltage in the SOC candidate correction data is greater than the measured voltage, the difference between the preset voltage and the measured voltage in the SOC candidate correction data is determined as the first difference, and the determining the SOC candidate correction data with the smallest first difference as the SOC upper limit correction data;

若所述SOC待选修正数据中的预设电压小于所述实测电压,则将所述实测电压与所述SOC待选修正数据中的预设电压的差值确定为第二差值,将所述第二差值最小的SOC待选修正数据确定为SOC下限修正数据。If the preset voltage in the SOC candidate correction data is smaller than the measured voltage, the difference between the measured voltage and the preset voltage in the SOC candidate correction data is determined as a second difference, and the The SOC candidate correction data with the smallest second difference is determined as the SOC lower limit correction data.

优选地,所述根据所述实测累计历史电量、所述SOC上限修正数据和所述SOC下限修正数据,确定SOC上限阈值和SOC下限阈值,包括:Preferably, the determining of the SOC upper limit threshold and the SOC lower limit threshold according to the measured accumulated historical power, the SOC upper limit correction data and the SOC lower limit correction data includes:

根据所述实测累计历史电量和所述SOC上限修正数据中的预设累计电流误差和预设累计历史电量,获取上限误差值,将所述SOC上限修正数据中的预设SOC与所述上限误差值的和值,确定为SOC上限阈值;Obtain an upper limit error value according to the measured cumulative historical power and the preset cumulative current error and preset cumulative historical power in the SOC upper limit correction data, and compare the preset SOC in the SOC upper limit correction data with the upper limit error The sum of the values is determined as the SOC upper threshold;

根据所述实测累计历史电量和所述SOC下限修正数据中的预设累计电流误差和预设累计历史电量,获取下限误差值,将所述SOC下限修正数据中的预设SOC与所述下限误差值的差值,确定为SOC下限阈值。Obtain a lower limit error value according to the measured cumulative historical power and the preset cumulative current error and preset cumulative historical power in the SOC lower limit correction data, and compare the preset SOC in the SOC lower limit correction data with the lower limit error The difference between the values is determined as the SOC lower limit threshold.

优选地,所述采用所述SOC上限阈值和所述SOC下限阈值对所述实测SOC进行修正,获取目标SOC,包括:Preferably, the use of the SOC upper limit threshold and the SOC lower limit threshold to correct the measured SOC to obtain a target SOC includes:

若所述实测SOC大于所述SOC上限阈值,则将所述SOC上限修正数据中的预设SOC确定为所述目标SOC;If the measured SOC is greater than the SOC upper limit threshold, determining the preset SOC in the SOC upper limit correction data as the target SOC;

若所述实测SOC小于所述SOC下限阈值,则将所述SOC下限修正数据中的预设SOC确定为所述目标SOC;If the measured SOC is less than the SOC lower limit threshold, determining the preset SOC in the SOC lower limit correction data as the target SOC;

若所述实测SOC不小于所述SOC下限阈值,且所述实测SOC不大于所述SOC上限阈值,则将所述实测SOC确定为所述目标SOC。If the measured SOC is not less than the lower SOC threshold, and the measured SOC is not greater than the SOC upper threshold, the measured SOC is determined as the target SOC.

优选地,所述电池实测数据还包括实测累计电流误差;Preferably, the measured battery data further includes an actual measured accumulated current error;

在所述获取电池实测数据之后,所述电池SOC估算方法还包括:After acquiring the actual measured data of the battery, the battery SOC estimation method further includes:

比较所述实测累计电流误差和电流误差容忍值;comparing the measured accumulated current error and the current error tolerance value;

若所述实测累计电流误差大于所述电流误差容忍值,则执行所述根据所述实测电流和所述实测电压查询修正数据表,获取与所述实测电流和所述实测电压相匹配的SOC上限修正数据和SOC下限修正数据;If the measured cumulative current error is greater than the current error tolerance value, execute the query and correction data table according to the measured current and the measured voltage, and obtain the SOC upper limit that matches the measured current and the measured voltage Correction data and SOC lower limit correction data;

若所述实测累计电流误差不大于所述电流误差容忍值,则基于所述电池实测数据对所述修正数据表中的配置修正数据进行更新。If the measured cumulative current error is not greater than the current error tolerance value, the configuration correction data in the correction data table is updated based on the battery measured data.

优选地,所述基于所述电池实测数据对所述修正数据表中的配置修正数据进行更新,包括:Preferably, the updating of the configuration correction data in the correction data table based on the actual measured data of the battery includes:

获取所述修正数据表中所有所述预设SOC与所述实测SOC相匹配的SOC初选修正数据,将所述预设电流与所述实测电流邻近的所述SOC初选修正数据确定为第一待更新修正数据和第二待更新修正数据,将所述第一待更新修正数据和所述第二待更新修正数据确定为SOC待更新修正数据,所述第一待更新修正数据中的预设电流小于所述实测电流,所述第二待更新修正数据中的预设电流大于所述实测电流;Obtain all the SOC preliminary selection correction data in the correction data table that match the preset SOC and the measured SOC, and determine the SOC preliminary selection correction data adjacent to the preset current and the measured current as the first correction data. First correction data to be updated and second correction data to be updated, the first correction data to be updated and the second correction data to be updated are determined as the correction data to be updated for the SOC, and the predetermined correction data in the first correction data to be updated is determined. It is assumed that the current is less than the measured current, and the preset current in the second to-be-updated correction data is greater than the measured current;

对所述电池实测数据和所述SOC待更新修正数据进行处理,获取所述电池实测数据对应的实测不可靠值和所述SOC待更新修正数据对应的待更新不可靠值;processing the battery measured data and the SOC to-be-updated correction data, to obtain the measured-unreliable value corresponding to the battery's measured data and the to-be-updated unreliable value corresponding to the SOC to-be-updated correction data;

若所述待更新不可靠值为空,或者所述实测不可靠值小于所述待更新不可靠值,则采用所述电池实测数据对所述SOC待更新修正数据进行更新。If the unreliable value to be updated is empty, or the measured unreliable value is smaller than the unreliable value to be updated, the SOC correction data to be updated is updated by using the battery measured data.

优选地,所述对所述电池实测数据和所述SOC待更新修正数据进行处理,获取所述电池实测数据对应的实测不可靠值和所述SOC待更新修正数据对应的待更新不可靠值,包括:Preferably, the processing of the measured battery data and the SOC to-be-updated correction data is performed, and the measured unreliable value corresponding to the battery's measured data and the to-be-updated unreliable value corresponding to the SOC to-be-updated correction data are obtained, include:

采用实测不可靠值公式QT(CTBm)=ABS(IT-CTBm)*f+DT*g+(CT-CT)*h对所述电池实测数据进行计算,获取所述电池实测数据对应的实测不可靠值;The measured unreliable value formula of QT(CTBm)=ABS(IT-CTBm)*f+DT*g+(CT-CT)*h is used to calculate the measured battery data, and the measured unreliability corresponding to the measured battery data is obtained. value;

采用待更新不可靠值公式Qn(CTBm)=ABS(In-CTBm)*f+Dn*g+(CT-Cn)*h对所述SOC待更新修正数据和所述电池实测数据进行计算,获取所述SOC待更新修正数据对应的待更新不可靠值;Use the unreliable value formula to be updated Qn(CTBm)=ABS(In-CTBm)*f+Dn*g+(CT-Cn)*h to calculate the SOC to-be-updated corrected data and the battery measured data, and obtain all The unreliable value to be updated corresponding to the SOC to be updated correction data;

其中,QT(CTBm)为所述电池实测数据对应的实测不可靠值;CTBm为预设电流;ABS为绝对值函数;IT、DT和CT分别为所述电池实测数据中的实测电流、实测累计电流误差和实测累计历史电量;Qn(CTBm)为所述SOC待更新修正数据对应的待更新不可靠值;In、Dn和Cn分别为所述SOC待更新修正数据对应的预设电流、预设累计电流误差和预设累计历史电量;f为电流系数;g为累计电流误差系数;h为累计历史电量系数。Wherein, QT(CTBm) is the measured unreliable value corresponding to the measured data of the battery; CTBm is the preset current; ABS is the absolute value function; IT, DT and CT are the measured current and the measured cumulative value of the measured battery data respectively. Current error and measured accumulated historical power; Qn (CTBm) is the unreliable value to be updated corresponding to the SOC to be updated correction data; In, Dn and Cn are the preset current and preset corresponding to the SOC to be updated correction data, respectively Cumulative current error and preset cumulative historical power; f is the current coefficient; g is the cumulative current error coefficient; h is the cumulative historical power coefficient.

本发明实施例还提供一种电池管理系统,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述电池SOC估算方法。Embodiments of the present invention further provide a battery management system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the above when executing the computer program Describe the battery SOC estimation method.

本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上所述电池SOC估算方法。An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the battery SOC estimation method as described above.

上述电池SOC估算方法、电池管理系统和计算机可读存储介质,根据所述实测电流和所述实测电压查询修正数据表,快速确定SOC上限修正数据和SOC下限修正数据,使得SOC估算要求资源低且有助于提供SOC估算的实时性;再基于实测累计历史电量、所述SOC上限修正数据和所述SOC下限修正数据确定SOC上限阈值和SOC下限阈值,利用SOC上限阈值和SOC下限阈值评估对实测SOC进行修正,使得输出的目标SOC准确性较高,与电池实际SOC的误差小,以使SOC估算可以兼顾准确性高、资源要求低和实时性高的需求。The above-mentioned battery SOC estimation method, battery management system and computer-readable storage medium, query a correction data table according to the measured current and the measured voltage, and quickly determine the SOC upper limit correction data and the SOC lower limit correction data, so that the SOC estimation requires low resources and Helps to provide real-time SOC estimation; then determine the SOC upper threshold and the SOC lower threshold based on the measured accumulated historical power, the SOC upper limit correction data and the SOC lower limit correction data, and use the SOC upper threshold and SOC lower threshold to evaluate the actual measurement. The SOC is corrected so that the output target SOC has a high accuracy and a small error with the actual SOC of the battery, so that the SOC estimation can take into account the needs of high accuracy, low resource requirements and high real-time performance.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the drawings that are used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. , for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative labor.

图1是本发明一实施例中电池SOC估算方法的一流程图;FIG. 1 is a flowchart of a battery SOC estimation method in an embodiment of the present invention;

图2是本发明一实施例中电池SOC估算方法的另一流程图。FIG. 2 is another flowchart of a battery SOC estimation method in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明实施例提供的电池SOC估算方法,该电池SOC估算方法可应用在电池管理系统(BATTERY MANAGEMENT SYSTEM,以下简称BMS)中,该BMS与电池相连,用于对电池进行SOC估算,以使估算出的目标SOC具有准确性高、资源要求低且实时性高等优点。The battery SOC estimation method provided by the embodiment of the present invention can be applied in a battery management system (BATTERY MANAGEMENT SYSTEM, hereinafter referred to as BMS), the BMS is connected to the battery, and is used to estimate the SOC of the battery, so that the estimation The obtained target SOC has the advantages of high accuracy, low resource requirements and high real-time performance.

本实施例中,BMS的存储器中预先存储有修正数据表,该修正数据表是预先记录不同配置修正数据的数据表。该配置修正数据是指获取电池实测数据的系统时间之前根据电池运行工况形成并记录在BMS的存储器中的数据,可以理解为用于实现对实测SOC进行估算修正所需调用的数据。In this embodiment, a correction data table is pre-stored in the memory of the BMS, and the correction data table is a data table that pre-records correction data of different configurations. The configuration correction data refers to the data formed and recorded in the memory of the BMS according to the operating conditions of the battery before the system time for obtaining the measured battery data, which can be understood as the data to be called to realize the estimation and correction of the measured SOC.

由于BMS中存储资源有限,使得修正数据表中的配置修正数据有限,可根据BMS所提供的存储资源,在修正数据表中存储X*Y个配置修正数据,其中,X为预设SOC的数量,例如,若预设SOC的取值为5%、15%、25%、75%、85%和95%,则X为6;Y为预设电流的数量,若预设电流的取值为0.2C、0.5C、0.9C、1C和2.2C,则Y为5,则修正数据表中存储30个配置修正数据。Due to the limited storage resources in the BMS, the configuration correction data in the correction data table is limited. According to the storage resources provided by the BMS, X*Y configuration correction data can be stored in the correction data table, where X is the number of preset SOCs , for example, if the preset SOC values are 5%, 15%, 25%, 75%, 85% and 95%, then X is 6; Y is the number of preset currents, if the preset current values are 0.2C, 0.5C, 0.9C, 1C and 2.2C, then Y is 5, then 30 configuration correction data are stored in the correction data table.

作为一示例,预先根据电池在测试运行过程中形成的测试数据,绘制X条预设SOC对应的电压-电流实测曲线,再根据电流采样规则确定的Y个预设电流,以便根据预设电流和电压-电流实测曲线确定预设电压。本示例中,Y个预设电流可采用等差取数规则确定,以最大程度减少差异性,以有助于降低后续SOC估算的误差,此时,Y个预设电流为预设电流CTBm,其中,1≦m≦Y;如上所示,预设电流CTB1=0.2、CTB2=0.7、CTB3=1.2、CTB4=1.7、CTB5=2.2。As an example, according to the test data formed by the battery during the test operation in advance, draw X voltage-current measured curves corresponding to the preset SOC, and then Y preset currents determined according to the current sampling rule, so that the preset current and The voltage-current measured curve determines the preset voltage. In this example, the Y preset currents can be determined by using the arithmetic difference rule to minimize the difference and help reduce the error of the subsequent SOC estimation. At this time, the Y preset currents are the preset currents CTBm, Wherein, 1≦m≦Y; as shown above, the preset currents CTB1=0.2, CTB2=0.7, CTB3=1.2, CTB4=1.7, and CTB5=2.2.

本示例中,配置修正数据包括预设电流、预设电压、预设SOC、预设累计电流误差和预设累计历史电量,可采用[SOCn、In、Vn、Dn、Cn]表示第n个配置修正数据,其中,1≦n≦X*Y。预设SOC是预先配置的可能需要修正的电池的SOC,可用SOCn表示。预设电流是指预先配置的可能需要修正的的电池工作过程的电流,可用In表示,具体可以为充电电流,也可以为放电电流。预设电压是指接收到电池实测数据的系统时间之前形成并记录的用于实现SOC估算修正所需的电压,可用Vn表示。预设累计电流误差是指接收到电池实测数据的系统时间之前所有误差电流的累计,可用Dn表示。预设累计历史电量是指接收到电池实测数据的系统时间之前所有电量的累计,可用Cn表示。例如,在采用实时电压修正法进行SOC估算时,预设SOC、预设电流和预设电压为已知的各电流充放电电压曲线中的特定采样点。In this example, the configuration correction data includes preset current, preset voltage, preset SOC, preset accumulated current error and preset accumulated historical power, and can use [SOCn, In, Vn, Dn, Cn] to represent the nth configuration Correction data, where 1≦n≦X*Y. The preset SOC is a pre-configured SOC of the battery that may need to be corrected, and can be represented by SOCn. The preset current refers to a pre-configured current of the battery working process that may need to be corrected, which may be represented by In, and may specifically be a charging current or a discharging current. The preset voltage refers to the voltage required for realizing the correction of SOC estimation, which is formed and recorded before the system time when the measured battery data is received, and can be represented by Vn. The preset accumulated current error refers to the accumulation of all error currents before the system time when the measured battery data is received, which can be represented by Dn. The preset accumulated historical power refers to the accumulation of all power before the system time when the measured battery data is received, which can be represented by Cn. For example, when the real-time voltage correction method is used to estimate the SOC, the preset SOC, the preset current and the preset voltage are known specific sampling points in each current charge-discharge voltage curve.

在一实施例中,如图1所示,提供一种电池SOC估算方法,以该方法应用在BMS为例进行说明,包括如下步骤:In one embodiment, as shown in FIG. 1 , a method for estimating battery SOC is provided, and the method is applied to a BMS as an example for description, including the following steps:

S11:获取电池实测数据,电池实测数据包括实测电流、实测电压、实测SOC和实测累计历史电量。S11: Acquire actual battery data, which includes measured current, measured voltage, measured SOC, and measured accumulated historical power.

其中,电池实测数据是指BMS实时获取的与电池相关的数据。实测电流是指BMS获取的电池工作过程的电流,可用IT表示,可以理解为采用SOC算法方法进行处理时所确定的电流,具体可以为充电电流,也可以为放电电流。实测电压是指BMS实时获取的电池工作过程中的电压,可用VT表示,可以理解为采用SOC算法方法进行处理时所确定的电压。实测SOC是BMS实时获取的电池的SOC,可用SOCT表示,可以理解为采用SOC估算方法确定的估算SOC。实测累计历史电量是接收电池实测数据之后统计所有电量的累计,可用CT表示。例如,在电池充电过程中,实测累计历史电量为所有充电电量的累计;在电池放电过程中,实测累计历史电量为所有放电电量的累计。可以理解地,实测累计历史电量包括系统时间之前所有累计历史电量与本次电池实测数据中的电量的累计。The battery measured data refers to the battery-related data acquired by the BMS in real time. The measured current refers to the current obtained by the BMS during the working process of the battery, which can be represented by IT . It can be understood as the current determined when the SOC algorithm method is used for processing. Specifically, it can be the charging current or the discharging current. The measured voltage refers to the voltage obtained by the BMS in real time during the working process of the battery, which can be represented by V T , which can be understood as the voltage determined when the SOC algorithm method is used for processing. The measured SOC is the SOC of the battery obtained in real time by the BMS, which can be represented by SOC T , which can be understood as the estimated SOC determined by the SOC estimation method. The measured accumulated historical power is the accumulation of all the power after receiving the actual measured data of the battery, which can be represented by CT . For example, in the process of battery charging, the measured cumulative historical power is the accumulation of all charged power; during the battery discharge process, the measured cumulative historical power is the cumulative of all discharged powers. It can be understood that the measured accumulated historical power includes the accumulation of all accumulated historical power before the system time and the power in the current battery measured data.

作为一示例,BMS实时获取电池实测数据,电池实测数据包括实测电流、实测电压、实测SOC、实测累计电流误差和实测累计历史电量,可采用[SOCT、IT、VT、DT、CT]表示电池实测数据。例如,电池充电过程中,在采用1.2C实测电流充电到实测电压V0时,可采用实时电压修正法对实测电流1.2C和实测电压V0进行SOC估算,以获取实测SOC0,并结合配置修正数据计算实测累计电流误差D0和实测累计历史电量C0,获取电池实测数据[SOC0,1.2C,V0,D0,C0]。As an example, the BMS acquires the measured battery data in real time. The measured battery data includes the measured current, measured voltage, measured SOC, measured accumulated current error, and measured accumulated historical power. [SOC T , IT , V T , D T , C T ] represents the measured data of the battery. For example, during the charging process of the battery, when the measured current of 1.2C is used to charge to the measured voltage V0, the real-time voltage correction method can be used to estimate the SOC of the measured current of 1.2C and the measured voltage V0 to obtain the measured SOC0, and calculate with the configuration correction data. The measured cumulative current error D0 and the measured cumulative historical power C0 are used to obtain the measured battery data [SOC0, 1.2C, V0, D0, C0].

S12:根据实测电流和实测电压查询修正数据表,获取与实测电流和实测电压相匹配的SOC上限修正数据和SOC下限修正数据。S12: Query the correction data table according to the measured current and the measured voltage, and obtain the SOC upper limit correction data and the SOC lower limit correction data matching the measured current and the measured voltage.

由于采用实时电压修正法进行SOC估算时,在SOC处于中间段(如30%-70%)时,其SOC估算准确性较高,其估算出的实测SOC与电池实际SOC的误差较小;在SOC处于低段(如0-30%)或者高段(如70%-100%),其SOC估算准确性较低,其估算出的实测SOC与电池实际SOC的误差较大,需进行修正,因此,需根据实测电流和实测电压查询修正数据表,获取与实测电流和实测电压相匹配的SOC上限修正数据和SOC下限修正数据,以便利用SOC上限修正数据和SOC下限修正数据进行修正。Because the real-time voltage correction method is used for SOC estimation, when the SOC is in the middle stage (such as 30%-70%), the SOC estimation accuracy is high, and the error between the estimated measured SOC and the actual battery SOC is small; If the SOC is in the low range (such as 0-30%) or high range (such as 70%-100%), the accuracy of the SOC estimation is low, and the error between the estimated measured SOC and the actual SOC of the battery is large, which needs to be corrected. Therefore, it is necessary to query the correction data table according to the measured current and measured voltage, and obtain the SOC upper limit correction data and SOC lower limit correction data that match the measured current and measured voltage, so as to use the SOC upper limit correction data and the SOC lower limit correction data for correction.

该修正数据表是预先记录不同配置修正数据的数据表。该配置修正数据是指获取电池实测数据的系统时间之前根据电池运行工况形成并记录在BMS的存储器中的数据,可以理解为用于实现对实测SOC进行估算修正所需调用的数据。一般来说,配置修正数据可以理解为在满足预设电流和预设电压的情况下,其对应的实测SOC应当在其预设SOC的误差范围内,以对实测SOC进行修正,保证修正后确定的目标SOC与电池实际SOC的误差较小,提高目标SOC的准确性。例如,在预设电流为1.2C时,修正数据表中存储的预设电流为1.2C的配置修正数据如下:The correction data table is a data table in which correction data of different configurations are recorded in advance. The configuration correction data refers to the data formed and recorded in the memory of the BMS according to the operating conditions of the battery before the system time for obtaining the measured battery data, which can be understood as the data to be called to realize the estimation and correction of the measured SOC. Generally speaking, the configuration correction data can be understood as the fact that when the preset current and preset voltage are satisfied, the corresponding measured SOC should be within the error range of its preset SOC, so as to correct the measured SOC to ensure that the correction is determined. The error between the target SOC and the actual SOC of the battery is small, which improves the accuracy of the target SOC. For example, when the preset current is 1.2C, the configuration correction data for the preset current of 1.2C stored in the correction data table is as follows:

[5%,1.2C,V1,D1,C1][5%, 1.2C, V1, D1, C1]

[15%,1.2C,V2,D2,C2][15%, 1.2C, V2, D2, C2]

[25%,1.2C,V3,D3,C3][25%, 1.2C, V3, D3, C3]

[75%,1.2C,V4,D4,C4][75%, 1.2C, V4, D4, C4]

[85%,1.2C,V5,D5,C5][85%, 1.2C, V5, D5, C5]

[95%,1.2C,V6,D6,C6][95%, 1.2C, V6, D6, C6]

其中,SOC上限修正数据是用于实现对实测SOC的上限进行修正的配置修正数据。SOC下限修正数据是用于实现对实测SOC的下限进行修正的配置修正数据。Here, the SOC upper limit correction data is configuration correction data for realizing correction of the upper limit of the actual measured SOC. The SOC lower limit correction data is configuration correction data for realizing correction of the lower limit of the measured SOC.

作为一示例,BMS在接收到电池实测数据之后,需基于实测电流和实测电压查询预先存储修正数据表,选取预设电流与实测电流相匹配,且预设电压与实测电压相匹配的配置修正数据确定为SOC上限修正数据和SOC下限修正数据。本示例中,BMS可从预设电流与实测电流相匹配,且预设电压大于实测电压的所有配置修正数据中,选取预设电压最接近实测电压的配置修正数据确定为SOC上限修正数据;从预设电流与实测电流相匹配,且预设电压小于实测电压的所有配置修正数据中,选取预设电压最接近实测电压的配置修正数据确定为SOC下限修正数据。As an example, after receiving the measured battery data, the BMS needs to query the pre-stored correction data table based on the measured current and measured voltage, and select the configuration correction data that matches the preset current and the measured current, and the preset voltage matches the measured voltage. It is determined as SOC upper limit correction data and SOC lower limit correction data. In this example, the BMS can select the configuration correction data whose preset voltage is closest to the measured voltage from all the configuration correction data whose preset current matches the measured current and whose preset voltage is greater than the measured voltage, and determine it as the SOC upper limit correction data; The preset current matches the measured current, and the preset voltage is smaller than the measured voltage, among all configuration correction data, the configuration correction data with the preset voltage closest to the measured voltage is selected as the SOC lower limit correction data.

S13:根据实测累计历史电量、SOC上限修正数据和SOC下限修正数据,确定SOC上限阈值和SOC下限阈值。S13: Determine the SOC upper limit threshold and the SOC lower limit threshold according to the measured accumulated historical power, the SOC upper limit correction data, and the SOC lower limit correction data.

其中,SOC上限阈值是用于比较判断是否需要对实测SOC的上限进行修正的评估阈值。SOC下限阈值是用于比较判断是否需要对实测SOC的下限进行修正的评估阈值。The SOC upper limit threshold is an evaluation threshold used to compare and determine whether the upper limit of the measured SOC needs to be corrected. The SOC lower limit threshold is an evaluation threshold used to compare and determine whether or not to correct the lower limit of the actually measured SOC.

作为一示例,BMS执行阈值确定逻辑,对SOC上限修正数据进行处理,获取SOC上限阈值;对SOC下限修正数据进行处理,获取SOC下限阈值。可理解地,由于SOC上限修正数据和SOC下限修正数据均不仅包括预设电流和预设电压,还包括预设SOC、预设累计电流误差和预设累计历史电量;BMS可实时执行阈值确定逻辑,对实测累计历史电量以及SOC上限修正数据中的预设SOC、预设累计电流误差和预设累计历史电量进行处理,确定SOC上限阈值;实时执行阈值确定逻辑,对实测累计历史电量以及SOC下限修正数据中的预设SOC、预设累计电流误差和预设累计历史电量进行处理,确定SOC下限阈值。本示例,阈值确定逻辑是指采用实测累计历史电量、预设SOC、预设累计电流误差和预设累计历史电量作为输入参数,采用预先配置好的运算规则进行处理的逻辑。As an example, the BMS executes the threshold determination logic, processes the SOC upper limit correction data, and obtains the SOC upper limit threshold; and processes the SOC lower limit correction data, and obtains the SOC lower limit threshold. Understandably, since both the SOC upper limit correction data and the SOC lower limit correction data include not only the preset current and the preset voltage, but also the preset SOC, the preset accumulated current error, and the preset accumulated historical power; the BMS can execute the threshold determination logic in real time. , process the measured cumulative historical power and the preset SOC, the preset cumulative current error, and the preset cumulative historical power in the SOC upper limit correction data to determine the SOC upper limit threshold; execute the threshold determination logic in real time to determine the measured cumulative historical power and the SOC lower limit The preset SOC, the preset accumulated current error and the preset accumulated historical power in the corrected data are processed to determine the lower limit threshold of the SOC. In this example, the threshold determination logic refers to the logic that uses the measured accumulated historical power, the preset SOC, the preset accumulated current error, and the preset accumulated historical power as input parameters, and uses a pre-configured algorithm for processing.

S14:采用SOC上限阈值和SOC下限阈值对实测SOC进行修正,获取目标SOC。S14: Correct the measured SOC by using the SOC upper limit threshold and the SOC lower limit threshold to obtain the target SOC.

其中,目标SOC是利用SOC上限阈值和SOC下限阈值对实测SOC进行修正处理后所确定的目标SOC,该目标SOC为最终确定的SOC,与电池实际SOC的误差最小,准确性最高。Among them, the target SOC is the target SOC determined after correcting the measured SOC by using the SOC upper threshold and the SOC lower threshold.

作为一示例,BMS在确定SOC上限阈值和SOC下限阈值之后,可采用预先配置的SOC修正逻辑对实测SOC与SOC上限阈值和SOC下限阈值进行比较,以根据实测SOC与SOC下限阈值与SOC上限阈值的比较结果,确定是否需要对实测SOC进行修正,并在确定需要对实测SOC进行修正的情况下,具体如何实现对实测SOC进行修正。例如,在实测SOC不在SOC下限阈值与SOC上限阈值之间时,可采用SOC补偿规则对小于SOC下限阈值进行补偿,或者对大于SOC上限阈值的实测SOC进行补偿,以使其补偿后确定的目标SOC更接近SOC下限阈值与SOC上限阈值的范围,从而保证目标SOC与电池实际SOC的误差最小,准确性最高。该SOC补偿规则为预先设置的用于对实测SOC进行补偿的规则,该SOC补偿规则中可以配置不同补偿条件以及每种补偿条件对应的补偿公式,以根据实际情况确定对应的补偿条件,从而采用相应的补偿公式进行处理。As an example, after determining the SOC upper threshold and the SOC lower threshold, the BMS may use a preconfigured SOC correction logic to compare the measured SOC with the SOC upper threshold and the SOC lower threshold, so as to compare the measured SOC with the SOC lower threshold and the SOC upper threshold according to the measured SOC and the SOC lower threshold and the SOC upper threshold. The comparison results of , determine whether the measured SOC needs to be corrected, and in the case that it is determined that the measured SOC needs to be corrected, how to implement the correction of the measured SOC in detail. For example, when the measured SOC is not between the SOC lower threshold and the SOC upper threshold, the SOC compensation rule can be used to compensate the SOC lower than the SOC lower threshold, or to compensate the measured SOC greater than the SOC upper threshold, so as to make it the target determined after compensation The SOC is closer to the range of the SOC lower threshold and the SOC upper threshold, so as to ensure the smallest error between the target SOC and the actual SOC of the battery and the highest accuracy. The SOC compensation rule is a preset rule for compensating the measured SOC. Different compensation conditions and a compensation formula corresponding to each compensation condition can be configured in the SOC compensation rule, so as to determine the corresponding compensation condition according to the actual situation. The corresponding compensation formula is processed.

本实施例所提供的电池SOC估算方法,根据实测电流和实测电压查询修正数据表,快速确定SOC上限修正数据和SOC下限修正数据,使得SOC估算要求资源低且有助于提供SOC估算的实时性;再基于实测累计历史电量、SOC上限修正数据和SOC下限修正数据确定SOC上限阈值和SOC下限阈值,利用SOC上限阈值和SOC下限阈值评估对实测SOC进行修正,使得输出的目标SOC准确性较高,与电池实际SOC的误差小,以使SOC估算可以兼顾准确性高、资源要求低和实时性高的需求。The battery SOC estimation method provided in this embodiment queries the correction data table according to the measured current and the measured voltage, and quickly determines the correction data of the upper limit of the SOC and the correction data of the lower limit of the SOC, so that the SOC estimation requires less resources and helps to provide real-time SOC estimation. ; Then determine the SOC upper threshold and SOC lower threshold based on the measured accumulated historical power, SOC upper limit correction data and SOC lower limit correction data, and use the SOC upper threshold and SOC lower threshold evaluation to correct the measured SOC, so that the output target SOC is more accurate , the error with the actual SOC of the battery is small, so that the SOC estimation can take into account the needs of high accuracy, low resource requirements and high real-time performance.

在一实施例中,步骤S12,即根据实测电流和实测电压查询修正数据表,获取与实测电流和实测电压相匹配的SOC上限修正数据和SOC下限修正数据,包括:In one embodiment, step S12 is to query the correction data table according to the measured current and the measured voltage, and obtain the SOC upper limit correction data and the SOC lower limit correction data that match the measured current and the measured voltage, including:

S121:基于实测电流查询修正数据表,获取修正数据表内预设电流与实测电流相匹配的SOC待选修正数据。S121: Query the correction data table based on the measured current, and obtain the SOC candidate correction data in the correction data table that matches the preset current and the measured current.

S122:基于实测电压和SOC待选修正数据,获取SOC上限修正数据和SOC下限修正数据。S122: Based on the measured voltage and the SOC candidate correction data, obtain the SOC upper limit correction data and the SOC lower limit correction data.

其中,SOC待选修正数据包括:预设电流、预设电压、预设SOC以及预设累计历史电量。Wherein, the SOC candidate correction data includes: preset current, preset voltage, preset SOC, and preset accumulated historical power.

其中,SOC待选修正数据是指预设电流与实测电流相匹配的配置修正数据,即将与实测电流相匹配的预设电流对应的所有配置修正数据确定为SOC待选修正数据。本示例中,与实测电流相匹配的预设电流可以是指与实测电流相等的预设电流,也可以是与实测电流不相等但最接近的预设电流。The SOC candidate correction data refers to configuration correction data matching the preset current with the measured current, that is, all configuration correction data corresponding to the preset current matching the measured current is determined as the SOC candidate correction data. In this example, the preset current matching the actual measured current may refer to a preset current equal to the actual measured current, or may be a preset current that is not equal to but closest to the actual measured current.

作为一示例,若电池实测数据[SOC0,1.2C,V0,D0,C0],其实测电流为1.2C时,将修正数据表中获取所有预设电流为1.2C对应的配置修正数据确定为SOC待选修正数据,例如,SOC待选修正数据如下:As an example, if the measured data of the battery is [SOC0, 1.2C, V0, D0, C0], when the actual measured current is 1.2C, all the configuration correction data corresponding to the preset current of 1.2C obtained from the correction data table are determined as SOC The candidate correction data, for example, the SOC candidate correction data are as follows:

[5%,1.2C,V1,D1,C1][5%, 1.2C, V1, D1, C1]

[15%,1.2C,V2,D2,C2][15%, 1.2C, V2, D2, C2]

[25%,1.2C,V3,D3,C3][25%, 1.2C, V3, D3, C3]

[75%,1.2C,V4,D4,C4][75%, 1.2C, V4, D4, C4]

[85%,1.2C,V5,D5,C5][85%, 1.2C, V5, D5, C5]

[95%,1.2C,V6,D6,C6][95%, 1.2C, V6, D6, C6]

上述SOC待选修正数据中,在预设电流与实测电流相匹配时,预设电压与预设SOC成正比,即预设电压越大,其预设SOC越大。In the above-mentioned SOC candidate correction data, when the preset current matches the measured current, the preset voltage is proportional to the preset SOC, that is, the larger the preset voltage, the larger the preset SOC.

可理解地,可将预设电流与实测电流相匹配的所有SOC待选修正数据中的预设电压与实测电压进行升序或者降序处理,形成电压排序序列,将电压排序序列中与实测电压邻近的两个预设电压对应的SOC待选修正数据,分别确定为SOC上限修正数据和SOC下限修正数据,以实现利用SOC上限修正数据和SOC下限修正数据对实测SOC的上限或者下限进行修正,保证最终确定的目标SOC的准确率,降低目标SOC与电池实际SOC的误差。Understandably, the preset voltage and the measured voltage in all SOC candidate correction data whose preset current matches the measured current can be processed in ascending or descending order to form a voltage sorting sequence. The SOC candidate correction data corresponding to the two preset voltages are respectively determined as the SOC upper limit correction data and the SOC lower limit correction data, so as to use the SOC upper limit correction data and the SOC lower limit correction data to correct the upper limit or lower limit of the measured SOC to ensure the final The accuracy of the determined target SOC reduces the error between the target SOC and the actual SOC of the battery.

在一实施例中,步骤S121,即基于实测电流查询修正数据表,获取修正数据表内预设电流与实测电流相匹配的SOC待选修正数据,包括:In one embodiment, step S121, that is, query the correction data table based on the measured current, and obtain the SOC candidate correction data matching the preset current and the measured current in the correction data table, including:

S1211:若修正数据表内的预设电流等于实测电流,则将预设电流对应的第一修正数据作为SOC待选修正数据。S1211: If the preset current in the correction data table is equal to the measured current, use the first correction data corresponding to the preset current as the SOC candidate correction data.

S1212:若修正数据表内的预设电流不等于实测电流,则获取修正数据表内的第二修正数据以及第三修正数据,基于实测电流、第二修正数据和第三修正数据,获取SOC待选修正数据,其中,第二修正数据中的预设电流小于实测电流,第三修正数据中的预设电流大于实测电流。S1212: If the preset current in the correction data table is not equal to the measured current, obtain the second correction data and the third correction data in the correction data table, and obtain the SOC pending data based on the measured current, the second correction data and the third correction data Correction data is selected, wherein the preset current in the second correction data is smaller than the measured current, and the preset current in the third correction data is greater than the measured current.

作为一示例,BMS实时获取电池实测数据,电池实测数据包括实测电流、实测电压、实测SOC、实测累计电流误差和实测累计历史电量,可采用[SOCT、IT、VT、DT、CT]表示电池实测数据。例如,电池充电过程中,在采用1.2C实测电流充电到实测电压V0时,可采用实时电压修正法对实测电流1.2C和实测电压V0进行SOC估算,以获取实测SOC0,并结合配置修正数据计算实测累计电流误差D0和实测累计历史电量C0,获取电池实测数据[SOC0,1.2C,V0,D0,C0]。As an example, the BMS acquires the measured battery data in real time. The measured battery data includes the measured current, measured voltage, measured SOC, measured accumulated current error, and measured accumulated historical power. [SOC T , IT , V T , D T , C T ] represents the measured data of the battery. For example, during the charging process of the battery, when the measured current of 1.2C is used to charge to the measured voltage V0, the real-time voltage correction method can be used to estimate the SOC of the measured current of 1.2C and the measured voltage V0 to obtain the measured SOC0, and calculate with the configuration correction data. The measured cumulative current error D0 and the measured cumulative historical power C0 are used to obtain the measured battery data [SOC0, 1.2C, V0, D0, C0].

作为一示例,可先将实测电流与修正数据表中所有配置修正数据中的预设电流进行对比。若预设电流等于实测电流,则将预设电流等于实测电流的配置修正数据确定为第一修正数据,该第一修正数据为SOC待选修正数据。若预设电流不等于实测电流,则将实测电流和所有配置修正数据中的预设电流进行排序,获取电流排序序列,将与实测电流邻接的两个配置修正数据分别确定为第二修正数据和第三修正数据。例如,将电流排序序列中与实测电流邻接的两个预设电流中,预设电流小于实测电流的配置修正数据确定为第二修正数据;将电流排序序列中与实测电流邻接的两个预设电流中,预设电流大于实测电流的配置修正数据,确定为第三修正数据。As an example, the measured current may be compared with the preset current in all configuration correction data in the correction data table. If the preset current is equal to the measured current, the configuration correction data in which the preset current is equal to the measured current is determined as the first correction data, and the first correction data is the SOC candidate correction data. If the preset current is not equal to the measured current, sort the measured current and the preset currents in all configuration correction data to obtain a current sorting sequence, and determine the two configuration correction data adjacent to the measured current as the second correction data and Third correction data. For example, among the two preset currents adjacent to the measured current in the current sorting sequence, the configuration correction data in which the preset current is smaller than the actual measured current is determined as the second correction data; the two preset currents adjacent to the measured current in the current sorting sequence are determined as the second correction data; Among the currents, the configuration correction data in which the preset current is greater than the measured current is determined as the third correction data.

在一实施例中,步骤S1212,即基于实测电流、第二修正数据和第三修正数据,获取SOC待选修正数据,包括:采用数据估算公式对实测电流、第二修正数据和第三修正数据进行处理,获取SOC待选修正数据。In one embodiment, step S1212, that is, obtaining the SOC candidate correction data based on the measured current, the second correction data and the third correction data, includes: using a data estimation formula to compare the measured current, the second correction data and the third correction data. Perform processing to obtain SOC candidate correction data.

数据估算公式为ST=(Sa-Sb)*(IT-Ib)/(Ia-Ib)+Sb;若Sa为第二修正数据中的预设电压,Sb为第三修正数据中的预设电压,则ST为SOC待选修正数据中的预设电压;若Sa为第二修正数据中的预设SOC,Sb为第三修正数据中的预设SOC,则ST为SOC待选修正数据中的预设SOC;若Sa为第二修正数据中的预设累计历史电量,Sb为第三修正数据中的预设累计历史电量,则ST为SOC待选修正数据中的预设累计历史电量;IT为实测电流;Ia为第二修正数据中的预设电流;Ib为第三修正数据中的预设电流。The data estimation formula is ST=(Sa-Sb)*(IT-Ib)/(Ia-Ib)+Sb; if Sa is the preset voltage in the second modified data, Sb is the preset voltage in the third modified data , then ST is the preset voltage in the SOC candidate correction data; if Sa is the preset SOC in the second correction data, and Sb is the preset SOC in the third correction data, then ST is the SOC candidate correction data. Preset SOC; if Sa is the preset cumulative historical power in the second correction data, Sb is the preset cumulative historical power in the third correction data, then ST is the preset cumulative historical power in the SOC candidate correction data; I T is the measured current; Ia is the preset current in the second correction data; Ib is the preset current in the third correction data.

本实施例中,BMS可直接将实测电流确定为实测电流,并在确定第二修正数据和第三修正数据之后,可利用第二修正数据和第三修正数据中的预设电流、预设电压、预设累计电流误差和预设累计历史电量等具体值,与实测电流进行处理,以确定SOC待选修正数据。In this embodiment, the BMS can directly determine the measured current as the measured current, and after determining the second correction data and the third correction data, can use the preset current and preset voltage in the second correction data and the third correction data , Preset accumulated current error and preset accumulated historical power and other specific values are processed with the measured current to determine the SOC candidate correction data.

作为一示例,BMS采用数据估算公式对实测电流和第二修正数据和第三修正数据进行处理,获取SOC待选修正数据;其中,数据估算公式为ST=(Sa-Sb)*(IT-Ib)/(Ia-Ib)+Sb;若Sa为第二修正数据中的预设电压,Sb为第三修正数据中的预设电压,则ST为SOC待选修正数据中的预设电压;若Sa为第二修正数据中的预设SOC,Sb为第三修正数据中的预设SOC,则ST为SOC待选修正数据中的预设SOC;若Sa为第二修正数据中的预设累计历史电量,Sb为第三修正数据中的预设累计历史电量,则ST为SOC待选修正数据中的预设累计历史电量;IT为实测电流;Ia为第二修正数据中的预设电流;Ib为第三修正数据中的预设电流。As an example, the BMS uses a data estimation formula to process the measured current, the second correction data, and the third correction data to obtain the SOC candidate correction data; wherein, the data estimation formula is ST=(Sa-Sb)*(IT-Ib )/(Ia-Ib)+Sb; if Sa is the preset voltage in the second correction data, Sb is the preset voltage in the third correction data, then ST is the preset voltage in the SOC candidate correction data; if Sa is the preset SOC in the second correction data, Sb is the preset SOC in the third correction data, and ST is the preset SOC in the SOC candidate correction data; if Sa is the preset accumulation in the second correction data historical power, Sb is the preset cumulative historical power in the third correction data, ST is the preset cumulative historical power in the SOC candidate correction data; IT is the measured current; Ia is the preset current in the second correction data ; Ib is the preset current in the third correction data.

例如,第二修正数据[SOCa,Ia,Va,Da,Ca]为[75%,1.3C,3.458,5AH,30000AH],第三修正数据[SOCb,Ib,Vb,Db,Cb]为[75%,1.0C,3.412,6AH,22000AH],实测电流IT=1.2C时,则实测电压估算公式为VT=(Va-Vb)*For example, the second correction data [SOCa, Ia, Va, Da, Ca] is [75%, 1.3C, 3.458, 5AH, 30000AH], and the third correction data [SOCb, Ib, Vb, Db, Cb] is [75 %, 1.0C, 3.412, 6AH, 22000AH], when the measured current I T =1.2C, the measured voltage estimation formula is V T =(Va-Vb)*

(I0-Ib)/(Ia-Ib)+Vb=(3.458-3.412)*(1.2-1.0)/(1.3-1.0)+3.412=3.443,即实测电压VT为3.443;实测累计电流误差公式为DT=(Da-Db)*(I0-Ib)/(Ia-Ib)+Db=(5-6)*(1.2-1.0)/(1.3-1.0)+6=5.33;实测累计电流误差DT为5.33。实测累计历史电量公式为CT=(Ca-Cb)*(I0-Ib)/(Ia-Ib)+Cb=(30000-22000)*(1.2-1.0)/(1.3-1.0)+22000=27333,即实测累计历史电量CT为27333,则最终获取的电池实测数据为[75%,1.2C,3.443,5.33AH,27333AH]。(I0-Ib)/(Ia-Ib)+Vb=(3.458-3.412)*(1.2-1.0)/(1.3-1.0)+3.412=3.443, that is, the measured voltage V T is 3.443; the measured cumulative current error formula is D T =(Da-Db)*(I0-Ib)/(Ia-Ib)+Db=(5-6)*(1.2-1.0)/(1.3-1.0)+6=5.33; the measured cumulative current error D T was 5.33. The formula for the measured cumulative historical electricity is C T =(Ca-Cb)*(I0-Ib)/(Ia-Ib)+Cb=(30000-22000)*(1.2-1.0)/(1.3-1.0)+22000=27333 , that is, the measured cumulative historical power CT is 27333, then the final measured battery data is [75%, 1.2C, 3.443, 5.33AH, 27333AH].

进一步地,电池实测数据还包括实测累计电流误差;相应地,SOC待选修正数据还包括预设累计电流误差,则第二修正数据和第三修正数据也包含预设累计电流误差,则BMS采用数据估算公式对实测电流和第二修正数据和第三修正数据进行处理,获取SOC待选修正数据;其中,数据估算公式为ST=(Sa-Sb)*(IT-Ib)/(Ia-Ib)+Sb;若Sa为第二修正数据中的预设累计电流误差,Sb为第三修正数据中的预设累计电流误差,则ST为SOC待选修正数据中的预设累计电流误差;IT为实测电流;Ia为第二修正数据中的预设电流;Ib为第三修正数据中的预设电流。Further, the actual measured data of the battery also includes the actual measured accumulated current error; correspondingly, the SOC candidate correction data also includes the preset accumulated current error, then the second corrected data and the third corrected data also include the preset accumulated current error, then the BMS adopts The data estimation formula processes the measured current, the second correction data and the third correction data to obtain the SOC candidate correction data; wherein, the data estimation formula is ST=(Sa-Sb)*(IT-Ib)/(Ia-Ib )+Sb; if Sa is the preset accumulated current error in the second correction data, Sb is the preset accumulated current error in the third correction data, then ST is the preset accumulated current error in the SOC candidate correction data; I T is the measured current; Ia is the preset current in the second correction data; Ib is the preset current in the third correction data.

本实施例所提供的电池SOC估算方法,可根据实测电流、第二修正数据和第三修正数据,以便基于实测电流、第二修正数据和第三修正数据,快速确定SOC待选修正数据,以便利用获取SOC待选修正数据进行估算SOC修正,保障最终确定的目标SOC的准确性,减少与实际SOC的误差。The battery SOC estimation method provided in this embodiment can quickly determine the SOC candidate correction data based on the measured current, the second correction data and the third correction data based on the measured current, the second correction data and the third correction data, so as to The estimated SOC is corrected by using the obtained SOC candidate correction data to ensure the accuracy of the final target SOC and reduce the error with the actual SOC.

在一实施例中,步骤S122,即基于实测电压和SOC待选修正数据,获取SOC上限修正数据和SOC下限修正数据,包括:In one embodiment, step S122, that is, based on the measured voltage and the SOC candidate correction data, obtain the SOC upper limit correction data and the SOC lower limit correction data, including:

S1221:若SOC待选修正数据中的预设电压大于实测电压,则将预设电压与SOC待选修正数据中的实测电压的差值确定为第一差值,将第一差值最小的SOC待选修正数据确定为SOC上限修正数据。S1221: If the preset voltage in the SOC candidate correction data is greater than the measured voltage, determine the difference between the preset voltage and the measured voltage in the SOC candidate correction data as the first difference, and determine the SOC with the smallest first difference The candidate correction data is determined as the SOC upper limit correction data.

S1222:若SOC待选修正数据中的预设电压小于实测电压,则将实测电压与SOC待选修正数据中的预设电压的差值确定为第二差值,将第二差值最小的SOC待选修正数据确定为SOC下限修正数据。S1222: If the preset voltage in the SOC candidate correction data is smaller than the measured voltage, determine the difference between the measured voltage and the preset voltage in the SOC candidate correction data as the second difference, and determine the SOC with the smallest second difference The candidate correction data is determined as the SOC lower limit correction data.

作为一示例,若电池实测数据[SOC0,1.2C,V0,D0,C0],其实测电流为1.2C时,将修正数据表中获取所有预设电流为1.2C对应的配置修正数据确定为SOC待选修正数据,例如,SOC待选修正数据如下:As an example, if the measured data of the battery is [SOC0, 1.2C, V0, D0, C0], when the actual measured current is 1.2C, all the configuration correction data corresponding to the preset current of 1.2C obtained from the correction data table are determined as SOC The candidate correction data, for example, the SOC candidate correction data are as follows:

[5%,1.2C,V1,D1,C1][5%, 1.2C, V1, D1, C1]

[15%,1.2C,V2,D2,C2][15%, 1.2C, V2, D2, C2]

[25%,1.2C,V3,D3,C3][25%, 1.2C, V3, D3, C3]

[75%,1.2C,V4,D4,C4][75%, 1.2C, V4, D4, C4]

[85%,1.2C,V5,D5,C5][85%, 1.2C, V5, D5, C5]

[95%,1.2C,V6,D6,C6][95%, 1.2C, V6, D6, C6]

上述SOC待选修正数据中,在预设电流与实测电流相匹配时,预设电压与预设SOC成正比,即预设电压越大,其预设SOC越大。In the above-mentioned SOC candidate correction data, when the preset current matches the measured current, the preset voltage is proportional to the preset SOC, that is, the larger the preset voltage, the larger the preset SOC.

作为一示例,将实测电压V0与预设电压V1、V2、V3、V4、V5和V6进行比较。若预设电压V5和V6大于实测电压V0,此时,可计算预设电压V5与实测电压V0之间的差值,确定为第一差值V5-V0,并计算预设电压V6与实测电压V0之间的差值,确定为第一差值V6-V0;再将第一差值V5-V0与V6-V0进行比较,由于第一差值V5-V0小于第一差值V6-V0,因此,可将第一差值V5-V0对应的SOC待选修正数据[85%,1.2C,V5,D5,C5]确定为SOC上限修正数据。若预设电压V1、V2、V3和V4均小于实测电压V0,则分别计算实测电压V0与预设电压V1、V2、V3和V4之间的第二差值V0-V1、V0-V2、V0-V3和V0-V4,由于V0-V4最小,因此,可以将第二差值V0-V4对应的SOC待选修正数据[75%,1.2C,V4,D4,C4]确定为SOC下限修正数据。As an example, the measured voltage V0 is compared with the preset voltages V1, V2, V3, V4, V5 and V6. If the preset voltages V5 and V6 are greater than the measured voltage V0, at this time, the difference between the preset voltage V5 and the measured voltage V0 can be calculated, determined as the first difference V5-V0, and the preset voltage V6 and the measured voltage can be calculated. The difference between V0 is determined as the first difference V6-V0; then the first difference V5-V0 is compared with V6-V0, since the first difference V5-V0 is smaller than the first difference V6-V0, Therefore, the SOC candidate correction data [85%, 1.2C, V5, D5, C5] corresponding to the first difference V5-V0 may be determined as the SOC upper limit correction data. If the preset voltages V1, V2, V3 and V4 are all smaller than the measured voltage V0, then calculate the second difference values V0-V1, V0-V2, V0 between the measured voltage V0 and the preset voltages V1, V2, V3 and V4 respectively -V3 and V0-V4, since V0-V4 is the smallest, therefore, the SOC candidate correction data [75%, 1.2C, V4, D4, C4] corresponding to the second difference V0-V4 can be determined as the SOC lower limit correction data .

可理解地,可将预设电流与实测电流相匹配的所有SOC待选修正数据中的预设电压与实测电压进行升序或者降序处理,形成电压排序序列,将电压排序序列中与实测电压邻近的两个预设电压对应的SOC待选修正数据,分别确定为SOC上限修正数据和SOC下限修正数据,以实现利用SOC上限修正数据和SOC下限修正数据对实测SOC的上限或者下限进行修正,保证最终确定的目标SOC的准确率,降低目标SOC与电池实际SOC的误差。Understandably, the preset voltage and the measured voltage in all SOC candidate correction data whose preset current matches the measured current can be processed in ascending or descending order to form a voltage sorting sequence. The SOC candidate correction data corresponding to the two preset voltages are respectively determined as the SOC upper limit correction data and the SOC lower limit correction data, so as to use the SOC upper limit correction data and the SOC lower limit correction data to correct the upper limit or lower limit of the measured SOC to ensure the final The accuracy of the determined target SOC reduces the error between the target SOC and the actual SOC of the battery.

在一实施例中,步骤S13,即根据实测累计历史电量、SOC上限修正数据和SOC下限修正数据,确定SOC上限阈值和SOC下限阈值,包括:In one embodiment, step S13, that is, determining the SOC upper limit threshold and the SOC lower limit threshold according to the measured accumulated historical power, SOC upper limit correction data and SOC lower limit correction data, including:

S131:根据实测累计历史电量和SOC上限修正数据中的预设累计电流误差和预设累计历史电量,获取上限误差值,将SOC上限修正数据中的预设SOC与上限误差值的和值,确定为SOC上限阈值。S131 : Obtain an upper limit error value according to the measured cumulative historical power and the preset cumulative current error and the preset cumulative historical power in the SOC upper limit correction data, and determine the sum of the preset SOC and the upper limit error value in the SOC upper limit correction data is the SOC upper threshold.

S132:根据实测累计历史电量和SOC下限修正数据中的预设累计电流误差和预设累计历史电量,获取下限误差值,将SOC下限修正数据中的预设SOC与下限误差值的差值,确定为SOC下限阈值。S132: Obtain a lower limit error value according to the measured cumulative historical power and the preset cumulative current error and the preset cumulative historical power in the SOC lower limit correction data, and determine the difference between the preset SOC and the lower limit error value in the SOC lower limit correction data is the SOC lower limit threshold.

作为一示例,BMS首先采用上限误差值计算公式对实测累计历史电量和SOC上限修正数据中的预设累计电流误差和预设累计历史电量进行处理,获取上限误差值,上限误差值计算公式为Wu=Du+k*(CT-Cu),CT为实测累计历史电量,Du和Cu分别为SOC上限修正数据中的预设累计电流误差和预设累计历史电量,Wu为上限误差值,k为累计历史电量衰减系数。累计历史电量衰减系数k可基于电池循环衰减实验数据得到。例如,在SOC上限修正数据[85%,1.2C,V5,D5,C5]中,将Du的取值为D5,Cu的取值为C5。接着,BMS将SOC上限修正数据中的预设SOCu与上限误差值Wu的和值确定为SOC上限阈值,以限定预设SOCu对应的误差上限,即预设SOCu可以接受的误差上限。As an example, the BMS first uses the upper limit error value calculation formula to process the preset cumulative current error and preset cumulative historical power in the measured cumulative historical power and SOC upper limit correction data to obtain the upper limit error value. The upper limit error value calculation formula is Wu =Du+k*(C T -Cu), C T is the measured cumulative historical power, Du and Cu are the preset cumulative current error and preset cumulative historical power in the SOC upper limit correction data, Wu is the upper limit error value, k is the cumulative historical power attenuation coefficient. The accumulated historical power attenuation coefficient k can be obtained based on the battery cycle attenuation experimental data. For example, in the SOC upper limit correction data [85%, 1.2C, V5, D5, C5], the value of Du is D5, and the value of Cu is C5. Next, the BMS determines the sum of the preset SOCu and the upper limit error value Wu in the SOC upper limit correction data as the SOC upper limit threshold to limit the error upper limit corresponding to the preset SOCu, that is, the acceptable error upper limit for the preset SOCu.

作为一示例,BMS首先采用下限误差值计算公式对实测累计历史电量和SOC下限修正数据中的预设累计电流误差和预设累计历史电量进行处理,获取下限误差值,下限误差值计算公式为Wp=Dp+k*(CT-Cp),CT为实测累计历史电量,Dp和Cp分别为SOC下限修正数据中的预设累计电流误差和预设累计历史电量,Wp为下限误差值,k为累计历史电量衰减系数。累计历史电量衰减系数k可基于电池循环衰减实验数据得到。例如,在SOC下限修正数据[75%,1.2C,V4,D4,C4]中,将Dp的取值为D4,Cp的取值为C4。接着,BMS将SOC下限修正数据中的预设SOCp与下限误差值Wp的和值确定为SOC下限阈值,以限定预设SOCp对应的误差下限,即预设SOCp可以接受的误差下限。As an example, the BMS first uses the lower limit error value calculation formula to process the preset accumulated current error and preset accumulated historical power in the measured accumulated historical power and the SOC lower limit correction data, and obtains the lower limit error value. The calculation formula of the lower limit error value is Wp =Dp+k*(C T -Cp), C T is the measured cumulative historical power, Dp and Cp are the preset cumulative current error and preset cumulative historical power in the SOC lower limit correction data, Wp is the lower limit error value, k is the cumulative historical power attenuation coefficient. The accumulated historical power attenuation coefficient k can be obtained based on the battery cycle attenuation experimental data. For example, in the SOC lower limit correction data [75%, 1.2C, V4, D4, C4], the value of Dp is D4, and the value of Cp is C4. Next, the BMS determines the sum of the preset SOCp and the lower limit error value Wp in the SOC lower limit correction data as the SOC lower limit threshold to limit the error lower limit corresponding to the preset SOCp, that is, the acceptable error lower limit of the preset SOCp.

在一实施例中,步骤S14,即采用SOC上限阈值和SOC下限阈值对实测SOC进行修正,获取目标SOC,包括:In one embodiment, step S14, that is, using the SOC upper limit threshold and the SOC lower limit threshold to correct the measured SOC to obtain the target SOC, including:

S141:若实测SOC大于SOC上限阈值,则将SOC上限修正数据中的预设SOC确定为目标SOC。S141: If the measured SOC is greater than the SOC upper limit threshold, determine the preset SOC in the SOC upper limit correction data as the target SOC.

S142:若实测SOC小于SOC下限阈值,则将SOC下限修正数据中的预设SOC确定为目标SOC。S142: If the measured SOC is less than the SOC lower limit threshold, determine the preset SOC in the SOC lower limit correction data as the target SOC.

S143:若实测SOC不小于SOC下限阈值,且实测SOC不大于SOC上限阈值,则将实测SOC确定为目标SOC。S143: If the measured SOC is not less than the lower SOC threshold, and the measured SOC is not greater than the SOC upper threshold, then the measured SOC is determined as the target SOC.

作为一示例,若实测SOC大于SOC上限阈值,则说明实测SOC大于SOC上限修正数据中的预设SOCu可以接受的误差上限,此时,直接将实测SOC修正为SOC上限修正数据中的预设SOCu,即直接将SOC上限修正数据中的预设SOCu确定为目标SOC,以避免目标SOC与电池实际SOC的误差过大。例如,SOC上限修正数据[85%,1.2C,V5,D5,C5]中的预设SOCu为85%,上限误差值为2%,则SOC上限阈值为87%,若实测SOCT为88%,则将SOC上限修正数据中的预设SOCu确定为目标SOC,即目标SOC为85%。As an example, if the measured SOC is greater than the SOC upper limit threshold, it means that the measured SOC is greater than the acceptable error upper limit of the preset SOCu in the SOC upper limit correction data. In this case, the measured SOC is directly corrected to the preset SOCu in the SOC upper limit correction data. , that is, the preset SOCu in the SOC upper limit correction data is directly determined as the target SOC, so as to avoid an excessive error between the target SOC and the actual SOC of the battery. For example, the preset SOCu in the SOC upper limit correction data [85%, 1.2C, V5, D5, C5] is 85%, and the upper limit error value is 2%, then the SOC upper limit threshold is 87%, if the measured SOC T is 88% , the preset SOCu in the SOC upper limit correction data is determined as the target SOC, that is, the target SOC is 85%.

作为一示例,若实测SOC小于SOC下限阈值,则说明实测SOC小于SOC下限修正数据中的预设SOCp可以接受的误差下限,此时,直接将实测SOC修正为SOC下限修正数据中的预设SOCp,即直接将SOC下限修正数据中的预设SOCp确定为目标SOC,以避免目标SOC与电池实际SOC的误差过大。例如,SOC下限修正数据[75%,1.2C,V4,D4,C4]中的预设SOCp为75%,下限误差值为2%,则SOC下限阈值为73%,则SOCT为71%,则将SOC下限修正数据中的预设SOCp确定为目标SOC,则目标SOC为75%。As an example, if the measured SOC is less than the SOC lower limit threshold, it means that the measured SOC is less than the acceptable lower error limit of the preset SOCp in the SOC lower limit correction data. At this time, the measured SOC is directly corrected to the preset SOCp in the SOC lower limit correction data. , that is, the preset SOCp in the SOC lower limit correction data is directly determined as the target SOC, so as to avoid an excessive error between the target SOC and the actual SOC of the battery. For example, the preset SOCp in the SOC lower limit correction data [75%, 1.2C, V4, D4, C4] is 75%, and the lower limit error value is 2%, then the SOC lower limit threshold is 73%, then the SOC T is 71%, Then, the preset SOCp in the SOC lower limit correction data is determined as the target SOC, and the target SOC is 75%.

作为一示例,若实测SOC不小于SOC下限阈值,且实测SOC不大于SOC上限阈值,说明实测SOC不小于SOC下限修正数据中的预设SOCp可以接受的误差下限,且实测SOC不大于SOC上限修正数据中的预设SOCu可以接受的误差上限,则直接将实测SOC确定为目标SOC,可保障目标SOC的准确性,使得其与电池实际SOC的误差较小。例如,SOC下限阈值为73%,SOC上限阈值为87%时,若实测SOC为80%,由于73%<80%<87%,则直接将实测SOC确定为目标SOC,即目标SOC为80%,不需要进行修正。As an example, if the measured SOC is not less than the SOC lower limit threshold, and the measured SOC is not greater than the SOC upper threshold threshold, it means that the measured SOC is not less than the acceptable lower error limit of the preset SOCp in the SOC lower limit correction data, and the measured SOC is not greater than the SOC upper limit correction If the preset SOCu in the data has an acceptable upper limit of error, the measured SOC is directly determined as the target SOC, which can ensure the accuracy of the target SOC and make the error between it and the actual SOC of the battery smaller. For example, when the SOC lower threshold is 73% and the SOC upper threshold is 87%, if the measured SOC is 80%, since 73%<80%<87%, the measured SOC is directly determined as the target SOC, that is, the target SOC is 80% , no correction is required.

本实施例所提供的电池SOC估算方法,根据电池实测数据中的根据实测电流和实测电压查询修正数据表,从有限的配置修正数据中快速确定SOC上限修正数据和SOC下限修正数据,使得SOC估算要求资源低且有助于提供SOC估算的实时性;再基于实测累计历史电量、SOC上限修正数据和SOC下限修正数据确定SOC上限阈值和SOC下限阈值,利用SOC上限阈值和SOC下限阈值评估对实测SOC进行修正,使得输出的目标SOC准确性较高,与电池实际SOC的误差小,以使SOC估算可以兼顾准确性高、资源要求低和实时性高的需求。In the battery SOC estimation method provided in this embodiment, the correction data table is queried according to the measured current and voltage in the measured battery data, and the SOC upper limit correction data and the SOC lower limit correction data are quickly determined from the limited configuration correction data, so that the SOC is estimated. It requires low resources and helps to provide real-time SOC estimation; then determine the SOC upper threshold and SOC lower threshold based on the measured accumulated historical power, SOC upper limit correction data and SOC lower limit correction data, and use the SOC upper threshold and SOC lower threshold to evaluate the actual measurement. The SOC is corrected so that the output target SOC has a high accuracy and a small error with the actual SOC of the battery, so that the SOC estimation can take into account the needs of high accuracy, low resource requirements and high real-time performance.

在一实施例中,电池实测数据还包括实测累计电流误差。如图2所示,在步骤S11之后,即在获取电池实测数据之后,电池SOC估算方法还包括:In one embodiment, the battery measured data further includes the measured accumulated current error. As shown in FIG. 2 , after step S11 , that is, after acquiring the measured data of the battery, the battery SOC estimation method further includes:

S21:比较实测累计电流误差和电流误差容忍值。S21: Compare the measured accumulated current error and the current error tolerance value.

S22:若实测累计电流误差大于电流误差容忍值,则执行根据实测电流和实测电压查询修正数据表,获取与实测电流和实测电压相匹配的SOC上限修正数据和SOC下限修正数据。S22: If the actual measured cumulative current error is greater than the current error tolerance value, query the correction data table according to the measured current and measured voltage, and obtain the SOC upper limit correction data and the SOC lower limit correction data that match the measured current and measured voltage.

S23:若实测累计电流误差不大于电流误差容忍值,则基于电池实测数据对修正数据表中的配置修正数据进行更新。S23: If the actual measured accumulated current error is not greater than the current error tolerance value, update the configuration correction data in the correction data table based on the actual battery measured data.

进一步地,电池实测数据还包括实测累计电流误差。实测累计电流误差是指接收到电池实测数据之后统计所有误差电量的累计,可用DT表示,一般来说,实测累计电流误差是在每次充满或者放空之后重新统计,是在充满或者放空之后统计的所有误差电量的累计。可以理解地,实测累计电流误差包括系统时间之前所有误差电量之和与本次电池实测数据所形成的误差电量的累计。此处的误差电量可以理解为实测SOC与电池实际SOC之间的误差。Further, the measured data of the battery also includes the measured accumulated current error. The measured cumulative current error refers to the accumulation of all error powers after receiving the actual measured data of the battery, which can be represented by D T. Generally speaking, the measured cumulative current error is re-statistic after each full or empty, and is calculated after full or empty. The accumulation of all error powers. It can be understood that the measured accumulated current error includes the sum of all error electric quantities before the system time and the accumulation of the error electric quantity formed by the current battery measured data. The error power here can be understood as the error between the measured SOC and the actual SOC of the battery.

其中,电流误差容忍值是预先配置的用于评估是否需要对修正数据表中的配置修正数据进行更新的阈值,例如,该电流误差容忍值可以为2%的电池电量。The current error tolerance value is a pre-configured threshold for evaluating whether the configuration correction data in the correction data table needs to be updated. For example, the current error tolerance value may be 2% of the battery power.

作为一示例,BMS会将实测累计电流误差与预先设置的电流误差容忍值进行比较;若实测累计电流误差大于电流误差容忍值,则执行步骤S12-S14,以实现对实测SOC进行修正处理,输出目标SOC,以保证目标SOC的准确性;若实测累计电流误差不大于电流误差容忍值,则基于电池实测数据更新修正数据表中的配置修正数据,以实现根据电池实际运行工况对修正数据表中的配置修正数据进行更新,以保证修正数据表中的配置修正数据的准确性和实时性。As an example, the BMS will compare the measured cumulative current error with the preset current error tolerance value; if the measured cumulative current error is greater than the current error tolerance value, steps S12-S14 are executed to correct the measured SOC and output Target SOC to ensure the accuracy of the target SOC; if the measured cumulative current error is not greater than the current error tolerance value, the configuration correction data in the correction data table is updated based on the battery measured data, so as to realize the correction data table according to the actual operating conditions of the battery. The configuration correction data in the correction data table is updated to ensure the accuracy and real-time performance of the configuration correction data in the correction data table.

本实施例中,由于电池实际运行过程中,电池的物理情况实时变化,如电池老化、电池总容量减少或者内阻异常变大等情况,使得出厂时存储在BMS的存储器中的修正数据表中的配置修正数据对发生物理情况变化的电池的SOC估算准确性降低,在电池实测数据中的实测累计电流误差不大于电流误差容忍值时,基于电池实测数据更新修正数据表中的配置修正数据,有助于提高对后续获取的电池实测数据进行SOC估算修正的准确性。In this embodiment, since the physical condition of the battery changes in real time during the actual operation of the battery, such as the aging of the battery, the decrease of the total capacity of the battery, or the abnormal increase of the internal resistance, etc., the correction data table stored in the memory of the BMS when it leaves the factory is stored in the correction data table. The accuracy of the SOC estimation of the battery with changes in the physical condition is reduced by the configuration correction data of the battery. When the measured cumulative current error in the battery measured data is not greater than the current error tolerance value, the configuration correction data in the correction data table is updated based on the battery measured data. This helps to improve the accuracy of SOC estimation and correction for the subsequently acquired battery measured data.

由于电流值可评价减少最大差异的指标,累计电流误差是用于评估历史电流与预设电流的偏差的指标。累计历史电量相当于记录的时间有效性,随着电池电量的增加会增加其不可靠性;因此,可基于电池实测数据中的实测电流、实测累计电流误差和实测累计历史电量,对预设SOC与实测SOC相同的所有配置修正数据中不同预设电流进行不可靠性计算,获取电池实测数据的实测不可靠值,根据该实测不可靠值确定是否需要采用电池实测数据对修正数据表中的配置修正数据进行更新。Since the current value can be evaluated as an index that reduces the maximum difference, the accumulated current error is an index used to evaluate the deviation of the historical current from the preset current. The accumulated historical power is equivalent to the time validity of the records, and its unreliability will increase as the battery power increases; therefore, the preset SOC can be determined based on the measured current, the measured cumulative current error, and the measured cumulative historical power in the measured battery data. Perform unreliability calculations for different preset currents in all configuration correction data that are the same as the measured SOC, obtain the measured unreliable value of the battery measured data, and determine whether it is necessary to use the battery measured data to correct the configuration in the data table according to the measured unreliable value. Correction data is updated.

在一实施例中,电池实测数据包括实测SOC、实测电流、实测电压、实测累计电流误差和实测累计历史电量,可采用[SOCT、IT、VT、DT、CT]表示;配置修正数据包括预设电流、预设电压、预设SOC、预设累计电流误差和预设累计历史电量,可采用[SOCn、In、Vn、Dn、Cn]表示。步骤S23,即基于电池实测数据对修正数据表中的配置修正数据进行更新,包括:In one embodiment, the measured data of the battery includes the measured SOC, the measured current, the measured voltage, the measured cumulative current error, and the measured cumulative historical power, which can be represented by [SOC T , IT , VT , DT , CT ]; configuration The correction data includes preset current, preset voltage, preset SOC, preset accumulated current error and preset accumulated historical power, which can be represented by [SOCn, In, Vn, Dn, Cn]. Step S23 is to update the configuration correction data in the correction data table based on the actual measured data of the battery, including:

S231:获取修正数据表中所有预设SOC与实测SOC相匹配的SOC初选修正数据,将预设电流与实测电流邻近的SOC初选修正数据确定为第一待更新修正数据和第二待更新修正数据,将第一待更新修正数据和第二待更新修正数据确定为SOC待更新修正数据,第一待更新修正数据中的预设电流小于实测电流,第二待更新修正数据中的预设电流大于实测电流。S231: Acquire all the SOC primary selection correction data in the correction data table that match the preset SOC and the measured SOC, and determine the SOC primary selection correction data adjacent to the preset current and the measured current as the first correction data to be updated and the second correction data to be updated Correction data, the first correction data to be updated and the second correction data to be updated are determined as the correction data to be updated for SOC, the preset current in the first correction data to be updated is smaller than the measured current, and the preset current in the second correction data to be updated The current is greater than the measured current.

S232:对电池实测数据和SOC待更新修正数据进行处理,获取电池实测数据对应的实测不可靠值和SOC待更新修正数据对应的待更新不可靠值。S232 : Process the measured battery data and the SOC correction data to be updated, and obtain the measured unreliable value corresponding to the battery measured data and the unreliable value to be updated corresponding to the SOC correction data to be updated.

S233:若实测不可靠值小于待更新不可靠值,则采用电池实测数据对SOC待更新修正数据进行更新。S233 : If the measured unreliable value is smaller than the unreliable value to be updated, update the SOC correction data to be updated by using the actual measured data of the battery.

作为一示例,步骤S231,具体包括:(1)先将修正数据表中所有配置修正数据中的预设SOC进行比较,将预设SOC与实测SOC相匹配的配置修正数据确定为SOC初选修正数据。例如,将预设SOC与实测SOC相等的配置修正数据确定为SOC初选修正数据,或者,将预设SOC与实测SOC最接近的配置修正数据确定为SOC初选修正数据。(2)再将预设电流与实测电流邻近的SOC初选修正数据确定为SOC筛选修正数据。例如,将所有SOC初选修正数据中的预设电流和实测电流进行排序,形成电流排序序列,将电流排序序列中与实测电流邻近的两个预设电流对应的SOC初选修正数据,即在电流排序序列中在实测电流前后两个预设电流对应的SOC初选修正数据,分别确定为第一待更新修正数据和第二待更新修正数据,将第一待更新修正数据和第二待更新修正数据确定为SOC筛选修正数据,以便后续根据电池实测数据和SOC待更新修正数据,确定是否需要对待更新SOC修正数据进行更新,有助于保障后续电池SOC估算算法的准确性。其中,第一待更新修正数据中的预设电流小于实测电流,即所有小于实测电流的预设电流中,与实测电流的差值最小的预设电流对应的SOC初选修正数据为第一待更新修正数据。第二待更新修正数据中的预设电流大于实测电流,即所有大于实测电流的预设电流中,与实测电流的差值最小的预设电流对应的SOC初选修正数据为第二待更新修正数据。As an example, step S231 specifically includes: (1) First, compare the preset SOCs in all configuration correction data in the correction data table, and determine the configuration correction data matching the preset SOC and the measured SOC as the SOC primary selection correction data. For example, the configuration correction data whose preset SOC is equal to the measured SOC is determined as the SOC primary selection correction data, or the configuration correction data whose preset SOC is the closest to the measured SOC is determined as the SOC primary selection correction data. (2) The SOC primary selection correction data adjacent to the preset current and the measured current is then determined as the SOC screening correction data. For example, the preset current and the measured current in all the SOC preliminary selection correction data are sorted to form a current sorting sequence, and the SOC preliminary selection correction data corresponding to the two preset currents adjacent to the measured current in the current sorting sequence, that is, in the current sorting sequence In the current sorting sequence, the SOC primary selection correction data corresponding to the two preset currents before and after the measured current are respectively determined as the first correction data to be updated and the second correction data to be updated, and the first correction data to be updated and the second correction data to be updated are respectively determined. The correction data is determined as the SOC screening correction data, so as to determine whether the to-be-updated SOC correction data needs to be updated according to the battery measured data and the SOC correction data to be updated, which helps to ensure the accuracy of the subsequent battery SOC estimation algorithm. Among them, the preset current in the first to-be-updated correction data is smaller than the actual measured current, that is, among all the preset currents smaller than the actual measured current, the SOC primary selection correction data corresponding to the preset current with the smallest difference between the measured currents is the first to-be-measured current. Update correction data. The preset current in the second to-be-updated correction data is greater than the measured current, that is, among all the preset currents greater than the measured current, the SOC primary selection correction data corresponding to the preset current with the smallest difference between the measured currents is the second to-be-updated correction data.

作为一示例,步骤S232,具体包括:采用不可靠值公式对电池实测数据进行处理,获取电池实测数据对应的实测不可靠值;并采用不可靠值公式对SOC待更新修正数据进行处理,获取SOC待更新修正数据对应的待更新不可靠值,不可靠值公式为Q(CTBm)=ABS(Io-CTBm)*f+Do*g+(CT-Co)*h,Q(CTBm)为预设电流CTBm对应的不可靠值,为实测不可靠值或待更新不可靠值;ABS为绝对值函数;Io为用于计算不可靠值所采用的电流,为实测电流IT或预设电流In;f为电流系数;Do为用于计算不可靠值所采用的累计电流误差,可为实测累计电流误差DT,也可为预设累计电流误差Dn;g为累计电流误差系数;Co为用于计算不可靠值所采用的累计历史电量,可为实测累计历史电量CT,也可为预设累计历史电量Cn;h为累计历史电量系数。可理解地,f、g和h可由用户根据经验自主确定。As an example, step S232 specifically includes: using the unreliable value formula to process the actual measured data of the battery to obtain the measured unreliable value corresponding to the actual measured data of the battery; and using the unreliable value formula to process the SOC to be updated and corrected data to obtain the SOC The unreliable value to be updated corresponding to the corrected data to be updated, the unreliable value formula is Q(CTBm)=ABS(Io-CTBm)*f+Do*g+( CT -Co)*h, Q(CTBm) is preset The unreliable value corresponding to the current CTBm is the measured unreliable value or the unreliable value to be updated; ABS is the absolute value function; Io is the current used to calculate the unreliable value, which is the measured current I T or the preset current In; f is the current coefficient; Do is the accumulated current error used to calculate the unreliable value, which can be the measured accumulated current error D T or the preset accumulated current error Dn; g is the accumulated current error coefficient; The cumulative historical power used to calculate the unreliable value may be the measured cumulative historical power CT or the preset cumulative historical power Cn; h is the cumulative historical power coefficient. Understandably, f, g and h can be determined by the user based on experience.

在一实施例中,步骤S232,即对电池实测数据和SOC待更新修正数据进行处理,获取电池实测数据对应的实测不可靠值和SOC待更新修正数据对应的待更新不可靠值,包括:In one embodiment, step S232 is to process the measured battery data and the SOC correction data to be updated, and obtain the measured unreliable value corresponding to the battery measured data and the unreliable value to be updated corresponding to the SOC correction data to be updated, including:

S2321:采用实测不可靠值公式QT(CTBm)=ABS(IT-CTBm)*f+DT*g+(CT-CT)*h对电池实测数据进行计算,获取电池实测数据对应的实测不可靠值。S2321: Use the measured unreliable value formula Q T (CTBm)=ABS(IT -CTBm )*f+ D T *g+( CT -CT )*h to calculate the battery measured data, and obtain the corresponding battery measured data Measured unreliable value.

S2322:采用待更新不可靠值公式Qn(CTBm)=ABS(In-CTBm)*f+Dn*g+(CT-Cn)*h对SOC待更新修正数据和电池实测数据进行计算,获取SOC待更新修正数据对应的待更新不可靠值。S2322: Calculate the SOC to-be-updated corrected data and the battery measured data using the unreliable value formula to be updated Qn(CTBm)=ABS(In-CTBm)*f+Dn*g+(C T -Cn)*h, and obtain the SOC to-be-updated data. Update the unreliable value to be updated corresponding to the correction data.

其中,QT(CTBm)为电池实测数据对应的实测不可靠值;CTBm为预设电流;ABS为绝对值函数;IT、DT和CT分别为电池实测数据中的实测电流、实测累计电流误差和实测累计历史电量;Qn(CTBm)为SOC待更新修正数据对应的待更新不可靠值;In、Dn和Cn分别为SOC待更新修正数据对应的预设电流、预设累计电流误差和预设累计历史电量;f为电流系数;g为累计电流误差系数;h为累计历史电量系数。Among them, Q T (CTBm) is the measured unreliable value corresponding to the actual measured data of the battery; CTBm is the preset current; ABS is the absolute value function; I T , D T and C T are the measured current and the measured cumulative value of the measured battery data, respectively. Current error and measured accumulated historical power; Qn(CTBm) is the unreliable value to be updated corresponding to the SOC to be updated and corrected data; In, Dn and Cn are the preset current corresponding to the SOC to be updated and corrected data, the preset cumulative current error and The preset cumulative historical power; f is the current coefficient; g is the cumulative current error coefficient; h is the cumulative historical power coefficient.

以下举例说明对配置修正数据进行更新处理的过程:The following example illustrates the process of updating the configuration correction data:

(1)设预设SOC为75%,预设电流CTB1=0.2、CTB2=0.7、CTB3=1.2、CTB4=1.7和CTB5=2.2,f=1000,g=10,h=0.01,为举例,非准确为实际使用时系数,系数可根据电池及项目情况进行调节。初始状态下,获取5个配置修正数据如下:(1) Set the preset SOC to 75%, preset currents CTB1=0.2, CTB2=0.7, CTB3=1.2, CTB4=1.7 and CTB5=2.2, f=1000, g=10, h=0.01, for example, not The exact factor is the actual use factor, and the factor can be adjusted according to the battery and project conditions. In the initial state, five configuration correction data are obtained as follows:

CTB1=0.2C:空;CTB1=0.2C:null;

CTB2=0.7C:空;CTB2=0.7C:null;

CTB3=1.2C:空;CTB3=1.2C:null;

CTB4=1.7C:空;CTB4=1.7C:null;

CTB5=2.2C:空;CTB5=2.2C:null;

(2)在实测SOC达到75,且实测累计电流误差不大于电流误差容忍值(如2%)时,获取第1个电池实测数据[75%,1.0C,3.356,3AH,28000AH],由于CTB2<1.0C<CTB3,因此,CTB2和CTB3对应的配置修正数据为SOC待更新修正数据,其中,CTB2对应的配置修正数据为第一待更新修正数据,CTB3对应的配置修正数据为第二待更新修正数据,由于初始状态(1)时,这两个SOC待更新修正数据为空,因此,可直接采用电池实测数据对SOC待更新修正数据进行更新,获取5个配置修正数据如下:(2) When the measured SOC reaches 75, and the measured cumulative current error is not greater than the current error tolerance value (such as 2%), obtain the measured data of the first battery [75%, 1.0C, 3.356, 3AH, 28000AH], because CTB2 <1.0C<CTB3, therefore, the configuration correction data corresponding to CTB2 and CTB3 is the SOC to-be-updated correction data, wherein the configuration-correction data corresponding to CTB2 is the first to-be-updated correction data, and the configuration-correction data corresponding to CTB3 is the second to-be-updated Correction data, since in the initial state (1), the two SOC correction data to be updated are empty, therefore, the battery measured data can be directly used to update the SOC correction data to be updated, and the five configuration correction data obtained are as follows:

CTB1=0.2C:空;CTB1=0.2C:null;

CTB2=0.7C:[75%,1.0C,3.412,6AH,22000AH];CTB2 = 0.7C: [75%, 1.0C, 3.412, 6AH, 22000AH];

CTB3=1.2C:[75%,1.0C,3.412,6AH,22000AH];CTB3 = 1.2C: [75%, 1.0C, 3.412, 6AH, 22000AH];

CTB4=1.7C:空;CTB4=1.7C:null;

CTB5=2.2C:空;CTB5=2.2C:null;

(3)在实测SOC达到75%,且实测累计电流误差不大于电流误差容忍值(如2%)时,获取第2个电池实测数据[75%,0.3C,3.356,3AH,28000AH],由于CTB1<0.3C<CTB2,因此,CTB1和CTB2对应的配置修正数据为SOC待更新修正数据,其中,CTB1对应的配置修正数据为第一待更新修正数据,CTB2对应的配置修正数据为第二待更新修正数据,依据不可靠值公式,分别获取SOC待更新修正数据对应的待更新不可靠值和电池实测数据对应的实测不可靠值如下:(3) When the measured SOC reaches 75%, and the measured cumulative current error is not greater than the current error tolerance value (such as 2%), obtain the measured data of the second battery [75%, 0.3C, 3.356, 3AH, 28000AH], because CTB1<0.3C<CTB2, therefore, the configuration correction data corresponding to CTB1 and CTB2 is the SOC to be updated and corrected data, wherein the configuration correction data corresponding to CTB1 is the first to be updated and corrected data, and the configuration correction data corresponding to CTB2 is the second to be updated. To update the corrected data, according to the unreliable value formula, obtain the unreliable value to be updated corresponding to the corrected SOC data to be updated and the measured unreliable value corresponding to the measured battery data as follows:

SOC待更新修正数据对应的待更新不可靠值如下:The unreliable values to be updated corresponding to the SOC to-be-updated correction data are as follows:

CTB1=0.2C:空;CTB1=0.2C:null;

Qn(CTB1)为空;Qn(CTB1) is empty;

CTB2=0.7C:[75%,1.0C,3.412,6AH,22000AH];CTB2 = 0.7C: [75%, 1.0C, 3.412, 6AH, 22000AH];

Qn(CTB2)=(1.0–0.7)*1000+6*10+(28000–22000)*0.01=420;Qn(CTB2)=(1.0–0.7)*1000+6*10+(28000–22000)*0.01=420;

电池实测数据对应的实测不可靠值如下:The measured unreliable values corresponding to the measured battery data are as follows:

CTB1=0.2C:[75%,0.3C,3.356,3AH,28000AH];CTB1 = 0.2C: [75%, 0.3C, 3.356, 3AH, 28000AH];

QT(CTB1)=(0.3–0.2)*1000+3*10+(28000–28000)*0.01=130;Q T (CTB1)=(0.3–0.2)*1000+3*10+(28000–28000)*0.01=130;

CTB2=0.7C:[75%,0.3C,3.356,3AH,28000AH];CTB2 = 0.7C: [75%, 0.3C, 3.356, 3AH, 28000AH];

QT(CTB2)=(0.7–0.3)*1000+3*10+(28000–28000)*0.01=430;Q T (CTB2)=(0.7–0.3)*1000+3*10+(28000–28000)*0.01=430;

由于Qn(CTB1)为空,QT(CTB1)=130,需要进行更新;由于Qn(CTB2)=420<QT(CTB2)=430,不需要行更新,则更新的5个配置修正数据如下:Since Qn(CTB1) is empty, QT( CTB1 )=130, it needs to be updated; since Qn(CTB2)=420<QT ( CTB2)=430, no row update is required, the updated 5 configuration correction data are as follows :

CTB1=0.2C:[75%,0.3C,3.356,3AH,28000AH];CTB1 = 0.2C: [75%, 0.3C, 3.356, 3AH, 28000AH];

CTB2=0.7C:[75%,1.0C,3.412,6AH,22000AH];CTB2 = 0.7C: [75%, 1.0C, 3.412, 6AH, 22000AH];

CTB3=1.2C:[75%,1.0C,3.412,6AH,22000AH];CTB3 = 1.2C: [75%, 1.0C, 3.412, 6AH, 22000AH];

CTB4=1.7C:空;CTB4=1.7C:null;

CTB5=2.2C:空;CTB5=2.2C:null;

(4)在实测SOC达到75%,且实测累计电流误差不大于电流误差容忍值(如2%)时,获取第3个电池实测数据[75%,1.3C,3.458,5AH,30000AH],由于CTB3<1.3C<CTB4,因此,CTB3和CTB4对应的配置修正数据为SOC待更新修正数据,其中,CTB3对应的配置修正数据为第一待更新修正数据,CTB4对应的配置修正数据为第二待更新修正数据,依据不可靠值公式,分别获取SOC待更新修正数据对应的待更新不可靠值和电池实测数据对应的实测不可靠值如下:(4) When the measured SOC reaches 75%, and the measured cumulative current error is not greater than the current error tolerance value (such as 2%), obtain the measured data of the third battery [75%, 1.3C, 3.458, 5AH, 30000AH], because CTB3<1.3C<CTB4, therefore, the configuration correction data corresponding to CTB3 and CTB4 is the SOC to-be-updated correction data, wherein the configuration correction data corresponding to CTB3 is the first to-be-updated correction data, and the configuration correction data corresponding to CTB4 is the second to-be-updated correction data To update the corrected data, according to the unreliable value formula, obtain the unreliable value to be updated corresponding to the corrected SOC data to be updated and the measured unreliable value corresponding to the measured battery data as follows:

SOC待更新修正数据对应的待更新不可靠值如下:The unreliable values to be updated corresponding to the SOC to-be-updated correction data are as follows:

CTB3=1.2C:[75%,1.0C,3.412,6AH,22000AH];CTB3 = 1.2C: [75%, 1.0C, 3.412, 6AH, 22000AH];

Qn(CTB3)=(1.2–1.0)*1000+6*10+(30000–22000)*0.01=340;Qn(CTB3)=(1.2–1.0)*1000+6*10+(30000–22000)*0.01=340;

CTB4=1.7C:空CTB4=1.7C: null

Qn(CTB4)为空;Qn(CTB4) is empty;

电池实测数据对应的实测不可靠值如下:The measured unreliable values corresponding to the measured battery data are as follows:

CTB3=1.2C:[75%,1.3C,3.458,5AH,30000AH];CTB3 = 1.2C: [75%, 1.3C, 3.458, 5AH, 30000AH];

QT(CTB3)=(1.3–1.2)*1000+5*10+(30000–30000)*0.01=150;Q T (CTB3)=(1.3–1.2)*1000+5*10+(30000–30000)*0.01=150;

CTB4=1.7C:[75%,1.3C,3.458,5AH,30000AH];CTB4 = 1.7C: [75%, 1.3C, 3.458, 5AH, 30000AH];

QT(CTB4)=(1.7–1.3)*1000+5*10+(30000–30000)*0.01=450;Q T (CTB4)=(1.7–1.3)*1000+5*10+(30000–30000)*0.01=450;

由于Qn(CTB3)=340>QT(CTB3)=150,需要进行更新;由于Qn(CTB4)为空,QT(CTB4)=450,需要更新,则更新的5个配置修正数据如下:Since Qn(CTB3)=340>QT( CTB3 )=150, it needs to be updated; since Qn(CTB4) is empty and QT( CTB4 )=450, it needs to be updated, so the updated 5 configuration correction data are as follows:

CTB1=0.2C:[75%,0.3C,3.356,3AH,28000AH];CTB1 = 0.2C: [75%, 0.3C, 3.356, 3AH, 28000AH];

CTB2=0.7C:[75%,1.0C,3.412,6AH,22000AH];CTB2 = 0.7C: [75%, 1.0C, 3.412, 6AH, 22000AH];

CTB3=1.2C:[75%,1.3C,3.458,5AH,30000AH];CTB3 = 1.2C: [75%, 1.3C, 3.458, 5AH, 30000AH];

CTB4=1.7C:[75%,1.3C,3.458,5AH,30000AH];CTB4 = 1.7C: [75%, 1.3C, 3.458, 5AH, 30000AH];

CTB5=2.2C:空;CTB5=2.2C:null;

(5)在实测SOC达到75%,且实测累计电流误差不大于电流误差容忍值(如2%)时,获取第4个电池实测数据[75%,1.9C,3.485,4AH,35000AH],由于CTB4<1.9C<CTB5,因此,CTB4和CTB5对应的配置修正数据为SOC待更新修正数据,其中,CTB4对应的配置修正数据为第一待更新修正数据,CTB5对应的配置修正数据为第二待更新修正数据,依据不可靠值公式,分别获取SOC待更新修正数据对应的待更新不可靠值和电池实测数据对应的实测不可靠值如下:(5) When the measured SOC reaches 75%, and the measured cumulative current error is not greater than the current error tolerance value (such as 2%), obtain the measured data of the fourth battery [75%, 1.9C, 3.485, 4AH, 35000AH], because CTB4<1.9C<CTB5, therefore, the configuration correction data corresponding to CTB4 and CTB5 is the SOC to be updated and corrected data, wherein the configuration correction data corresponding to CTB4 is the first to be updated and corrected data, and the configuration correction data corresponding to CTB5 is the second to be updated. To update the corrected data, according to the unreliable value formula, obtain the unreliable value to be updated corresponding to the corrected SOC data to be updated and the measured unreliable value corresponding to the measured battery data as follows:

SOC待更新修正数据对应的待更新不可靠值如下:The unreliable values to be updated corresponding to the SOC to-be-updated correction data are as follows:

CTB4=1.7C:[75%,1.3C,3.458,5AH,30000AH];CTB4 = 1.7C: [75%, 1.3C, 3.458, 5AH, 30000AH];

Qn(CTB4)=(1.7–1.3)*1000+5*10+(30000–22000)*0.01=530;Qn(CTB4)=(1.7–1.3)*1000+5*10+(30000–22000)*0.01=530;

CTB5=2.2C:空;CTB5=2.2C:null;

Qn(CTB4)为空;Qn(CTB4) is empty;

电池实测数据对应的实测不可靠值如下:The measured unreliable values corresponding to the measured battery data are as follows:

CTB4=1.7C:[75%,1.9C,3.485,4AH,35000AH];CTB4 = 1.7C: [75%, 1.9C, 3.485, 4AH, 35000AH];

QT(CTB4)=(1.9–1.7)*1000+4*10+(35000–35000)*0.01=240Q T (CTB4)=(1.9–1.7)*1000+4*10+(35000–35000)*0.01=240

CTB5=2.2C:[75%,1.9C,3.485,4AH,35000AH];CTB5=2.2C: [75%, 1.9C, 3.485, 4AH, 35000AH];

QT(CTB5)=(2.2–1.9)*1000+4*10+(35000–35000)*0.01=340Q T (CTB5)=(2.2–1.9)*1000+4*10+(35000–35000)*0.01=340

由于Qn(CTB4)=530>QT(CTB4)=240,需要进行更新;由于Qn(CTB5)为空,QT(CTB5)=340,需要更新,则更新的5个配置修正数据如下:Since Qn(CTB4)=530>QT( CTB4 )=240, it needs to be updated; since Qn(CTB5) is empty and QT( CTB5 )=340, it needs to be updated, so the updated 5 configuration correction data are as follows:

CTB1=0.2C:[75%,0.3C,3.356,3AH,28000AH];CTB1 = 0.2C: [75%, 0.3C, 3.356, 3AH, 28000AH];

CTB2=0.7C:[75%,1.0C,3.412,6AH,22000AH];CTB2 = 0.7C: [75%, 1.0C, 3.412, 6AH, 22000AH];

CTB3=1.2C:[75%,1.3C,3.458,5AH,30000AH];CTB3 = 1.2C: [75%, 1.3C, 3.458, 5AH, 30000AH];

CTB4=1.7C:[75%,1.9C,3.485,4AH,35000AH];CTB4 = 1.7C: [75%, 1.9C, 3.485, 4AH, 35000AH];

CTB5=2.2C:[75%,1.9C,3.485,4AH,35000AH];CTB5=2.2C: [75%, 1.9C, 3.485, 4AH, 35000AH];

依此类推,BMS可在实测SOC达到预设SOC,且实测累计电流误差不大于电流误差容忍值时,利用电池实测数据中的实测电流、实测累计电流误差和实测累计历史电量计算获取电池实测数据对应的实测不可靠值;并利用预设SOC与实测SOC相同的SOC待更新修正数据计算其对应的待更新不可靠值,即利用SOC待更新修正数据中的预设累计电流误差和预设累计历史电量,获取SOC待更新修正数据对应的待更新不可靠值,采用小于待更新不可靠值的实测不可靠值对应的电池实测数据对SOC待更新修正数据进行更新,以实现对修正数据表中的配置修正数据进行实时更新,保证后续进行SOC估算的可靠性,避免电池发生物理情况变化时,其修正数据表中预先存储的配置修正数据无法准确地对实测SOC进行修正。By analogy, when the measured SOC reaches the preset SOC, and the measured cumulative current error is not greater than the current error tolerance value, the BMS can use the measured current, the measured cumulative current error and the measured cumulative historical power in the measured battery data to obtain the measured battery data. The corresponding measured unreliable value; and calculate the corresponding unreliable value to be updated by using the SOC to be updated correction data with the same preset SOC and the measured SOC, that is, to use the preset cumulative current error and the preset cumulative current error in the SOC to be updated correction data Historical power, obtain the unreliable value to be updated corresponding to the SOC to be updated correction data, and use the battery measured data corresponding to the measured unreliable value smaller than the unreliable value to be updated to update the SOC to be updated correction data, so as to realize the correction data in the table. The configuration correction data of the battery is updated in real time to ensure the reliability of the subsequent SOC estimation, and to avoid that the pre-stored configuration correction data in the correction data table cannot accurately correct the measured SOC when the physical condition of the battery changes.

例如,在第一次执行步骤S11-S14过程中,对实测电流为1.2C对应的电池实测数据进行处理过程中,采用修正数据表中预先存储的[75%,1.0C,A,B,C]和[75%,1.3C,E、F、G]这两个配置修正数据分别确定为SOC上限修正数据和SOC下限修正数据,以便确定最终的目标SOC。在将[75%,1.0C,A,B,C]更新为[75%,0.9C,A’,B’,C’]之后,后续再次执行步骤S11-S14,则需要采用[75%,0.9C,A’,B’,C’]和[75%,1.3C,E、F、G]这两个配置修正数据分别确凿为SOC上限修正数据和SOC下限修正数据,以便确定最终的目标SOC。For example, in the process of executing steps S11-S14 for the first time, in the process of processing the measured data of the battery corresponding to the measured current of 1.2C, the pre-stored [75%, 1.0C, A, B, C ] and [75%, 1.3C, E, F, G], the two configuration correction data are determined as SOC upper limit correction data and SOC lower limit correction data, respectively, in order to determine the final target SOC. After updating [75%, 1.0C, A, B, C] to [75%, 0.9C, A', B', C'], and then performing steps S11-S14 again, it is necessary to use [75%, The two configuration correction data, 0.9C, A', B', C'] and [75%, 1.3C, E, F, G], are the SOC upper limit correction data and the SOC lower limit correction data, respectively, so as to determine the final target SOC.

在一实施例中,在执行步骤S11之前,需预先确定修正数据表,具体为需要通过实验确定修正数据表中的预设SOC和预设电流,以便后续可根据电池实际运行工况,实时更新获取预设SOC和预设电流对应的实测电压、实测累计电流误差和实测累计历史电量。In one embodiment, before step S11 is executed, a correction data table needs to be determined in advance, specifically, the preset SOC and preset current in the correction data table need to be determined experimentally, so that the subsequent real-time update can be performed according to the actual operating conditions of the battery. Obtain the measured voltage corresponding to the preset SOC and the preset current, the measured cumulative current error, and the measured cumulative historical power.

在一个实施例中,提供了一种电池管理系统,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述实施例中电池SOC估算方法,例如图1所示S11-S14,或者图2所示的S21-S23中所示,为避免重复,这里不再赘述。In one embodiment, a battery management system is provided, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the battery SOC estimation method in the above embodiment is implemented For example, S11-S14 shown in FIG. 1, or S21-S23 shown in FIG. 2, are not repeated here to avoid repetition.

在一实施例中,提供一计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中电池SOC估算方法,例如图1所示S11-S14,或者图2所示的S21-S23中所示,为避免重复,这里不再赘述。In one embodiment, a computer-readable storage medium is provided, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, the battery SOC estimation method in the above-mentioned embodiment is implemented, for example, S11 shown in FIG. 1 . -S14, or shown in S21-S23 shown in FIG. 2, to avoid repetition, details are not repeated here.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium , when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated to different functional units, Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated to different functional units, Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.

以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The recorded technical solutions are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the present invention. within the scope of protection.

Claims (12)

1. A battery SOC estimation method, characterized by comprising:
acquiring actually measured data of the battery, wherein the actually measured data of the battery comprises actually measured current, actually measured voltage, actually measured SOC and actually measured accumulated historical electric quantity;
inquiring a correction data table according to the actually measured current and the actually measured voltage, and acquiring SOC upper limit correction data and SOC lower limit correction data matched with the actually measured current and the actually measured voltage;
determining an SOC upper limit threshold and an SOC lower limit threshold according to the actually measured accumulated historical electric quantity, the SOC upper limit correction data and the SOC lower limit correction data;
and correcting the actual measurement SOC by adopting the SOC upper limit threshold and the SOC lower limit threshold to obtain a target SOC.
2. The battery SOC estimation method according to claim 1, wherein said retrieving correction data tables based on the measured current and the measured voltage to obtain SOC upper limit correction data and SOC lower limit correction data that match the measured current and the measured voltage comprises:
inquiring a correction data table based on the measured current, and acquiring SOC (system on chip) to-be-selected correction data of which the preset current is matched with the measured current in the correction data table;
acquiring SOC upper limit correction data and SOC lower limit correction data based on the measured voltage and the SOC to-be-selected correction data;
the SOC candidate correction data comprises: the method comprises the steps of presetting current, presetting voltage, presetting SOC and presetting accumulated historical electric quantity.
3. The battery SOC estimation method according to claim 2, wherein the querying a correction data table based on the measured current to obtain SOC candidate correction data in which a preset current in the correction data table matches the measured current includes:
if the preset current in the correction data table is equal to the actually measured current, taking first correction data corresponding to the preset current as SOC (system on chip) to-be-selected correction data;
if the preset current in the correction data table is not equal to the actual measurement current, second correction data and third correction data in the correction data table are obtained, SOC (system on chip) correction data to be selected are obtained based on the actual measurement current, the second correction data and the third correction data, wherein the preset current in the second correction data is smaller than the actual measurement current, and the preset current in the third correction data is larger than the actual measurement current.
4. The battery SOC estimation method according to claim 3, wherein said obtaining SOC candidate correction data based on the measured current, the second correction data, and the third correction data, comprises:
processing the actually measured current, the second correction data and the third correction data by adopting a data estimation formula to obtain SOC correction data to be selected;
the data estimation formula is ST ═ (Sa-Sb) × (IT-Ib)/(Ia-Ib) + Sb; if Sa is a preset voltage in the second correction data and Sb is a preset voltage in the third correction data, ST is a preset voltage in the SOC correction data to be selected; if Sa is a preset SOC in the second correction data and Sb is a preset SOC in the third correction data, ST is a preset SOC in the SOC to-be-selected correction data; if Sa is preset accumulated historical electric quantity in the second correction data and Sb is preset accumulated historical electric quantity in the third correction data, ST is preset accumulated historical electric quantity in the SOC to-be-selected correction data; i isTIs the measured current; ia is a preset current in the second correction data; ib is the predetermined current in the third correction data.
5. The battery SOC estimation method according to claim 2, wherein the acquiring the SOC upper limit correction data and the SOC lower limit correction data based on the measured voltage and the SOC candidate correction data includes:
if the preset voltage in the SOC to-be-selected correction data is larger than the actually-measured voltage, determining the difference value between the preset voltage and the actually-measured voltage in the SOC to-be-selected correction data as a first difference value, and determining the SOC to-be-selected correction data with the minimum first difference value as SOC upper limit correction data;
and if the preset voltage in the SOC to-be-selected correction data is smaller than the actual measurement voltage, determining the difference value between the actual measurement voltage and the preset voltage in the SOC to-be-selected correction data as a second difference value, and determining the SOC to-be-selected correction data with the minimum second difference value as SOC lower limit correction data.
6. The battery SOC estimation method of claim 1, wherein the determining an SOC upper limit threshold value and an SOC lower limit threshold value based on the measured accumulated historical electric quantity, the SOC upper limit correction data, and the SOC lower limit correction data includes:
acquiring an upper limit error value according to the actually measured accumulated historical electric quantity and a preset accumulated current error and a preset accumulated historical electric quantity in the SOC upper limit correction data, and determining a sum value of a preset SOC in the SOC upper limit correction data and the upper limit error value as an SOC upper limit threshold;
and acquiring a lower limit error value according to the actually measured accumulated historical electric quantity and a preset accumulated current error and a preset accumulated historical electric quantity in the SOC lower limit correction data, and determining a difference value between a preset SOC in the SOC lower limit correction data and the lower limit error value as an SOC lower limit threshold.
7. The battery SOC estimation method according to claim 1, wherein the correcting the measured SOC using the SOC upper threshold and the SOC lower threshold to obtain a target SOC comprises:
if the actual measurement SOC is larger than the SOC upper limit threshold value, determining a preset SOC in the SOC upper limit correction data as the target SOC;
if the actual measurement SOC is smaller than the SOC lower limit threshold, determining a preset SOC in the SOC lower limit correction data as the target SOC;
and if the actual measurement SOC is not smaller than the SOC lower limit threshold value and the actual measurement SOC is not larger than the SOC upper limit threshold value, determining the actual measurement SOC as the target SOC.
8. The battery SOC estimation method of claim 1, wherein the battery measured data further includes a measured accumulated current error;
after the acquiring the measured battery data, the method for estimating the SOC of the battery further includes:
comparing the actually measured accumulated current error with a current error tolerance value;
if the actually measured accumulated current error is larger than the current error tolerance value, executing the query correction data table according to the actually measured current and the actually measured voltage to obtain SOC upper limit correction data and SOC lower limit correction data matched with the actually measured current and the actually measured voltage;
and if the actually measured accumulated current error is not larger than the current error tolerance value, updating the configuration correction data in the correction data table based on the actually measured battery data.
9. The battery SOC estimation method according to claim 8, wherein the updating of the configuration correction data in the correction data table based on the battery measured data includes:
acquiring SOC initial selection correction data of which all the preset SOCs are matched with the actually measured SOCs in the correction data table, determining the SOC initial selection correction data of which the preset current is adjacent to the actually measured current as first to-be-updated correction data and second to-be-updated correction data, and determining the first to-be-updated correction data and the second to-be-updated correction data as SOC to-be-updated correction data, wherein the preset current in the first to-be-updated correction data is smaller than the actually measured current, and the preset current in the second to-be-updated correction data is larger than the actually measured current;
processing the battery measured data and the SOC to-be-updated correction data to obtain a measured unreliable value corresponding to the battery measured data and an updated unreliable value corresponding to the SOC to-be-updated correction data;
and if the unreliable value to be updated is empty or the actually measured unreliable value is smaller than the unreliable value to be updated, updating the corrected data to be updated of the SOC by adopting the actually measured data of the battery.
10. The method for estimating SOC of a battery as claimed in claim 9, wherein the processing the measured battery data and the corrected SOC data to be updated to obtain the unreliable measured value corresponding to the measured battery data and the unreliable updated value corresponding to the corrected SOC data to be updated includes:
using formula Q of actually measured unreliable valuesT(CTBm)=ABS(IT-CTBm)*f+DT*g+(CT-CT) Calculating the actually measured data of the battery by h to obtain actually measured unreliable values corresponding to the actually measured data of the battery;
adopting the formula Qn (CTBm) ═ ABS (In-CTBm) × f + Dn × g + (C) to be updatedT-Cn) × h calculates the SOC correction data to be updated and the battery measured data, and obtains an unreliable value to be updated corresponding to the SOC correction data to be updated;
wherein Q isT(CTBm) is an actually measured unreliable value corresponding to the actually measured data of the battery; CTBm is a preset current; ABS is an absolute value function; i isT、DTAnd CTRespectively obtaining the measured current, the measured accumulated current error and the measured accumulated historical electric quantity in the measured data of the battery; qn (CTBm) is an unreliable value to be updated corresponding to the correction data to be updated of the SOC; in, Dn and Cn are respectively a preset current, a preset accumulated current error and a preset accumulated historical electric quantity corresponding to the corrected data to be updated of the SOC; f is the current coefficient; g is an accumulated current error coefficient; h is the accumulated historical electric quantity coefficient.
11. A battery management system comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the battery SOC estimation method according to any one of claims 1 to 10 when executing the computer program.
12. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the battery SOC estimation method according to any one of claims 1 to 10.
CN202011172369.2A 2020-10-28 2020-10-28 Battery SOC estimation method, battery management system and computer readable storage medium Active CN114487865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011172369.2A CN114487865B (en) 2020-10-28 2020-10-28 Battery SOC estimation method, battery management system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011172369.2A CN114487865B (en) 2020-10-28 2020-10-28 Battery SOC estimation method, battery management system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114487865A true CN114487865A (en) 2022-05-13
CN114487865B CN114487865B (en) 2025-01-14

Family

ID=81490855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011172369.2A Active CN114487865B (en) 2020-10-28 2020-10-28 Battery SOC estimation method, battery management system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114487865B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118294820A (en) * 2024-06-06 2024-07-05 比亚迪股份有限公司 Battery state of charge (SOC) estimation method, device, medium, product and equipment

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006267014A (en) * 2005-03-25 2006-10-05 Nec Lamilion Energy Ltd Remaining capacity estimating technique of secondary cell, device, and battery pack
CN102064571A (en) * 2009-11-11 2011-05-18 三洋电机株式会社 Available charging/discharging current calculation method of battery, power supply device and vehicle with the power supply device
CN102741699A (en) * 2010-04-30 2012-10-17 松下电器产业株式会社 Full-charge capacity correction circuit, charging system, battery pack, and full-charge capacity correction method
CN103135056A (en) * 2011-11-25 2013-06-05 新德科技股份有限公司 Battery capacity prediction device and prediction method thereof
CN105277909A (en) * 2015-11-10 2016-01-27 湖南南车时代电动汽车股份有限公司 SOC calibration method of hybrid power cell
CN106646265A (en) * 2017-01-22 2017-05-10 华南理工大学 Method for estimating SOC of lithium battery
CN107422269A (en) * 2017-06-16 2017-12-01 上海交通大学 A kind of online SOC measuring methods of lithium battery
CN107664751A (en) * 2016-07-28 2018-02-06 中兴通讯股份有限公司 The measuring method and measuring and calculating device of a kind of real-time state-of-charge of battery
CN108226783A (en) * 2016-12-21 2018-06-29 比亚迪股份有限公司 SOC estimation method and SOC estimation devices and electric vehicle
CN108248427A (en) * 2018-01-15 2018-07-06 上海中科深江电动车辆有限公司 The method of dynamic corrections SOC errors
CN109061481A (en) * 2018-06-28 2018-12-21 奇瑞汽车股份有限公司 The state-of-charge of battery determines method, apparatus and storage medium
CN109613432A (en) * 2019-01-08 2019-04-12 广州小鹏汽车科技有限公司 Estimate method, equipment and the computer readable storage medium of battery charge state
CN109633463A (en) * 2018-11-28 2019-04-16 上海松岳电源科技有限公司 A kind of SOC appraisal procedure based on single battery electrokinetic cell system
CN109725265A (en) * 2018-12-29 2019-05-07 蜂巢能源科技有限公司 Estimate the method and apparatus and machine readable storage medium of the SOC of battery pack
CN110095723A (en) * 2018-01-26 2019-08-06 重庆邮电大学 A kind of Li-ion battery model parameter and SOC online joint estimation method
CN110728037A (en) * 2019-09-26 2020-01-24 上海理工大学 Battery capacity closed-loop fusion prediction method
US20200103468A1 (en) * 2018-09-27 2020-04-02 Denso Ten Limited Soc estimation apparatus
CN110967636A (en) * 2019-06-24 2020-04-07 宁德时代新能源科技股份有限公司 Battery state of charge correction method, device and system and storage medium
CN111060828A (en) * 2019-12-30 2020-04-24 华人运通(江苏)技术有限公司 Battery state monitoring method and device
JP2020134417A (en) * 2019-02-25 2020-08-31 株式会社デンソーテン State estimating device

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006267014A (en) * 2005-03-25 2006-10-05 Nec Lamilion Energy Ltd Remaining capacity estimating technique of secondary cell, device, and battery pack
CN102064571A (en) * 2009-11-11 2011-05-18 三洋电机株式会社 Available charging/discharging current calculation method of battery, power supply device and vehicle with the power supply device
CN102741699A (en) * 2010-04-30 2012-10-17 松下电器产业株式会社 Full-charge capacity correction circuit, charging system, battery pack, and full-charge capacity correction method
CN103135056A (en) * 2011-11-25 2013-06-05 新德科技股份有限公司 Battery capacity prediction device and prediction method thereof
CN105277909A (en) * 2015-11-10 2016-01-27 湖南南车时代电动汽车股份有限公司 SOC calibration method of hybrid power cell
CN107664751A (en) * 2016-07-28 2018-02-06 中兴通讯股份有限公司 The measuring method and measuring and calculating device of a kind of real-time state-of-charge of battery
CN108226783A (en) * 2016-12-21 2018-06-29 比亚迪股份有限公司 SOC estimation method and SOC estimation devices and electric vehicle
CN106646265A (en) * 2017-01-22 2017-05-10 华南理工大学 Method for estimating SOC of lithium battery
CN107422269A (en) * 2017-06-16 2017-12-01 上海交通大学 A kind of online SOC measuring methods of lithium battery
CN108248427A (en) * 2018-01-15 2018-07-06 上海中科深江电动车辆有限公司 The method of dynamic corrections SOC errors
CN110095723A (en) * 2018-01-26 2019-08-06 重庆邮电大学 A kind of Li-ion battery model parameter and SOC online joint estimation method
CN109061481A (en) * 2018-06-28 2018-12-21 奇瑞汽车股份有限公司 The state-of-charge of battery determines method, apparatus and storage medium
US20200103468A1 (en) * 2018-09-27 2020-04-02 Denso Ten Limited Soc estimation apparatus
CN109633463A (en) * 2018-11-28 2019-04-16 上海松岳电源科技有限公司 A kind of SOC appraisal procedure based on single battery electrokinetic cell system
CN109725265A (en) * 2018-12-29 2019-05-07 蜂巢能源科技有限公司 Estimate the method and apparatus and machine readable storage medium of the SOC of battery pack
CN109613432A (en) * 2019-01-08 2019-04-12 广州小鹏汽车科技有限公司 Estimate method, equipment and the computer readable storage medium of battery charge state
JP2020134417A (en) * 2019-02-25 2020-08-31 株式会社デンソーテン State estimating device
CN110967636A (en) * 2019-06-24 2020-04-07 宁德时代新能源科技股份有限公司 Battery state of charge correction method, device and system and storage medium
CN110728037A (en) * 2019-09-26 2020-01-24 上海理工大学 Battery capacity closed-loop fusion prediction method
CN111060828A (en) * 2019-12-30 2020-04-24 华人运通(江苏)技术有限公司 Battery state monitoring method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
葛世荣: "矿井提升机可靠性技术", 30 June 1994, 中国矿业大学出版社, pages: 3 - 4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118294820A (en) * 2024-06-06 2024-07-05 比亚迪股份有限公司 Battery state of charge (SOC) estimation method, device, medium, product and equipment

Also Published As

Publication number Publication date
CN114487865B (en) 2025-01-14

Similar Documents

Publication Publication Date Title
CN108717164B (en) SOC calibration method and system for battery
US11366170B2 (en) Method and apparatus for correcting SOC, battery management system and storage medium
EP3064952B1 (en) Energy storage device management apparatus, energy storage device management method, energy storage device module, energy storage device management program, and movable body
CN111448467B (en) Method and system for modeling and estimating battery capacity
KR20220011564A (en) Method and device for determining battery capacity, management system and storage medium
JP2019132666A (en) Device for estimating state of battery pack and method for estimating state of battery pack
US20240159838A1 (en) Method for analyzing and predicting state of health of lithium battery, apparatus, electronic device, and storage medium
WO2024152592A1 (en) Method and apparatus for estimating soc of battery, and device, battery module and storage medium
CN114371408B (en) Method for estimating state of charge of battery, method and device for extracting charging curve
CN107817448B (en) Method for online real-time monitoring of battery electric quantity suitable for complex working conditions
CN110632520A (en) A device for estimating power battery SOC and its estimating method
CN112213644A (en) Battery state of charge estimation method and battery management system
Goh et al. Successive-approximation algorithm for estimating capacity of Li-ion batteries
KR101835377B1 (en) Method for estimating state-of-charge of battery pack based on multivariate wavelet transform and apparatus thereof
CN115343627B (en) SOH estimation method of power battery
CN114487865A (en) Battery SOC estimation method, battery management system and computer readable storage medium
CN116718928A (en) Battery SOC estimation method and device and energy storage equipment
CN116718922A (en) Battery pack SOC estimation method, device, server and storage medium
CN114859250B (en) Method and device for determining state of charge information of battery and electronic equipment
JP2022044172A (en) Determination device, power storage system, determination method, and determination program for multiple batteries
CN115684956A (en) Method, device and computer program product for battery memory lifetime estimation
CN106680722B (en) Method and device for predicting OCV-SOC curve on line in real time
CN112557905B (en) Battery pack, data processing method thereof, computer device, medium, and vehicle
TW202410533A (en) Capacity deterioration estimation device
CN114966453B (en) Method and related device for obtaining remaining available energy of lithium battery

Legal Events

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