Battery SOC correction method, device, computer storage medium and processor
By obtaining the current voltage, current and temperature values of the battery, combined with the benchmark SOC, the correction rate is determined and weighted, thereby achieving high-precision correction of the battery SOC and solving the problem of low battery SOC correction accuracy in the existing technology.
Patent Information
- Application Number
- CN202111322913.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-09
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-11-09
AI Technical Summary
The battery SOC correction accuracy in the existing technology is low, resulting in a large SOC accuracy deviation.
By obtaining the current voltage value, current value and temperature value of the battery, combined with the baseline SOC, the first and second correction rates are determined, and a weighted operation is performed to obtain the final correction rate to correct the battery SOC. Specific steps include obtaining the battery internal resistance parameter table and SOC-OCV table, calculating the reference voltage difference and voltage threshold to determine the correction rate.
The correction accuracy of the battery SOC is improved. By combining the baseline model and the correction model, real-time SOC correction is achieved within the full voltage range of the lithium iron phosphate battery, which solves the problem of low battery SOC correction accuracy.
Smart Images

Figure CN114062933B
Abstract
Description
Technical Field
[0001] The present application relates to the field of batteries, and more specifically, to a method, device, computer storage medium and processor for correcting battery SOC. Background Art
[0002] The battery SOC correction is basically carried out in a narrow non-platform area, where the platform voltage changes little. Using the existing calculation model, the voltage needs to be sampled with high precision, which requires relatively high sensor accuracy. At present, the effect of the industry's SOC correction for lithium iron phosphate batteries is relatively limited, which easily causes a large deviation in SOC accuracy. Summary of the invention
[0003] The main purpose of the present application is to provide a battery SOC correction method, device, computer storage medium and processor to solve the technical problem of low battery SOC correction accuracy in the prior art.
[0004] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for correcting a battery SOC is provided, the method comprising: obtaining a current voltage value, a current current value, a current temperature value, a current reference SOC and a current battery SOC of the battery; determining a first correction rate according to the current voltage value, the current current value, the current temperature value and the current reference SOC; determining a second correction rate according to the current voltage value, the current current value, the current temperature value and the current battery SOC; performing a weighted operation on the first correction rate and the second correction rate to obtain a final correction rate, and using the final correction rate to correct the battery SOC.
[0005] Furthermore, a first correction rate is determined based on a current voltage value, a current current value, a current temperature value and a current reference SOC. The method includes: obtaining a battery internal resistance parameter table, and determining the current internal resistance of the battery based on the current reference SOC, the current current value, the current temperature value and the battery internal resistance parameter table; determining a first reference voltage of the battery based on the current internal resistance, the current current value and the current voltage value of the battery; obtaining a SOC-OCV table, and determining a second reference voltage of the battery based on the current reference SOC and the SOC-OCV table; and determining the first correction rate based on at least the first reference voltage and the second reference voltage.
[0006] Furthermore, the first correction rate is determined at least based on the first reference voltage and the second reference voltage, and the method includes: calculating a first voltage difference between the first reference voltage and the second reference voltage; obtaining a first voltage difference-first correction rate table; and determining the first correction rate based on the first voltage difference and the first voltage difference-first correction rate table.
[0007] Furthermore, a second correction rate is determined based on a current voltage value, a current current value, a current temperature value and a current battery SOC. The method includes: obtaining an EDV-voltage threshold table, and determining a voltage threshold based on the current current value, the current temperature value and the EDV-voltage threshold table; when the voltage threshold is greater than or equal to the current voltage value, or the current current value is greater than zero, setting the second correction rate to a predetermined correction rate; otherwise, obtaining an SOC-EDV table, and determining an EDV-corrected voltage value based on the current current value, the current temperature value, the current battery SOC and the SOC-EDV table; determining the second correction rate based on at least the current voltage value and the EDV-corrected voltage value.
[0008] Furthermore, the second correction rate is determined at least based on the current voltage value and the EDV corrected voltage value. The method includes: calculating the second voltage difference between the current voltage value and the EDV corrected voltage value; obtaining a second voltage difference-second correction rate table; and determining the second correction rate based on the second voltage difference and the second voltage difference-second correction rate table.
[0009] Furthermore, a weighted operation is performed on the first correction rate and the second correction rate to obtain a final correction rate. The method includes: using the formula Rate=λ×Rate0+(1-λ)×Rate1 to determine the final correction rate, wherein Rate represents the final correction rate, Rate0 represents the first correction rate, and Rate1 represents the second correction rate.
[0010] Furthermore, the battery SOC is corrected using the final correction rate. The method includes: using the formula SOC(k+1)=SOC(k)+Rate×△SOC, △SOC=I×△T / FCC to correct the battery SOC, wherein SOC(k+1) represents the battery SOC at the current moment, SOC(k) represents the battery SOC at the previous moment, I represents the battery current value at the previous moment, △T is the SOC integration time, and FCC is the battery full charge capacity.
[0011] According to another aspect of the present application, a battery SOC correction device is provided, which includes: an acquisition unit, used to acquire the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery; a first determination unit, used to determine a first correction rate according to the current voltage value, current current value, current temperature value and current reference SOC; a second determination unit, used to determine a second correction rate according to the current voltage value, current current value, current temperature value and current battery SOC; a correction unit, used to perform weighted operation on the first correction rate and the second correction rate to obtain a final correction rate, and use the final correction rate to correct the battery SOC.
[0012] According to another aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned battery SOC correction method.
[0013] According to another aspect of the present application, a processor is further provided, and the processor is used to run a program, wherein the above-mentioned battery SOC correction method is executed when the program is run.
[0014] Applying the technical solution of the present application, first obtain the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery; determine the first correction rate according to the current voltage value, current current value, current temperature value and current reference SOC; then determine the second correction rate according to the current voltage value, current current value, current temperature value and current battery SOC; finally, perform weighted operation on the first correction rate and the second correction rate to obtain the final correction rate, and use the final correction rate to correct the battery SOC. The present invention adopts a method combining a reference model and a correction model to correct the SOC in real time within the full voltage range of the lithium iron phosphate battery, specifically, the final correction rate is determined by weighted operation based on the first correction rate and the second correction rate, so that the battery SOC is corrected by the final correction rate, thereby solving the technical problem of low correction accuracy of the battery SOC in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0016] Figure 1 is a flow chart of a method for correcting battery SOC according to an embodiment of the present application;
[0017] Figure 2 is a flow chart of an optional method for correcting battery SOC according to an embodiment of the present application;
[0018] Figure 3 is a flowchart of an optional benchmark model implementation step according to an embodiment of the present application;
[0019] Figure 4 is a flow chart of an optional EDV model implementation step according to an embodiment of the present application;
[0020] Figure 5 is a schematic diagram of a battery SOC correction device according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be intermediate elements. Moreover, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element through a third element.
[0025] According to an embodiment of the present application, a method for correcting a battery SOC 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.
[0026] Figure 1 FIG. 1 is a flow chart of a method for correcting the battery SOC according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0027] Step S101, obtaining the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery.
[0028] The current voltage value, current current value, and current temperature value in the above steps can be obtained through the corresponding sampling devices; the current reference SOC can be obtained by combining the ampere-hour integration method and the open circuit voltage method; the current battery SOC can be directly read through real-time data refresh; the reference SOC in the above steps can be an SOC that is not affected by the battery working state, but is only related to the battery's own characteristics.
[0029] Step S102, determining a first correction rate according to a current voltage value, a current current value, a current temperature value and a current reference SOC.
[0030] The determination of the first correction rate in the above steps may be performed by first obtaining a battery internal resistance parameter table, determining the current internal resistance of the battery according to the current reference SOC, the current current value, the current temperature value and the battery internal resistance parameter table, and then determining a reference voltage of the battery according to the current resistance, the current current value and the current voltage value. Furthermore, another reference voltage of the battery may be determined by obtaining an SOC-OCV table and according to the current reference SOC and the SOC-OCV table. Finally, the first correction rate is determined based on the two reference voltages that have been determined above.
[0031] In an optional embodiment, a method for obtaining a battery internal resistance parameter table may be: (1) After the battery is fully charged at room temperature, it is placed in an environment of -10°C, 0°C, 10°C, 25°C, and 30°C for sufficient rest; (2) After the battery is fully rested at the corresponding temperature, it is discharged using a discharge rate of 0.2C, 0.5C, and 1C, respectively, and the battery voltage Ud is recorded every 5%; (3) The OCV voltage corresponding to different SOC points is taken, and the battery internal resistance parameter is calculated by R=(OCV-Ud) / Id, and the data shown in Table 1 can be obtained.
[0032] Table 1 Battery internal resistance parameter table (mΩ)
[0033]
[0034] In another optional embodiment, the method for obtaining the SOC-OCV table can be: (1) After the battery is fully charged at room temperature, let it stand for 2 hours and record the battery's static voltage, where the room temperature refers to 25±2°C; (2) discharge the battery with a discharge current of 0.5C, stop discharging when 5% of the power is released, and let the battery stand; (3) after the battery has stood for 1 hour, record the battery's static voltage; (4) repeat steps (2) and (3) until the battery power is 0, and finally record the above data as shown in Table 2.
[0035] Table 2 SOC-OCV table
[0036] SOC 0 5 10 15 20 25 30 35 40 45 50 80 90 100 OCV 3193 3204 3227 3255 3269 3281 3285 3287 3289 3291 3292 3328 3330 3358
[0037] The unit of OCV is millivolt (mV).
[0038] Step S103, determining a second correction rate according to the current voltage value, the current current value, the current temperature value and the current battery SOC.
[0039] The second correction rate in the above steps can be determined by first obtaining a voltage threshold table, and determining a voltage threshold based on the current current value, the current temperature value and the voltage threshold table, and judging whether to obtain an EDV-related table data by comparing the voltage threshold with the current voltage value, or whether the current current value is greater than zero. If it is determined that it is not necessary to obtain the EDV-related table data, the second correction rate is set accordingly; if it is necessary to obtain the EDV-related table data, and determine a corrected voltage value based on the parameters obtained above, the second correction rate is determined based on the current voltage value and the corrected voltage value.
[0040] Step S104, performing a weighted operation on the first correction rate and the second correction rate to obtain a final correction rate, and using the final correction rate to correct the battery SOC.
[0041] The final correction rate in the above steps can be determined by the formula Rate=λ×Rate0+(1-λ)×Rate1, where Rate represents the final correction rate, Rate0 represents the first correction rate, and Rate1 represents the second correction rate.
[0042] Applying the technical solution of the present application, first obtain the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery; determine the first correction rate according to the current voltage value, current current value, current temperature value and current reference SOC; then determine the second correction rate according to the current voltage value, current current value, current temperature value and current battery SOC; finally, perform weighted operation on the first correction rate and the second correction rate to obtain the final correction rate, and use the final correction rate to correct the battery SOC. The present application determines the first correction rate and the second correction rate in a manner that performs weighted operation on the first correction rate and the second correction rate, thereby correcting the battery SOC by the final correction rate, thereby solving the technical problem of low correction accuracy of the battery SOC in the prior art.
[0043] Furthermore, a first correction rate is determined based on a current voltage value, a current current value, a current temperature value and a current reference SOC. The method includes: obtaining a battery internal resistance parameter table, and determining the current internal resistance of the battery based on the current reference SOC, the current current value, the current temperature value and the battery internal resistance parameter table; determining a first reference voltage of the battery based on the current internal resistance, the current current value and the current voltage value of the battery; obtaining a SOC-OCV table, and determining a second reference voltage of the battery based on the current reference SOC and the SOC-OCV table; and determining the first correction rate based on at least the first reference voltage and the second reference voltage.
[0044] In an optional embodiment, the sampling module obtains the current battery voltage U, current I, and battery temperature T; the voltage U, current I, temperature T, and current reference SOC are input into the reference model to determine the first correction rate, and the reference SOC is obtained by combining the ampere-hour integration method and the open circuit voltage method, specifically:
[0045] SOC 基准 (k+1)=SOC 基准 (k)+△SOC;
[0046] △SOC=I×△T / FCC;
[0047] Among them, SOC 基准 (k+1) is the current benchmark SOC, SOC 基准 (k) is the reference SOC at the previous moment, I is the battery current; △T is the SOC integration step time, in ms; FCC is the full charge capacity of the battery, which can be expressed in milliampere-hours or amperes.
[0048] According to the current reference SOC, current I, temperature T, look up the calibrated battery internal resistance parameter table, as shown in Table 1 above, and obtain the internal resistance R of the battery at the current moment, and calculate the first reference voltage of the battery Ub1=U+I×R; according to the current reference SOC, look up the SOC-OCV table, as shown in Table 2 above, and obtain the second reference voltage Ub2 of the battery; according to the first reference voltage and the second reference voltage, the first correction rate Rate0 can be determined.
[0049] Furthermore, the first correction rate is determined at least based on the first reference voltage and the second reference voltage. The method includes: calculating a first voltage difference between the first reference voltage and the second reference voltage; obtaining a first voltage difference-first correction rate table (i.e., △U1-BRate table); and determining the first correction rate based on the first voltage difference and the first voltage difference-first correction rate table.
[0050] In an optional embodiment, the voltage difference △U1 between the first reference voltage Ub1 and the second reference voltage Ub2 is calculated according to the magnitude of the current I, as shown below:
[0051] When I>0, △U1=Ub2-Ub1;
[0052] When I≤0, △U1=Ub1-Ub2;
[0053] According to the voltage difference △U1 between the first reference voltage Ub1 and the second reference voltage Ub2, the first correction rate Rate0 can be obtained by looking up the △U1-BRate table, as shown in Table 3. The parameters of the △U1-BRate table are imported into the mathematical simulation model established for the benchmark model through the test data of the battery under different working conditions and SOC deviations, and the SOC is obtained by fully considering the discharge characteristics of the battery, so as to obtain a better correction effect.
[0054] Table 3 △U1-BRate table
[0055] △U1 -200 -150 -70 -40 -15 0 10 30 45 70 100 200 BRate 18 16 13 12 11 10 10 9 8 6 5 3
[0056] Furthermore, a second correction rate is determined based on a current voltage value, a current current value, a current temperature value and a current battery SOC. The method includes: obtaining an EDV-voltage threshold table, and determining a voltage threshold based on the current current value, the current temperature value and the EDV-voltage threshold table; when the voltage threshold is greater than or equal to the current voltage value, or the current current value is greater than zero, setting the second correction rate to a predetermined correction rate; otherwise, obtaining an SOC-EDV table, and determining an EDV-corrected voltage value based on the current current value, the current temperature value, the current battery SOC and the SOC-EDV table; determining the second correction rate based on at least the current voltage value and the EDV-corrected voltage value.
[0057] In an optional embodiment, the EDV-Threshold table is searched using the current I and the temperature T, as shown in Table 4, to obtain the EDV-corrected voltage threshold V Thr , the above-mentioned EDV-voltage threshold table (ie, EDV-Threshold table) can be obtained. In this embodiment, the voltage threshold V Thr The unit is mV; the EDV-Threshold table is the parameters of the SOC-EDV table corresponding to the SOC point where the EDV model intervenes, as shown in Table 5. For example, if SOC=22%, the parameters corresponding to the SOC-EDV table at different temperatures and rates are filled into the EDV-Threshold table.
[0058] Table 4 EDV-Threshold table (mV)
[0059] T\Current 0.2C 0.5C 1C -10℃ 3016 2892 2816 0℃ 3115 3002 2899 25℃ 3193 3128 3030 40℃ 3207 3152 3052
[0060] The method for obtaining the SOC-EDV table is as follows: (1) fully charge the battery at room temperature; (2) after fully charged, place the battery at -10°C, 0°C, 25°C, and 40°C for full rest; (3) after resting, discharge the battery at a discharge rate of 0.2C, 0.5C, and 1C until the SOC is 0, and record the battery voltage at each SOC point; (4) fill the recorded voltage values (in this embodiment, the voltage unit is mV) at different temperatures and discharge rates into the corresponding positions of the table according to the SOC points taken in Table 5, as shown in Table 5.
[0061] Table 5 SOC-EDV table (mV)
[0062]
[0063] Furthermore, the second correction rate is determined at least based on the current voltage value and the EDV corrected voltage value. The method includes: calculating the second voltage difference between the current voltage value and the EDV corrected voltage value; obtaining a second voltage difference-second correction rate table (i.e., EDV-Rate table); and determining the second correction rate based on the second voltage difference and the second voltage difference-second correction rate table.
[0064] In an optional embodiment, when the voltage threshold V Thr When it is greater than or equal to the voltage U or the current I>0, the default second correction rate Rate1=10, otherwise, the voltage difference △U2 between the voltage U and the EDV correction voltage value is calculated, △U2=U-UEDV; the voltage difference △U2 is searched in the EDV-Rate table, as shown in Table 6, to obtain the second correction rate Rate1; the parameters of the EDV-Rate table are imported into the mathematical simulation model established for the EDV model through the test data of the battery under different working conditions and SOC deviations, and the SOC is corrected to obtain a better effect based on full consideration of the discharge characteristics of the battery.
[0065] Table 6 EDV-Rate table
[0066] △U2 -200 -100 -50 -30 -20 -10 0 10 20 50 70 100 Rate1 20 18 15 13 12 11 10 8 6 4 2 1
[0067] Furthermore, a weighted operation is performed on the first correction rate and the second correction rate to obtain a final correction rate. The method includes: using the formula Rate=λ×Rate0+(1-λ)×Rate1 to determine the final correction rate, wherein Rate represents the final correction rate, Rate0 represents the first correction rate, and Rate1 represents the second correction rate.
[0068] In the above steps, a weighting coefficient λ is used, and its value range is 0 to 1. The first correction rate Rate0 and the second correction rate Rate1 are coupled to obtain the final correction rate of the SOC.
[0069] Furthermore, the battery SOC is corrected using the final correction rate. The method includes: using the formula SOC(k+1)=SOC(k)+Rate×△SOC, △SOC=I×△T / FCC to correct the battery SOC, wherein SOC(k+1) represents the battery SOC at the current moment, SOC(k) represents the battery SOC at the previous moment, I represents the battery current value at the previous moment, △T is the SOC integration time, in ms; FCC is the full charge capacity of the battery, and FCC can be expressed in milliampere hours or amperes.
[0070] This embodiment relates to a specific method for correcting the battery SOC. Figure 2 As shown, firstly, the battery voltage U, current I, and temperature T are obtained through the sampling module, and then the first correction rate Rate0 is obtained through the benchmark model, and the second correction rate Rate1 is obtained through the EDV model. Then, the final correction rate of the battery SOC is obtained through the formula Rate = λ × Rate0 + (1-λ) × Rate1 coupling. Finally, according to the formula SOC (k + 1) = SOC (k) + Rate × △ SOC, the battery SOC is corrected and cycled under normal operation, wherein the first correction rate Rate0 is obtained through the benchmark model, as shown in FIG. Figure 3 As shown, according to the current reference SOC, current I, temperature T, the battery internal resistance R at the current moment is obtained by looking up the offline calibrated battery internal resistance parameter table, and the current first reference voltage Ub1=U+I×R of the battery is calculated. The current reference SOCB is checked in the SOC-OCV table to obtain the current second reference voltage Ub2, and it is determined whether the current I is greater than 0. If so, the voltage difference △U1 between the first reference voltage Ub1 and the second reference voltage Ub2 is calculated, △U1=Ub2-Ub1, otherwise, △U1=Ub1-Ub2, and the first correction rate Rate0 is obtained by looking up the voltage difference and table 3, △U1-BRate table; the second correction rate Rate1 is obtained through the EDV model, as shown in Figure 4 As shown, the EDV-Threshold table is searched using the current I and temperature T. As shown in Table 4, the EDV-corrected voltage threshold V can be obtained. Thr , determine V Thr Is it greater than or equal to the voltage U or the current I>0? If so, the default second correction rate Rate1=10, otherwise, use the current I, temperature T and current battery SOC to look up SOC-EDV table 5 to obtain EDV correction voltage; calculate the voltage difference △U2 between the voltage U and the EDV correction voltage value, △U2=U-UEDV; the voltage difference △U2 looks up EDV-Rate table 6 to obtain the second correction rate Rate1. The method adopted in this application can effectively dynamically correct the battery SOC, which is of great significance to improving the battery SOC estimation.
[0071] In another aspect, the present application further provides a battery SOC correction device, which can be used to execute the battery SOC correction method. The battery SOC correction device provided in an embodiment of the present application is introduced below.
[0072] Figure 5 Schematic diagram of a battery SOC correction device according to an embodiment of the present application. Figure 5 As shown, the device comprises:
[0073] An acquisition unit 51 is used to acquire a current voltage value, a current current value, a current temperature value, a current reference SOC and a current battery SOC of the battery;
[0074] A first determining unit 52, configured to determine a first correction rate according to a current voltage value, a current current value, a current temperature value and a current reference SOC;
[0075] A second determination unit 53, configured to determine a second correction rate according to a current voltage value, a current current value, a current temperature value and a current battery SOC;
[0076] The correction unit 54 is used to perform a weighted operation on the first correction rate and the second correction rate to obtain a final correction rate, and use the final correction rate to correct the battery SOC.
[0077] Furthermore, the first determination unit includes: a first determination module, used to obtain a battery internal resistance parameter table, and determine the current internal resistance of the battery according to the current reference SOC, the current current value, the current temperature value and the battery internal resistance parameter table; a second determination module, used to determine the first reference voltage of the battery according to the current internal resistance, the current current value and the current voltage value of the battery; a third determination module, used to obtain a SOC-OCV table, and determine the second reference voltage of the battery according to the current reference SOC and the SOC-OCV table; a fourth determination module, used to determine the first correction rate based on at least the first reference voltage and the second reference voltage.
[0078] Furthermore, the fourth determination module includes: a first calculation submodule, used to calculate the first voltage difference between the first reference voltage and the second reference voltage; a first acquisition submodule, used to obtain the first voltage difference-first correction rate table; and a first determination submodule, used to determine the first correction rate based on the first voltage difference and the first voltage difference-first correction rate table.
[0079] Furthermore, the second determination unit includes: a fifth determination module, used to obtain an EDV-voltage threshold table, and determine the voltage threshold according to the current current value, the current temperature value and the EDV-voltage threshold table; a setting module, used to set the second correction rate to a predetermined correction rate when the voltage threshold is greater than or equal to the current voltage value, or the current current value is greater than zero; a sixth determination module, used to obtain an SOC-EDV table, and determine the EDV corrected voltage value according to the current current value, the current temperature value, the current battery SOC and the SOC-EDV table; a seventh determination module, used to determine the second correction rate based on at least the current voltage value and the EDV corrected voltage value.
[0080] Furthermore, the seventh determination module includes: a second calculation submodule, used to calculate the second voltage difference between the current voltage value and the EDV corrected voltage value; a second acquisition submodule, used to obtain the second voltage difference-second correction rate table; and a second determination submodule, used to determine the second correction rate based on the second voltage difference and the second voltage difference-second correction rate table.
[0081] Further, the correction unit includes: an eighth determination module, used to determine the final correction rate using the formula Rate=λ×Rate0+(1-λ)×Rate1, wherein Rate represents the final correction rate, Rate0 represents the first correction rate, and Rate1 represents the second correction rate.
[0082] Furthermore, the eighth determination module includes: a correction submodule, which is used to correct the battery SOC by adopting the formula SOC(k+1)=SOC(k)+Rate×△SOC, △SOC=I×△T / FCC, wherein SOC(k+1) is the battery SOC at the current moment, SOC(k) represents the battery SOC at the previous moment, I represents the battery current value at the previous moment, △T is the SOC integration time, and the unit is ms; FCC is the full charge capacity of the battery, and FCC can be expressed in milliampere hours or amperes.
[0083] By applying the technical solution of the present application, the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery are obtained through an acquisition unit; a first correction rate is determined according to the current voltage value, current current value, current temperature value and current reference SOC through a first determination unit; a second correction rate is determined according to the current voltage value, current current value, current temperature value and current battery SOC through a second determination unit; a weighted operation is performed on the first correction rate and the second correction rate through a correction unit to obtain a final correction rate, and the battery SOC is corrected using the final correction rate. The present invention adopts a method combining a reference model and a correction model to correct the SOC in real time within the full voltage range of the lithium iron phosphate battery, specifically, a weighted operation is performed according to the first correction rate and the second correction rate to determine the final correction rate, thereby correcting the battery SOC through the final correction rate, thereby solving the technical problem of low correction accuracy of the battery SOC in the prior art.
[0084] The battery SOC correction device includes a processor and a memory. The acquisition unit, the first determination unit, the second determination unit, the correction unit, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
[0085] The processor includes a kernel, and the kernel retrieves the corresponding program unit from the memory. One or more kernels can be set, and the final correction rate is determined by weighted calculation according to the first correction rate and the second correction rate by adjusting the kernel parameters, so as to correct the battery SOC by the final correction rate, thereby solving the technical problem of low correction accuracy of the battery SOC in the prior art.
[0086] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0087] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the battery SOC correction method.
[0088] An embodiment of the present invention provides a processor, which is used to run a program, wherein the battery SOC correction method is executed when the program is running.
[0089] The embodiment of the present invention provides a device, the device includes a processor, a memory and a program stored in the memory and can be run on the processor, and the processor implements at least the following steps when executing the program: step S101, obtaining the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery; step S102, determining the first correction rate according to the current voltage value, current current value, current temperature value and current reference SOC; step S103, determining the second correction rate according to the current voltage value, current current value, current temperature value and current battery SOC; step S104, performing weighted operation on the first correction rate and the second correction rate to obtain the final correction rate, and using the final correction rate to correct the battery SOC. The device in this article can be a server, PC, PAD, mobile phone, etc.
[0090] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes at least the following method steps: step S101, obtaining the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery; step S102, determining a first correction rate based on the current voltage value, current current value, current temperature value and current reference SOC; step S103, determining a second correction rate based on the current voltage value, current current value, current temperature value and current battery SOC; step S104, performing a weighted operation on the first correction rate and the second correction rate to obtain a final correction rate, and using the final correction rate to correct the battery SOC.
[0091] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0092] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0093] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0095] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0096] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0097] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0098] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0099] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0100] 1) Apply the technical solution of the present application, first obtain the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery; determine the first correction rate according to the current voltage value, current current value, current temperature value and current reference SOC; then determine the second correction rate according to the current voltage value, current current value, current temperature value and current battery SOC; finally, perform weighted operation on the first correction rate and the second correction rate to obtain the final correction rate, and use the final correction rate to correct the battery SOC. The present invention adopts a method based on a combination of a reference model and a correction model to correct the SOC in real time within the full voltage range of the lithium iron phosphate battery, specifically, the final correction rate is determined by weighted operation based on the first correction rate and the second correction rate, so as to correct the battery SOC by the final correction rate, thereby solving the technical problem of low correction accuracy of the battery SOC in the prior art.
[0101] 2) Apply the technical solution of the present application, obtain the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery through the acquisition unit; determine the first correction rate according to the current voltage value, current current value, current temperature value and current reference SOC through the first determination unit; determine the second correction rate according to the current voltage value, current current value, current temperature value and current battery SOC through the second determination unit; perform weighted operation on the first correction rate and the second correction rate through the correction unit to obtain the final correction rate, and use the final correction rate to correct the battery SOC. The present invention adopts a method combining the reference model and the correction model to correct the SOC in real time within the full voltage range of the lithium iron phosphate battery, specifically, the final correction rate is determined by weighted operation based on the first correction rate and the second correction rate, so as to correct the battery SOC through the final correction rate, thereby solving the technical problem of low correction accuracy of the battery SOC in the prior art.
[0102] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for correcting battery SOC, characterized in that: include: Obtain the current voltage value, current current value, current temperature value, current reference SOC and current battery SOC of the battery; determining a first correction rate according to the current voltage value, the current current value, the current temperature value and the current reference SOC; determining a second correction rate according to the current voltage value, the current current value, the current temperature value and the current battery SOC; Performing a weighted operation on the first correction rate and the second correction rate to obtain a final correction rate, and using the final correction rate to correct the battery SOC; Wherein, determining the first correction rate according to the current voltage value, the current current value, the current temperature value and the current reference SOC includes: obtaining a battery internal resistance parameter table, and determining the current internal resistance of the battery according to the current reference SOC, the current current value, the current temperature value and the battery internal resistance parameter table, determining the first reference voltage of the battery according to the current internal resistance of the battery, the current current value and the current voltage value, obtaining a SOC-OCV table, and determining the second reference voltage of the battery according to the current reference SOC and the SOC-OCV table, and determining the first correction rate at least according to the first reference voltage and the second reference voltage; Determine a second correction rate according to the current voltage value, the current current value, the current temperature value and the current battery SOC, including: obtaining an EDV-voltage threshold table, and determining a voltage threshold according to the current current value, the current temperature value and the EDV-voltage threshold table; when the voltage threshold is greater than or equal to the current voltage value, or the current current value is greater than zero, set the second correction rate to a predetermined correction rate; otherwise, obtain an SOC-EDV table, and determine an EDV corrected voltage value according to the current current value, the current temperature value, the current battery SOC and the SOC-EDV table; determine the second correction rate at least according to the current voltage value and the EDV corrected voltage value.
2. The method according to claim 1, characterized in that Determining the first correction rate at least according to the first reference voltage and the second reference voltage includes: calculating a first voltage difference between the first reference voltage and the second reference voltage; Obtaining a first voltage difference-first correction rate table; The first correction rate is determined according to the first voltage difference and the first voltage difference-first correction rate table.
3. The method according to claim 1, characterized in that Determining the second correction rate at least according to the current voltage value and the EDV corrected voltage value includes: Calculating a second voltage difference between the current voltage value and the EDV corrected voltage value; Obtaining a second voltage difference-second correction rate table; The second correction rate is determined according to the second voltage difference and the second voltage difference-second correction rate table.
4. The method according to any one of claims 1 to 3, characterized in that Performing a weighted operation on the first correction rate and the second correction rate to obtain a final correction rate includes: The final correction rate is determined by using the formula Rate=λ×Rate0+(1-λ)×Rate1, wherein Rate represents the final correction rate, Rate0 represents the first correction rate, and Rate1 represents the second correction rate.
5. The method according to claim 4, characterized in that The battery SOC is corrected using the final correction rate, including: The battery SOC is corrected using the formula SOC(k+1)=SOC(k)+Rate×△SOC, △SOC=I×△T / FCC, where SOC(k+1) represents the battery SOC at the current moment, SOC(k) represents the battery SOC at the previous moment, I represents the battery current value at the previous moment, △T is the SOC integration time, and FCC is the battery full charge capacity.
6. A battery SOC correction device, characterized in that: include: An acquisition unit, used to acquire a current voltage value, a current current value, a current temperature value, a current reference SOC and a current battery SOC of the battery; a first determining unit, configured to determine a first correction rate according to the current voltage value, the current current value, the current temperature value, and the current reference SOC; a second determining unit, configured to determine a second correction rate according to the current voltage value, the current current value, the current temperature value, and the current battery SOC; a correction unit, configured to perform a weighted operation on the first correction rate and the second correction rate to obtain a final correction rate, and use the final correction rate to correct the battery SOC; The first determination unit includes: a first determination module, used to obtain a battery internal resistance parameter table, and determine the current internal resistance of the battery according to the current reference SOC, the current current value, the current temperature value and the battery internal resistance parameter table; a second determination module, used to determine the first reference voltage of the battery according to the current internal resistance of the battery, the current current value and the current voltage value; a third determination module, used to obtain a SOC-OCV table, and determine the second reference voltage of the battery according to the current reference SOC and the SOC-OCV table; a fourth determination module, used to determine the first correction rate according to at least the first reference voltage and the second reference voltage; The second determination unit includes: a fifth determination module, used to obtain an EDV-voltage threshold table, and determine the voltage threshold according to the current current value, the current temperature value and the EDV-voltage threshold table; a setting module, used to set the second correction rate to a predetermined correction rate when the voltage threshold is greater than or equal to the current voltage value, or the current current value is greater than zero; a sixth determination module, used to obtain an SOC-EDV table, and determine an EDV corrected voltage value according to the current current value, the current temperature value, the current battery SOC and the SOC-EDV table; a seventh determination module, used to determine the second correction rate based on at least the current voltage value and the EDV corrected voltage value.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 5.
8. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 5 when running.
