Battery SOC value correction method and related device
By presetting the threshold and duration during dynamic use of the battery, and correcting the SOC value using the OCV spectrum diagram, the problem that OCV cannot be applied during dynamic use of the OCV is improved, and the accuracy of SOC estimation and electric vehicles are improved. Operational safety and efficiency.
Patent Information
- Application Number
- CN202111604015.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2041-12-24
AI Technical Summary
The prior art cannot use OCV to correct the battery SOC value during dynamic use of batteries, resulting in inaccurate SOC estimation and affecting the operating safety and efficiency of electric vehicles.
By determining that the battery enters a stable state by preset threshold and duration, use the OCV spectrum diagram to find the target SOC value of the battery, and correct the calculated SOC value to ensure that the correction error is within the allowable range.
It realizes accurate correction of SOC values during the dynamic operation of the battery, improves the accuracy and reliability of the battery management system, and ensures the safety and efficiency of electric vehicles.
Smart Images

Figure CN115113071B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery management, and in particular to a battery SOC value correction method and related devices. Background Art
[0002] With global warming and the emergence of various extreme climates, the greenhouse gas emissions caused by diesel and gasoline vehicles have become increasingly important. In order to reduce urban pollution, the development of electric vehicles and hybrid vehicles has received widespread attention.
[0003] In order to ensure the safety, durability, reliability and efficiency of electric vehicles and perform necessary management and diagnostic functions, battery management systems (BMS) are widely used in electric vehicles. The state of charge (SOC) represents the percentage of the remaining charge of the battery pack. It is used to measure the current remaining available power of the battery pack and is one of the important states that BMS needs to monitor. Accurate SOC estimation can ensure the relevant strategies of the entire vehicle, the safety of the battery, and the experience of the driver and passengers.
[0004] To obtain an accurate SOC estimate, the calculated SOC value needs to be corrected. Among them, OCV (open circuit voltage) correction is often used as an important means of battery SOC value correction because the test conditions are consistent with the actual use conditions of the battery and the correction accuracy is high.
[0005] However, when using OCV to correct the battery SOC value, the battery cell needs to be left at rest for a sufficient time to eliminate polarization. Therefore, this method cannot be applied when the battery is in dynamic use. Summary of the invention
[0006] In view of this, the present invention provides a battery SOC value correction method and related devices, which can solve the problem that the OCV cannot be used to correct the SOC value during the dynamic use of the battery.
[0007] In a first aspect, an embodiment of the present invention provides a method for correcting a battery SOC value, comprising:
[0008] If the current value of the battery is less than or equal to a preset threshold value, and the duration of the current value of the battery being less than or equal to the preset threshold value is not less than a preset time length, then the target SOC value of the battery is determined according to the measured voltage of the battery and a preset OCV spectrum diagram, and the preset time length is less than the sum of a first time length and a second time length, the first time length is used to represent the time length corresponding to the moment when the current starts to be less than or equal to the preset threshold value to the moment when the battery is powered off, and the second time length is used to represent a preset rest time length, and the time length corresponding to the initial moment when the battery voltage no longer changes from the moment when the current starts to be less than or equal to the preset threshold value is less than or equal to the rest time length;
[0009] According to the target SOC value, the calculated SOC value of the battery is corrected to obtain a corrected SOC value.
[0010] In a possible implementation, the process of determining the preset threshold includes:
[0011] Determine a minimum voltage difference value according to a preset correction error value and the OCV spectrum, the minimum voltage difference value is the minimum value of the absolute value of the voltage difference values corresponding to any two adjacent SOC values in the OCV spectrum, the absolute value of the difference between any two adjacent SOC values is equal to the correction error value, the preset time length is less than the sum of the first time length and the second time length, the first time length is used to represent the time length corresponding to the moment when the current starts to be less than or equal to the preset threshold value to the moment when the battery is powered off, the second time length is used to represent the preset rest time length, and the time length corresponding to the initial moment when the battery voltage no longer changes from the moment when the current starts to be less than or equal to the preset threshold value is less than or equal to the rest time length;
[0012] Determine the static voltage point according to a curve of voltage variation over time during the actual historical charging and discharging process of the battery;
[0013] Determining an approximate static voltage point in the curve of voltage variation over time according to the voltage value corresponding to the static voltage point and the minimum voltage difference;
[0014] The current value at the time corresponding to the approximate static voltage point is determined as the preset threshold.
[0015] In a possible implementation, the process of determining the preset duration includes:
[0016] By using the curve of the voltage changing with time, the duration from the first moment corresponding to the approximate static voltage point to the second moment corresponding to the static voltage point is taken as the preset duration.
[0017] In a possible implementation, determining the minimum voltage difference according to a preset correction error value and an OCV spectrum diagram includes:
[0018] Determining a plurality of SOC values according to the SOC usage range of the battery, wherein the absolute value of the difference between any two adjacent SOC values is equal to the corrected error value;
[0019] For every two adjacent SOC values, the difference between the voltage value corresponding to the larger SOC value and the voltage value corresponding to the smaller SOC value is obtained through the OCV spectrum diagram;
[0020] The minimum value is determined among all the acquired difference values to obtain the minimum voltage difference value.
[0021] In a possible implementation, the step of correcting the calculated SOC value of the battery according to the target SOC value to obtain the corrected SOC value includes:
[0022] If the absolute value of the difference between the target SOC value and the calculated SOC value is greater than a preset correction error value, and the target SOC value is greater than the calculated SOC value, subtracting the correction error value from the target SOC value to obtain the SOC correction value;
[0023] If the absolute value of the difference between the target SOC value and the calculated SOC value is greater than the corrected error value, and the target SOC value is less than the calculated SOC value, the corrected error value is added to the target SOC value to obtain the SOC corrected value.
[0024] In a possible implementation, the method further includes:
[0025] If the absolute value of the difference between the target SOC value and the SOC calculated value is less than or equal to the correction error value, the SOC calculated value is not corrected.
[0026] In a second aspect, an embodiment of the present invention provides a battery SOC value correction device, comprising:
[0027] A target SOC value determination module and a correction module;
[0028] The target SOC value determination module is used to determine the target SOC value of the battery according to the measured voltage of the battery and a preset OCV spectrum diagram if the current value of the battery is less than or equal to a preset threshold value, and the duration of the current value of the battery being less than or equal to the preset threshold value has been no less than a preset time length, the preset time length is less than the sum of a first time length and a second time length, the first time length is used to represent the time length corresponding to the moment when the current starts to be less than or equal to the preset threshold value to the moment when the battery is powered off, the second time length is used to represent a preset rest time length, and the time length corresponding to the initial moment when the battery voltage no longer changes from the moment when the current starts to be less than or equal to the preset threshold value is less than or equal to the rest time length;
[0029] The correction module is used to correct the SOC calculation value of the battery according to the target SOC value to obtain a SOC correction value.
[0030] In a possible implementation, the target SOC value determination module is further configured to:
[0031] Determine a minimum voltage difference value according to a preset correction error value and the OCV map, wherein the minimum voltage difference value is the minimum value of the absolute value of the voltage difference values corresponding to any two SOC values in the OCV map, and the absolute value of the difference between any two SOC values is equal to the correction error value;
[0032] Determine the static voltage point according to a curve of voltage variation over time during the actual historical charging and discharging process of the battery;
[0033] Determining an approximate static voltage point in the curve of voltage variation over time according to the voltage value corresponding to the static voltage point and the minimum voltage difference;
[0034] The current value at the time corresponding to the approximate static voltage point is determined as the preset threshold.
[0035] In a third aspect, an embodiment of the present invention provides a vehicle, comprising a control device, wherein the control device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method described in the first aspect or any possible implementation of the first aspect are implemented.
[0036] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect or any possible implementation method of the first aspect are implemented.
[0037] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0038] The present invention predetermines a current threshold. When the battery is in dynamic operation, the current is less than or equal to the preset threshold, and the duration of the current being less than the preset threshold is no less than the preset time, the battery enters a stable state. In the stable state, by looking up the OCV table, the error caused by the difference between the measured voltage and the static open circuit voltage of the battery is no greater than the maximum allowable correction error value, thereby achieving the purpose of SOC correction by looking up the OCV table during the dynamic operation of the battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0040] Figure 1 is a flow chart of a method for correcting a battery SOC value provided by an embodiment of the present invention;
[0041] Figure 2 It is a schematic diagram of the change of battery current and voltage over time during the actual operation of a battery provided by an embodiment of the present invention;
[0042] Figure 3 It is a structural schematic diagram of a battery SOC value correction device provided by an embodiment of the present invention;
[0043] Figure 4 Schematic diagram of a control device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0045] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.
[0046] See also Figure 1 , which shows a flow chart of a battery SOC value correction method provided by an embodiment of the present invention, which is described in detail as follows:
[0047] In step 101, if the current value of the battery is less than or equal to a preset threshold value, and the duration of the current value of the battery being less than or equal to the preset threshold value is no less than a preset time length, then the target SOC value of the battery is determined according to the measured voltage of the battery and a preset OCV spectrum diagram, the preset time length is less than the sum of the first time length and the second time length, the first time length is used to represent the time length corresponding to the moment when the current starts to be less than or equal to the preset threshold value to the moment when the battery is powered off, and the second time length is used to represent the preset rest time length, and the time length corresponding to the initial moment when the battery voltage no longer changes from the moment when the power is off is less than or equal to the rest time length.
[0048] When correcting OCV, the OCV spectrum is only searched through the open circuit voltage of the battery to obtain the target SOC value to correct the calculated SOC value. The OCV spectrum is a mapping relationship diagram between the battery open circuit voltage value and the battery SOC value.
[0049] Among them, OCV (open circuit voltage) refers to the static open circuit voltage of the battery cell. The battery cell will produce polarization after charging or discharging. At this time, the external characteristic voltage of the battery cell is inconsistent with the open circuit static voltage of the battery cell, so the battery cell needs to be left at rest for a certain period of time to evenly distribute the electrolyte inside the battery to obtain a stable terminal voltage to eliminate polarization. The voltage after standing is OCV. Therefore, the OCV method is highly dependent on the standing time, and it is impossible to correct the SOC calculation value of the battery through the OCV method during the dynamic use of the battery.
[0050] For example, in order to obtain a stable terminal voltage, the battery is usually left to stand for more than one hour after being powered off, and then the corresponding SOC value is obtained by looking up the OCV table through the open circuit voltage of the battery.
[0051] To solve this problem, in an embodiment of the present invention, when the battery is in dynamic use, if the battery current value is less than or equal to a preset threshold, and the duration of the battery current value being less than or equal to the preset threshold is no less than a preset time, then it is determined that the battery has entered a stable state, and the correction error caused by the difference between the static open-circuit voltage of the battery and the measured voltage is less than or equal to the maximum allowable correction error.
[0052] The relationship between the measured voltage and the static open circuit voltage of the battery is as follows:
[0053] U 测量 =U OCV -I×DCR
[0054] Where U 测量 is the measured voltage of the battery, U OCV is the static open-circuit voltage of the battery, I is the battery current, when the battery is charging, I is a negative number, when the battery is discharging, I is a positive number, and DCR is the polarization internal resistance of the battery.
[0055] It can be seen from the above formula that the smaller I is, the closer the measured voltage value is to the static open circuit voltage value, and the more accurate the SOC value obtained by looking up the OCV spectrum diagram by measuring the voltage value is.
[0056] Therefore, in the embodiment of the present invention, a preset threshold is determined. When the battery current is less than or equal to the preset threshold, U OCV with U 测量 The correction error caused by the difference is less than or equal to the maximum allowable correction error.
[0057] At this time, the OCV map is found by measuring the voltage as the target SOC value.
[0058] Combination Figure 2 , when the battery is charged or discharged into the moment corresponding to point 3, the moment is represented by t0, and the battery current at t0 is equal to the preset threshold in the embodiment of the present invention. Within the preset time after t0, the battery current has been kept less than or equal to the preset threshold, which means that the battery has entered a stable state. After the battery enters a stable state, because the battery current is small enough, it can ensure that the voltage difference between the battery measurement voltage and the stable open circuit voltage of the battery is small enough, so that in the process of determining the battery SOC value through the OCV table, the error caused by the voltage difference is small enough, that is, the error caused by the voltage difference is ensured to be less than or equal to the maximum allowable error. Therefore, combined with Figure 2 By using the method provided in the embodiment of the present invention, the SOC value can be determined by looking up the OCV table after a preset time period after time t0.
[0059] The preset duration can be an empirical value, such as 5 minutes. Figure 2 The time t1 in the figure is 5 minutes after the time t0. From the time t1 onwards, the SOC value of the battery can be determined through the OCV spectrum diagram, and it can be ensured that the error between the SOC value obtained by measuring the battery voltage at this moment and the SOC value obtained by the steady-state open circuit voltage after the battery has been stationary for a long enough time is within the maximum allowable error range.
[0060] In the embodiment of the present invention, the preset duration is less than the sum of the first duration and the second duration. The first duration is used to represent the duration from the moment when the current starts to be less than or equal to the preset threshold to the moment when the battery is powered off. The second duration is used to represent the preset static duration. The duration from the moment when the battery is powered off to the initial moment when the voltage no longer changes is less than or equal to the static duration. Figure 2 At t2, the battery current is 0, indicating that the battery is powered off at t2. However, the polarization of the battery cell has not been eliminated from t2 to t3, and the voltage at both ends of the battery is still changing. At t3, the voltage at both ends of the battery enters a stable state, that is, after t3, the measured voltage of the battery is equal to the stable open circuit voltage of the battery. The prior art usually adopts an empirical value, such as 1 hour. After the battery is powered off, that is, after t2, the battery is left to stand for 1 hour to determine that the battery has completely eliminated polarization. Assuming that 1 hour after t2 corresponds to Figure 2 At t4 in Figure 2, the first time length in the embodiment of the present invention refers to the time length corresponding to the time from t0 to t2, the second time length is the time length corresponding to the time from t2 to t4, and t3 is the initial time when the voltage no longer changes after the battery is powered off, that is, starting from t3, the battery voltage no longer changes. The sum of the first time length and the second time length is the total time length from t0 to t4. The prior art usually uses the battery voltage to check the OCV pulse spectrum to determine the SOC value of the battery starting from t4. In the embodiment of the present invention, since the preset time length is less than the total time length from t0 to t4, in the embodiment of the present invention, the SOC value of the battery can be determined by checking the OCV pulse spectrum by the battery voltage before t4.
[0061] For example, in an embodiment of the present invention, if the preset time is set to t3 to t0, the SOC value can be determined by looking up the OCV table from t3. Since t3 is the initial moment when the battery open circuit voltage reaches a stable state, t3 is also earlier than t4 obtained by empirical values in the prior art.
[0062] In a possible implementation, an embodiment of the present invention determines a preset threshold value of current in the following manner: determining a minimum voltage difference based on a preset correction error value and the OCV spectrum, the minimum voltage difference being the minimum value of the absolute value of the voltage difference corresponding to any two adjacent SOC values in the OCV spectrum, and the absolute value of the difference between any two adjacent SOC values being equal to the correction error value; determining a static voltage point based on a curve of voltage variation over time during actual historical charging and discharging of the battery; determining an approximate static voltage point in the curve of voltage variation over time based on the voltage value corresponding to the static voltage point and the minimum voltage difference; and determining the current value at the moment corresponding to the approximate static voltage point as the preset threshold value.
[0063] Combination Figure 2 The upper curve in the figure is a curve showing the battery current changing with time obtained through the historical actual operation data of the battery, and the lower curve in the figure is a curve showing the battery voltage changing with time obtained through the historical operation data of the battery.
[0064] First, determine the static voltage point from the curve of voltage changing with time, that is, point 1 in the figure. From the static voltage point, the measured voltage of the battery no longer changes;
[0065] Subtract the minimum voltage difference from the static voltage value to obtain the approximate static voltage point, i.e. point 2.
[0066] The current value at the time corresponding to the approximate static voltage point, that is, the current value corresponding to point 3, is the preset threshold value of the current required by the embodiment of the present invention.
[0067] When the current is less than the preset threshold, the difference between the measured voltage and the static open-circuit voltage is less than or equal to the minimum voltage difference, so that the error caused by the difference between the measured voltage and the static open-circuit voltage must be less than or equal to the corrected error value, and the corrected error value is the maximum allowable error value. That is, the method provided in the embodiment of the present invention realizes OCV correction in the dynamic process of the battery while ensuring that the corrected error is less than or equal to the maximum allowable corrected error.
[0068] In a possible implementation, through a curve of voltage variation over time, the duration from a first moment corresponding to an approximate static voltage point to a second moment corresponding to a static voltage point is used as a preset duration.
[0069] Combination Figure 2 , the duration from point 2 to point 1 is the preset duration in the embodiment of the present invention.
[0070] An embodiment of the present invention further provides a method for determining a minimum voltage difference, the method comprising:
[0071] According to the SOC usage range of the battery, multiple SOC values are determined, where the absolute value of the difference between any two adjacent SOC values is equal to the correction error value; for every two adjacent SOC values, the difference between the voltage value corresponding to the larger SOC value and the voltage value corresponding to the smaller SOC value is obtained through the OCV pulse spectrum; the minimum value is determined among all the differences obtained to obtain the minimum voltage difference.
[0072] Table 1 below is an OCV spectrum diagram.
[0073] Table 1
[0074] SOC value 0 5 10 15 20 25 30 35 40 45 50 Voltage (V) 2.803 3.298 3.453 3.481 3.514 3.558 3.592 3.616 3.636 3.654 3.677 SOC value 55 60 65 70 75 80 85 90 95 100 Voltage (V) 3.704 3.738 3.78 3.842 3.899 3.952 4.008 4.067 4.13 4.198
[0075] The voltage difference corresponding to two adjacent SOC values is calculated in turn, and the values in Table 2 are obtained.
[0076] Table 2
[0077] SOC value 0 5 10 15 20 25 30 35 40 45 50 Voltage (V) 2.803 3.298 3.453 3.481 3.514 3.558 3.592 3.616 3.636 3.654 3.677 Difference(mV) 495 155 28 33 44 34 24 20 18 23 27 SOC value 55 60 65 70 75 80 85 90 95 100 Voltage (V) 3.704 3.738 3.78 3.842 3.899 3.952 4.008 4.067 4.13 4.198 Difference(mV) 34 42 62 57 53 56 59 63 68
[0078] In Table 2, the 495mV in the difference row is the difference between the voltage value when the SOC value is 5 and the voltage value when the SOC value is 0, and the 155mV is the difference between the voltage value when the SOC value is 10 and the voltage value when the SOC value is 5.
[0079] It can be seen from Table 2 that the minimum voltage difference is 18 mV, that is, the difference between the voltage value when the SOC value is 45 and the voltage value when the SOC value is 40.
[0080] Therefore, the minimum voltage difference obtained by the OCV spectrum diagram corresponding to Table 1 is 18mv.
[0081] In step 102, the calculated SOC value of the battery is corrected according to the target SOC value to obtain a corrected SOC value.
[0082] In an embodiment of the present invention, since the error caused by the difference between the measured voltage and the static open circuit voltage is less than or equal to the maximum allowable correction error value through OCV table lookup, in a possible implementation method, the target SOC value can be directly used as the SOC correction value.
[0083] In the embodiment of the present invention, the calculated SOC value of the battery may be the SOC value of the battery calculated by the ampere-hour integration method, or may be the SOC value of the battery calculated by other algorithms, which is not limited in the embodiment of the present invention.
[0084] In another possible implementation, the embodiment of the present invention further provides the following method for correcting the calculated SOC value of the battery according to the target SOC value:
[0085] If the absolute value of the difference between the target SOC value and the calculated SOC value is greater than the preset correction error value, and the target SOC value is greater than the calculated SOC value, the target SOC value is subtracted from the correction error value to obtain the SOC correction value; for example, if the preset correction error value is 5%, the SOC correction value = target SOC value - 5%.
[0086] If the absolute value of the difference between the target SOC value and the calculated SOC value is greater than the correction error value, and the target SOC value is less than the calculated SOC value, then the target SOC value is added with the correction error value to obtain the SOC correction value; for example, if the preset correction error value is 5%, then the SOC correction value = target SOC value + 5%.
[0087] In another possible implementation, to avoid erroneous correction, if the absolute value of the difference between the target SOC value and the calculated SOC value is less than or equal to the correction error value, the calculated SOC value is not corrected.
[0088] The present invention predetermines a current threshold. When the battery is in dynamic operation, the current is less than or equal to the preset threshold, and the duration of the current being less than the preset threshold is no less than the preset time, the battery enters a stable state. In the stable state, by looking up the OCV table, the error caused by the difference between the measured voltage and the static open circuit voltage of the battery is no greater than the maximum allowable correction error value, thereby achieving the purpose of SOC correction by looking up the OCV table during the dynamic operation of the battery.
[0089] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0090] The following is an embodiment of the device of the present invention. For details not described in detail therein, reference may be made to the corresponding method embodiment described above.
[0091] Figure 3 The structure diagram of the battery SOC value correction device provided by the embodiment of the present invention is shown. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:
[0092] like Figure 3 As shown, the battery SOC value correction device 3 includes: a target SOC value determination module 31 and a correction module 32;
[0093] The target SOC value determination module 31 is used to determine the target SOC value of the battery according to the measured voltage of the battery and a preset OCV spectrum diagram if the current value of the battery is less than or equal to a preset threshold value, and the duration of the current value of the battery being less than or equal to the preset threshold value has been no less than a preset time length, the preset time length is less than the sum of the first time length and the second time length, the first time length is used to represent the time length corresponding to the moment when the current starts to be less than or equal to the preset threshold value to the moment when the battery is powered off, the second time length is used to represent the preset rest time length, and the time length corresponding to the initial moment when the battery voltage no longer changes from the moment when the current starts to be less than or equal to the preset threshold value is less than or equal to the rest time length;
[0094] The correction module 32 is used to correct the calculated SOC value of the battery according to the target SOC value to obtain a corrected SOC value.
[0095] The present invention predetermines a current threshold. When the battery is in dynamic operation, the current is less than or equal to the preset threshold, and the duration of the current being less than the preset threshold is no less than the preset time, the battery enters a stable state. In the stable state, by looking up the OCV table, the error caused by the difference between the measured voltage and the static open circuit voltage of the battery is no greater than the maximum allowable correction error value, thereby achieving the purpose of SOC correction by looking up the OCV table during the dynamic operation of the battery.
[0096] In a possible implementation, the target SOC value determination module 31 is further configured to:
[0097] According to the preset correction error value and the OCV spectrum, the minimum voltage difference is determined. The minimum voltage difference is the minimum absolute value of the voltage difference corresponding to any two adjacent SOC values in the OCV spectrum. The absolute value of the difference between any two adjacent SOC values is equal to the correction error value.
[0098] Determine the static voltage point based on the curve of voltage variation over time during the actual historical charging and discharging process of the battery;
[0099] Determine an approximate static voltage point in the curve of voltage variation over time according to the voltage value corresponding to the static voltage point and the minimum voltage difference;
[0100] The current value at the time corresponding to the approximate static voltage point is determined as the preset threshold.
[0101] In a possible implementation, the target SOC value determination module 31 is used to:
[0102] Through the curve of voltage variation over time, the duration from the first moment corresponding to the approximate static voltage point to the second moment corresponding to the static voltage point is used as the preset duration.
[0103] In a possible implementation, the target SOC value determination module 31 is used to:
[0104] According to the SOC usage range of the battery, a plurality of SOC values are determined, wherein the absolute value of the difference between any two adjacent SOC values is equal to the correction error value;
[0105] For every two adjacent SOC values, the difference between the voltage value corresponding to the larger SOC value and the voltage value corresponding to the smaller SOC value is obtained through the OCV spectrum diagram;
[0106] The minimum value is determined among all the acquired differences to obtain the minimum voltage difference.
[0107] In a possible implementation, the correction module 32 is used to:
[0108] If the absolute value of the difference between the target SOC value and the calculated SOC value is greater than the preset correction error value, and the target SOC value is greater than the calculated SOC value, the target SOC value is subtracted from the correction error value to obtain the SOC correction value;
[0109] If the absolute value of the difference between the target SOC value and the calculated SOC value is greater than the correction error value, and the target SOC value is less than the calculated SOC value, the target SOC value is added with the correction error value to obtain the SOC correction value.
[0110] In a possible implementation, the correction module 32 is used to:
[0111] If the absolute value of the difference between the target SOC value and the calculated SOC value is less than or equal to the correction error value, the calculated SOC value is not corrected.
[0112] The battery SOC value correction device provided in this embodiment can be used to execute the above-mentioned battery SOC value correction method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0113] An embodiment of the present invention further provides a vehicle, the vehicle comprising a control device, Figure 4 Schematic diagram of a control device provided by an embodiment of the present invention. Figure 4As shown, the control device 4 of this embodiment includes: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, the steps in the above-mentioned battery SOC value correction method embodiments are implemented, for example Figure 1 Alternatively, when the processor 40 executes the computer program 42, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 3 The functions of the units 31 to 33 are shown.
[0114] Exemplarily, the computer program 42 may be divided into one or more modules / units, which are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 42 in the control device 4.
[0115] The control device 4 may be a control device / module / chip installed on the vehicle. The control device 4 may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that Figure 4 It is only an example of the control device 4 and does not constitute a limitation of the control device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the control device may also include input and output devices, network access devices, buses, etc.
[0116] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0117] The memory 41 may be an internal storage unit of the control device 4, such as a hard disk or memory of the control device 4. The memory 41 may also be an external storage device of the control device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the control device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the control device 4. The memory 41 is used to store the computer program and other programs and data required by the control device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
[0118] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0119] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0120] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0121] In the embodiments provided by the present invention, it should be understood that the disclosed devices / control devices and methods can be implemented in other ways. For example, the device / control device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0124] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned battery SOC value correction method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practices in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practices, computer-readable media does not include electrical carrier signals and telecommunication signals.
[0125] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A battery SOC value correction method, characterized in that: include: If the current value of the battery is less than or equal to a preset threshold value, and the duration of the current value of the battery being less than or equal to the preset threshold value is not less than a preset time length, then the target SOC value of the battery is determined according to the measured voltage of the battery and a preset OCV spectrum diagram, and the preset time length is less than the sum of a first time length and a second time length, the first time length is used to represent the time length corresponding to the moment when the current starts to be less than or equal to the preset threshold value to the moment when the battery is powered off, and the second time length is used to represent a preset rest time length, and the time length corresponding to the initial moment when the battery voltage no longer changes from the moment when the current starts to be less than or equal to the preset threshold value is less than or equal to the rest time length; According to the target SOC value, the calculated SOC value of the battery is corrected to obtain a corrected SOC value; The process of determining the preset threshold includes: Determine a minimum voltage difference value according to a preset correction error value and the OCV map, wherein the minimum voltage difference value is the minimum value of the absolute value of the voltage difference values corresponding to any two adjacent SOC values in the OCV map, and the absolute value of the difference between any two adjacent SOC values is equal to the correction error value; Determine the static voltage point according to a curve of voltage variation over time during the actual historical charging and discharging process of the battery; Determining an approximate static voltage point in the curve of voltage variation over time according to the voltage value corresponding to the static voltage point and the minimum voltage difference; Determine the current value at the time corresponding to the approximate static voltage point as the preset threshold; The process of determining the preset duration includes: By means of the curve of the voltage changing with time, the duration from the first moment corresponding to the approximate static voltage point to the second moment corresponding to the static voltage point is taken as the preset duration; Determining the minimum voltage difference according to the preset correction error value and the OCV spectrum diagram includes: Determining a plurality of SOC values according to the SOC usage range of the battery, wherein the absolute value of the difference between any two adjacent SOC values is equal to the corrected error value; For every two adjacent SOC values, the difference between the voltage value corresponding to the larger SOC value and the voltage value corresponding to the smaller SOC value is obtained through the OCV spectrum diagram; The minimum value is determined among all the acquired difference values to obtain the minimum voltage difference value.
2. The method according to claim 1, characterized in that The step of correcting the calculated SOC value of the battery according to the target SOC value to obtain the corrected SOC value includes: If the absolute value of the difference between the target SOC value and the calculated SOC value is greater than a preset correction error value, and the target SOC value is greater than the calculated SOC value, subtracting the correction error value from the target SOC value to obtain the SOC correction value; If the absolute value of the difference between the target SOC value and the calculated SOC value is greater than the corrected error value, and the target SOC value is less than the calculated SOC value, the corrected error value is added to the target SOC value to obtain the SOC corrected value.
3. The method according to claim 2, characterized in that The method further includes: If the absolute value of the difference between the target SOC value and the SOC calculated value is less than or equal to the correction error value, the SOC calculated value is not corrected.
4. A battery SOC value correction device, characterized in that: include: A target SOC value determination module and a correction module; The target SOC value determination module is used to determine the target SOC value of the battery according to the measured voltage of the battery and a preset OCV spectrum diagram if the current value of the battery is less than or equal to a preset threshold value, and the duration of the current value of the battery being less than or equal to the preset threshold value has been no less than a preset time length, the preset time length is less than the sum of a first time length and a second time length, the first time length is used to represent the time length corresponding to the moment when the current starts to be less than or equal to the preset threshold value to the moment when the battery is powered off, the second time length is used to represent a preset rest time length, and the time length corresponding to the initial moment when the battery voltage no longer changes from the moment when the current starts to be less than or equal to the preset threshold value is less than or equal to the rest time length; The correction module is used to correct the SOC calculation value of the battery according to the target SOC value to obtain a SOC correction value; The target SOC value determination module is also used for: Determine a minimum voltage difference value according to a preset correction error value and the OCV spectrum, wherein the minimum voltage difference value is the minimum value of the absolute value of the voltage difference value corresponding to any two adjacent SOC values in the OCV spectrum, and the absolute value of the difference between any two adjacent SOC values is equal to the correction error value; determine a static voltage point according to a curve of voltage variation over time during the actual historical charging and discharging process of the battery; determine an approximate static voltage point in the curve of voltage variation over time according to the voltage value corresponding to the static voltage point and the minimum voltage difference; Determine the current value at the time corresponding to the approximate static voltage point as the preset threshold; By means of a curve of voltage variation over time, the duration from a first moment corresponding to an approximate static voltage point to a second moment corresponding to a static voltage point is used as a preset duration; According to the SOC usage range of the battery, multiple SOC values are determined, where the absolute value of the difference between any two adjacent SOC values is equal to the correction error value; for every two adjacent SOC values, the difference between the voltage value corresponding to the larger SOC value and the voltage value corresponding to the smaller SOC value is obtained through the OCV pulse spectrum; the minimum value is determined among all the differences obtained to obtain the minimum voltage difference.
5. A vehicle, comprising a control device, the control device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
