CN118465562A - A method, device and terminal equipment for updating battery full charge capacity - Google Patents
A method, device and terminal equipment for updating battery full charge capacity Download PDFInfo
- Publication number
- CN118465562A CN118465562A CN202410935642.4A CN202410935642A CN118465562A CN 118465562 A CN118465562 A CN 118465562A CN 202410935642 A CN202410935642 A CN 202410935642A CN 118465562 A CN118465562 A CN 118465562A
- Authority
- CN
- China
- Prior art keywords
- charge
- battery
- capacity
- voltage
- discharge
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000001186 cumulative effect Effects 0.000 claims description 46
- 238000007599 discharging Methods 0.000 claims description 39
- 230000015654 memory Effects 0.000 claims description 29
- 238000005259 measurement Methods 0.000 claims description 25
- 230000008569 process Effects 0.000 claims description 18
- 238000009825 accumulation Methods 0.000 claims 1
- 230000008859 change Effects 0.000 description 10
- 238000004364 calculation method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 3
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 3
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 3
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/367—Software therefor, e.g. for battery testing using modelling or look-up tables
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/382—Arrangements for monitoring battery or accumulator variables, e.g. SoC
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
-
- 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
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及电池电量更新技术领域,具体涉及一种电池完全充电容量的更新方法、装置及终端设备。The present invention relates to the technical field of battery power updating, and in particular to a method, device and terminal equipment for updating the full charging capacity of a battery.
背景技术Background Art
手机或笔记本等终端设备的电池在使用过程中,一般在满充或满放时对电池完全充电容量(Fully Charged Capacity,FCC)进行更新,从而为用户提供精准的电量百分比提示。但是用户实际使用中,无法保证每次都会充电至100%并放电至0%,达不到满充满放条件。因此在局部充放电状态下时,无法利用满充满放条件精准预估电池的完全充电容量,从而无法对电池的完全充电容量进行及时更新,导致电量百分比计算不准确。When using the battery of a terminal device such as a mobile phone or laptop, the fully charged capacity (FCC) of the battery is generally updated when it is fully charged or fully discharged, thereby providing the user with an accurate battery percentage prompt. However, in actual use, the user cannot guarantee that the battery will be charged to 100% and discharged to 0% every time, and the full charge and discharge conditions cannot be met. Therefore, in the partial charge and discharge state, the full charge and discharge conditions cannot be used to accurately estimate the full charge capacity of the battery, and the full charge capacity of the battery cannot be updated in time, resulting in inaccurate calculation of the battery percentage.
发明内容Summary of the invention
有鉴于此,本发明提供了一种电池完全充电容量的更新方法、装置及终端设备,以解决局部充放电状态下无法准确预测电池完全充电容量的问题。In view of this, the present invention provides a method, device and terminal equipment for updating the full charge capacity of a battery to solve the problem that the full charge capacity of the battery cannot be accurately predicted under partial charge and discharge conditions.
第一方面,本发明提供了一种电池完全充电容量的更新方法,方法包括:In a first aspect, the present invention provides a method for updating the full charge capacity of a battery, the method comprising:
在电池进行充放电之前,获取电池的第一电压;Before the battery is charged or discharged, obtaining a first voltage of the battery;
在电池充放电结束之前,计算充放电累计容量,并基于当前电压预测充放电结束后的第二电压;Before the battery is charged and discharged, the cumulative charge and discharge capacity is calculated, and the second voltage after the charge and discharge is completed is predicted based on the current voltage;
根据第一电压确定第一荷电状态,根据第二电压确定第二荷电状态;Determine a first state of charge according to the first voltage, and determine a second state of charge according to the second voltage;
根据充放电累计容量、第一荷电状态和第二荷电状态对电池的完全充电容量进行更新。The full charge capacity of the battery is updated according to the charge and discharge cumulative capacity, the first state of charge, and the second state of charge.
本发明提供了一种电池完全充电容量的更新方法,通过在电池充放电之前获取第一电压,在充放电结束后计算充放电累计容量,并预测第二电压,根据第一电压所对应第一荷电状态、第二电压所对应第二荷电状态和充放电累计容量确定电池的完全充电容量,能够在局部充放电状态下预估电池当前的完全充电容量,基于更新后的完全充电容量为用户提供更准确、更可靠的电池电量信息,提高用户体验感。The present invention provides a method for updating the full charge capacity of a battery, by obtaining a first voltage before the battery is charged or discharged, calculating the cumulative charge and discharge capacity after the charge and discharge are completed, and predicting a second voltage, the full charge capacity of the battery is determined according to a first state of charge corresponding to the first voltage, a second state of charge corresponding to the second voltage, and the cumulative charge and discharge capacity, so that the current full charge capacity of the battery can be estimated under a partial charge and discharge state, and more accurate and reliable battery power information is provided to the user based on the updated full charge capacity, thereby improving the user experience.
在一种可选的实施方式中,获取当前完全充电容量和理想完全充电容量;计算第一荷电状态和第二荷电状态之间差值的绝对值,获得容量差值;将理想完全充电容量与容量差值之间差值与理想完全充电容量的比值,乘以当前完全充电容量与预设电池配置参数,获得当前真实容量;将充放电累计容量与当前真实容量进行相加,获得电池的完全充电容量。In an optional implementation, the current full charge capacity and the ideal full charge capacity are obtained; the absolute value of the difference between the first state of charge and the second state of charge is calculated to obtain the capacity difference; the ratio of the difference between the ideal full charge capacity and the capacity difference to the ideal full charge capacity is multiplied by the current full charge capacity and the preset battery configuration parameters to obtain the current true capacity; the cumulative charge and discharge capacity is added to the current true capacity to obtain the full charge capacity of the battery.
本发明根据充放电前后的荷电状态与充放电过程中的充放电累计容量更新电池的完全充电容量,能够提高完全充电电容量的计算精确性,为用户提供更可靠的电池电量信息。The present invention updates the full charge capacity of the battery according to the charge state before and after charging and discharging and the cumulative charge and discharge capacity during the charging and discharging process, which can improve the calculation accuracy of the full charge capacity and provide users with more reliable battery power information.
在一种可选的实施方式中,在电池进行充放电之前,获取电池的第一电压,包括:判断电池是否满足电压测量条件,其中电压测量条件为充放电结束后静置时间是否大于预设时间阈值;若满足,则获取电池的第一电压。In an optional embodiment, before the battery is charged and discharged, a first voltage of the battery is obtained, including: determining whether the battery meets a voltage measurement condition, wherein the voltage measurement condition is whether the standing time after the charge and discharge is completed is greater than a preset time threshold; if so, obtaining the first voltage of the battery.
本发明通过在满足电压测量条件前提下对电池电压进行测量,能够提高所测得电压的稳定程度和准确性,从而保证最后更新电池完全充电容量的可靠性。The present invention can improve the stability and accuracy of the measured voltage by measuring the battery voltage under the premise of satisfying the voltage measurement conditions, thereby ensuring the reliability of the final update of the battery's full charging capacity.
在一种可选的实施方式中,在电池充放电结束之前,计算充放电累计容量,包括:在电池充放电结束之前,获取当前电池的充放电电流和充放电时间;根据充放电时间对充放电电流进行积分累加,获得充放电累计容量。In an optional embodiment, before the battery charge and discharge are completed, the cumulative charge and discharge capacity is calculated, including: before the battery charge and discharge are completed, obtaining the current charge and discharge current and charge and discharge time of the battery; integrating and accumulating the charge and discharge current according to the charge and discharge time to obtain the cumulative charge and discharge capacity.
本发明通过计算充放电过程中的累计容量,能够真实反映出电池在充放电过程中的电量变化,从而根据电量真实变化情况更新完全充电量,避免在电池经过损耗后仍采用标准参数进行计算所导致的误差。The present invention can truly reflect the change of the battery power during the charging and discharging process by calculating the cumulative capacity during the charging and discharging process, thereby updating the fully charged capacity according to the actual change of the power, avoiding the error caused by still using standard parameters for calculation after the battery has been worn out.
在一种可选的实施方式中,基于当前电压预测充放电结束后的第二电压,包括:判断充放电累计容量是否大于预设容量阈值;若大于,则判断电池是否满足电压测量条件;若满足,则获取电池的当前电压和当前阻抗;基于当前电压,加上充放电电流与当前阻抗的乘积,获得充放电结束后的第二电压。In an optional embodiment, predicting a second voltage after the end of charging and discharging based on the current voltage includes: determining whether the cumulative charge and discharge capacity is greater than a preset capacity threshold; if greater, determining whether the battery meets the voltage measurement condition; if so, obtaining the current voltage and current impedance of the battery; based on the current voltage, adding the product of the charge and discharge current and the current impedance, obtaining the second voltage after the end of charging and discharging.
本发明通过根据电池阻抗和充放电电流计算电池充放电结束后的电压,能够真实反应出电池的电压情况,从而保证电池完全充电容量更新的准确性。The present invention can truly reflect the voltage condition of the battery by calculating the voltage of the battery after the charging and discharging is completed according to the battery impedance and the charging and discharging current, thereby ensuring the accuracy of updating the full charging capacity of the battery.
在一种可选的实施方式中,其特征在于,根据第一电压确定第一荷电状态,根据第二电压确定第二荷电状态,包括:基于荷电状态和电压的对应关系,确定第一电压所对应的第一荷电状态和第二电压对应的第二荷电状态;其中,荷电状态和电压的对应关系通过在预设基准工作条件下,控制电池按照预设放电电流进行放电,并在放电过程中测量电池内电芯的荷电状态和电压,根据荷电状态和电压确定对应关系。In an optional embodiment, it is characterized in that the first state of charge is determined according to the first voltage, and the second state of charge is determined according to the second voltage, including: based on the correspondence between the state of charge and the voltage, determining the first state of charge corresponding to the first voltage and the second state of charge corresponding to the second voltage; wherein the correspondence between the state of charge and the voltage is determined by controlling the battery to discharge according to a preset discharge current under preset reference working conditions, and measuring the state of charge and voltage of the battery cells in the discharge process, and determining the correspondence according to the state of charge and the voltage.
本发明根据测量得到的荷电状态和电压的对应关系,能够准确得到充放电前后不同电压下的真实荷电状态,进而能够根据真实荷电状态更新电池的完全充电容量。According to the correspondence between the measured state of charge and voltage, the present invention can accurately obtain the real state of charge at different voltages before and after charging and discharging, and further can update the full charge capacity of the battery according to the real state of charge.
第二方面,本发明提供了一种电池完全充电容量的更新装置,装置包括:In a second aspect, the present invention provides a device for updating the full charge capacity of a battery, the device comprising:
第一获取模块,用于在电池进行充放电之前,获取电池的第一电压;A first acquisition module, used for acquiring a first voltage of the battery before the battery is charged or discharged;
第二获取模块,用于在电池充放电结束之前,计算充放电累计容量,并基于当前电压预测充放电结束后的第二电压;A second acquisition module is used to calculate the cumulative charge and discharge capacity of the battery before the charge and discharge is completed, and predict the second voltage after the charge and discharge is completed based on the current voltage;
关系确定模块,用于根据第一电压确定第一荷电状态,根据第二电压确定第二荷电状态;a relationship determination module, configured to determine a first state of charge according to the first voltage, and determine a second state of charge according to the second voltage;
容量更新模块,用于根据充放电累计容量、第一荷电状态和第二荷电状态对电池的完全充电容量进行更新。The capacity update module is used to update the full charge capacity of the battery according to the cumulative charge and discharge capacity, the first state of charge and the second state of charge.
本发明提供了一种电池完全充电容量的更新装置,通过在电池充放电之前获取第一电压,在充放电结束后计算充放电累计容量,并预测第二电压,根据第一电压所对应第一荷电状态、第二电压所对应第二荷电状态和充放电累计容量确定电池的完全充电容量,能够在局部充放电状态下预估电池当前的完全充电容量,基于更新后的完全充电容量为用户提供更准确、更可靠的电池电量信息,提高用户体验感。The present invention provides a device for updating the full charge capacity of a battery. The device obtains a first voltage before the battery is charged or discharged, calculates the cumulative charge and discharge capacity after the charge and discharge are completed, and predicts a second voltage. The full charge capacity of the battery is determined according to a first state of charge corresponding to the first voltage, a second state of charge corresponding to the second voltage, and the cumulative charge and discharge capacity. The device can estimate the current full charge capacity of the battery under a partial charge and discharge state, and provide users with more accurate and reliable battery power information based on the updated full charge capacity, thereby improving user experience.
第三方面,本发明提供了一种计算机设备,包括:存储器和处理器,存储器和处理器之间互相通信连接,存储器中存储有计算机指令,处理器通过执行计算机指令,从而执行上述第一方面或其对应的任一实施方式的电池完全充电容量的更新方法。In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for updating the full charge capacity of a battery according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
第四方面,本发明提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机指令,计算机指令用于使计算机执行上述第一方面或其对应的任一实施方式的电池完全充电容量的更新方法。In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for updating the full charge capacity of a battery according to the first aspect or any corresponding embodiment thereof.
第五方面,本发明提供了一种终端设备,包括电池和上述第三方面的计算机设备。In a fifth aspect, the present invention provides a terminal device, comprising a battery and the computer device of the third aspect.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1是根据本发明实施例的电池完全充电容量的更新方法的流程示意图;FIG1 is a schematic flow chart of a method for updating a fully charged capacity of a battery according to an embodiment of the present invention;
图2是根据本发明实施例的电池完全充电容量的更新方法的对应关系示意图;FIG2 is a schematic diagram of a corresponding relationship of a method for updating a fully charged capacity of a battery according to an embodiment of the present invention;
图3是根据本发明实施例的另一电池完全充电容量的更新方法的流程示意图;3 is a schematic flow chart of another method for updating the full charge capacity of a battery according to an embodiment of the present invention;
图4是根据本发明实施例的另一电池完全充电容量的更新方法的具体流程示意图;FIG4 is a schematic diagram of a specific flow chart of another method for updating the full charge capacity of a battery according to an embodiment of the present invention;
图5是根据本发明实施例的又一电池完全充电容量的更新方法的流程示意图;5 is a schematic flow chart of another method for updating the full charge capacity of a battery according to an embodiment of the present invention;
图6是根据本发明实施例的电池完全充电容量的更新装置的结构框图;6 is a structural block diagram of a device for updating a battery's full charge capacity according to an embodiment of the present invention;
图7是本发明实施例的计算机设备的硬件结构示意图。FIG. 7 is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
本发明实施例适用于终端设备对所部属电池的完全充电容量进行更新及显示的场景。根据本发明实施例,提供了一种电池完全充电容量的更新方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The embodiment of the present invention is applicable to the scenario where the terminal device updates and displays the fully charged capacity of the deployed battery. According to the embodiment of the present invention, a method for updating the fully charged capacity of a battery is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
在本实施例中提供了一种电池完全充电容量的更新方法,可用于上述的终端设备,如手机、笔记本等,图1是根据本发明实施例的电池完全充电容量的更新方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for updating the fully charged capacity of a battery is provided, which can be used for the above-mentioned terminal devices, such as mobile phones, notebooks, etc. FIG. 1 is a flow chart of the method for updating the fully charged capacity of a battery according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S101,在电池进行充放电之前,获取电池的第一电压。Step S101, before the battery is charged or discharged, obtaining a first voltage of the battery.
具体地,在本发明实施例中,以手机电池为例,用户在使用过程中通常在电量较低(此时电量未达到0%,例如30%)时进行充电,或在充电过程中因为外因提前结束充电(此时电量未达到100%,例如90%)。一般情况下,通过在满充或满放时的截止电压估计电池的完全充电容量FCC,但是若长时间达不到满充或满放条件,则无法更新手机的FCC。因此本发明实施例为准确预估部分充放电过程中电池的FCC,在电池充放电之前电芯处于静置状态时,首先通过高精度电压采集ADC测量当前电池电芯的电压,此时电压信息能够反映电池的荷电状态。Specifically, in the embodiment of the present invention, taking the mobile phone battery as an example, the user usually charges when the battery level is low (the battery level has not reached 0%, for example, 30%) during use, or terminates charging early due to external factors during the charging process (the battery level has not reached 100%, for example, 90%). In general, the full charge capacity FCC of the battery is estimated by the cut-off voltage at full charge or full discharge, but if the full charge or full discharge conditions are not met for a long time, the FCC of the mobile phone cannot be updated. Therefore, in order to accurately estimate the FCC of the battery during part of the charging and discharging process, the embodiment of the present invention first measures the voltage of the current battery cell through a high-precision voltage acquisition ADC when the battery cell is in a static state before the battery is charged and discharged. At this time, the voltage information can reflect the battery's state of charge.
步骤S102,在电池充放电结束之前,计算充放电累计容量,并基于当前电压预测充放电结束后的第二电压。Step S102, before the battery is charged and discharged, the cumulative charge and discharge capacity is calculated, and a second voltage after the charge and discharge is completed is predicted based on the current voltage.
具体地,在本发明实施例中,当用户在手机使用过程中电池电量未达到0%时结束放电并进行充电时,或在手机进行充电过程中电池电量未达到100%时结束充电并开始放电时,通过内部电量计(IC,Integrated Circuit)的电流积分实时计算电池的充放电累计容量,例如库仑计,能够准确获得充电过程中电池的充电累计容量,或放电过程中电池的放电累计容量。本发明实施例获取的充放电累计容量代表电池内部真实的电量变化,不会因为部分充电或部分放电而影响。Specifically, in the embodiment of the present invention, when the user stops discharging and starts charging when the battery power does not reach 0% during the use of the mobile phone, or stops charging and starts discharging when the battery power does not reach 100% during the charging of the mobile phone, the cumulative charge and discharge capacity of the battery is calculated in real time through the current integration of the internal power meter (IC, Integrated Circuit) , such as a coulomb meter, can accurately obtain the cumulative charge capacity of the battery during the charging process, or the cumulative discharge capacity of the battery during the discharging process. The cumulative charge and discharge capacity obtained by the embodiment of the present invention represents the actual charge change inside the battery and will not be affected by partial charging or partial discharging.
在一些可选的实施方式中,本发明实施例测量电池当前电压,并以此为基础,根据当前充放电电流与电池的当前阻抗预估充放电结束后的电压,例如:以当前电压为充放电结束前的基础电压,以充放电电流和当前阻抗乘积为充放电结束后的电压变化情况,以基础电压和电压变化情况之和作为充放电结束后的电压,即,能够避免由于充放电对电池电压的影响,排除电芯处于平坦区时电压对满充容量预估的影响,使得预估出的电压更接近电池的真实状态。In some optional implementations, the present invention measures the current voltage of the battery. Based on this, the voltage after the charge and discharge is estimated according to the current charge and discharge current and the current impedance of the battery. , for example: with the current voltage The base voltage before the end of charge and discharge, the product of charge and discharge current and current impedance is the voltage change after the end of charge and discharge, and the sum of the base voltage and voltage change is the voltage after the end of charge and discharge. ,Right now , which can avoid the impact of charging and discharging on the battery voltage, and eliminate the impact of the voltage on the full charge capacity estimation when the battery cell is in a flat area, making the estimated voltage closer to the actual state of the battery.
步骤S103,根据第一电压确定第一荷电状态,根据第二电压确定第二荷电状态。Step S103: determining a first state of charge according to the first voltage, and determining a second state of charge according to the second voltage.
具体地,在本发明实施例中,基于标准电池电压与荷电状态之间的关系,根据充放电之前的电压确定充放电之前的荷电状态,并根据充放电结束之后的电压确定充放电结束之后的荷电状态,其中荷电状态(State of Charge,SOC)指电池的剩余电量与相同条件下额定容量的比值,在额定容量不变情况下能够直接反映电池内部电量情况,例如额定容量为5000mAh的电池,在SOC为50%时,代表电池内电量为2500mAh。而额定容量为电池未发生老化时的标准完全充电容量,电池真实的完全充电容量会随着电池使用而改变。本发明实施例根据电池电压确定荷电状态,能够提高荷电状态的精确性。Specifically, in the embodiment of the present invention, based on the relationship between the standard battery voltage and the state of charge, the voltage before charging and discharging is Determine the state of charge before charging or discharging , and according to the voltage after the charge and discharge are completed Determine the state of charge after charging and discharging , where the state of charge (SOC) refers to the ratio of the remaining power of the battery to the rated capacity under the same conditions. It can directly reflect the internal power status of the battery when the rated capacity remains unchanged. For example, for a battery with a rated capacity of 5000mAh, when the SOC is 50%, it means that the power inside the battery is 2500mAh. The rated capacity is the standard full charge capacity when the battery is not aged, and the actual full charge capacity of the battery will change as the battery is used. The embodiment of the present invention determines the state of charge based on the battery voltage, which can improve the accuracy of the state of charge.
在一些可选的实施方式中,本发明实施例的荷电状态和电压的对应关系是预先通过在预设基准工作条件下,例如在25℃、0.2C的工作条件下进行测量,控制电池按照预设放电电流进行放电,并在放电过程中测量电池内电芯的荷电状态和电压,根据荷电状态和电压确定对应关系,如下表和图2所示,但不以此为限。In some optional embodiments, the correspondence between the state of charge and the voltage of the embodiments of the present invention is pre-measured under preset reference working conditions, for example, under working conditions of 25°C and 0.2C, controlling the battery to discharge according to a preset discharge current, and measuring the state of charge and voltage of the battery cells in the battery during the discharge process, and determining the correspondence based on the state of charge and voltage, as shown in the following table and Figure 2, but not limited to this.
步骤S104,根据充放电累计容量、第一荷电状态和第二荷电状态对电池的完全充电容量进行更新。Step S104, updating the full charge capacity of the battery according to the cumulative charge and discharge capacity, the first state of charge and the second state of charge.
具体地,在本发明实施例中,根据充放电累计容量、充放电之前的荷电状态和充放电结束之后的荷电状态与完全充电容量FCC之间的逻辑关系,确定完全充电容量更新公式,并基于此更新公式计算当前电池的完全充电容量FCC。本发明通过计算的完全充电容量对电池的完全充电容量进行更新,能够为用户提供更准确、更可靠的电池信息。Specifically, in the embodiment of the present invention, according to the cumulative capacity of charge and discharge , State of charge before charging and discharging And the state of charge after charging and discharging The logical relationship between the full charge capacity FCC and the full charge capacity FCC is determined to determine the full charge capacity update formula, and the full charge capacity FCC of the current battery is calculated based on the update formula. The present invention updates the full charge capacity of the battery through the calculated full charge capacity, and can provide users with more accurate and reliable battery information.
本发明提供了一种电池完全充电容量的更新方法,通过在电池充放电之前获取第一电压,在充放电结束后计算充放电累计容量,并预测第二电压,根据第一电压所对应第一荷电状态、第二电压所对应第二荷电状态和充放电累计容量确定电池的完全充电容量,能够在局部充放电状态下预估电池当前的完全充电容量,基于更新后的完全充电容量为用户提供更准确、更可靠的电池电量信息,提高用户体验感。The present invention provides a method for updating the full charge capacity of a battery, by obtaining a first voltage before the battery is charged or discharged, calculating the cumulative charge and discharge capacity after the charge and discharge are completed, and predicting a second voltage, the full charge capacity of the battery is determined according to a first state of charge corresponding to the first voltage, a second state of charge corresponding to the second voltage, and the cumulative charge and discharge capacity, so that the current full charge capacity of the battery can be estimated under a partial charge and discharge state, and more accurate and reliable battery power information is provided to the user based on the updated full charge capacity, thereby improving the user experience.
在本实施例中提供了一种电池完全充电容量的更新方法,可用于上述的终端设备,如手机、笔记本等,图3是根据本发明实施例的电池完全充电容量的更新方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, a method for updating the fully charged capacity of a battery is provided, which can be used for the above-mentioned terminal devices, such as mobile phones, notebooks, etc. FIG. 3 is a flow chart of the method for updating the fully charged capacity of a battery according to an embodiment of the present invention. As shown in FIG. 3 , the process includes the following steps:
步骤S301,在电池进行充放电之前,获取电池的第一电压。Step S301, before the battery is charged or discharged, obtaining a first voltage of the battery.
具体地,上述步骤S301包括:Specifically, the above step S301 includes:
步骤S3011,判断电池是否满足电压测量条件,其中电压测量条件为充放电结束后静置时间是否大于预设时间阈值。Step S3011, determining whether the battery meets a voltage measurement condition, wherein the voltage measurement condition is whether the standing time after charge and discharge is completed is greater than a preset time threshold.
具体地,在本发明实施例中,如图4所示,为保证电池在充放电之前的电压测量的准确性,需保证充放电结束后静置时间大于预设时间阈值,预设时间阈值可设置为充电结束后2小时,或放电结束后5小时,仅作为举例,不以此为限。以手机为示例,本发明实施例需保证在手机充电结束后2小时内,或用户在结束使用手机后5小时内,手机一直处于静置状态,即未充电也未使用,才满足电压测量条件。因此在更新电池完全充电容量前,首先判断充电后电池静置时间是否大于2小时,或放电后电池静置时间是否大于5小时。Specifically, in an embodiment of the present invention, as shown in FIG4 , in order to ensure the accuracy of the voltage measurement of the battery before charging and discharging, it is necessary to ensure that the standing time after charging and discharging is greater than a preset time threshold, and the preset time threshold can be set to 2 hours after charging is completed, or 5 hours after discharging is completed, for example only, and is not limited thereto. Taking a mobile phone as an example, an embodiment of the present invention needs to ensure that the mobile phone is in a stationary state within 2 hours after charging is completed, or within 5 hours after the user finishes using the mobile phone, that is, the mobile phone is not charged or used, to meet the voltage measurement condition. Therefore, before updating the fully charged capacity of the battery, first determine whether the battery has been standing for more than 2 hours after charging, or whether the battery has been standing for more than 5 hours after discharging.
步骤S3012,若满足,则获取电池的第一电压。Step S3012: If the conditions are met, obtain the first voltage of the battery.
具体地,在本发明实施例中,当放电之前或充电之前已确定满足电压测量条件时,电池电压处于稳定状态,因此此时获取电池的电压更准确可靠。若不满足电压测量条件,例如充电结束后静置时间未达到2小时,或放电结束后静置时间未达到5小时,则代表电池还未处于稳定状态,若此时进行电压测量,会导致所测电压有偏差,因此不进行电压测量,直至满足电压测量条件后再进行测量。Specifically, in the embodiment of the present invention, when it is determined that the voltage measurement condition is met before discharging or charging, the battery voltage is in a stable state, so the battery voltage is obtained at this time. More accurate and reliable. If the voltage measurement conditions are not met, for example, the rest time after charging is less than 2 hours, or the rest time after discharging is less than 5 hours, it means that the battery is not yet in a stable state. If the voltage is measured at this time, the measured voltage will be biased. Therefore, the voltage measurement is not performed until the voltage measurement conditions are met.
步骤S302,在电池充放电结束之前,计算充放电累计容量,并基于当前电压预测充放电结束后的第二电压。Step S302, before the battery is charged and discharged, the cumulative charge and discharge capacity is calculated, and a second voltage after the charge and discharge is completed is predicted based on the current voltage.
具体地,上述步骤S302包括:Specifically, the above step S302 includes:
步骤S3021,在电池充放电结束之前,获取当前电池的充放电电流和充放电时间;根据充放电时间对充放电电流进行积分累加,获得充放电累计容量。Step S3021, before the battery charge and discharge are completed, the current charge and discharge current and charge and discharge time of the battery are obtained; the charge and discharge current is integrated and accumulated according to the charge and discharge time to obtain the charge and discharge cumulative capacity.
具体地,在本发明实施例中,为对充电过程或放电过程的电量变化情况进行准确测量,实时记录电池的充放电时间和充放电电流,并通过对充放电时间内的充放电电流进行积分累加,获得电池内充放电累计容量,此充放电累计容量代表电池电量的实际变化情况。Specifically, in the embodiment of the present invention, in order to accurately measure the change of the amount of electricity during the charging or discharging process, the charging and discharging time and the charging and discharging current of the battery are recorded in real time, and the charging and discharging cumulative capacity of the battery is obtained by integrating and accumulating the charging and discharging current during the charging and discharging time. , the cumulative capacity of this charge and discharge Represents the actual change in battery charge.
步骤S3022,判断充放电累计容量是否大于预设容量阈值;若大于,则判断电池是否满足电压测量条件;若满足,则获取电池的当前电压和当前阻抗;基于当前电压,加上充放电电流与当前阻抗的乘积,获得充放电结束后的第二电压。Step S3022, determine whether the cumulative charge and discharge capacity is greater than a preset capacity threshold; if greater, determine whether the battery meets the voltage measurement conditions; if satisfied, obtain the current voltage and current impedance of the battery; based on the current voltage, add the product of the charge and discharge current and the current impedance to obtain the second voltage after the charge and discharge are completed.
具体地,在本发明实施例中,如图4所示,为保证完全充电容量更新的稳定性,避免频繁更新,在短时间充电或放电后并不预估完全充电容量,即需要判断充电过程或放电过程的充放电累计容量是否大于预设容量阈值,在大于预设容量阈值才进行下一步操作。例如,本申请在充放电累计容量所占电量百分比大于30%才进行下一步操作,此时电池长时间进行充电或放电,但不以此为限。Specifically, in the embodiment of the present invention, as shown in FIG4 , in order to ensure the stability of the full charge capacity update and avoid frequent updates, the full charge capacity is not estimated after a short charge or discharge, that is, the cumulative charge and discharge capacity of the charging process or the discharging process needs to be determined. Is it greater than the preset capacity threshold? If it is greater than the preset capacity threshold, the next step will be taken. The next step is performed only when the battery power percentage is greater than 30%. At this time, the battery is charged or discharged for a long time, but it is not limited to this.
在一些可选的实施方式中,当判断出电池进行长时间放电或充电后,还需进行电压测量条件的判断,保证长时间充电或放电后电池经过预设时间的静置,即充电结束后是否达到2小时,或放电结束后是否达到5小时。若电池的静置时间满足要求,则获取电池当前电压和当前阻抗,在当前电压基础上加上充放电电流和当前阻抗的乘积,以乘积结果作为充放电结束后稳定状态下的电压,公式如下所示:In some optional implementations, when it is determined that the battery has been discharged or charged for a long time, it is also necessary to determine the voltage measurement conditions to ensure that the battery has been standing for a preset time after long-term charging or discharging, that is, whether it has reached 2 hours after the charging is completed, or whether it has reached 5 hours after the discharge is completed. If the battery's standing time meets the requirements, the current battery voltage is obtained. and current impedance , at the current voltage Add the charge and discharge current to the base and current impedance The product of the product is used as the voltage in the stable state after the charge and discharge are completed. , the formula is as follows:
在一些可选的实施方式中,若不满足电压测量条件,例如充电结束后静置时间未达到2小时,或放电结束后静置时间未达到5小时,则不进行电压测量,直至满足电压测量条件后再进行测量。但是在未满足电压测量条件时,用户再次进行放电或充电,则此次充放电不对电池完全充电容量进行更新。In some optional implementations, if the voltage measurement condition is not met, for example, the standing time after charging is less than 2 hours, or the standing time after discharging is less than 5 hours, the voltage measurement is not performed until the voltage measurement condition is met. However, if the voltage measurement condition is not met, the user discharges or charges again, and the full charge capacity of the battery is not updated during this charge or discharge.
步骤S303,根据第一电压确定第一荷电状态,根据第二电压确定第二荷电状态。详细请参见图1所示实施例的步骤S103,在此不再赘述。Step S303, determining a first state of charge according to the first voltage, and determining a second state of charge according to the second voltage. For details, please refer to step S103 of the embodiment shown in FIG1 , which will not be described in detail here.
步骤S304,根据充放电累计容量、第一荷电状态和第二荷电状态对电池的完全充电容量进行更新。详细请参见图1所示实施例的步骤S104,在此不再赘述。Step S304: updating the full charge capacity of the battery according to the cumulative charge and discharge capacity, the first state of charge and the second state of charge. For details, please refer to step S104 of the embodiment shown in FIG1 , which will not be described in detail here.
本发明提供了一种电池完全充电容量的更新方法,通过在电池充放电之前获取第一电压,在充放电结束后计算充放电累计容量,并预测第二电压,根据第一电压所对应第一荷电状态、第二电压所对应第二荷电状态和充放电累计容量确定电池的完全充电容量,能够在局部充放电状态下预估电池当前的完全充电容量,基于更新后的完全充电容量为用户提供更准确、更可靠的电池电量信息,提高用户体验感。The present invention provides a method for updating the full charge capacity of a battery, by obtaining a first voltage before the battery is charged or discharged, calculating the cumulative charge and discharge capacity after the charge and discharge are completed, and predicting a second voltage, the full charge capacity of the battery is determined according to a first state of charge corresponding to the first voltage, a second state of charge corresponding to the second voltage, and the cumulative charge and discharge capacity, so that the current full charge capacity of the battery can be estimated under a partial charge and discharge state, and more accurate and reliable battery power information is provided to the user based on the updated full charge capacity, thereby improving the user experience.
在本实施例中提供了一种电池完全充电容量的更新方法,可用于上述的终端设备,如手机、笔记本等,图5是根据本发明实施例的电池完全充电容量的更新方法的流程图,如图5所示,该流程包括如下步骤:In this embodiment, a method for updating the fully charged capacity of a battery is provided, which can be used for the above-mentioned terminal devices, such as mobile phones, notebooks, etc. FIG. 5 is a flow chart of the method for updating the fully charged capacity of a battery according to an embodiment of the present invention. As shown in FIG. 5 , the process includes the following steps:
步骤S501,在电池进行充放电之前,获取电池的第一电压。详细请参见图3所示实施例的步骤S301,在此不再赘述。Step S501, before the battery is charged or discharged, obtain a first voltage of the battery. Please refer to step S301 of the embodiment shown in FIG3 for details, which will not be described in detail here.
步骤S502,在电池充放电结束之前,计算充放电累计容量,并基于当前电压预测充放电结束后的第二电压。详细请参见图3所示实施例的步骤S302,在此不再赘述。Step S502, before the battery is charged and discharged, the cumulative charge and discharge capacity is calculated, and the second voltage after the charge and discharge is completed is predicted based on the current voltage. For details, please refer to step S302 of the embodiment shown in FIG3, which will not be described here.
步骤S503,根据第一电压确定第一荷电状态,根据第二电压确定第二荷电状态。详细请参见图3所示实施例的步骤S303,在此不再赘述。Step S503, determining a first state of charge according to the first voltage, and determining a second state of charge according to the second voltage. For details, please refer to step S303 of the embodiment shown in FIG3 , which will not be described in detail here.
步骤S504,根据充放电累计容量、第一荷电状态和第二荷电状态对电池的完全充电容量进行更新。Step S504: updating the full charge capacity of the battery according to the cumulative charge and discharge capacity, the first state of charge, and the second state of charge.
具体地,上述步骤S504包括:Specifically, the above step S504 includes:
步骤S5041,获取当前完全充电容量和理想完全充电容量。Step S5041, obtaining the current full charge capacity and the ideal full charge capacity.
具体地,在本发明实施例中,电池在刚出厂时,未发生任何损耗,此时具有理想完全充电容量,是电池整个使用寿命中的最大完全充电容量,因此本发明实施例获取电池的理想完全充电容量作为理想基准。当时随着电池使用时长的增加,电池会逐渐老化,电池的完全充电容量会逐渐下降。实际情况下,即使在电池即使在长时间未满充满放条件下,也会间隔固定时间更新其完全充电容量,但是更新间隔相对较长。因此本发明实施例获取电池最近更新后的完全充电容量作为当前完全充电容量,以此作为当前基准。Specifically, in the embodiment of the present invention, the battery has no loss when it is just shipped from the factory, and has an ideal fully charged capacity. , is the maximum fully charged capacity of the battery in its entire service life, so the embodiment of the present invention obtains the ideal fully charged capacity of the battery As an ideal benchmark. As the battery usage time increases, the battery will gradually age and the battery's full charge capacity will gradually decrease. In actual situations, even if the battery is not fully charged for a long time, its full charge capacity will be updated at fixed intervals, but the update interval is relatively long. Therefore, the embodiment of the present invention obtains the most recently updated full charge capacity of the battery as the current full charge capacity , as the current baseline.
步骤S5042,计算第一荷电状态和第二荷电状态之间差值的绝对值,获得容量差值。Step S5042, calculating the absolute value of the difference between the first state of charge and the second state of charge to obtain the capacity difference.
具体地,在本发明实施例中,根据充放电之前的荷电状态确定电池的电量变化情况,即计算第一荷电状态和第二荷电状态之间差值,以差值的绝对值作为电池实际电量变化情况,即充放电前后的容量差值。Specifically, in the embodiment of the present invention, the charge change of the battery is determined according to the charge state before charging and discharging, that is, the first charge state is calculated. and the second state of charge Difference , the absolute value of the difference As the actual battery power change, that is, the capacity difference before and after charging and discharging .
步骤S5043,将理想完全充电容量与容量差值之间差值与理想完全充电容量的比值,乘以当前完全充电容量与预设电池配置参数,获得当前真实容量。Step S5043, multiplying the ratio of the difference between the ideal full charge capacity and the capacity difference to the ideal full charge capacity by the current full charge capacity and the preset battery configuration parameter to obtain the current real capacity.
具体地,在本发明实施例中,为对电池的完全充电容量进行更新,预先确定电池的电流影响系数和温度影响系数,并以电流影响系数和温度影响系数作为电池配置参数。本发明根据容量差值、理想完全充电容量、当前完全充电容量和电池配置参数之间的逻辑关系,确定当前真实容量的计算公式,公式如下所示:Specifically, in the embodiment of the present invention, in order to update the full charge capacity of the battery, the current influence coefficient of the battery is predetermined. and temperature influence coefficient , and the current influence coefficient and temperature influence coefficient As battery configuration parameters. The present invention is based on the capacity difference , Ideal full charge capacity , Current fully charged capacity The logical relationship between the battery configuration parameters determines the current actual capacity The calculation formula is as follows:
步骤S5044,将充放电累计容量与当前真实容量进行相加,获得电池的完全充电容量。Step S5044, adding the charge and discharge cumulative capacity to the current real capacity to obtain the full charge capacity of the battery.
具体地,在本发明实施例中,通过根据容量差值、理想完全充电容量、当前完全充电容量和电池配置参数之间的逻辑关系,能够确定电池内的当前真实容量,进而根据静置之前电池的充放电累计容量和当前真实容量之和确定电池的完全充电容量,公式表达如下:Specifically, in the embodiment of the present invention, according to the capacity difference , Ideal full charge capacity , Current fully charged capacity The logical relationship between the battery configuration parameters can determine the current actual capacity of the battery , and then according to the cumulative charge and discharge capacity of the battery before standing still and the current real capacity The sum determines the full charge capacity of the battery, which is expressed as follows:
本发明提供了一种电池完全充电容量的更新方法,通过在电池充放电之前获取第一电压,在充放电结束后计算充放电累计容量,并预测第二电压,根据第一电压所对应第一荷电状态、第二电压所对应第二荷电状态和充放电累计容量确定电池的完全充电容量,能够在局部充放电状态下预估电池当前的完全充电容量,基于更新后的完全充电容量为用户提供更准确、更可靠的电池电量信息,提高用户体验感。The present invention provides a method for updating the full charge capacity of a battery, by obtaining a first voltage before the battery is charged or discharged, calculating the cumulative charge and discharge capacity after the charge and discharge are completed, and predicting a second voltage, the full charge capacity of the battery is determined according to a first state of charge corresponding to the first voltage, a second state of charge corresponding to the second voltage, and the cumulative charge and discharge capacity, so that the current full charge capacity of the battery can be estimated under a partial charge and discharge state, and more accurate and reliable battery power information is provided to the user based on the updated full charge capacity, thereby improving the user experience.
在本实施例中还提供了一种电池完全充电容量的更新装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a device for updating the full charge capacity of a battery is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made are not repeated here. As used below, the term "module" can be a combination of software and/or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
本实施例提供一种电池完全充电容量的更新装置,如图6所示,包括:This embodiment provides a device for updating the full charge capacity of a battery, as shown in FIG6 , comprising:
第一获取模块601,用于在电池进行充放电之前,获取电池的第一电压。The first acquisition module 601 is used to acquire a first voltage of the battery before the battery is charged or discharged.
第二获取模块602,用于在电池充放电结束之前,计算充放电累计容量,并基于当前电压预测充放电结束后的第二电压。The second acquisition module 602 is used to calculate the cumulative charge and discharge capacity before the battery is charged and discharged, and predict the second voltage after the charge and discharge is completed based on the current voltage.
关系确定模块603,用于根据第一电压确定第一荷电状态,根据第二电压确定第二荷电状态。The relationship determination module 603 is used to determine a first state of charge according to the first voltage, and to determine a second state of charge according to the second voltage.
容量更新模块604,用于根据充放电累计容量、第一荷电状态和第二荷电状态对电池的完全充电容量进行更新。The capacity updating module 604 is used to update the full charge capacity of the battery according to the cumulative charge and discharge capacity, the first state of charge and the second state of charge.
在一些可选的实施方式中,容量更新模块604包括:In some optional implementations, the capacity updating module 604 includes:
完全充电容量获取单元,用于获取当前完全充电容量和理想完全充电容量。The full charge capacity acquisition unit is used to acquire the current full charge capacity and the ideal full charge capacity.
容量差值计算单元,用于计算第一荷电状态和第二荷电状态之间差值的绝对值,获得容量差值。The capacity difference calculation unit is used to calculate the absolute value of the difference between the first state of charge and the second state of charge to obtain the capacity difference.
当前真实容量计算单元,用于将理想完全充电容量与容量差值之间差值与理想完全充电容量的比值,乘以当前完全充电容量与预设电池配置参数,获得当前真实容量。The current real capacity calculation unit is used to multiply the ratio of the difference between the ideal full charge capacity and the capacity difference to the ideal full charge capacity by the current full charge capacity and the preset battery configuration parameters to obtain the current real capacity.
完全充电容量计算单元,用于将充放电累计容量与当前真实容量进行相加,获得电池的完全充电容量。The full charge capacity calculation unit is used to add the charge and discharge cumulative capacity to the current real capacity to obtain the full charge capacity of the battery.
在一些可选的实施方式中,第一获取模块601包括:In some optional implementations, the first acquisition module 601 includes:
判断单元,用于判断电池是否满足电压测量条件,其中电压测量条件为充放电结束后静置时间是否大于预设时间阈值。The judging unit is used to judge whether the battery meets the voltage measurement condition, wherein the voltage measurement condition is whether the static time after the charge and discharge is completed is greater than a preset time threshold.
第一电压获取单元,用于若满足,则获取电池的第一电压。The first voltage acquisition unit is used to acquire a first voltage of the battery if the condition is met.
在一些可选的实施方式中,第二获取模块602包括:In some optional implementations, the second acquisition module 602 includes:
充放电累计容量计算单元,用于在电池充放电结束之前,获取当前电池的充放电电流和充放电时间;根据充放电时间对充放电电流进行积分累加,获得充放电累计容量。The charge and discharge cumulative capacity calculation unit is used to obtain the current charge and discharge current and charge and discharge time of the battery before the battery charge and discharge are completed; the charge and discharge current is integrated and accumulated according to the charge and discharge time to obtain the charge and discharge cumulative capacity.
第一电压获取单元,用于判断充放电累计容量是否大于预设容量阈值;若大于,则判断电池是否满足电压测量条件;若满足,则获取电池的当前电压和当前阻抗;基于当前电压,加上充放电电流与当前阻抗的乘积,获得充放电结束后的第二电压。The first voltage acquisition unit is used to determine whether the cumulative charge and discharge capacity is greater than a preset capacity threshold; if greater, determine whether the battery meets the voltage measurement condition; if satisfied, obtain the current voltage and current impedance of the battery; based on the current voltage, add the product of the charge and discharge current and the current impedance to obtain the second voltage after the charge and discharge are completed.
在一些可选的实施方式中,关系确定模块603包括:基于荷电状态和电压的对应关系,确定第一电压所对应的第一荷电状态和第二电压对应的第二荷电状态;其中,荷电状态和电压的对应关系通过在预设基准工作条件下,控制电池按照预设放电电流进行放电,并在放电过程中测量电池内电芯的荷电状态和电压,根据荷电状态和电压确定对应关系。In some optional embodiments, the relationship determination module 603 includes: based on the correspondence between the state of charge and the voltage, determining a first state of charge corresponding to the first voltage and a second state of charge corresponding to the second voltage; wherein the correspondence between the state of charge and the voltage is determined by controlling the battery to discharge according to a preset discharge current under preset reference working conditions, and measuring the state of charge and voltage of the battery cells in the discharge process, and determining the correspondence according to the state of charge and the voltage.
上述各个模块和单元的更进一步的功能描述与上述对应实施例相同,在此不再赘述。The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
本实施例中的电池完全充电容量的更新装置是以功能单元的形式来呈现,这里的单元是指ASIC(Application Specific Integrated Circuit,专用集成电路)电路,执行一个或多个软件或固定程序的处理器和存储器,和/或其他可以提供上述功能的器件。The battery full charge capacity update device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and/or other devices that can provide the above functions.
本发明实施例还提供一种计算机设备,具有上述图6所示的电池完全充电容量的更新装置。The embodiment of the present invention further provides a computer device having the device for updating the full charge capacity of the battery as shown in FIG. 6 .
请参阅图7,图7是本发明可选实施例提供的一种计算机设备的结构示意图,如图7所示,该计算机设备包括:一个或多个处理器10、存储器20,以及用于连接各部件的接口,包括高速接口和低速接口。各个部件利用不同的总线互相通信连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对在计算机设备内执行的指令进行处理,包括存储在存储器中或者存储器上以在外部输入/输出装置(诸如,耦合至接口的显示设备)上显示GUI的图形信息的指令。在一些可选的实施方式中,若需要,可以将多个处理器和/或多条总线与多个存储器和多个存储器一起使用。同样,可以连接多个计算机设备,各个设备提供部分必要的操作(例如,作为服务器阵列、一组刀片式服务器、或者多处理器系统)。图7中以一个处理器10为例。Please refer to FIG. 7, which is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention. As shown in FIG. 7, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input/output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and/or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). In FIG. 7, a processor 10 is taken as an example.
处理器10可以是中央处理器,网络处理器或其组合。其中,处理器10还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路,可编程逻辑器件或其组合。上述可编程逻辑器件可以是复杂可编程逻辑器件,现场可编程逻辑门阵列,通用阵列逻辑或其任意组合。The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
其中,所述存储器20存储有可由至少一个处理器10执行的指令,以使所述至少一个处理器10执行实现上述实施例示出的方法。The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
存储器20可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据计算机设备的使用所创建的数据等。此外,存储器20可以包括高速随机存取存储器,还可以包括非瞬时存储器,例如至少一个磁盘存储器件、闪存器件、或其他非瞬时固态存储器件。在一些可选的实施方式中,存储器20可选包括相对于处理器10远程设置的存储器,这些远程存储器可以通过网络连接至该计算机设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
存储器20可以包括易失性存储器,例如,随机存取存储器;存储器也可以包括非易失性存储器,例如,快闪存储器,硬盘或固态硬盘;存储器20还可以包括上述种类的存储器的组合。The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
该计算机设备还包括输入装置30和输出装置40。处理器10、存储器20、输入装置30和输出装置40可以通过总线或者其他方式连接,图7中以通过总线连接为例。The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means, and FIG7 takes the bus connection as an example.
输入装置30可接收输入的数字或字符信息,以及产生与该计算机设备的用户设置以及功能控制有关的键信号输入,例如触摸屏、小键盘、鼠标、轨迹板、触摸板、指示杆、一个或者多个鼠标按钮、轨迹球、操纵杆等。输出装置40可以包括显示设备、辅助照明装置(例如,LED)和触觉反馈装置(例如,振动电机)等。上述显示设备包括但不限于液晶显示器,发光二极管,显示器和等离子体显示器。在一些可选的实施方式中,显示设备可以是触摸屏。The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.
本发明实施例还提供了一种计算机可读存储介质,上述根据本发明实施例的方法可在硬件、固件中实现,或者被实现为可记录在存储介质,或者被实现通过网络下载的原始存储在远程存储介质或非暂时机器可读存储介质中并将被存储在本地存储介质中的计算机代码,从而在此描述的方法可被存储在使用通用计算机、专用处理器或者可编程或专用硬件的存储介质上的这样的软件处理。其中,存储介质可为磁碟、光盘、只读存储记忆体、随机存储记忆体、快闪存储器、硬盘或固态硬盘等;进一步地,存储介质还可以包括上述种类的存储器的组合。可以理解,计算机、处理器、微处理器控制器或可编程硬件包括可存储或接收软件或计算机代码的存储组件,当软件或计算机代码被计算机、处理器或硬件访问且执行时,实现上述实施例示出的方法。The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
本发明的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本发明的方法和/或技术方案。本领域技术人员应能理解,计算机程序指令在计算机可读介质中的存在形式包括但不限于源文件、可执行文件、安装包文件等,相应地,计算机程序指令被计算机执行的方式包括但不限于:该计算机直接执行该指令,或者该计算机编译该指令后再执行对应的编译后程序,或者该计算机读取并执行该指令,或者该计算机读取并安装该指令后再执行对应的安装后程序。在此,计算机可读介质可以是可供计算机访问的任意可用的计算机可读存储介质或通信介质。A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and/or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
本发明实施例还提供了一种终端设备,包括电池和上述图7所示的计算机设备。An embodiment of the present invention further provides a terminal device, including a battery and the computer device shown in FIG. 7 above.
虽然结合附图描述了本发明的实施例,但是本领域技术人员可以在不脱离本发明的精神和范围的情况下做出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410935642.4A CN118465562B (en) | 2024-07-12 | 2024-07-12 | Method and device for updating full charge capacity of battery and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410935642.4A CN118465562B (en) | 2024-07-12 | 2024-07-12 | Method and device for updating full charge capacity of battery and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118465562A true CN118465562A (en) | 2024-08-09 |
CN118465562B CN118465562B (en) | 2024-11-19 |
Family
ID=92170824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410935642.4A Active CN118465562B (en) | 2024-07-12 | 2024-07-12 | Method and device for updating full charge capacity of battery and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118465562B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119596169A (en) * | 2025-02-07 | 2025-03-11 | 浙江大华技术股份有限公司 | A method, device, system, equipment and medium for determining battery power information |
CN119853226A (en) * | 2025-03-20 | 2025-04-18 | 极目(海南)智能育种装备有限公司 | Battery protection control method, device, energy storage device and computer readable medium |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6456948B1 (en) * | 1999-04-21 | 2002-09-24 | Samsung Sdi Co., Ltd. | Method of generating data for use in monitoring and controlling charge and discharge status of secondary battery |
JP2010175484A (en) * | 2009-01-31 | 2010-08-12 | Calsonic Kansei Corp | Method for estimating internal resistance component of battery and method for estimating charge capacity |
CN104730462A (en) * | 2013-12-19 | 2015-06-24 | 北汽福田汽车股份有限公司 | Battery pack capacity online detecting method |
KR20170090143A (en) * | 2016-01-28 | 2017-08-07 | (주)캠시스 | Method for estimating of battery charging state in Battery management system |
CN109946623A (en) * | 2019-03-27 | 2019-06-28 | 吉林大学 | An online SOC estimation method for lithium batteries |
US20210050631A1 (en) * | 2019-08-13 | 2021-02-18 | International Business Machines Corporation | Capacity degradation analysis for batteries |
CN112485677A (en) * | 2019-09-12 | 2021-03-12 | 东莞新能德科技有限公司 | Battery capacity updating method and device, electronic device and storage medium |
CN113075562A (en) * | 2020-01-06 | 2021-07-06 | 东莞新能德科技有限公司 | Battery differential pressure updating method, electric quantity estimating method, electronic device and storage medium |
WO2023123789A1 (en) * | 2021-12-28 | 2023-07-06 | 北京小米移动软件有限公司 | Battery state monitoring method and apparatus |
WO2023138207A1 (en) * | 2022-01-24 | 2023-07-27 | 宁德时代新能源科技股份有限公司 | Capacity calculation method and device for power battery |
CN116587925A (en) * | 2023-05-10 | 2023-08-15 | 浙江欣旺达电子有限公司 | Method, device, electronic device and storage medium for updating full charge capacity of battery |
CN116930794A (en) * | 2023-07-24 | 2023-10-24 | 浙江欣旺达电子有限公司 | Battery capacity updating method and device, electronic equipment and storage medium |
CN117741448A (en) * | 2024-02-19 | 2024-03-22 | 上海泰矽微电子有限公司 | Rechargeable battery state of charge estimation method, device, equipment and medium |
-
2024
- 2024-07-12 CN CN202410935642.4A patent/CN118465562B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6456948B1 (en) * | 1999-04-21 | 2002-09-24 | Samsung Sdi Co., Ltd. | Method of generating data for use in monitoring and controlling charge and discharge status of secondary battery |
JP2010175484A (en) * | 2009-01-31 | 2010-08-12 | Calsonic Kansei Corp | Method for estimating internal resistance component of battery and method for estimating charge capacity |
CN104730462A (en) * | 2013-12-19 | 2015-06-24 | 北汽福田汽车股份有限公司 | Battery pack capacity online detecting method |
KR20170090143A (en) * | 2016-01-28 | 2017-08-07 | (주)캠시스 | Method for estimating of battery charging state in Battery management system |
CN109946623A (en) * | 2019-03-27 | 2019-06-28 | 吉林大学 | An online SOC estimation method for lithium batteries |
US20210050631A1 (en) * | 2019-08-13 | 2021-02-18 | International Business Machines Corporation | Capacity degradation analysis for batteries |
CN112485677A (en) * | 2019-09-12 | 2021-03-12 | 东莞新能德科技有限公司 | Battery capacity updating method and device, electronic device and storage medium |
CN113075562A (en) * | 2020-01-06 | 2021-07-06 | 东莞新能德科技有限公司 | Battery differential pressure updating method, electric quantity estimating method, electronic device and storage medium |
WO2023123789A1 (en) * | 2021-12-28 | 2023-07-06 | 北京小米移动软件有限公司 | Battery state monitoring method and apparatus |
WO2023138207A1 (en) * | 2022-01-24 | 2023-07-27 | 宁德时代新能源科技股份有限公司 | Capacity calculation method and device for power battery |
CN116587925A (en) * | 2023-05-10 | 2023-08-15 | 浙江欣旺达电子有限公司 | Method, device, electronic device and storage medium for updating full charge capacity of battery |
CN116930794A (en) * | 2023-07-24 | 2023-10-24 | 浙江欣旺达电子有限公司 | Battery capacity updating method and device, electronic equipment and storage medium |
CN117741448A (en) * | 2024-02-19 | 2024-03-22 | 上海泰矽微电子有限公司 | Rechargeable battery state of charge estimation method, device, equipment and medium |
Non-Patent Citations (2)
Title |
---|
吕德勇: "锂电池荷电状态(SOC)预测方法综述", 通信电源技术, no. 03, 25 March 2018 (2018-03-25) * |
张永梅 等: "一种基于非完全放电蓄电池容量估算方法的实验验证与应用探讨", 中国新通信, no. 05, 5 March 2013 (2013-03-05) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119596169A (en) * | 2025-02-07 | 2025-03-11 | 浙江大华技术股份有限公司 | A method, device, system, equipment and medium for determining battery power information |
CN119853226A (en) * | 2025-03-20 | 2025-04-18 | 极目(海南)智能育种装备有限公司 | Battery protection control method, device, energy storage device and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN118465562B (en) | 2024-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9063201B2 (en) | Battery charge determination | |
CN112595980B (en) | Method, device and equipment for predicting service life of battery energy storage system | |
TWI419390B (en) | Predicting method of remaining capacity and remaining run-time of a battery device | |
US20130275067A1 (en) | State of charge error correction systems and methods | |
CN112051504A (en) | Method and device for predicting battery capacity, terminal and computer-readable storage medium | |
CN113589174B (en) | A lithium-ion power battery system cell consistency prediction method and device | |
CN118465562A (en) | A method, device and terminal equipment for updating battery full charge capacity | |
CN114371408B (en) | Method for estimating state of charge of battery, method and device for extracting charging curve | |
JP2023101509A (en) | Semiconductor device and method for detecting remaining amount of battery | |
CN115113083A (en) | Battery state of health estimation method and related device | |
TW201814309A (en) | State-of-charge indication method and related system | |
KR101549678B1 (en) | Energy Management System reflecting battery capacity efficiency and method of the same | |
TWI519028B (en) | Battery monitoring method,battery monitoring system and electronic device | |
CN118868302A (en) | Method, device and equipment for calibrating state of charge at charging terminal of battery system | |
WO2018068329A1 (en) | Power capacity value calculation method, electronic device, and storage medium | |
WO2023044875A1 (en) | Method and device for determining display state of charge and battery management chip | |
CN111157907B (en) | Detection method and device, charging method and device, electronic equipment, storage medium | |
JP2016058373A (en) | Information processing unit, information processing method and program | |
CN115389938B (en) | Method, system, electronic device and medium for predicting remaining battery capacity | |
CN110600823A (en) | Method and device for displaying battery electric quantity, computer equipment and storage medium | |
CN115800445A (en) | Battery charging method and device, electronic equipment and storage medium | |
CN114355219A (en) | Battery state of health estimation method and energy storage system health improvement method | |
CN113687248B (en) | Battery capacity determining method and device, electronic equipment and storage medium | |
CN111157788A (en) | Voltage influence amount compensation method, device and storage medium | |
CN110850305A (en) | Method and device for calculating electric quantity of lead-acid battery and computer-readable storage medium |
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 |