CN114280485B - SOC estimation and consistency evaluation method, device, computer equipment - Google Patents
SOC estimation and consistency evaluation method, device, computer equipment Download PDFInfo
- Publication number
- CN114280485B CN114280485B CN202111613075.3A CN202111613075A CN114280485B CN 114280485 B CN114280485 B CN 114280485B CN 202111613075 A CN202111613075 A CN 202111613075A CN 114280485 B CN114280485 B CN 114280485B
- Authority
- CN
- China
- Prior art keywords
- soc
- soc estimation
- sequence
- single battery
- value
- 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.)
- Active
Links
- 238000011156 evaluation Methods 0.000 title claims description 34
- 238000000034 method Methods 0.000 claims abstract description 48
- 238000012937 correction Methods 0.000 claims description 117
- 239000011159 matrix material Substances 0.000 claims description 23
- 230000007423 decrease Effects 0.000 claims description 16
- 238000012545 processing Methods 0.000 claims description 11
- 230000000630 rising effect Effects 0.000 claims description 7
- 238000011077 uniformity evaluation Methods 0.000 claims 3
- 238000009825 accumulation Methods 0.000 claims 2
- 230000008859 change Effects 0.000 abstract description 8
- 239000000178 monomer Substances 0.000 description 6
- 238000012549 training Methods 0.000 description 6
- 230000032683 aging Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000005259 measurement Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/70—Energy storage systems for electromobility, e.g. batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及电池的技术领域,尤其涉及一种SOC估算及一致性评估方法、装置、计算机设备。The embodiments of the present invention relate to the technical field of batteries, and in particular to a method, device, and computer equipment for SOC estimation and consistency evaluation.
背景技术Background technique
电池荷电状态(State of Charge,SOC)用来反应电池的剩余容量,其数值上定义为剩余容量占电池容量的比值,常用百分数表示。电池SOC不能直接测量,只能通过电池端电压、充放电电流及内阻等参数来估算其大小。而这些参数还会受到电池老化、环境温度变化及汽车行驶状态等多种不确定因素的影响,因此准确的SOC估计已成为电动汽车发展中亟待解决的问题。The battery state of charge (State of Charge, SOC) is used to reflect the remaining capacity of the battery. It is numerically defined as the ratio of the remaining capacity to the battery capacity, and is often expressed as a percentage. The battery SOC cannot be measured directly, and its size can only be estimated by parameters such as the battery terminal voltage, charge and discharge current, and internal resistance. These parameters will also be affected by various uncertain factors such as battery aging, ambient temperature changes, and vehicle driving conditions. Therefore, accurate SOC estimation has become an urgent problem to be solved in the development of electric vehicles.
当前现有的电池SOC估算方法主要有安时积分法、开路电压法、卡尔曼滤波法、数据驱动法等。安时积分法通过充放电过程的电流与时间的积分计算电量的变化,结合可用容量对SOC进行估算,该方法忽略了电池内部的变化的影响,未考虑电池老化的影响;数据驱动法基于机器学习算法根据电池特征数据建立特征与SOC之间的映射关系对SOC进行估算,该方法的模型训练需要大量的特征数据,且模型的调参比较繁琐,并且对于测量误差较大的数据,测量准确性较低;开路电压法通过电池在长时间静置条件下电压与SOC的映射关系,对SOC进行估算,该方法估算条件比较苛刻,应用场景存在一定的局限性,忽视电池老化的影响,也忽视电池在不同充电状态下的SOC波动变化规律。Currently, the existing battery SOC estimation methods mainly include the ampere-hour integration method, the open circuit voltage method, the Kalman filter method, and the data-driven method. The ampere-hour integral method calculates the change of the electric quantity by integrating the current and time of the charging and discharging process, and estimates the SOC in combination with the available capacity. This method ignores the influence of changes inside the battery and does not consider the influence of battery aging; the data-driven method is based on The learning algorithm establishes the mapping relationship between the feature and the SOC based on the battery feature data to estimate the SOC. The model training of this method requires a large amount of feature data, and the parameter adjustment of the model is cumbersome, and for the data with large measurement errors, the measurement is accurate. The open-circuit voltage method estimates the SOC through the mapping relationship between the voltage and the SOC of the battery under long-term static conditions. The estimation conditions of this method are relatively harsh, and the application scenarios have certain limitations. Ignore the SOC fluctuation change law of the battery under different charging states.
发明内容Contents of the invention
本发明实施例提出了一种SOC估算及一致性评估方法、装置、计算机设备和存储介质,以能够在任何工况下对单体进行精确的SOC估算,并根据单体的SOC对一致性进行评估。The embodiment of the present invention proposes a SOC estimation and consistency evaluation method, device, computer equipment, and storage medium, so as to be able to accurately estimate the SOC of the monomer under any working conditions, and perform consistency evaluation according to the SOC of the monomer. Evaluate.
第一方面,本发明实施例提供了一种SOC估算及一致性评估方法,包括:In the first aspect, an embodiment of the present invention provides a SOC estimation and consistency assessment method, including:
获取动力电池中各单体电池在若干个采集时刻采集的SOC估算数据;Obtain the SOC estimation data collected by each single battery in the power battery at several collection moments;
针对每一所述单体电池,将所述单体电池在每一采集时刻下的所述SOC估算数据送入预训练好的SOC估算模型,得到每一所述单体电池在若干个采集时刻的SOC估算值组成的SOC估算序列;For each single battery, the SOC estimation data of the single battery at each collection time is sent into the pre-trained SOC estimation model to obtain the SOC estimation data of each single battery at several collection moments The SOC estimation sequence composed of the SOC estimation value;
获取所述单体电池的在每一所述采集时刻对应的充电状态,以得到所述单体电池的充电状态序列;Acquiring the state of charge of the single battery corresponding to each collection moment, so as to obtain a sequence of state of charge of the single battery;
根据所述单体电池的所述SOC估算序列和所述充电状态序列对所述单体电池的所述SOC估算序列进行修正,得到所述单体电池的修正SOC估算序列;correcting the SOC estimation sequence of the single battery according to the SOC estimation sequence of the single battery and the state of charge sequence, to obtain a corrected SOC estimation sequence of the single battery;
基于所述动力电池中各单体电池的修正SOC估算序列确定所述动力电池的SOC估算值和各所述单体电池的一致性评估结果。The estimated SOC value of the power battery and the consistency evaluation result of each single battery are determined based on the corrected SOC estimation sequence of each single battery in the power battery.
第二方面,本发明实施例还提供了SOC估算及一致性评估方法装置,包括:In the second aspect, the embodiment of the present invention also provides a method and device for SOC estimation and consistency assessment, including:
参数获取模块,用于获取动力电池中各单体电池在若干个采集时刻采集的SOC估算数据;The parameter acquisition module is used to obtain the SOC estimation data collected by each single battery in the power battery at several collection moments;
估算序列生成模块,用于针对每一所述单体电池,将所述单体电池在每一采集时刻下的所述SOC估算数据送入预训练好的SOC估算模型,得到每一所述单体电池在若干个采集时刻的SOC估算值组成的SOC估算序列;The estimation sequence generation module is used for sending the SOC estimation data of the single battery at each collection time into the pre-trained SOC estimation model for each single battery, so as to obtain the SOC estimation data of each single battery The SOC estimation sequence composed of the SOC estimation values of the body battery at several acquisition moments;
充电状态获取模块,用于获取所述单体电池的在每一所述采集时刻对应的充电状态,以得到所述单体电池的充电状态序列;A charge state acquisition module, configured to obtain the state of charge of the single battery corresponding to each collection moment, so as to obtain a sequence of state of charge of the single battery;
估算序列修正模块,用于根据所述单体电池的所述SOC估算序列和所述充电状态序列对所述单体电池的所述SOC估算序列进行修正,得到所述单体电池的修正SOC估算序列;An estimation sequence correction module, configured to correct the SOC estimation sequence of the single battery according to the SOC estimation sequence of the single battery and the state of charge sequence, to obtain a corrected SOC estimation of the single battery sequence;
结果生成模块,用于基于所述动力电池中各单体电池的修正SOC估算序列确定所述动力电池的SOC估算值和各所述单体电池的一致性评估结果。A result generating module, configured to determine the estimated SOC value of the power battery and the consistency evaluation result of each single battery based on the corrected SOC estimation sequence of each single battery in the power battery.
第三方面,本发明实施例还提供了一种计算机设备,所述计算机设备包括:In a third aspect, an embodiment of the present invention also provides a computer device, the computer device comprising:
一个或多个处理器;one or more processors;
存储器,用于存储一个或多个程序,memory for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的SOC估算及一致性评估方法。When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the method for SOC estimation and consistency evaluation as described in the first aspect.
本发明实施例通过获取动力电池中各单体电池在若干个采集时刻采集的SOC估算数据;针对每一单体电池,将单体电池在每一采集时刻下的SOC估算数据送入预训练好的SOC估算模型,得到每一单体电池在若干个采集时刻的SOC估算值组成的SOC估算序列;获取单体电池的在每一采集时刻对应的充电状态,以得到单体电池的充电状态序列;根据单体电池的SOC估算序列和充电状态序列对单体电池的SOC估算序列进行修正,得到单体电池的修正SOC估算序列;基于动力电池中各单体电池的修正SOC估算序列确定动力电池的SOC估算值和各单体电池的一致性评估结果。本发明实施例能够在电池全生命周期进行准确的SOC估算和一致性评估,通过考虑电池老化以及SOC在不同充电状态等实际情况下的变化规律使得能在测量误差较大的点上能够进行更加精确的估算,并且根据单体的SOC估算结果对动力电池的一致性进行评估,当一致性高于预警阈值时进行报警,从而能够提前预警动力电池存在故障隐患。The embodiment of the present invention obtains the SOC estimation data collected by each single battery in the power battery at several collection moments; for each single battery, the SOC estimation data of the single battery at each collection moment is sent to the pre-trained The SOC estimation model of the single battery is obtained to obtain the SOC estimation sequence composed of the SOC estimated value of each single battery at several collection moments; the corresponding charge state of the single battery at each collection moment is obtained to obtain the charge state sequence of the single battery ; Correct the SOC estimation sequence of the single battery according to the SOC estimation sequence and the charging state sequence of the single battery to obtain the corrected SOC estimation sequence of the single battery; determine the power battery based on the corrected SOC estimation sequence of each single battery in the power battery The SOC estimation value of the battery and the consistency evaluation results of each single battery. The embodiment of the present invention can carry out accurate SOC estimation and consistency evaluation in the whole life cycle of the battery, and by considering the battery aging and the change law of SOC in different charging states and other actual conditions, it can be more accurate at the point where the measurement error is large. Accurate estimation, and evaluate the consistency of the power battery according to the SOC estimation result of the monomer, and give an alarm when the consistency is higher than the warning threshold, so as to give early warning of potential failure of the power battery.
附图说明Description of drawings
图1为本发明实施例一提供的一种SOC估算及一致性评估方法的流程图;FIG. 1 is a flow chart of a SOC estimation and consistency evaluation method provided by Embodiment 1 of the present invention;
图2为本发明实施例一提供的一种根据所述单体电池的所述SOC估算序列和所述充电状态序列对所述单体电池的所述SOC估算序列进行修正方法的流程图;Fig. 2 is a flow chart of a method for correcting the SOC estimation sequence of the single battery according to the SOC estimation sequence and the state-of-charge sequence of the single battery according to Embodiment 1 of the present invention;
图3为本发明实施例二提供的一种SOC估算及一致性评估装置的结构示意图;FIG. 3 is a schematic structural diagram of an SOC estimation and consistency evaluation device provided in Embodiment 2 of the present invention;
图4为本发明实施例三提供的一种计算机设备的结构示意图。FIG. 4 is a schematic structural diagram of a computer device provided by Embodiment 3 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1为本发明实施例一提供的一种SOC估算及一致性评估方法的流程图,本实施例能够在任何工况下对单体进行精确的SOC估算,并根据单体的SOC对一致性进行评估,该方法可以由SOC估算及一致性评估装置来执行,该SOC估算及一致性评估装置可以由软件和/或硬件实现,可配置在计算机设备中,例如,服务器、个人电脑,等等,具体包括如下步骤:Figure 1 is a flowchart of a SOC estimation and consistency assessment method provided by Embodiment 1 of the present invention. This embodiment can accurately estimate the SOC of the monomer under any working conditions, and evaluate the consistency according to the SOC of the monomer. To evaluate, the method can be performed by an SOC estimation and consistency evaluation device, the SOC estimation and consistency evaluation device can be implemented by software and/or hardware, and can be configured in a computer device, such as a server, a personal computer, etc. , including the following steps:
步骤101、获取动力电池中各单体电池在若干个采集时刻采集的SOC估算数据。Step 101. Obtain SOC estimation data collected by each single battery in the power battery at several collection times.
动力电池是为工具提供动力来源的电源,多用于电动汽车、电动列车、电动自行车、高尔夫球车提供动力的蓄电池。动力电池中包含有若干个单体电池,单体电池通过串联、并联,加上一些控制单元、采集系统、冷却系统,构成了一个完整的动力电池。The power battery is a power source that provides power for tools, and is mostly used in batteries that provide power for electric vehicles, electric trains, electric bicycles, and golf carts. The power battery contains a number of single cells. The single cells are connected in series and parallel, plus some control units, acquisition systems, and cooling systems to form a complete power battery.
SOC估算数据是用于估算单体SOC的特征数据,至少包括上报时间、单体电压、充电状态、单体电池温度、累积里程、电流等。SOC estimation data is characteristic data for estimating the SOC of a cell, at least including reporting time, cell voltage, state of charge, cell temperature, accumulated mileage, current, etc.
采集时刻是在一个预设周期内,设定的具有相同间隔时长的采样点,是用于定期采集一个周期内若干个等间隔点的SOC估算数据,以对该预设周期内的SOC进行估算。The collection time is a set sampling point with the same interval duration within a preset period, which is used to regularly collect the SOC estimation data of several equally spaced points in a period to estimate the SOC within the preset period .
获取动力电池中每一个单体电池在不同采集时刻的采集得到的SOC估算数据。Obtain the SOC estimation data collected by each single battery in the power battery at different collection times.
示例性的,一个动力电池中包含有50个单体电池,一个预设周期为1天,预设在1天内每3分钟采集一次每个单体电池的SOC估算数据,因此1天能够得到50个单体电池分别在480个采集时刻对应的SOC估算数据数据,也就是说1天能够得到24000个SOC估算数据数据。Exemplarily, a power battery contains 50 single cells, a preset cycle is 1 day, and the SOC estimation data of each single cell is collected every 3 minutes within 1 day, so 50 single cells can be obtained in 1 day The SOC estimation data corresponding to each single battery at 480 collection times, that is to say, 24,000 SOC estimation data can be obtained in one day.
需要说明的是,上述实施例中的一个周期内采集时刻的数量和单体电池的数量为对本发明实施例的示例性说明,在本发明其他实施例中,一个周期内采集时刻的数量和单体电池的数量还可以有其他的不同的设置方法,本发明在此不做限定。It should be noted that the number of collection times and the number of single cells in one cycle in the above-mentioned embodiment are exemplary descriptions of the embodiments of the present invention. In other embodiments of the present invention, the number of collection times and the number of single cells in one cycle There may also be other different setting methods for the number of bulk batteries, which is not limited in the present invention.
步骤102、针对每一单体电池,将单体电池在每一采集时刻下的SOC估算数据送入预训练好的SOC估算模型,得到每一单体电池在若干个采集时刻的SOC估算值组成的SOC估算序列。Step 102, for each single battery, send the SOC estimation data of the single battery at each collection time into the pre-trained SOC estimation model, and obtain the composition of the SOC estimation value of each single battery at several collection time SOC estimation sequence.
将收集得到的样本数据集通过一定比例划分为训练集和测试集,使用训练集对SOC估算模型进行模型预训练,采用测试集对模型进行调参,从而得到预训练好的SOC估算模型。The collected sample data set is divided into a training set and a test set by a certain ratio, the SOC estimation model is pre-trained using the training set, and the parameters of the model are adjusted using the test set to obtain a pre-trained SOC estimation model.
在将单体电池在每一采集时刻下的SOC估算数据送入预训练好的SOC估算模型之前,先需要对数据进行预处理,将数据中的缺失值、异常值进行剔除。Before sending the SOC estimation data of a single battery at each collection moment into the pre-trained SOC estimation model, the data needs to be preprocessed to remove missing values and outliers in the data.
示例性的,本发明实施例采用的是XGboost估算模型,将预先收集得到的样本数据按照7:3的比例划分为训练集和测试集,使用训练集对XGboost估算模型进行模型训练,使用测试集对该模型进行调参,从而得到预训练好的SOC估算模型,该模型可以根据某一单体电池在某一时刻下的SOC估算数据得到大致的SOC估算值。Exemplarily, the embodiment of the present invention adopts the XGboost estimation model, divides the pre-collected sample data into a training set and a test set according to a ratio of 7:3, uses the training set to perform model training on the XGboost estimation model, and uses the test set Adjust the parameters of the model to obtain a pre-trained SOC estimation model, which can obtain a rough SOC estimation value based on the SOC estimation data of a single battery at a certain moment.
示例性的,先对数据进行预处理,根据正常工作电压范围剔除含有异常单体电压的SOC估算数据,根据3σ准则剔除含有异常单体温度的SOC估算数据。将预处理完毕后多个单体电池在一个周期内各采集时刻的SOC估算数据送入预训练好的XGboost估算模型,得到多个电池在各采集时刻的SOC估算值。Exemplarily, the data is preprocessed first, the estimated SOC data containing abnormal cell voltage is eliminated according to the normal operating voltage range, and the estimated SOC data containing abnormal cell temperature is eliminated according to the 3σ criterion. After the preprocessing is completed, the SOC estimation data of multiple single batteries at each acquisition time in one cycle are sent to the pre-trained XGboost estimation model to obtain the SOC estimation values of multiple batteries at each acquisition time.
将某一个单体电池在一个预设周期内的若干采集时刻的SOC估算数据送入XGboost估算模型得到SOC估算值,这些SOC估算值组成该单体电池在该预设周期内的SOC估算序列。Send the estimated SOC data of a single battery at several acquisition moments within a preset period into the XGboost estimation model to obtain an estimated SOC value, and these estimated SOC values form the SOC estimation sequence of the single battery within the preset period.
示例性的,某一电池在1天内的480个采集时刻的SOC估算数据送入XGboost估算模型得到对应的480个SOC估算值,这480个SOC估算值组成该单体电池在1天内的SOC估算序列。若一个动力电池含有50个单体电池,则有50个SOC估算序列产生。Exemplarily, the SOC estimation data of a certain battery at 480 collection moments in one day are sent to the XGboost estimation model to obtain corresponding 480 SOC estimation values, and these 480 SOC estimation values constitute the SOC estimation of the single battery within one day sequence. If a power battery contains 50 single cells, 50 SOC estimation sequences are generated.
需要说明的是,上述实施例中的采用的XGboost估算模型、对剔除缺失值、异常值过程中采用的3σ准则为对本发明实施例的示例性说明,在本发明其他实施例中,还可以采用的估算模型、对剔除缺失值、异常值过程中可以采用其他理论准则,如采用LightGBM算法、lasso算法,本发明在此不做限定。It should be noted that the XGboost estimation model used in the above embodiments and the 3σ criterion used in the process of eliminating missing values and outliers are exemplary descriptions of the embodiments of the present invention. In other embodiments of the present invention, it is also possible to use In the estimation model, other theoretical criteria can be used in the process of eliminating missing values and outliers, such as LightGBM algorithm and lasso algorithm, which are not limited in the present invention.
步骤103、获取单体电池的在每一采集时刻对应的充电状态,以得到单体电池的充电状态序列。Step 103 , acquiring the charging state corresponding to each collection time of the single battery, so as to obtain the charging state sequence of the single battery.
将单体电池的划分为三种不同的充电状态,分别为未充电状态、停车充电状态、充电完成状态。通过预先规定的编码方式来区分不同的充电状态,将一个预设周期内某单体电池在各采集时刻充电状态的编码组合起来,得到该电池的充电状态序列。The single battery is divided into three different charging states, which are uncharged state, parking charging state, and charging completion state. Different charging states are distinguished through a pre-specified encoding method, and the encodings of the charging states of a single battery at each collection time within a preset period are combined to obtain the charging state sequence of the battery.
示例性的,充电状态采用One-Hot编码方式,使用三维向量来表示单体电池的充电状态,其中,规定未充电状态为(1,0,0)、停车充电状态为(0,1,0)、充电完成状态为(0,0,1)。Exemplarily, the state of charge adopts a One-Hot encoding method, and a three-dimensional vector is used to represent the state of charge of a single battery, wherein it is specified that the uncharged state is (1, 0, 0), and the parking state is (0, 1, 0 ), the charging completion status is (0, 0, 1).
需要说明的是,上述实施例中的采用的One-Hot编码方式以及编码的规则为对本发明实施例的示例性说明,在本发明其他实施例中,还可以采用的其他的编码方式或编码的规则对充电状态进行区分,本发明在此不做限定。It should be noted that the One-Hot encoding method and encoding rules used in the above embodiments are exemplary descriptions of the embodiments of the present invention. In other embodiments of the present invention, other encoding methods or encoding rules can also be used. The rules differentiate charging states, which is not limited in the present invention.
步骤104、根据单体电池的SOC估算序列和充电状态序列对单体电池的SOC估算序列进行修正,得到单体电池的修正SOC估算序列。Step 104 , correcting the SOC estimation sequence of the single battery according to the SOC estimation sequence and the charging state sequence of the single battery, to obtain the corrected SOC estimation sequence of the single battery.
在实际情况下,由于电池老化、充电状态等影响,导致在获取SOC估算数据时存在一定程度的波动,进一步导致通过SOC估算模型得到的SOC估算序列存在有误差较大的SOC估算值。因此,由SOC估算模型得到的SOC估算序列需要进行进一步修正,以得到更准确的SOC估算结果。In actual situations, due to the influence of battery aging, charging state, etc., there is a certain degree of fluctuation in the acquisition of SOC estimation data, which further leads to SOC estimation values with large errors in the SOC estimation sequence obtained through the SOC estimation model. Therefore, the SOC estimation sequence obtained by the SOC estimation model needs to be further revised to obtain more accurate SOC estimation results.
单体电池的充电状态是影响采集时SOC估算数据准确性的重要因素之一,当单体电池放电时,测得的SOC值会下降;当单体电池充电时,测得的SOC值会上升。根据单体电池的SOC估算序列和充电状态序列对单体电池的SOC估算序列进行修正,能够一定程度地排除充电状态对SOC估算值的影响,修正后的SOC值是更为准确的估算结果。The state of charge of a single battery is one of the important factors that affect the accuracy of SOC estimation data during collection. When a single battery is discharged, the measured SOC value will decrease; when the single battery is charged, the measured SOC value will increase. . Correcting the SOC estimation sequence of the single battery according to the SOC estimation sequence and the charging state sequence of the single battery can eliminate the influence of the charging state on the SOC estimation value to a certain extent, and the corrected SOC value is a more accurate estimation result.
在本发明的一些实施例中,步骤104包括:In some embodiments of the present invention, step 104 includes:
步骤1041、对SOC估算序列进行滑动平均处理,得到平滑SOC估算序列。Step 1041, performing moving average processing on the SOC estimation sequence to obtain a smooth SOC estimation sequence.
对由SOC估算模型得到的SOC估算序列进行滑动平均处理,通过顺序算移动平均值,借以消除偶然变动因素,平滑掉异常值的干扰,得到平滑SOC估算序列。The SOC estimation sequence obtained by the SOC estimation model is subjected to sliding average processing, and the moving average is calculated sequentially to eliminate accidental fluctuation factors, smooth out the interference of abnormal values, and obtain a smooth SOC estimation sequence.
示例性的,选择5分钟大小的窗口,将窗口内的所有值做算数平均,作为窗口中心点的值,按1分钟点距移动窗口,重复此平均方法,直至对整一个SOC估算序列完成上述过程。Exemplarily, a window with a size of 5 minutes is selected, and all values in the window are arithmetically averaged as the value of the center point of the window, and the window is moved at a point interval of 1 minute, and this averaging method is repeated until the above-mentioned is completed for the entire SOC estimation sequence process.
需要说明的是,上述实施例中的采用的窗口大小为对本发明实施例的示例性说明,在本发明其他实施例中,还可以采用其他的窗口大小的值,本发明在此不做限定。It should be noted that the window size used in the above embodiment is an exemplary description of the embodiment of the present invention. In other embodiments of the present invention, other values of the window size may also be used, and the present invention is not limited here.
步骤1042、统计在第i个采集时刻与上一次对SOC进行修正的时刻之间,平滑SOC估算序列中数值上升的次数和数值下降的次数,数值上升是指任意相邻的一对数值中后一数值大于前一数值,数值下降是指任意相邻的一对数值中后一数值小于前一数值。Step 1042, count the number of times of numerical increase and the number of numerical decreases in the smoothed SOC estimation sequence between the i-th acquisition time and the last time when the SOC is corrected. A numerical value is greater than the previous numerical value, and numerical value drop means that the latter numerical value in any adjacent pair of numerical values is smaller than the previous numerical value.
平滑SOC估算序列中数值上升的次数和数值下降的次数的初始值均为0,数值上升指的是在平滑SOC估算序列中该采集时刻i对应的SOC估算值大于上一采集时刻i-1对应的SOC估算值;数值下降指的是在平滑SOC估算序列中该采集时刻i对应的SOC估算值小于上一采集时刻i-1对应的SOC估算值。The initial values of the number of times of numerical rise and the number of numerical declines in the smooth SOC estimation sequence are both 0, and the numerical rise means that in the smooth SOC estimation sequence, the SOC estimation value corresponding to the acquisition time i is greater than that corresponding to the previous acquisition time i-1 The estimated value of SOC; the numerical decrease means that in the smoothed SOC estimation sequence, the estimated SOC value corresponding to the acquisition time i is smaller than the estimated SOC value corresponding to the previous acquisition time i-1.
统计在第i个采集时刻与上一次对SOC进行修正的时刻之间,平滑SOC估算序列中数值上升的次数和数值下降的次数,能够确定SOC估算值的变化趋势,便于后续根据充电状态对SOC估算值的修正。Counting the number of times the value rises and the number of times the value drops in the smoothed SOC estimation sequence between the i-th acquisition time and the last time the SOC is corrected can determine the change trend of the SOC estimate, which is convenient for subsequent SOC adjustments based on the state of charge. Estimated revisions.
在本发明的一些实施例中,步骤1042中包括:In some embodiments of the present invention, step 1042 includes:
步骤10421、判断SOC估算序列中的第i时刻对应的SOC估算值是否大于第i-1时刻对应的SOC估算值;若是,则执行步骤10422;若否,则执行步骤10423。Step 10421. Determine whether the estimated SOC value corresponding to the i-th time in the SOC estimation sequence is greater than the estimated SOC value corresponding to the i-1th time; if yes, execute step 10422; if not, execute step 10423.
判断SOC估算序列中第i时刻对应的SOC估算值是否大于第i-1时刻对应的SOC估算值,如果第i时刻对应的SOC估算值大于第i-1时刻对应的SOC估算值,则执行步骤10422,对数值上升的次数累计加1;如果第i时刻对应的SOC估算值小于第i-1时刻对应的SOC估算值,则执行步骤10423,对数值下降的次数累计加1。Judging whether the SOC estimated value corresponding to the i-th time in the SOC estimation sequence is greater than the SOC estimated value corresponding to the i-1-th time, if the SOC estimated value corresponding to the i-th time is greater than the SOC estimated value corresponding to the i-1-th time, then execute the step 10422, accumulatively add 1 to the number of times when the value increases; if the estimated SOC value corresponding to the i-th time is smaller than the estimated SOC value corresponding to the i-1th time, execute step 10423, and add 1 to the number of times when the value decreases.
示例性,平滑SOC估算序列中数值上升的次数和数值下降的次数的初始值均为0,前6个采集时刻的值分别为70、72、69、71、75、76,其中,第2、4、5、6个采集时刻的SOC估算值均大于其上一时刻的SOC估算值,第2、4、5、6个采集时刻均执行步骤10422对数值上升的次数累计加1,因此数值上升的次数为4次;第3个时刻的SOC估算值小于其上一时刻的SOC估算值,第3个采集时刻执行步骤10423对数值下降的次数累计加1,因此数值下降的次数为1次。Exemplarily, the initial values of the times of numerical rise and the number of numerical declines in the smoothed SOC estimation sequence are both 0, and the values of the first 6 acquisition moments are 70, 72, 69, 71, 75, 76 respectively, wherein, the second, The estimated SOC values at the 4th, 5th, and 6th collection times are all greater than the SOC estimates at the previous time, and step 10422 is executed at the 2nd, 4th, 5th, and 6th collection time points to add 1 to the number of times the value increases, so the value increases The number of times is 4; the estimated SOC value at the third moment is less than the estimated SOC value at the previous moment, and at the third acquisition moment, step 10423 is executed to add 1 to the number of times of numerical decline, so the number of numerical declines is 1 time.
需要说明的是,上述实施例中的采集时刻及其SOC估算值为对本发明实施例的示例性说明,在本发明其他实施例中,还可以为其他值,本发明在此不做限定。SOC估算值的单位为%。It should be noted that the acquisition time and the estimated SOC values in the above embodiments are exemplary descriptions of the embodiments of the present invention. In other embodiments of the present invention, they may also be other values, which are not limited in the present invention. SOC estimates are in %.
步骤10422、数值上升的次数累计加1。Step 10422, add 1 to the number of times the value increases.
步骤10423、数值下降的次数累计加1。Step 10423, add 1 to the number of times the value drops.
步骤1043、判断第i个采集时刻与上一次对SOC进行修正的时刻之间,平滑SOC估算序列中数值上升的次数和数值下降的次数是否满足预设的SOC修正条件;若是,则执行步骤1044;若否,则执行步骤1045。Step 1043, determine whether the number of times of numerical rise and the number of numerical declines in the smoothed SOC estimation sequence between the i-th acquisition time and the last time when the SOC is corrected meet the preset SOC correction conditions; if so, execute step 1044 ; If not, execute step 1045 .
预设的SOC修正条件是用于判断第i个采集时刻与上一次对SOC进行修正的时刻之间平滑SOC估算序列的SOC变化趋势,当数值上升的次数和数值下降的次数满足预设的SOC修正条件,则SOC估算值有比较明显的变化趋势,该变化可能与单体电池的充电状态有关,需要执行步骤1044,结合单体电池的充电状态进行进一步的修正,以使修正后的SOC值更加准确;当数值上升的次数和数值下降的次数不满足预设的SOC修正条件,则执行步骤1045,将第i-1采集时刻的SOC修正值作为第i采集时刻的SOC修正值,将第i采集时刻累计加1,返回执行步骤1042。The preset SOC correction condition is used to judge the SOC change trend of the smooth SOC estimation sequence between the i-th acquisition time and the last time the SOC is corrected. Correction conditions, the SOC estimated value has a relatively obvious change trend, which may be related to the charge state of the single battery, and step 1044 needs to be executed to further correct the charge state of the single battery, so that the corrected SOC value It is more accurate; when the number of times that the value rises and the number of times that the value drops does not meet the preset SOC correction conditions, then execute step 1045, and use the SOC correction value at the i-1th collection time as the SOC correction value at the i-th collection time, and set the SOC correction value at the i-1th collection time. Accumulatively add 1 to the collection time of i, and return to step 1042.
在本发明的一些实施例中,预设的SOC修正条件为:In some embodiments of the present invention, the preset SOC correction condition is:
数值上升的次数大于第一预设次数,或数值下降的次数大于第二预设次数。The number of times that the numerical value increases is greater than the first preset number of times, or the number of times that the numerical value decreases is greater than the second preset number of times.
当获取的数值上升的次数和数值下降的次数满足数值上升的次数大于第一预设次数,或数值下降的次数大于第二预设次数,则说明SOC估算值有比较明显的上升或下降,需要对该采集时刻的SOC估算值进行进一步修正。When the number of times that the acquired value rises and the number of values decreases satisfies that the number of increases is greater than the first preset number, or the number of decreases is greater than the second preset number, it means that the estimated SOC value has a relatively obvious increase or decrease. The estimated SOC value at the acquisition time is further corrected.
示例性的,第一预设次数设定为3次,第二次预设次数设定为12次。假设第100个采集时刻和上一次对SOC进行修正的时刻(即第90个采集时刻)之间平滑SOC估算序列中数值上升的次数为4次,数值下降的次数为6次,满足预设的SOC修正条件,能够执行步骤1044,根据充电状态对第100个采集时刻对应的SOC进行修正。Exemplarily, the first preset number of times is set to 3 times, and the second preset number of times is set to 12 times. Assume that between the 100th acquisition time and the last time when the SOC was corrected (that is, the 90th acquisition time), the number of numerical rises in the smooth SOC estimation sequence is 4 times, and the number of numerical declines is 6 times, which meets the preset requirements. For the SOC correction condition, step 1044 can be executed to correct the SOC corresponding to the 100th collection time according to the state of charge.
需要说明的是,上述实施例中的第一预设次数、第二预设次数的具体值为对本发明实施例的示例性说明,在本发明其他实施例中,还可以为其他值,本发明在此不做限定。It should be noted that the specific values of the first preset number of times and the second preset number of times in the above embodiments are exemplary descriptions of the embodiments of the present invention. In other embodiments of the present invention, they can also be other values. The present invention It is not limited here.
步骤1044、对平滑SOC估算序列中第i采集时刻对应SOC进行修正,得到SOC修正值,并将第i个采集时刻与上一次对SOC进行修正的时刻之间平滑SOC估算序列中数值上升的次数和数值下降的次数置0,将第i采集时刻累计加1,返回执行统计第i个采集时刻与上一次对SOC进行修正的时刻之间平滑SOC估算序列中数值上升的次数和数值下降的次数。Step 1044: Correct the SOC corresponding to the i-th acquisition time in the smoothed SOC estimation sequence to obtain the SOC correction value, and calculate the number of times the values in the smoothed SOC estimation sequence increase between the i-th acquisition time and the last time the SOC is corrected Set the number of times the sum value drops to 0, add 1 to the cumulative value of the i-th collection time, and return to perform statistics on the number of times the value rises and the number of times the value drops in the smoothed SOC estimation sequence between the i-th collection time and the last time the SOC was corrected .
结合第i时刻的充电状态,对平滑SOC估算序列中第i采集时刻对应SOC进行修正,降低充电状态对测量估算得到的SOC估算值的影响。单体电池在各采集时刻修正后的修正值组成该单体电池的修正SOC估算序列。Combined with the state of charge at the i-th moment, the SOC corresponding to the i-th acquisition time in the smoothed SOC estimation sequence is corrected to reduce the influence of the state of charge on the estimated SOC value obtained by measurement and estimation. The corrected correction values of the single battery at each acquisition time constitute the corrected SOC estimation sequence of the single battery.
在结合第i时刻的充电状态对平滑SOC估算序列中第i采集时刻对应SOC进行修正之后,将第i个采集时刻与上一次对SOC进行修正的时刻之间平滑SOC估算序列中数值上升的次数和数值下降的次数置0,将第i时刻累计加1,进入下一时刻,执行步骤1042,从下一采集时刻开始重新计算与本次对SOC进行修正时刻之间的数值上升次数和数值下降次数,为下一次结合充电状态对SOC值进行修正做准备。After correcting the SOC corresponding to the i-th acquisition time in the smoothed SOC estimation sequence in combination with the state of charge at the i-th time, the number of numerical increases in the smoothed SOC estimation sequence between the i-th acquisition time and the last time the SOC was corrected Set the number of times that the sum value drops to 0, add 1 to the i-th time, enter the next time, execute step 1042, and recalculate the number of times of increase and value drop between the next acquisition time and the time when the SOC is corrected this time The number of times is to prepare for the next correction of the SOC value combined with the state of charge.
需要说明的是,当i为1时,对平滑SOC估算序列中第1采集时刻的SOC估算值进行取整处理,得到修正SOC估算序列中第1采集时刻对应的SOC修正值。It should be noted that when i is 1, the SOC estimated value at the first acquisition time in the smoothed SOC estimation sequence is rounded to obtain the SOC correction value corresponding to the first acquisition time in the corrected SOC estimation sequence.
在本发明的一些实施例中,当数值上升的次数大于第一预设次数且数值下降的次数大于第二预设次数时,步骤1044包括:In some embodiments of the present invention, when the number of times the value increases is greater than the first preset number and the number of times the value decreases is greater than the second preset number, step 1044 includes:
步骤10441、确定单体电池的充电状态序列中第i采集时刻以及前m个采集时刻的对应的充电状态是否均为停车充电状态;若否,则执行步骤10442。Step 10441 , determine whether the corresponding charging states at the i-th acquisition time and the first m acquisition time in the charging state sequence of the single battery are all parking charging states; if not, execute step 10442 .
该单体电池的充电状态序列中确定第i时刻以及第i时刻以前的m个采集时刻的对应充电状态是否都处于停车充电状态,如果不全是停车充电状态,则执行步骤10442对平滑SOC估算序列中第i时刻的SOC估算值进行修正,得到修正SOC估算序列中第i采集时刻对应的SOC修正值。其中,m是预设的判断时长,用户可以根据实际的需求来调整m的值。In the state of charge sequence of the single battery, determine whether the corresponding charge states at the i-th moment and the m collection moments before the i-th moment are all in the parking charging state, if not all are in the parking charging state, then execute step 10442 to smooth the SOC estimation sequence The SOC estimated value at the i-th time in the sequence is corrected to obtain the SOC correction value corresponding to the i-th acquisition time in the corrected SOC estimation sequence. Among them, m is the preset judgment time length, and the user can adjust the value of m according to actual needs.
示例性的,预先设定m的值为2,5号单体电池当前处于第100采集时刻,根据5号单体电池的充电状态序列可知,第98采集时刻处于停车充电状态,第99采集时刻处于停车充电状态,第100采集时刻处于充电完成状态,由此得知,5号单体电池的第100采集时刻以及前2个采集时刻的对应的充电状态不全为停车充电状态,执行步骤10442,对平滑SOC估算序列中的第100采集时刻的SOC估算值进行修正。Exemplarily, the value of m is preset to be 2, and the No. 5 single battery is currently at the 100th acquisition time. According to the charging state sequence of the No. 5 single battery, it can be known that the 98th collection time is in the parking charging state, and the 99th collection time It is in the parking charging state, and the 100th collection time is in the charging completion state. From this, it is known that the 100th collection time of the No. 5 single battery and the corresponding charging states of the first 2 collection times are not all in the parking charging state. Step 10442 is executed. The SOC estimation value at the 100th acquisition time instant in the smoothed SOC estimation sequence is corrected.
需要说明的是,上述实施例中的i和m的具体值为对本发明实施例的示例性说明,在本发明其他实施例中,i和m还可以为其他值,本发明在此不做限定。It should be noted that the specific values of i and m in the above embodiments are exemplary descriptions of the embodiments of the present invention. In other embodiments of the present invention, i and m can also be other values, and the present invention is not limited here .
步骤10442、将修正SOC估算序列中该第i-1采集时刻对应的SOC修正值加上第一修正值,得到第i采集时刻的SOC修正值。Step 10442: Add the first correction value to the SOC correction value corresponding to the i-1th collection time in the correction SOC estimation sequence to obtain the SOC correction value at the i-th collection time.
第一修正值是为了降低充电状态对SOC估算值影响而预先设置的差值,将修正SOC估算序列中第i-1采集时刻对应的SOC修正值加上第一修正值得到修正SOC估算序列中第i采集时刻对应的SOC修正值,以一定程度修正充电状态带来的误差。The first correction value is a preset difference in order to reduce the influence of the charging state on the SOC estimation value, and the SOC correction value corresponding to the i-1th acquisition time in the correction SOC estimation sequence is added to the first correction value to obtain the correction SOC estimation sequence The SOC correction value corresponding to the i-th acquisition time corrects the error caused by the state of charge to a certain extent.
示例性的,预设的第一修正值为1,当前处于第100采集时刻,修正SOC估算序列中第99采集时刻对应的SOC修正值为75,则修正SOC估算序列中第100采集时刻对应的SOC修正值是75+1,即为76,由此得到第100采集时刻修正后的SOC修正值。Exemplarily, the preset first correction value is 1, and it is currently at the 100th collection moment, and the SOC correction value corresponding to the 99th collection moment in the corrected SOC estimation sequence is 75, then the corrected SOC correction value corresponding to the 100th collection moment in the SOC estimation sequence is The SOC correction value is 75+1, which is 76, and thus the corrected SOC correction value at the 100th acquisition time is obtained.
需要说明的是,上述实施例中的第一修正值的具体值为对本发明实施例的示例性说明,在本发明其他实施例中,第一修正值还可以为其他值,本发明在此不做限定。并且SOC的单位为%。It should be noted that the specific value of the first correction value in the above embodiment is an exemplary description of the embodiment of the present invention. In other embodiments of the present invention, the first correction value can also be other values. Do limited. And the unit of SOC is %.
在本发明的一些实施例中,当数值上升的次数大于第一预设次数时且数值下降的次数小于第二预设次数时,步骤1044包括:In some embodiments of the present invention, when the number of times the value increases is greater than the first preset number of times and the number of times the value decreases is less than the second preset number of times, step 1044 includes:
步骤10443、确定单体充电状态序列中第i时刻以及前m个采集时刻对应的充电状态是否均为停车充电状态;若是,则执行步骤10444。Step 10443, determine whether the charge states corresponding to the i-th moment and the first m collection moments in the cell charge state sequence are all parking charge states; if so, execute step 10444.
该单体电池的充电状态序列中确定第i时刻以及第i时刻以前的m个采集时刻的对应充电状态是否都处于停车充电状态,如果全部都是停车充电状态,则执行步骤10444对平滑SOC估算序列中第i时刻的SOC估算值进行修正,得到修正SOC估算序列中第i采集时刻对应的SOC修正值。其中,m是预设的判断时长,用户可以根据实际的需求来调整m的值。In the charge state sequence of the single battery, determine whether the charge states corresponding to the i-th moment and the m collection moments before the i-th moment are all in the parking charging state, if all are in the parking charging state, then perform step 10444 to estimate the smoothed SOC The SOC estimated value at the i-th time in the sequence is corrected to obtain the SOC correction value corresponding to the i-th acquisition time in the corrected SOC estimation sequence. Among them, m is the preset judgment time length, and the user can adjust the value of m according to actual needs.
示例性的,预先设定m的值为2,5号单体电池当前处于第100采集时刻,根据5号单体电池的充电状态序列可知,第98采集时刻、第99采集时刻、第100采集时刻都处于停车充电状态,由此得知,5号单体电池的第100采集时刻以及前2个采集时刻的对应的充电状态全都在停车充电状态,执行步骤10444,对平滑SOC估算序列中的第100采集时刻的SOC估算值进行修正。Exemplarily, the value of m is preset to be 2, and the No. 5 single battery is currently at the 100th acquisition time. According to the charging state sequence of the No. 5 single battery, it can be known that the 98th collection time, the 99th collection time, the 100th collection time They are all in the parking charging state at all times. From this, it is known that the 100th acquisition time of the No. 5 battery cell and the corresponding charging states of the first two acquisition moments are all in the parking charging state. Step 10444 is executed to calculate the smooth SOC estimation sequence. The estimated SOC value at the 100th acquisition time is corrected.
需要说明的是,上述实施例中的i和m的具体值为对本发明实施例的示例性说明,在本发明其他实施例中,i和m还可以为其他值,本发明在此不做限定。It should be noted that the specific values of i and m in the above embodiments are exemplary descriptions of the embodiments of the present invention. In other embodiments of the present invention, i and m can also be other values, and the present invention is not limited here .
步骤10444、将修正SOC估算序列中该第i-1采集时刻对应的SOC修正值值加上第二修正值,得到第i采集时刻的SOC修正值。Step 10444: Add the second correction value to the SOC correction value corresponding to the i-1th collection time in the correction SOC estimation sequence to obtain the SOC correction value at the i-th collection time.
第二修正值是为了降低充电状态对SOC估算值影响而预先设置的差值,将修正SOC估算序列中第i-1采集时刻对应的SOC修正值加上第二修正值得到修正SOC估算序列中第i采集时刻对应的SOC修正值,能够一定程度修正充电状态带来的误差。The second correction value is a preset difference in order to reduce the influence of the state of charge on the SOC estimation value, and the SOC correction value corresponding to the i-1th acquisition time in the correction SOC estimation sequence is added to the second correction value to obtain the correction SOC estimation sequence The SOC correction value corresponding to the i-th acquisition time can correct the error caused by the charging state to a certain extent.
示例性的,预设的第二修正值为-1,当前处于第100采集时刻,修正SOC估算序列中第99采集时刻对应的SOC修正值为75,则修正SOC估算序列中第100采集时刻对应的SOC修正值是75+(-1),即为74,由此得到第100采集时刻修正后的SOC修正值。Exemplarily, the preset second correction value is -1, and it is currently at the 100th collection moment, and the SOC correction value corresponding to the 99th collection moment in the corrected SOC estimation sequence is 75, then the 100th collection moment in the corrected SOC estimation sequence corresponds to The SOC correction value of is 75+(-1), that is, 74, and thus the corrected SOC correction value at the 100th acquisition time is obtained.
需要说明的是,上述实施例中的第二修正值的具体值为对本发明实施例的示例性说明,在本发明其他实施例中,第二修正值还可以为其他值,本发明在此不做限定。并且SOC的单位为%。It should be noted that the specific value of the second correction value in the above embodiment is an exemplary description of the embodiment of the present invention. In other embodiments of the present invention, the second correction value can also be other values. Do limited. And the unit of SOC is %.
步骤1045、将第i-1采集时刻的SOC修正值作为第i采集时刻的SOC修正值,将第i采集时刻累计加1,返回执行统计第i个采集时刻之前平滑SOC估算序列中数值上升的次数和数值下降的次数。Step 1045, use the SOC correction value at the i-1th collection moment as the SOC correction value at the i-th collection moment, add 1 to the cumulative value of the i-th collection moment, and return to perform statistics on the value rising in the smooth SOC estimation sequence before the i-th collection moment The number of times and the number of times the value drops.
当第i采集时刻在平滑SOC估算序列中对应的数值上升的次数和数值下降的次数不满足预设的SOC修正条件,则第i采集时刻的SOC估算值修正为等于修正SOC估算序列中第i-1采集时刻的SOC修正值,作为修正SOC估算序列中第i采集时刻对应的SOC修正值,即在修正SOC估算序列中第i采集时刻的SOC修正值和第i-1采集时刻的SOC修正值相等。将第i采集时刻累计加1,进入下一个采集时刻,返回执行步骤1042,继续统计当下采集时刻之前平滑SOC估算序列中数值上升的次数和数值下降的次数。When the times of numerical rise and numerical decline corresponding to the i-th acquisition time in the smooth SOC estimation sequence do not meet the preset SOC correction conditions, the SOC estimated value at the i-th acquisition time is corrected to be equal to the i-th value in the corrected SOC estimation sequence The SOC correction value of -1 collection time is used as the SOC correction value corresponding to the i-th collection time in the corrected SOC estimation sequence, that is, the SOC correction value at the i-th collection time and the SOC correction at the i-1th collection time in the corrected SOC estimation sequence The values are equal. Add 1 cumulatively to the i-th collection time, enter the next collection time, return to step 1042, and continue to count the number of numerical rises and numerical declines in the smoothed SOC estimation sequence before the current collection time.
需要说明的是,上述实施例中对第i采集时刻的修正方法为对本发明实施例的示例性说明,在本发明其他实施例中,还可以为其他的修正方法,本发明在此不做限定。It should be noted that the correction method for the i-th acquisition time in the above embodiment is an exemplary description of the embodiment of the present invention. In other embodiments of the present invention, other correction methods may also be used, and the present invention is not limited here .
步骤105、基于动力电池中各单体电池的修正SOC估算序列确定动力电池的SOC估算值和各单体电池的一致性评估结果。Step 105, based on the corrected SOC estimation sequence of each single battery in the power battery, determine the SOC estimation value of the power battery and the consistency evaluation result of each single battery.
动力电池的SOC估算值是根据动力电池中多个单体电池经过修正后的修正SOC估算序列经过处理后得到代表整一个动力电池的SOC估算值。一致性指的是数据保持一致的情况,在分布式系统中,可以理解为多个单体电池中在数据的值是一致的。The estimated SOC value of the power battery is the estimated SOC value representing the entire power battery after processing the corrected SOC estimation sequence of multiple single batteries in the power battery. Consistency refers to the situation where the data remains consistent. In a distributed system, it can be understood that the data values in multiple single batteries are consistent.
在本发明的一些实施例中了,步骤105包括:In some embodiments of the present invention, step 105 includes:
步骤1051、将若干个单体电池的修正SOC估算序列组合构成SOC估算矩阵Yt×n。Step 1051 , combining the corrected SOC estimation sequences of several single batteries to form an SOC estimation matrix Y t×n .
将动力电池中所有单体电池的修正SOC估算序列组合起来构成SOC估算矩阵Yt×n,其中,t是一个单体电池在预设周期T内的SOC修正值的数量,n是一个动力电池中含有单体电池的数量。SOC估算矩阵Yt×n中的一行数据代表了在某一采集时刻下动力电池中所有单体电池在此刻的SOC修正值,而SOC估算矩阵Yt×n中的一列数据代表了在某一单体电池在预设周期内的各个采集时刻的SOC修正值。Combine the corrected SOC estimation sequences of all single batteries in the power battery to form an SOC estimation matrix Y t×n , where t is the number of SOC correction values of a single battery within a preset period T, and n is a power battery Contains the number of single cells. A row of data in the SOC estimation matrix Y t×n represents the SOC correction value of all single batteries in the power battery at a certain collection time, while a column of data in the SOC estimation matrix Y t×n represents The SOC correction value of the single battery at each collection time within the preset period.
示例性的,在周期1天内共有480个采集时刻,一个动力电池中有50个单体电池,则构成的SOC估算矩阵Y480×50,SOC估算矩阵Y480×50中,一行有50个数据,共有480行。SOC估算矩阵Yt×n中的第1行数据代表了在第1个采集时刻下动力电池中50个单体电池分别在此刻的SOC修正值,而SOC估算矩阵Yt×n中的第1列数据代表了在第1个单体电池在1天内的480个采集时刻对应的SOC修正值。Exemplarily, there are 480 acquisition moments in a period of 1 day, and there are 50 single batteries in a power battery, then the SOC estimation matrix Y 480×50 is formed, and in the SOC estimation matrix Y 480×50 , there are 50 data in one row , with a total of 480 lines. The first line of data in the SOC estimation matrix Y t×n represents the SOC correction values of the 50 single batteries in the power battery at the first acquisition moment, while the first row in the SOC estimation matrix Y t×n The column data represents the SOC correction value corresponding to the 480 acquisition moments of the first single battery within 1 day.
需要说明的是,上述实施例中对t和n的值为对本发明实施例的示例性说明,在本发明其他实施例中,还可以为其他的值,本发明在此不做限定。It should be noted that the values of t and n in the above embodiments are exemplary descriptions of the embodiments of the present invention, and may also be other values in other embodiments of the present invention, which are not limited in the present invention.
步骤1052、按行统计SOC估算矩阵Yt×n中的第i时刻对应的SOC修正值的最小值。Step 1052 : Statistically calculate the minimum value of the SOC correction value corresponding to the i-th time in the SOC estimation matrix Y t×n by row.
在SOC估算矩阵Yt×n中逐行统计当前行中的最小值,记录最小值对应的列号;也就是统计在预设周期中每一个时刻动力电池中若干个单体电池SOC修正值的最小值,并记录该最小值对应单体电池的序号。Count the minimum value in the current row line by line in the SOC estimation matrix Y t×n , and record the column number corresponding to the minimum value; that is, count the SOC correction values of several single batteries in the power battery at each moment in the preset cycle minimum value, and record the minimum value corresponding to the serial number of the single battery.
步骤1053、确定最小值出现频次最高的列作为目标列。Step 1053, determine the column with the highest occurrence frequency of the minimum value as the target column.
寻找在预设周期内所有采集时刻中出现最小值次数最多的对应的列号,将该列号对应的列作为目标列;也就是寻找在预设周期内所有采集时刻中出现SOC修正值最小值频率最高的单体电池,将该单体电池的修正SOC估算序列作为目标列。Find the corresponding column number with the most minimum value at all acquisition moments in the preset period, and use the column corresponding to the column number as the target column; that is, find the minimum value of the SOC correction value that occurs at all acquisition moments in the preset period For the single battery with the highest frequency, the corrected SOC estimation sequence of the single battery is used as the target column.
步骤1054、将目标列对应单体单池的SOC修正估算序列作为动力电池在预设周期内的SOC序列。Step 1054: Use the SOC correction estimation sequence corresponding to the single cell in the target column as the SOC sequence of the power battery within a preset period.
将出现最小值最高的单体电池对应的SOC修正估算序列作为整个动力电池在预设周期内的SOC序列,以表示该动力电池在该周期经过修正后的SOC估算情况,从而能够展示该动力电池的使用情况。The SOC correction estimation sequence corresponding to the single battery with the highest minimum value is used as the SOC sequence of the entire power battery in the preset cycle to represent the SOC estimation of the power battery after correction in this cycle, so that the power battery can be displayed usage.
在本发明的一些实施例中了,步骤105包括:In some embodiments of the present invention, step 105 includes:
步骤1055、按行统计SOC估算矩阵Yt×n中t个SOC修正值的极差。按行统计SOC估算矩阵Yt×n中每一个采集时刻中动力电池中所有单体电池SOC修正值的极差,也就是将矩阵Yt×n中每一个采集时刻中最大的SOC修正值和最小的SOC修正值相减,从而得到该采集时刻的极差,SOC估算矩阵Yt×n中共有t个SOC修正值的极差。Step 1055 : Statistically calculate the range of t SOC correction values in the SOC estimation matrix Y t×n by row. Row-by-row statistical SOC estimation matrix Y t×n The range of the SOC correction value of all single batteries in the power battery at each collection time in the matrix Y t×n , that is, the maximum SOC correction value and the maximum SOC correction value in each collection time in the matrix Y t×n The smallest SOC correction values are subtracted to obtain the extreme difference at the acquisition time, and there are t extreme differences of SOC correction values in the SOC estimation matrix Y t×n .
示例性的,SOC估算矩阵Y480×50中按行统计每一个采集时刻的SOC修正值极差,共得到480个SOC修正值的极差。Exemplarily, in the SOC estimation matrix Y 480×50, the range of the SOC correction value at each collection time is counted row by row, and a total of 480 ranges of the SOC correction value are obtained.
需要说明的是,上述实施例中对t和n的值为对本发明实施例的示例性说明,在本发明其他实施例中,还可以为其他的值,本发明在此不做限定。It should be noted that the values of t and n in the above embodiments are exemplary descriptions of the embodiments of the present invention, and may also be other values in other embodiments of the present invention, which are not limited in the present invention.
步骤1056、计算t个极差的平均值。Step 1056, calculate the average value of t ranges.
计算t个极差的平均值,得到的结果代表了该动力电池中的单体电池的一致性情况,当数值越高代表动力电池的一致性越差,数值越低代表动力电池的一致性越好。Calculate the average value of t ranges, and the result obtained represents the consistency of the single battery in the power battery. The higher the value, the worse the consistency of the power battery, and the lower the value, the better the consistency of the power battery. good.
需要说明的是,上述实施例中计算t个极差的平均为对本发明实施例的示例性说明,在本发明其他实施例中,还可以为使用其他的方法求得动力电池一致性的方法,本发明在此不做限定。It should be noted that the calculation of the average of the t ranges in the above embodiment is an exemplary description of the embodiment of the present invention. In other embodiments of the present invention, other methods can also be used to obtain the consistency of the power battery. The present invention is not limited here.
步骤1057、判断平均值是否大于预设的一致性阈值;若是,则执行步骤1058;若否,则执行步骤1059。Step 1057, judge whether the average value is greater than the preset consistency threshold; if yes, execute step 1058; if not, execute step 1059.
判断平均值是否大于预设的一次性阈值,如果平均值大于预设的一致性阈值,代表动力电池在预设周期的一致性不符合预设的要求,则执行步骤1058,确定一致性评估结果为存在一致性问题,动力电池可能存在故障隐患;如果平均值小于等于预设的一致性阈值,代表动力电池在预设周期的一致性符合预设的要求,则执行步骤1059,确定一致性评估结果为不存在一致性问题,动力电池能够继续正常使用。Judging whether the average value is greater than the preset one-time threshold, if the average value is greater than the preset consistency threshold, it means that the consistency of the power battery in the preset cycle does not meet the preset requirements, then execute step 1058 to determine the consistency evaluation result If there is a consistency problem, the power battery may have a potential failure; if the average value is less than or equal to the preset consistency threshold, it means that the consistency of the power battery in the preset cycle meets the preset requirements, then execute step 1059 to determine the consistency evaluation The result is that there is no consistency problem, and the power battery can continue to be used normally.
示例性的,预设的一致性阈值为5%,计算得到的平均值为10%,该值大于5%,则执行步骤1058,确定该动力电池具有一致性问题,动力电池的一致性变差,动力电池可能存在故障隐患。Exemplarily, the preset consistency threshold is 5%, and the calculated average value is 10%. If the value is greater than 5%, step 1058 is executed to determine that the power battery has a consistency problem, and the consistency of the power battery becomes worse. , the power battery may have a potential failure.
步骤1058、确定一致性评估结果为存在一致性问题。Step 1058, determine that the result of the consistency evaluation is that there is a consistency problem.
当平均值大于预设的一致性阈值,则说明动力电池的一致性变差,一致性评估结果为动力电池存在一致性的问题,可能动力电池中的电池组可能出现SOC估算不准确等故障隐患。When the average value is greater than the preset consistency threshold, it means that the consistency of the power battery becomes worse. The consistency evaluation result shows that there is a consistency problem in the power battery. It is possible that the battery pack in the power battery may have potential failures such as inaccurate SOC estimation. .
在本发明的一些实施例中,当确定一致性评估结果为存在一致性问题时,动力电池进行一致性告警,直至动力电池的一致性低于预设的一次性阈值。In some embodiments of the present invention, when it is determined that there is a consistency problem in the consistency evaluation result, the power battery will issue a consistency alarm until the consistency of the power battery is lower than the preset one-time threshold.
本发明的一致性评估能够大大的提前对动力电池一致性故障的预警,能够为用户有效规避故障及安全隐患,能够使客户能够及时进行维修或更换,保障了安全性、及时性。The consistency evaluation of the present invention can greatly pre-warn the consistency failure of the power battery, effectively avoid failures and potential safety hazards for users, enable customers to repair or replace in time, and ensure safety and timeliness.
步骤1059、确定一致性评估结果为不存在一致性问题。Step 1059, determine that the result of the consistency evaluation is that there is no consistency problem.
当一致性评估结果为不存在一致性问题,则说明动力电池的一致性良好,动力电池能够继续正常使用。When the consistency evaluation result shows that there is no consistency problem, it means that the consistency of the power battery is good, and the power battery can continue to be used normally.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
本发明实施例通过获取动力电池中各单体电池在若干个采集时刻采集的SOC估算数据;针对每一单体电池,将单体电池在每一采集时刻下的SOC估算数据送入预训练好的SOC估算模型,得到每一单体电池在若干个采集时刻的SOC估算值组成的SOC估算序列;获取单体电池的在每一采集时刻对应的充电状态,以得到单体电池的充电状态序列;根据单体电池的SOC估算序列和充电状态序列对单体电池的SOC估算序列进行修正,得到单体电池的修正SOC估算序列;基于动力电池中各单体电池的修正SOC估算序列确定动力电池的SOC估算值和各单体电池的一致性评估结果。本发明实施例能够在电池全生命周期进行准确的SOC估算和一致性评估,通过考虑电池老化以及SOC在不同充电状态等实际情况下的变化规律使得能在测量误差较大的点上能够进行更加精确的估算,并且根据单体的SOC估算结果对动力电池的一致性进行评估,当一致性高于预警阈值时进行报警,从而能够提前预警动力电池存在故障隐患。The embodiment of the present invention obtains the SOC estimation data collected by each single battery in the power battery at several collection moments; for each single battery, the SOC estimation data of the single battery at each collection moment is sent to the pre-trained The SOC estimation model of the single battery is obtained to obtain the SOC estimation sequence composed of the SOC estimated value of each single battery at several collection moments; the corresponding charge state of the single battery at each collection moment is obtained to obtain the charge state sequence of the single battery ; Correct the SOC estimation sequence of the single battery according to the SOC estimation sequence and the charging state sequence of the single battery to obtain the corrected SOC estimation sequence of the single battery; determine the power battery based on the corrected SOC estimation sequence of each single battery in the power battery The SOC estimation value of the battery and the consistency evaluation results of each single battery. The embodiment of the present invention can carry out accurate SOC estimation and consistency evaluation in the whole life cycle of the battery, and by considering the battery aging and the change law of SOC in different charging states and other actual conditions, it can be more accurate at the point where the measurement error is large. Accurate estimation, and evaluate the consistency of the power battery according to the SOC estimation result of the monomer, and give an alarm when the consistency is higher than the warning threshold, so as to give early warning of potential failure of the power battery.
实施例二Embodiment two
图3为本发明实施例二提供的一种SOC估算及一致性评估装置的结构框图,具体可以包括如下模块:FIG. 3 is a structural block diagram of an SOC estimation and consistency evaluation device provided in Embodiment 2 of the present invention, which may specifically include the following modules:
参数获取模块201,用于获取动力电池中各单体电池在若干个采集时刻采集的SOC估算数据;A parameter acquisition module 201, configured to acquire SOC estimation data collected by each single battery in the power battery at several collection moments;
估算序列生成模块202,用于针对每一所述单体电池,将所述单体电池在每一采集时刻下的所述SOC估算数据送入预训练好的SOC估算模型,得到每一所述单体电池在若干个采集时刻的SOC估算值组成的SOC估算序列;The estimation sequence generation module 202 is used for sending the SOC estimation data of the single battery at each collection time into the pre-trained SOC estimation model for each single battery, and obtains the SOC estimation data of each single battery. The SOC estimation sequence composed of the SOC estimation values of the single battery at several collection moments;
充电状态获取模块203,用于获取所述单体电池的在每一所述采集时刻对应的充电状态,以得到所述单体电池的充电状态序列;A charging state acquiring module 203, configured to acquire the corresponding charging state of the single battery at each collection time, so as to obtain the charging state sequence of the single battery;
估算序列修正模块204,用于根据所述单体电池的所述SOC估算序列和所述充电状态序列对所述单体电池的所述SOC估算序列进行修正,得到所述单体电池的修正SOC估算序列;An estimation sequence correction module 204, configured to correct the SOC estimation sequence of the single battery according to the SOC estimation sequence and the charge state sequence of the single battery, to obtain a corrected SOC of the single battery estimate sequence;
结果生成模块205,用于基于所述动力电池中各单体电池的修正SOC估算序列确定所述动力电池的SOC估算值和各所述单体电池的一致性评估结果。The result generation module 205 is configured to determine the estimated SOC value of the power battery and the consistency evaluation result of each single battery based on the corrected SOC estimation sequence of each single battery in the power battery.
在本发明的一些实施例中,估算序列修正模块204包括:In some embodiments of the present invention, the estimated sequence modification module 204 includes:
滑动平均处理子模块,用于对所述SOC估算序列进行滑动平均处理,得到平滑SOC估算序列;The moving average processing submodule is used to perform sliding average processing on the SOC estimation sequence to obtain a smooth SOC estimation sequence;
上升下降次数统计子模块,用于统计在第i个采集时刻与上一次对SOC进行修正的时刻之间,所述平滑SOC估算序列中数值上升的次数和数值下降的次数,所述数值上升是指任意相邻的一对数值中后一数值大于前一数值,所述数值下降是指任意相邻的一对数值中后一数值小于前一数值;The counting submodule of the number of times of rise and fall is used to count the number of times of numerical rise and the number of numerical declines in the smooth SOC estimation sequence between the i-th collection moment and the last time the SOC is revised, and the numerical rise is It means that the latter value in any adjacent pair of values is greater than the previous value, and the said value drop means that the latter value in any adjacent pair of values is smaller than the previous value;
修正条件判断子模块,用于判断第i个采集时刻与上一次对SOC进行修正的时刻之间,所述平滑SOC估算序列中数值上升的次数和数值下降的次数是否满足预设的SOC修正条件;The correction condition judgment sub-module is used to judge whether the number of times of numerical rise and the number of numerical declines in the smoothed SOC estimation sequence meet the preset SOC correction conditions between the i-th acquisition time and the last time when the SOC is corrected ;
修正子模块,用于对所述平滑SOC估算序列中第i采集时刻对应SOC进行修正,得到SOC修正值,并将所述第i个采集时刻与上一次对SOC进行修正的时刻之间所述平滑SOC估算序列中数值上升的次数和数值下降的次数置0,将第i采集时刻累计加1,返回执行统计第i个采集时刻与上一次对SOC进行修正的时刻之间所述平滑SOC估算序列中数值上升的次数和数值下降的次数;The correction sub-module is used to correct the SOC corresponding to the i-th acquisition time in the smoothed SOC estimation sequence to obtain a SOC correction value, and to calculate the time between the i-th acquisition time and the last time when the SOC is corrected. In the smooth SOC estimation sequence, set the number of times of numerical rise and the number of numerical declines to 0, add 1 to the accumulative value of the i-th acquisition time, and return the execution statistics of the smooth SOC estimation between the i-th acquisition time and the last time the SOC was corrected the number of times a value rises and the number of times a value falls in a sequence;
保持子模块,用于第i-1采集时刻的SOC修正值作为第i采集时刻的SOC修正值,将第i采集时刻累计加1,返回执行统计第i个采集时刻之前所述平滑SOC估算序列中数值上升的次数和数值下降的次数。The maintenance sub-module is used to use the SOC correction value at the i-1th collection moment as the SOC correction value at the i-th collection moment, add 1 to the i-th collection moment, and return to the smooth SOC estimation sequence before performing statistics on the i-th collection moment The number of times the value in the middle increases and the number of times the value decreases.
在本发明的一些实施例中,上升下降次数统计子模块中,包括:In some embodiments of the present invention, the statistics submodule of the number of rises and falls includes:
上升下降判断单元,用于判断所述SOC估算序列中的第i时刻对应的所述SOC估算值是否大于第i-1时刻对应的所述SOC估算值;A rise and fall judging unit, configured to judge whether the estimated SOC value corresponding to the i-th moment in the SOC estimation sequence is greater than the SOC estimated value corresponding to the i-1th moment;
下降次数变化单元,用于所述数值上升的次数累计加1;The number of times of decline unit is used to add 1 to the number of times that the value rises;
上升次数变化单元,用于所述数值下降的次数累计加1。The rising times changing unit is used for accumulatively adding 1 to the number of falling times of the value.
在本发明的一些实施例中,预设的SOC修正条件为:In some embodiments of the present invention, the preset SOC correction condition is:
数值上升的次数大于第一预设次数,或数值下降的次数大于第二预设次数。The number of times that the numerical value increases is greater than the first preset number of times, or the number of times that the numerical value decreases is greater than the second preset number of times.
在本发明的一些实施例中,修正子模块中,包括:In some embodiments of the present invention, the correction submodule includes:
充电状态确定单元,用于确定所述单体电池的充电状态序列中第i采集时刻以及前m个采集时刻的对应的所述充电状态是否均为停车充电状态;A state of charge determination unit, configured to determine whether the state of charge corresponding to the i-th acquisition time and the first m acquisition moments in the state of charge sequence of the single battery is a parking state of charge;
第一修正单元,用于将所述修正SOC估算序列中该第i-1采集时刻对应的所述SOC修正值加上第一修正值,得到第i采集时刻的SOC修正值。The first correction unit is configured to add a first correction value to the SOC correction value corresponding to the i-1th collection time in the correction SOC estimation sequence to obtain the SOC correction value at the i-th collection time.
在本发明的一些实施例中,修正子模块中,包括:In some embodiments of the present invention, the correction submodule includes:
充电状态确定单元,用于确定所述单体充电状态序列中第i时刻以及前m个采集时刻对应的所述充电状态是否均为停车充电状态;A charging state determining unit, configured to determine whether the charging states corresponding to the i-th moment in the battery charging state sequence and the first m collection moments are all parking charging states;
第二修正单元,用于将所述修正SOC估算序列中该第i-1采集时刻对应的所述SOC修正值加上第二修正值,得到第i采集时刻的SOC修正值。The second correction unit is configured to add a second correction value to the SOC correction value corresponding to the i-1th collection time in the correction SOC estimation sequence to obtain the SOC correction value at the i-th collection time.
在本发明的一些实施例中,结果生成模块205,包括:In some embodiments of the present invention, the result generation module 205 includes:
估算矩阵生产子模块,用于将若干个所述单体电池的所述修正SOC估算序列组合构成SOC估算矩阵Yt×n,其中,t是一个单体电池在预设周期T内的所述SOC修正值的数量,n是一个所述动力电池中含有所述单体电池的数量;The estimation matrix production sub-module is used to combine the corrected SOC estimation sequences of several single batteries to form an SOC estimation matrix Y t×n , where t is the SOC of a single battery within a preset period T The number of SOC correction values, n is the number of single cells contained in one of the power batteries;
最小值统计子模块,用于按行统计所述SOC估算矩阵Yt×n中的第i时刻对应的所述SOC修正值的最小值;The minimum value statistics sub-module is used to count the minimum value of the SOC correction value corresponding to the i-th moment in the SOC estimation matrix Y t×n by row;
目标列确定子模块,用于确定所述最小值出现频次最高的列作为目标列;A target column determination submodule, configured to determine the column with the highest occurrence frequency of the minimum value as the target column;
动力电池SOC估算子模块,用于将所述目标列对应所述单体单池的SOC修正估算序列作为所述动力电池在所述预设周期内的SOC序列。The power battery SOC estimation sub-module is used to use the target column corresponding to the SOC correction estimation sequence of the single cell as the SOC sequence of the power battery within the preset period.
在本发明的一些实施例中,结果生成模块205,包括:In some embodiments of the present invention, the result generation module 205 includes:
极差统计子模块,用于按行统计所述SOC估算矩阵Yt×n中t个所述SOC修正值的极差;The extreme difference statistics submodule is used to count the extreme differences of the t SOC correction values in the SOC estimation matrix Y t×n by row;
平均值计算子模块,用于计算t个所述极差的平均值;The average value calculation sub-module is used to calculate the average value of the t ranges;
阈值比较子模块,用于判断所述平均值是否大于预设的一致性阈值;Threshold comparison sub-module for judging whether the average value is greater than a preset consistency threshold;
第一结果生成子模块,用于确定所述一致性评估结果为存在一致性问题;The first result generating submodule is used to determine that the consistency evaluation result indicates that there is a consistency problem;
第二结果生成子模块,用于确定所述一致性评估结果为不存在一致性问题。The second result generation sub-module is configured to determine that there is no consistency problem in the consistency evaluation result.
本发明实施例所提供的SOC估算及一致性评估装置可执行本发明任意实施例所提供的SOC估算及一致性评估方法,具备执行方法相应的功能模块和有益效果。The SOC estimation and consistency evaluation device provided by the embodiment of the present invention can execute the SOC estimation and consistency evaluation method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
实施例三Embodiment three
图4为本发明实施例三提供的一种计算机设备的结构示意图。图4示出了适于用来实现本发明实施方式的示例性计算机设备12的框图。图4显示的计算机设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 4 is a schematic structural diagram of a computer device provided by Embodiment 3 of the present invention. Figure 4 shows a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only an example, and should not limit the functions and scope of use of this embodiment of the present invention.
如图4所示,计算机设备12以通用计算设备的形式表现。计算机设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 4, computer device 12 takes the form of a general-purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16 , system memory 28 , bus 18 connecting various system components including system memory 28 and processing unit 16 .
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures. These architectures include, by way of example, but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12 and include both volatile and nonvolatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图4未显示,通常称为“硬盘驱动器”)。尽管图4中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32 . Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in Figure 4, a disk drive for reading and writing to removable non-volatile disks (e.g. "floppy disks") may be provided, as well as for removable non-volatile optical disks (e.g. CD-ROM, DVD-ROM or other optical media) CD-ROM drive. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data , each or some combination of these examples may include implementations of network environments. Program modules 42 generally perform the functions and/or methodologies of the described embodiments of the invention.
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,尽管图中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computer device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the computer device 12, and/or with Any device (eg, network card, modem, etc.) that enables the computing device 12 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 22 . Also, the computer device 12 can also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN) and/or a public network, such as the Internet) through the network adapter 20 . As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18 . It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的SOC估算及一致性评估方法。The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , such as implementing the SOC estimation and consistency evaluation methods provided by the embodiments of the present invention.
实施例四Embodiment four
本发明实施例四还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述SOC估算及一致性评估方法的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiment 4 of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned SOC estimation and consistency assessment method is implemented, and can achieve The same technical effects are not repeated here to avoid repetition.
其中,计算机可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Wherein, the computer-readable storage medium may include, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, rearrangements and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111613075.3A CN114280485B (en) | 2021-12-27 | 2021-12-27 | SOC estimation and consistency evaluation method, device, computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111613075.3A CN114280485B (en) | 2021-12-27 | 2021-12-27 | SOC estimation and consistency evaluation method, device, computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114280485A CN114280485A (en) | 2022-04-05 |
CN114280485B true CN114280485B (en) | 2023-07-28 |
Family
ID=80876316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111613075.3A Active CN114280485B (en) | 2021-12-27 | 2021-12-27 | SOC estimation and consistency evaluation method, device, computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114280485B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114910792B (en) * | 2022-04-08 | 2024-10-01 | 中国第一汽车股份有限公司 | Power battery charging depth evaluation device, terminal and storage medium |
CN115469239B (en) * | 2022-06-29 | 2023-09-08 | 四川新能源汽车创新中心有限公司 | Method and device for evaluating charge state consistency of battery system and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015188610A1 (en) * | 2014-06-11 | 2015-12-17 | 北京交通大学 | Method and device for estimating state of charge of battery |
CN107167738A (en) * | 2017-04-21 | 2017-09-15 | 华南理工大学 | A kind of modification method and device of the electrokinetic cell SOC estimations based on OCV SOC curvilinear characteristics |
CN107589675A (en) * | 2017-09-26 | 2018-01-16 | 广船国际有限公司 | A kind of ship self-propulsion point method for numerical simulation, device and computer equipment |
CN109828215A (en) * | 2019-02-26 | 2019-05-31 | 清华大学 | A kind of method and system promoting battery cell SOC estimation precision |
CN110895310A (en) * | 2019-12-27 | 2020-03-20 | 四川长虹电器股份有限公司 | SOC (state of charge) estimation system of lithium iron phosphate battery |
CN111289905A (en) * | 2020-03-31 | 2020-06-16 | 太格尔技术(天津)有限公司 | Method and device for measuring SOC of storage battery on line |
CN113109717A (en) * | 2021-03-27 | 2021-07-13 | 浙江大学 | Lithium battery state of charge estimation method based on characteristic curve optimization |
WO2021197038A1 (en) * | 2020-03-31 | 2021-10-07 | 比亚迪股份有限公司 | Method and device for determining state of charge of battery, and battery management system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2003903839A0 (en) * | 2003-07-24 | 2003-08-07 | Cochlear Limited | Battery characterisation |
US9869724B2 (en) * | 2013-07-24 | 2018-01-16 | Rohm Co., Ltd. | Power management system |
WO2016134496A1 (en) * | 2015-02-28 | 2016-09-01 | 北京交通大学 | Method and apparatus for estimating state of charge of lithium ion battery |
CN105929340B (en) * | 2016-06-30 | 2019-08-20 | 四川普力科技有限公司 | A method of battery SOC is estimated based on ARIMA |
CN108445405A (en) * | 2018-03-07 | 2018-08-24 | 湖南小步科技有限公司 | SOC modification methods, device and battery management system in a kind of charge and discharge process |
CN109307844B (en) * | 2018-08-17 | 2021-06-04 | 福建云众动力科技有限公司 | Lithium battery SOC estimation method and device |
CN110673052A (en) * | 2019-10-18 | 2020-01-10 | 湖南小步科技有限公司 | SOC estimation method and device of power battery and battery management system |
CN111142025A (en) * | 2019-12-26 | 2020-05-12 | 珠海格力电器股份有限公司 | Battery SOC estimation method and device, storage medium and electric vehicle |
-
2021
- 2021-12-27 CN CN202111613075.3A patent/CN114280485B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015188610A1 (en) * | 2014-06-11 | 2015-12-17 | 北京交通大学 | Method and device for estimating state of charge of battery |
CN107167738A (en) * | 2017-04-21 | 2017-09-15 | 华南理工大学 | A kind of modification method and device of the electrokinetic cell SOC estimations based on OCV SOC curvilinear characteristics |
CN107589675A (en) * | 2017-09-26 | 2018-01-16 | 广船国际有限公司 | A kind of ship self-propulsion point method for numerical simulation, device and computer equipment |
CN109828215A (en) * | 2019-02-26 | 2019-05-31 | 清华大学 | A kind of method and system promoting battery cell SOC estimation precision |
CN110895310A (en) * | 2019-12-27 | 2020-03-20 | 四川长虹电器股份有限公司 | SOC (state of charge) estimation system of lithium iron phosphate battery |
CN111289905A (en) * | 2020-03-31 | 2020-06-16 | 太格尔技术(天津)有限公司 | Method and device for measuring SOC of storage battery on line |
WO2021197038A1 (en) * | 2020-03-31 | 2021-10-07 | 比亚迪股份有限公司 | Method and device for determining state of charge of battery, and battery management system |
CN113109717A (en) * | 2021-03-27 | 2021-07-13 | 浙江大学 | Lithium battery state of charge estimation method based on characteristic curve optimization |
Non-Patent Citations (2)
Title |
---|
动车组钛酸锂电池荷电状态估计;郝文美等;电工技术学报;全文 * |
电池管理系统荷电状态估算策略的设计;王润;朱振兴;;农业装备与车辆工程(第03期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114280485A (en) | 2022-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4361654A1 (en) | New energy vehicle, and anomaly monitoring and diagnosis method and device for battery system soc of new energy vehicle | |
CN108254696B (en) | Battery health state evaluation method and system | |
EP2851700B1 (en) | Method and terminal for displaying capacity of battery | |
CN109725266A (en) | A method and device for calculating the state of health of a battery SOH | |
EP3379278A1 (en) | Battery energy store | |
CN114280485B (en) | SOC estimation and consistency evaluation method, device, computer equipment | |
CN113189495B (en) | A method, device and electronic device for predicting battery health status | |
CN113219351A (en) | Monitoring method and device for power battery | |
WO2016208251A1 (en) | Energy storage system | |
CN108205114B (en) | Method and system for predicting service life of battery | |
CN115542186B (en) | Method, device, equipment and medium for evaluating state and consistency of energy storage battery | |
TWI810098B (en) | battery management device, battery management program | |
CN116930794A (en) | Battery capacity updating method and device, electronic equipment and storage medium | |
CN115932634A (en) | Method, device, equipment and storage medium for evaluating health state of battery | |
CN111679200A (en) | Battery state of charge calibration method and device and vehicle | |
CN114035056A (en) | Power battery performance detection method, device and equipment | |
CN116593896B (en) | State detection method, system and electronic equipment of battery energy storage system | |
US20250102583A1 (en) | Manufacturing method, manufacturing device, and non-transitory computer readable storage medium | |
CN106405423B (en) | Battery cell monitoring method and battery monitor system | |
CN115877247A (en) | SOH value estimation method for battery pack, battery management system, and storage medium | |
CN114879070A (en) | Battery state evaluation method and related equipment | |
CN117420468B (en) | Battery status evaluation method, device, equipment and storage medium | |
WO2023044874A1 (en) | Method and device for determining display state of charge, and battery management chip | |
CN113671387A (en) | Method and device for estimating electric quantity of lithium battery electric vehicle | |
EP4496069A1 (en) | Information processing device, information processing method, information processing system, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |