Battery electric quantity correction method and device, vehicle and storage medium

By calculating the average correction amplitude of the multiple historical corrections of the power battery and determining the target ampere compensation value, the SOC of the power battery is corrected, which solves the problem of inaccurate SOC of the lithium iron phosphate battery, and improves the accuracy of the battery SOC and vehicle life. Accuracy of prediction.

CN118906825APending Publication Date: 2024-11-08GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410828890.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the prior art, the accuracy of the power battery SOC is not accurate enough, especially within the voltage platform interval of the lithium iron phosphate battery, resulting in vehicle endurance prediction errors and affecting user experience.

Method used

By obtaining the correction amplitude information of multiple historical corrections, the average correction amplitude is calculated, and the target ampere compensation value is determined based on this, the current remaining power of the power battery is corrected to improve the accuracy of the SOC.

Benefits of technology

It improves the accuracy of the remaining power battery, reduces vehicle endurance prediction errors, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118906825A_ABST
    Figure CN118906825A_ABST
Patent Text Reader

Abstract

The invention provides a battery electric quantity correction method and device, a vehicle and a storage medium. The method comprises the steps that multiple sets of correction historical information are acquired; wherein each group of correction historical information comprises a correction amplitude corresponding to one-time historical correction on the residual electric quantity of the power battery; calculating the average correction amplitude of multiple times of historical correction based on the multiple groups of correction historical information; determining a target ampere-hour compensation value based on the average correction amplitude; and correcting the current residual electric quantity of the power battery based on the target ampere-hour compensation value. According to the method, the current residual electric quantity of the power battery can be corrected based on the correction amplitude of multiple historical correction, and the accuracy of the residual electric quantity of the power battery is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a method, a device, a vehicle and a storage medium for correcting battery power in the field of vehicles. Background Art

[0002] In the field of battery management system technology, the battery state of charge (SOC) is a very important parameter. SOC is the percentage of the remaining capacity of the battery pack to the rated capacity, and is used to measure the current remaining in the battery pack. An accurate SOC value is the key to predicting the vehicle's endurance. When there is an error between the power battery's SOC and the actual SOC, there is an error in predicting the vehicle's endurance, which may bring a bad car experience to users.

[0003] In the prior art, the SOC of the power battery is usually estimated by the open circuit voltage method. When the vehicle is equipped with a lithium iron phosphate battery, the lithium iron phosphate power battery has a large voltage platform range due to its own characteristics. In this range, the voltage and the remaining power of the power battery lose their linear characteristics, and there are two correction intervals on both sides of the voltage platform range. Therefore, in order to improve the accuracy of the SOC of the power battery, the SOC of the power battery is usually corrected based on the linear characteristics of the correction interval when the power battery is fully charged or when the power battery is at a low power level in the prior art, but the corrected SOC is still not accurate enough. Summary of the invention

[0004] The present application provides a method, device, vehicle and storage medium for correcting battery power. The method can correct the current remaining power of a power battery based on correction amplitudes of multiple historical corrections, thereby improving the accuracy of the remaining power of the power battery.

[0005] In a first aspect, a method for correcting battery power is provided, the method comprising: obtaining multiple sets of correction history information; wherein each set of correction history information comprises a correction amplitude corresponding to a historical correction of the remaining power of a power battery; based on the multiple sets of correction history information, calculating an average correction amplitude of multiple historical corrections; based on the average correction amplitude, determining a target ampere-hour compensation value; and based on the target ampere-hour compensation value, correcting the current remaining power of the power battery.

[0006] In the above technical solution, the vehicle obtains multiple sets of correction history information of multiple historical corrections of the power battery, and calculates the average correction amplitude of multiple historical corrections based on the multiple sets of correction history information. There is no preset condition limit for the multiple sets of correction history information. Even if the correction directions of multiple corrections are different, multiple historical corrections can be comprehensively considered to take the average correction amplitude of multiple historical corrections. Considering that there will still be a certain error in multiple historical corrections, and the error is often related to the correction amplitude, the target ampere-hour compensation value is determined based on the average correction amplitude of multiple corrections to correct the current remaining power of the power battery, so that the current remaining power of the power battery is corrected based on the correction amplitude of multiple historical corrections, and the accuracy of the remaining power of the power battery is improved.

[0007] In combination with the first aspect, in some possible implementations, each set of correction history information also includes: the throughput of the power battery between the last correction and the current correction; based on multiple sets of correction history information, calculating the average correction amplitude of multiple historical corrections, including: based on the throughput in each set of correction history information, calculating the weight value corresponding to each set of correction history information; calculating the average correction amplitude based on the correction amplitude in each set of correction history information and the weight value corresponding to each set of correction history information.

[0008] In the above technical solution, the weight value of the correction amplitude corresponding to each correction is determined based on the throughput, and the average correction amplitude is determined based on the weight value and the correction amplitude, so that the determined average correction amplitude takes into account the throughput of the power battery, thereby making the determined target ampere-hour compensation value closer to the actual error, which can further improve the accuracy of the remaining power of the power battery.

[0009] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the average correction amplitude is calculated based on the correction amplitude in each group of correction history information and the weight value corresponding to each group of correction history information, including: multiplying the correction amplitude corresponding to each group of correction history information by the weight value corresponding to the correction history information and adding the results, and using the sum as the average correction amplitude.

[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, based on the correction amplitude in each group of correction history information and the weight value corresponding to each group of correction history information, an average correction amplitude is calculated, including: for each group of correction history information, the correction amplitude in the correction history information is divided by the throughput in the correction history information and multiplied by the preset throughput to obtain the unit correction amplitude corresponding to the correction history information; based on the weight value corresponding to each group of correction history information and the unit correction amplitude corresponding to each group of correction history information, the average correction amplitude is calculated.

[0011] In the above technical solution, the unit correction amplitude corresponding to each correction is calculated respectively based on the preset throughput. The unified unit can make the correction history information generated by different historical corrections directly compared and calculated, making the calculated average correction amplitude more scientific and accurate, further improving the accuracy of the remaining power of the power battery.

[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, based on the throughput in each group of corrected historical information, a weight value corresponding to each group of corrected historical information is calculated, including: adding the throughputs in multiple groups of corrected historical information to obtain the total throughput; for each group of corrected historical information, the ratio of the throughput in the corrected historical information to the total throughput is used as the weight value corresponding to the corrected historical information.

[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, a target ampere-hour compensation value is determined based on the average correction amplitude, including: according to the average correction amplitude, querying the ampere-hour mapping table to obtain a first ampere-hour compensation value corresponding to the average correction amplitude; the ampere-hour mapping table is used to describe the correspondence between the average correction amplitude and the ampere-hour compensation value; when the first ampere-hour compensation value is greater than or equal to a first preset threshold, the first preset threshold is determined as the target ampere-hour compensation value; when the first ampere-hour compensation value is less than or equal to a second preset threshold, the second preset threshold is determined as the target ampere-hour compensation value; wherein the second preset threshold is less than the first preset threshold; when the first ampere-hour compensation value is less than the first preset threshold and greater than the second preset threshold, the first ampere-hour compensation value is determined as the target ampere-hour compensation value.

[0014] In the above technical solution, based on the preset first preset threshold and the second threshold, the upper and lower limits are set for the determined first ampere-hour compensation value to avoid the ampere-hour compensation value being too large or too small, resulting in the corrected remaining power being outside the normal power range, thereby affecting the safe driving of the vehicle.

[0015] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the current remaining power of the power battery is corrected based on the target ampere-hour compensation value, including: determining a correction rate for correcting the current remaining power of the power battery; based on the target ampere-hour compensation value, correcting the current remaining power of the power battery according to the correction rate.

[0016] In the above technical solution, since the change process of the remaining power of the power battery is a slow process, the remaining power cannot be changed too much at one time. Therefore, when the ampere-hour compensation value is large, it may not be possible to implement the correction based on the ampere-hour compensation value, or it is impossible to ensure that the correction amount corresponding to the ampere-hour compensation value is fully compensated to the remaining power. Determining a correction rate can ensure that a larger ampere-hour compensation value corrects the remaining power of the battery based on the correction rate, ensure that the correction amount corresponding to the ampere-hour compensation value is fully compensated to the remaining power, and avoid sudden changes in the remaining power during the compensation process.

[0017] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, a correction rate for correcting the current remaining power of the power battery is determined, including: when the target ampere-hour compensation value is determined to be a positive value, the correction rate is determined to be a preset rising rate; when the target ampere-hour compensation value is determined to be a negative value, the correction rate is determined to be a preset falling rate; correcting the current remaining power of the power battery according to the correction rate, including: increasing the current remaining power of the power battery according to the preset rising rate until the increased correction amount is a correction amount corresponding to the target ampere-hour compensation value; or decreasing the current remaining power of the power battery according to the preset falling rate until the decreased correction amount is a correction amount corresponding to the target ampere-hour compensation value.

[0018] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the current remaining power of the power battery is corrected based on the target ampere-hour compensation value, including: when it is determined that the vehicle includes a target electrical component, a second ampere-hour compensation value is determined; wherein the target electrical component is used to monitor the performance of the power battery; the second ampere-hour compensation value is used to compensate for the power battery power consumed when the target electrical component is performing performance monitoring; the target ampere-hour compensation value and the second ampere-hour compensation value are added to obtain a total ampere-hour compensation value; based on the total ampere-hour compensation value, the current remaining power of the power battery is corrected.

[0019] In the above technical solution, when correcting the remaining power of the power battery, the error caused by the power consumption of the AFE chip is taken into account, and the second ampere-hour compensation value is determined. The remaining power of the power battery is corrected in combination with the target ampere-hour compensation value and the second ampere-hour compensation value, which can further improve the accuracy of the power battery power.

[0020] In summary, the present application obtains multiple groups of correction history information of multiple historical corrections, calculates the unit correction amplitude in units of preset throughput based on the throughput and correction amplitude in the correction history information, and finely divides the correction amplitude in units of preset throughput, taking into account the influence of throughput on the correction amplitude, so that the subsequent calculation of the average correction amplitude can be more accurate, and the weight value of the correction amplitude corresponding to each correction in the total correction amplitude is calculated based on the throughput, and the average correction amplitude is determined based on the weight value and the unit correction amplitude, which further refines the average correction amplitude, making the target ampere-hour compensation value determined based on the average correction amplitude more accurate, and the remaining battery power is corrected based on the accurate ampere-hour compensation value, thereby improving the accuracy of the remaining battery power.

[0021] In a second aspect, a vehicle control device is provided, which includes: an acquisition module for acquiring multiple groups of correction history information; wherein each group of correction history information includes a correction amplitude corresponding to a historical correction of the remaining power of the power battery; a calculation module for calculating the average correction amplitude of multiple historical corrections based on the multiple groups of correction history information; a determination module for determining a target ampere-hour compensation value based on the average correction amplitude; and a correction module for correcting the current remaining power of the power battery based on the target ampere-hour compensation value.

[0022] In combination with the second aspect, in some possible implementations, each set of correction history information also includes: the throughput of the power battery between the last correction and the current correction, and the calculation module is specifically used to: calculate the weight value corresponding to each set of correction history information based on the throughput in each set of correction history information; calculate the average correction amplitude based on the correction amplitude in each set of correction history information and the weight value corresponding to each set of correction history information.

[0023] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the calculation module is specifically used to: multiply the correction amplitude corresponding to each group of correction history information by the weight value corresponding to the correction history information and add them up, and use the sum obtained as the average correction amplitude.

[0024] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the calculation module is specifically used to: for each set of correction history information, divide the correction amplitude in the correction history information by the throughput in the correction history information and multiply it by the preset throughput to obtain the unit correction amplitude corresponding to the correction history information; based on the weight value corresponding to each set of correction history information and the unit correction amplitude corresponding to each set of correction history information, calculate the average correction amplitude.

[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the calculation module is specifically used to: add the throughputs in multiple groups of corrected historical information to obtain the total throughput; for each group of corrected historical information, use the ratio of the throughput in the corrected historical information to the total throughput as the weight value corresponding to the corrected historical information.

[0026] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is specifically used to: query the ampere-hour mapping table according to the average correction amplitude to obtain a first ampere-hour compensation value corresponding to the average correction amplitude; the ampere-hour mapping table is used to describe the correspondence between the average correction amplitude and the ampere-hour compensation value; when the first ampere-hour compensation value is greater than or equal to the first preset threshold, the first preset threshold is determined as the target ampere-hour compensation value; when the first ampere-hour compensation value is less than or equal to the second preset threshold, the second preset threshold is determined as the target ampere-hour compensation value; wherein the second preset threshold is less than the first preset threshold; when the first ampere-hour compensation value is less than the first preset threshold and greater than the second preset threshold, the first ampere-hour compensation value is determined as the target ampere-hour compensation value.

[0027] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the correction module is specifically used to: determine a correction rate for correcting the current remaining power of the power battery; based on the target ampere-hour compensation value, and correct the current remaining power of the power battery according to the correction rate.

[0028] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the correction module is specifically used to: when it is determined that the target ampere-hour compensation value is a positive value, determine the correction rate to be a preset rising rate; when it is determined that the target ampere-hour compensation value is a negative value, determine the correction rate to be a preset falling rate; increase the current remaining power of the power battery according to the preset rising rate until the increased correction amount is the correction amount corresponding to the target ampere-hour compensation value; or, decrease the current remaining power of the power battery according to the preset falling rate until the decreased correction amount is the correction amount corresponding to the target ampere-hour compensation value.

[0029] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the correction module is also used to determine a second ampere-hour compensation value when it is determined that the vehicle includes a target electrical component; wherein the target electrical component is used to perform performance monitoring on the power battery; the second ampere-hour compensation value is used to compensate for the power battery power consumed when the target electrical component performs performance monitoring; the target ampere-hour compensation value and the second ampere-hour compensation value are added to obtain a total ampere-hour compensation value; and based on the total ampere-hour compensation value, the current remaining power of the power battery is corrected.

[0030] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.

[0031] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.

[0032] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a schematic diagram of a voltage and power characteristic curve of a lithium iron phosphate battery provided in an embodiment of the present application.

[0034] Figure 2 It is a schematic flow chart of a method for correcting battery power provided in an embodiment of the present application.

[0035] Figure 3 It is a flow chart of the upper and lower limits of the ampere-hour compensation value provided in an embodiment of the present application.

[0036] Figure 4 It is a schematic diagram of determining the total ampere-hour compensation value provided in an embodiment of the present application.

[0037] Figure 5 It is a structural schematic diagram of a battery power correction device provided in an embodiment of the present application.

[0038] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0040] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0041] The open circuit voltage (OCV) of a power battery refers to the terminal voltage of the battery in an open circuit state. The open circuit voltage of a power battery is equal to the difference between the positive electrode potential and the negative electrode potential of the battery when the power battery is disconnected (that is, when no current passes through the two poles), expressed as V, that is, V = Ф+-Ф-, where Ф+ and Ф- are the positive and negative electrode potentials of the power battery respectively. In actual calculation, it can be regarded as a voltmeter connected to the open circuit, and the voltmeter reading is the open circuit voltage.

[0042] In the prior art, the SOC of the power battery is usually estimated by the open circuit voltage method. When a vehicle is equipped with a lithium iron phosphate battery, the lithium iron phosphate power battery has a large voltage platform range due to its own characteristics. Within this voltage platform range, the voltage and remaining power of the power battery lose their linear characteristics, and there are two correction ranges on both sides of the voltage platform range. Figure 1 As shown in the figure, the voltage-to-capacity characteristic curve (OCV-SOC) of the lithium iron phosphate battery includes four intervals: interval A, interval B, interval C and interval D. Among them, the voltage platform interval is interval B. In interval B, the open circuit voltage of the lithium iron phosphate power battery changes relatively slowly, and one voltage corresponds to multiple capacities. In intervals A and C on both sides of interval B, the OCV-SOC curve is relatively steep, and OCV and SOC correspond one to one. At this time, a charge can be determined based on a voltage.

[0043] Therefore, in order to improve the accuracy of the SOC of the power battery in the prior art, the SOC of the power battery is usually corrected based on the linear characteristics of the correction interval when the power battery is fully charged or at a low power level. However, the corrected SOC is still not accurate enough.

[0044] Based on this, the present application proposes a method for correcting battery power, which can correct the current remaining power of the power battery based on multiple groups of correction history information corresponding to multiple historical corrections, thereby improving the accuracy of the remaining power of the power battery.

[0045] Figure 2 1 is a schematic flow chart of a battery power correction method provided in an embodiment of the present application. The method is applied to a vehicle.

[0046] For example, Figure 2 As shown, the method 200 includes:

[0047] Step 201, obtaining multiple sets of revision history information;

[0048] Each set of correction history information includes a correction range corresponding to a historical correction of the remaining power of the power battery.

[0049] Step 202, based on multiple sets of correction history information, calculate the average correction range of multiple historical corrections;

[0050] Step 203, determining a target ampere-hour compensation value based on the average correction amplitude;

[0051] Step 204: correct the current remaining power of the power battery based on the target ampere-hour compensation value.

[0052] exist Figure 2 In the embodiment shown, the vehicle obtains multiple sets of correction history information of multiple historical corrections of the power battery, and calculates the average correction amplitude of the multiple historical corrections based on the multiple sets of correction history information. There is no preset condition limit for the multiple sets of correction history information. Even if the correction directions of the multiple corrections are different, the multiple historical corrections can be comprehensively considered to obtain the average correction amplitude of the multiple historical corrections. Considering that there will still be a certain error in multiple historical corrections, and the error is often related to the correction amplitude, the target ampere-hour compensation value is determined based on the average correction amplitude of multiple corrections to correct the current remaining power of the power battery, so that the current remaining power of the power battery is corrected based on the correction amplitude of multiple historical corrections, and the accuracy of the remaining power of the power battery is improved.

[0053] Below Figure 2 The specific implementation methods of each step in the illustrated embodiment are described as follows:

[0054] In step 201, the power battery is a battery that provides power for the vehicle, and the power battery can be a lithium iron phosphate battery. Due to its own characteristics, the lithium iron phosphate power battery has a large voltage platform interval. In this interval, the voltage and the remaining power of the power battery lose their linear characteristics, and there are two correction intervals on both sides of the voltage platform interval. In the two correction intervals, the voltage and the remaining power of the power battery correspond one to one. The historical correction can be a correction of the power battery based on the two correction intervals.

[0055] It is understandable that each time a historical correction is made to the remaining power of the power battery, there is a corresponding correction amplitude, and the correction amplitude can be understood as the difference between the remaining power after a single correction and the remaining power before the correction. The correction amplitude can be expressed in the form of a percentage value, such as 3%. A set of correction history information includes at least a correction amplitude corresponding to a historical correction of the remaining power of the power battery.

[0056] Furthermore, the historical correction of the remaining power of the power battery includes: increasing the remaining power and decreasing the remaining power, and correspondingly, the percentage value representing the correction range includes positive and negative values. For example, 3% and -3%. Among them, the correction range is a positive value (3%) to represent that the correction is to increase the remaining power, and the correction range is a negative value (-3%) to represent that the correction is to decrease the remaining power.

[0057] The vehicle includes a vehicle control unit (VCU), which integrates a battery management system (BMS) module, denoted as the VCU_BMS module. Each time the vehicle corrects the remaining power of the power battery, the VCU_BMS module stores a set of correction history information generated by the correction. The VCU_BMS module can store multiple sets of correction history information generated by multiple corrections in chronological order. To obtain multiple sets of correction history information is to obtain multiple sets of correction history information stored in the VCU_BMS module.

[0058] Assuming that five sets of correction history information corresponding to the five most recent corrections are obtained, the correction history information stored five times most recently from the current time is obtained from the VCU_BMS module.

[0059] Table 1

[0060] Historical revision Correction 1 Correction 2 Correction 3 Correction 4 Correction 5 Correction range S -3% 5% -3% 0 0

[0061] As shown in Table 1, the five most recent corrections are correction 1, correction 2, correction 3, correction 4 and correction 5 according to the correction time from the nearest to the current time. The first group of correction history information, i.e., the correction history information corresponding to correction 1, includes the correction amplitude: -3%, recorded as S1; the second group of correction history information, i.e., the correction history information corresponding to correction 2, includes the correction amplitude: 5%, recorded as S2; the third group of correction history information, i.e., the correction history information corresponding to correction 3, includes the correction amplitude: -3%, recorded as S3; the fourth group of correction history information, i.e., the correction history information corresponding to correction 4, includes the correction amplitude: 0%, recorded as S4; the fifth group of correction history information, i.e., the correction history information corresponding to correction 5, includes the correction amplitude: 0%, recorded as S5.

[0062] In step 202, after obtaining multiple groups of correction history information, the correction amplitudes in the multiple groups of correction history information may be added together, and the total correction amplitude after addition may be divided by the number of groups to obtain an average correction amplitude.

[0063] As shown in Table 1, the multiple groups of correction history information are the five most recent correction history information, and the calculation formula for the average correction amplitude is: S = (S1 + S2 + S3 + S4 + S5) / 5. Substituting the five correction amplitudes S1, S2, S3, S4, and S5 shown in Table 1 into the above formula, we can obtain the average correction amplitude S = ((-3%) + (5%) + (-3%) + 0 + 0) / 5 = 0.4%.

[0064] In some embodiments, the calculated average correction amplitude may also be a weighted average correction amplitude. The following embodiment describes this in detail:

[0065] In a possible implementation, each set of correction history information further includes: the throughput of the power battery between the last correction and the current correction; based on multiple sets of correction history information, the average correction amplitude of multiple historical corrections is calculated, including the following S11 to S12:

[0066] S11: Calculate a weight value corresponding to each set of modified history information based on the throughput in each set of modified history information.

[0067] Among them, throughput refers to the total amount of electricity charged and discharged by the power battery when the power battery is charged and discharged.

[0068] It is understandable that between two adjacent corrections of the power battery, the user may consume the power of the power battery by driving the vehicle or charge the power battery. In this case, the charge and discharge of the power battery between the two adjacent corrections are accumulated to obtain the throughput of the power battery between the two adjacent corrections.

[0069] As in the above embodiment, five sets of revision history information are obtained, and the throughputs included in the five sets of revision history information are shown in Table 2:

[0070] Table 2

[0071] Historical revision Correction 1 Correction 2 Correction 3 Correction 4 Correction 5 Correction range S -3% 5% -3% 0 0 ThroughputT 15000Ah 50000Ah 100000Ah 0 0

[0072] As shown in Table 2, the first group of correction history information also includes the throughput of the power battery between correction 1 and correction 2: 15000Ah, recorded as T1; the second group of correction history information also includes the throughput of the power battery between correction 2 and correction 3: 50000Ah, recorded as T2; the third group of correction history information also includes the throughput of the power battery between correction 3 and correction 4: 100000Ah, recorded as T3; the fourth group of correction history information also includes the throughput of the power battery between correction 4 and correction 5: 0Ah, recorded as T4; the fifth group of correction history information also includes the throughput of the power battery between correction 5 and correction 6: 0Ah, recorded as T5.

[0073] Based on the throughput included in each group of corrected historical information, calculating the weight value corresponding to each group of corrected historical information can be understood as: calculating the weight value Q1 corresponding to the first group of corrected historical information based on T1, calculating the weight value Q2 corresponding to the second group of corrected historical information based on T2, calculating the weight value Q3 corresponding to the third group of corrected historical information based on T3, calculating the weight value Q4 corresponding to the fourth group of corrected historical information based on T4, and calculating the weight value Q5 corresponding to the fifth group of corrected historical information based on T5.

[0074] S12: Calculate an average correction amplitude based on the correction amplitude in each set of correction history information and the weight value corresponding to each set of correction history information.

[0075] The average correction amplitude calculated based on the correction amplitude in each set of correction history information and the weight value corresponding to each set of correction history information may also be referred to as a weighted average correction amplitude.

[0076] The calculation process of the weighted average correction range is as follows:

[0077] In one possible implementation, the average correction amplitude is calculated based on the correction amplitude in each group of the correction history information and the weight value corresponding to each group of the correction history information, including: multiplying the correction amplitude corresponding to each group of the correction history information by the weight value corresponding to the correction history information and adding the results, and using the sum as the average correction amplitude.

[0078] After obtaining the weight value corresponding to each group of correction history information, the weight value corresponding to each group of correction history information can be first determined as the weight value of the correction amplitude in the group of correction history information, and then each correction amplitude is multiplied by its corresponding weight value and added together. The sum obtained by adding is called the weighted average correction amplitude, which is the above-mentioned average correction amplitude.

[0079] Exemplarily, the first group of correction history information includes a correction amplitude of S1, and the corresponding weight value is Q1; the second group of correction history information includes a correction amplitude of S2, and the corresponding weight value is Q2; the third group of correction history information includes a correction amplitude of S3, and the corresponding weight value is Q3; the fourth group of correction history information includes a correction amplitude of S4, and the corresponding weight value is Q4; the fifth group of correction history information includes a correction amplitude of S5, and the corresponding weight value is Q5. Based on the above content, it can be determined that the correction amplitude S1 corresponds to the weight value Q1, the correction amplitude S2 corresponds to the weight value Q2, the correction amplitude S3 corresponds to the weight value Q3, the correction amplitude S4 corresponds to the weight value Q4, and the correction amplitude S5 corresponds to the weight value Q5, then the average correction amplitude S = Q1×S1+Q2×S2+Q3×S3+Q4×S4+Q5×S5.

[0080] In one possible implementation, based on the throughput in each set of revised historical information, a weight value corresponding to each set of revised historical information is calculated, including: adding the throughputs in multiple sets of revised historical information to obtain the total throughput; for each set of revised historical information, the ratio of the throughput in the revised historical information to the total throughput is used as the weight value corresponding to the revised historical information.

[0081] It is understandable that during the use of the power battery, there may be an error between the actual power level and the displayed power level. As the throughput of the power battery is different, the power battery power error is different, and the corresponding correction range of the remaining power of the power battery is also different.

[0082] Specifically, based on the ratio of the throughput in each set of correction history information to the total throughput of multiple sets of correction history information, the weight value corresponding to each set of correction history information is determined, that is, the weight value of the correction amplitude in each set of correction history information to the total correction amplitude of multiple historical corrections is determined.

[0083] As in the above embodiment, five sets of correction history information are obtained, including throughputs T1, T2, T3, T4, and T5. The total throughput T = T1 + T2 + T3 + T4 + T5 = 15000 + 50000 + 100000 + 0 + 0 = 165000 Ah.

[0084] Weight value Q1=T1 / T=15000 / 165000=9.09%.

[0085] Weight value Q2=T2 / T=50000 / 165000=30.30%.

[0086] Weight value Q3 = T3 / T = 100000 / 165000 = 60.61%.

[0087] Weight value Q4=T4 / T=0 / 165000=0%.

[0088] Weight value Q5=T5 / T=0 / 165000=0%.

[0089] Furthermore, the average correction amplitude S = 9.09% × (-3%) + 30.30% × 5% + 60.61% × (-3%) = -0.576%.

[0090] In the above method, the weight value of the correction amplitude corresponding to each correction is determined based on the throughput, and the average correction amplitude is determined based on the weight value and the correction amplitude, so that the determined average correction amplitude takes into account the throughput of the power battery, thereby making the determined target ampere-hour compensation value closer to the actual error, which can further improve the accuracy of the remaining power of the power battery.

[0091] In a possible implementation, an average correction amplitude is calculated based on the correction amplitude in each set of correction history information and the weight value corresponding to each set of correction history information, including: for each set of correction history information, dividing the correction amplitude in the correction history information by the throughput in the correction history information and multiplying by the preset throughput to obtain the unit correction amplitude corresponding to the correction history information; and calculating the average correction amplitude based on the weight value corresponding to each set of correction history information and the unit correction amplitude corresponding to each set of correction history information.

[0092] Each set of correction history information includes throughput and correction amplitude. In order to more accurately calculate the average correction amplitude, the preset throughput can be defined as a unit, and the unit correction amplitude can be determined based on the correction amplitude and throughput. Specifically, the correction amplitude S can be divided by the throughput T and multiplied by the preset throughput T0 to obtain the unit correction amplitude L, and the calculation formula is recorded as: L = S / T × T0.

[0093] The throughput and correction amplitude are shown in Table 2 above. Assuming that the preset throughput is 10000Ah, the unit correction amplitude L1 corresponding to the first set of correction history information is (-3%) / 15000×10000=-2%; the unit correction amplitude L2 corresponding to the second set of correction history information is 5% / 50000×10000=1%; the unit correction amplitude L3 corresponding to the third set of correction history information is (-3%) / 100000×10000=-0.3%; the unit correction amplitude L4 corresponding to the fourth set of correction history information is 0; and the unit correction amplitude L5 corresponding to the fifth set of correction history information is 0.

[0094] Furthermore, the average correction amplitude is equal to the sum of the weight value corresponding to each set of correction history information multiplied by the unit correction amplitude corresponding to each set of correction history information.

[0095] Exemplarily, the average correction amplitude S = Q1×L1+Q2×L2+Q3×L3+Q4×L4+Q5×L5. Based on the weight values ​​and unit correction amplitudes calculated in the above embodiment, it can be obtained that the average correction amplitude S = 9.09%×(-2%)+30.30%×1%+60.61%×(-0.3%)=-0.06% / 10000Ah.

[0096] In some embodiments, after the unit correction amplitude and the average correction amplitude are determined, the obtained unit correction amplitude and the average correction amplitude can be filled into Table 2 to obtain Table 3.

[0097] Table 3

[0098]

[0099] As shown in Table 3, the total throughput of the five groups of correction history information is 16500Ah. The unit correction amplitude corresponding to the first group of correction history information is -2% and the weight value is 9.09%; the unit correction amplitude corresponding to the second group of correction history information is 1% and the weight value is 30.30%; the unit correction amplitude corresponding to the third group of correction history information is -0.3% and the weight value is 60.61%; the unit correction amplitude corresponding to the fourth group of correction history information is 0 and the weight value is 0; the unit correction amplitude corresponding to the fifth group of correction history information is 0 and the weight value is 0. The weighted average correction amplitude calculated from the five groups of correction history information is -0.06% / 10000Ah.

[0100] In the above method, the unit correction amplitude corresponding to each correction is calculated respectively with the preset throughput as the unit. The unified unit can make the correction history information generated by different historical corrections directly compared and calculated, so that the calculated average correction amplitude is more scientific and accurate, and further improves the accuracy of the remaining power of the power battery.

[0101] In step 203, the target ampere-hour compensation value is the ampere-hour compensation value for the remaining power of the power battery. There is a certain corresponding relationship or calculation formula between the average correction amplitude and the ampere-hour compensation value. After the average correction amplitude is obtained, the target ampere-hour compensation value can be determined based on the average correction amplitude.

[0102] In a possible implementation, a target ampere-hour compensation value is determined based on an average correction amplitude, including: according to the average correction amplitude, querying an ampere-hour mapping table to obtain a first ampere-hour compensation value corresponding to the average correction amplitude; the ampere-hour mapping table is used to describe the correspondence between the average correction amplitude and the ampere-hour compensation value; when the first ampere-hour compensation value is greater than or equal to a first preset threshold, the first preset threshold is determined as the target ampere-hour compensation value; when the first ampere-hour compensation value is less than or equal to a second preset threshold, the second preset threshold is determined as the target ampere-hour compensation value; wherein the second preset threshold is less than the first preset threshold; when the first ampere-hour compensation value is less than the first preset threshold and greater than the second preset threshold, the first ampere-hour compensation value is determined as the target ampere-hour compensation value.

[0103] The vehicle stores an ampere-hour compensation Map, i.e., the above-mentioned ampere-hour mapping table, which includes the correspondence between the average correction amplitude and the ampere-hour compensation value. After the average correction amplitude is obtained, the ampere-hour mapping table can be queried according to the average correction amplitude to obtain the first ampere-hour compensation value corresponding to the average correction amplitude. The ampere-hour mapping table is shown in Table 4:

[0104] Table 4

[0105] Average correction range L -1.25% -1% -0.75% -0.5% -0.25% -0.06% 0 Ampere-hour compensation value 10Ah 8Ah 6Ah 4Ah 2Ah 0.48Ah 0

[0106] As shown in Table 4, the ampere-hour mapping table includes: the correspondence between the average correction amplitude of -1.25% and the ampere-hour compensation value of 10Ah, the correspondence between the average correction amplitude of -1% and the ampere-hour compensation value of 8Ah, the correspondence between the average correction amplitude of -0.75% and the ampere-hour compensation value of 6Ah, the correspondence between the average correction amplitude of -0.5% and the ampere-hour compensation value of 4Ah, the correspondence between the average correction amplitude of -0.25% and the ampere-hour compensation value of 2Ah, the correspondence between the average correction amplitude of -0.06% and the ampere-hour compensation value of 0.48Ah, etc.

[0107] As in the above embodiment, the calculated average correction amplitude is -0.06%. Based on the average correction amplitude of -0.06%, the ampere-hour mapping table, ie, the above Table 4, is queried to obtain a first ampere-hour compensation value corresponding to the average correction amplitude of -0.06% of 0.48Ah.

[0108] In some embodiments, the correspondence between the average correction amplitude L and the ampere-hour compensation value C can be expressed as: C=-800L. The above Table 4 is obtained based on this correspondence. Substituting the average correction amplitude L into the correspondence C=-800L, the target ampere-hour compensation value corresponding to the average correction amplitude L can be obtained.

[0109] In some embodiments, the corresponding relationship can also be that one average correction amplitude interval corresponds to one ampere-hour compensation value. For example, when the correction amplitude L is less than or equal to -1.25%, and L is greater than -1%, the corresponding ampere-hour compensation value is 10Ah. When L is less than or equal to -1%, and L is greater than -0.75%, the corresponding ampere-hour compensation value is 8Ah, when L is less than or equal to -0.75%, and L is greater than -0.5%, the corresponding ampere-hour compensation value is 6Ah, etc. After obtaining the average correction amplitude, first determine the interval in which the average correction amplitude is located, and determine the ampere-hour compensation value corresponding to the interval as the target ampere-hour compensation value corresponding to the average correction amplitude.

[0110] The vehicle stores a first preset threshold value P1 and a second preset threshold value P2, where P1 is greater than P2. P1 and P2 are used to set upper and lower limits for the first ampere-hour compensation value that has been queried. Specifically, when the first ampere-hour compensation value is greater than or equal to the first preset threshold value P1, the first preset threshold value P1 is determined as the target ampere-hour compensation value; when the first ampere-hour compensation value is less than or equal to the second preset threshold value P2, the second preset threshold value P2 is determined as the target ampere-hour compensation value; when the first ampere-hour compensation value is less than P1 and greater than P2, the first ampere-hour compensation value is determined as the target ampere-hour compensation value to ensure that the target ampere-hour compensation value is not greater than the first preset threshold value P1 and not less than the second preset threshold value P2.

[0111] Exemplarily, assuming that the first preset threshold is 10Ah and the second preset threshold is 2.5Ah, as in the above embodiment, the first ampere-hour compensation value obtained by looking up the table is 0.48Ah. Based on the fact that 0.48Ah is less than the second preset threshold of 2.5Ah, it can be determined that the target ampere-hour compensation value is the second preset threshold of 2.5Ah.

[0112] In some embodiments, the first preset threshold value may be referred to as the maximum value of the ampere-hour compensation, and the second preset threshold value may be referred to as the minimum value of the ampere-hour compensation. The process of setting upper and lower limits on the first ampere-hour compensation value based on the maximum value and the minimum value may also be as follows: Figure 3 shown.

[0113] Figure 3 It is a flow chart of the upper and lower limits of the ampere-hour compensation value provided in an embodiment of the present application.

[0114] For example, Figure 3 As shown, the first ampere-hour compensation value is input into the ramp control (Ramp) module, the Ramp module inputs the first ampere-hour compensation value into the minimum value limiting module, the minimum value limiting module outputs the largest one of the first ampere-hour compensation value and the minimum value as a transition value to the maximum value limiting module, and the maximum value limiting module outputs the smallest one of the transition value and the maximum value as the target ampere-hour compensation value.

[0115] In some embodiments, the correspondence shown in Table 4 is referred to as the first correspondence, the average correction amplitude can also be a positive value, and the vehicle can also store a second correspondence between the positive average correction amplitude and the ampere-hour compensation value, that is, the vehicle also stores a second ampere-hour mapping table. As shown in Table 5:

[0116] Table 5

[0117] Average correction range L 1.25% 1% 0.75% 0.5% 0.25% 0.06% Ampere-hour compensation value -5Ah -4Ah -3Ah -2Ah -1Ah -0.24Ah

[0118] As shown in Table 5, the second ampere-hour mapping table includes: the correspondence between the average correction amplitude of 1.25% and the ampere-hour compensation value of -5Ah, the correspondence between the average correction amplitude of 1% and the ampere-hour compensation value of -4Ah, the correspondence between the average correction amplitude of 0.75% and the ampere-hour compensation value of -3Ah, the correspondence between the average correction amplitude of 0.5% and the ampere-hour compensation value of -2Ah, the correspondence between the average correction amplitude of 0.25% and the ampere-hour compensation value of -1Ah, the correspondence between the average correction amplitude of 0.06% and the ampere-hour compensation value of -0.24Ah, etc.

[0119] Assuming that the calculated average correction amplitude is 0.06%, the ampere-hour mapping table, ie, the above-mentioned Table 5, is queried based on the average correction amplitude of 0.06%, and the first ampere-hour compensation value corresponding to the average correction amplitude of 0.06% is -0.24Ah.

[0120] In some embodiments, when the determined target ampere-hour compensation value is a negative value, the first preset value and the second preset threshold value stored in the vehicle may also be negative values. For example, the first preset value may be -1.2Ah, and the second preset threshold value may be -5Ah. The process of setting upper and lower limits on the negative target ampere-hour compensation value based on the first preset threshold value and the second preset threshold value is similar to the above embodiment and will not be repeated here.

[0121] In the above method, based on the preset first preset threshold value and the second threshold value, the upper and lower limits are set for the determined first ampere-hour compensation value to avoid the ampere-hour compensation value being too large or too small, resulting in the corrected remaining power being outside the normal power range, thereby affecting the safe driving of the vehicle.

[0122] In step 204 , after obtaining the target ampere-hour compensation value, the current remaining power and total capacity of the power battery may be acquired, and the current remaining power of the power battery may be corrected based on the total capacity of the power battery and the target ampere-hour compensation value.

[0123] Specifically, the percentage of the target ampere-hour compensation value to the total capacity can be determined to obtain a target correction amount, and the remaining power is added to the obtained target correction amount to achieve correction of the remaining power.

[0124] For example, assuming that the total capacity of the power battery is 360Ah, the current remaining capacity is 50%, and the target ampere-hour compensation value is 2.5Ah, the target ampere-hour compensation value is calculated to be a percentage of the total capacity of 0.69%. Add 0.69% to the remaining capacity of 50%, and the corrected remaining capacity is 50.69%.

[0125] In one possible implementation, the current remaining power of the power battery is corrected based on the target ampere-hour compensation value, including: determining a correction rate for correcting the current remaining power of the power battery; based on the target ampere-hour compensation value, correcting the current remaining power of the power battery according to the correction rate.

[0126] It is understandable that the change process of the remaining power of the power battery is a gradual process, and the remaining power cannot be changed too much at one time. Therefore, when the remaining power of the power battery is corrected based on the target ampere-hour compensation value, there is usually a certain gradient limit. When the target ampere-hour compensation value (or the target correction amount determined based on the target ampere-hour compensation value) is too large, the remaining power needs to be corrected based on the rate limited by the gradient limit.

[0127] In some embodiments, the correction rate is a fixed value set in advance based on the gradient limit, and the set correction rate is obtained after the target ampere-hour compensation value is determined. When the remaining power is reduced based on the target ampere-hour compensation value, the correction rate is used as a descending rate to reduce the remaining power, and when the remaining power is increased based on the target ampere-hour compensation value, the correction rate is used as an ascending rate to increase the remaining power.

[0128] In some embodiments, the vehicle may also store a correspondence between the ampere-hour compensation value and the correction rate. Based on the correspondence, a larger ampere-hour compensation value may determine a larger correction rate, wherein the maximum correction rate does not exceed the above-mentioned gradient limit.

[0129] In a possible implementation, determining a correction rate for correcting the current remaining power of the power battery includes: when the target ampere-hour compensation value is determined to be a positive value, determining the correction rate to be a preset rising rate; when the target ampere-hour compensation value is determined to be a negative value, determining the correction rate to be a preset falling rate; correcting the current remaining power of the power battery according to the correction rate includes: increasing the current remaining power of the power battery according to the preset rising rate until the increased correction amount is the correction amount corresponding to the target ampere-hour compensation value. Alternatively, decreasing the current remaining power of the power battery according to the preset falling rate until the decreased correction amount is the correction amount corresponding to the target ampere-hour compensation value.

[0130] The vehicle stores a preset rising rate and a preset falling rate calibrated in advance based on the gradient limit. After obtaining the target ampere-hour compensation value, it can be determined based on the target ampere-hour compensation value whether the correction to be made to the remaining power of the power battery is to increase the remaining power or to decrease the remaining power. When it is determined that the correction is to increase the remaining power, the preset rising rate is determined as the correction rate, and when it is determined that the correction is to decrease the remaining power, the preset falling rate is determined as the correction rate.

[0131] It is understandable that the target ampere-hour compensation value can be a positive value or a negative value, and the correction of the remaining power of the power battery is different depending on whether the target ampere-hour compensation value is positive or negative. Specifically, when the target ampere-hour compensation value is positive, the correction made to the remaining power of the power battery is a correction to increase the remaining power. At this time, a corresponding rising rate is required to increase the remaining power of the power battery to achieve the correction of the remaining power of the power battery. When the target ampere-hour compensation value is negative, the correction made to the remaining power of the power battery is a correction to reduce the remaining power. At this time, a corresponding falling rate is required to reduce the remaining power of the power battery to achieve the correction of the remaining power of the power battery. Therefore, the correction rate can be determined from the rising rate and the falling rate based on the positive or negative of the target ampere-hour compensation value.

[0132] In the above embodiment, the correction rate is determined by the target ampere-hour compensation value, and the target ampere-hour compensation value is determined based on the first ampere-hour compensation value. Therefore, in some embodiments, the correction rate can also be determined from the preset rising rate and the preset falling rate based on the first ampere-hour compensation value.

[0133] like Figure 3 As shown, the first ampere-hour compensation value is input into the ramp module, and the ramp module determines the correction rate from the preset rising rate and the preset falling rate based on the positive and negative of the first ampere-hour compensation value. After obtaining the correction rate, the target ampere-hour compensation value is added to the remaining capacity of the power battery based on the correction rate to correct the remaining power of the power battery.

[0134] For example, the preset rising rate is 0.5Ah / s, and the preset falling rate is -0.2Ah / s. If the target ampere-hour compensation value is 2.5Ah, which is a positive value, the determined correction rate is the preset rising rate of 0.5Ah / s, then the remaining capacity of the power battery is increased based on the rising rate of 0.5Ah per second, and the increase continues for five seconds, and the target ampere-hour compensation value of 2.5Ah is fully increased to the remaining capacity of the power battery, so as to correct the remaining capacity of the power battery.

[0135] In some embodiments, the target correction amount is first calculated to be 0.69% based on 2.5Ah, and based on the preset rising rate of 0.5Ah / s, the rising rate of the target correction amount is calculated to be 0.138% / s, then 0.138% is added to the remaining power every second, and this is continued for five seconds, until the target correction amount of 0.69% is added to the remaining power.

[0136] In the above method, since the change process of the remaining power of the power battery is a slow process, the remaining power cannot be changed too much at one time. Therefore, when the ampere-hour compensation value is large, it may not be possible to implement the correction based on the ampere-hour compensation value, or it may not be possible to ensure that the correction amount corresponding to the ampere-hour compensation value is fully compensated to the remaining power. Determining a correction rate can ensure that a larger ampere-hour compensation value corrects the remaining power of the battery based on the correction rate, and ensures that the correction amount corresponding to the ampere-hour compensation value is fully compensated to the remaining power.

[0137] In one possible implementation, the current remaining power of the power battery is corrected based on the target ampere-hour compensation value, including: when it is determined that the vehicle includes a target electrical component, a second ampere-hour compensation value is determined; wherein the target electrical component is used to monitor the performance of the power battery; the second ampere-hour compensation value is used to compensate for the power battery power consumed when the target electrical component is performing performance monitoring; the target ampere-hour compensation value and the second ampere-hour compensation value are added to obtain a total ampere-hour compensation value; and based on the total ampere-hour compensation value, the current remaining power of the power battery is corrected.

[0138] The target electrical component may be an AFE (Analog Front End) chip, which is integrated into the battery management system and used to accurately measure the voltage and temperature of each battery cell in the battery pack, so as to enable the battery management system to accurately monitor the power battery in real time and realize the monitoring and protection of battery performance. However, not all types of vehicles are equipped with AFE chips, so after obtaining the target ampere-hour compensation value, it can be determined whether the vehicle includes an AFE chip based on the vehicle model.

[0139] It is understandable that the AFE chip consumes the power of the power battery during operation, which may cause a certain error in the remaining power of the power battery. In order to compensate for the error caused by the power consumption of the AFE chip, when determining that the vehicle includes the AFE chip, the second ampere-hour compensation value is determined. The second ampere-hour compensation value can be a fixed value set in advance, such as 10mAh.

[0140] like Figure 4 As shown, after obtaining the second ampere-hour compensation value, the second ampere-hour compensation value and the target ampere-hour compensation value are added to obtain a total ampere-hour compensation value. Afterwards, the remaining power of the power battery is corrected based on the total ampere-hour compensation value. The specific correction process is the same as the correction of the remaining power of the power battery based on the target ampere-hour compensation value in the above embodiment, which will not be repeated here.

[0141] In the above method, when correcting the remaining power of the power battery, the error caused by the power consumption of the AFE chip is taken into account, and the second ampere-hour compensation value is determined. The remaining power of the power battery is corrected in combination with the target ampere-hour compensation value and the second ampere-hour compensation value, which can further improve the accuracy of the power battery power.

[0142] In summary, the present application obtains multiple groups of correction history information of multiple historical corrections, calculates the unit correction amplitude in units of preset throughput based on the throughput and correction amplitude in the correction history information, and finely divides the correction amplitude in units of preset throughput, taking into account the influence of throughput on the correction amplitude, so that the subsequent calculation of the average correction amplitude can be more accurate, and the weight value of the correction amplitude corresponding to each correction in the total correction amplitude is calculated based on the throughput, and the average correction amplitude is determined based on the weight value and the unit correction amplitude, which further refines the average correction amplitude, making the target ampere-hour compensation value determined based on the average correction amplitude more accurate, and the remaining battery power is corrected based on the accurate ampere-hour compensation value, thereby improving the accuracy of the remaining battery power.

[0143] Figure 5 It is a structural schematic diagram of a battery power correction device provided in an embodiment of the present application.

[0144] For example, Figure 5 As shown, the device 500 includes:

[0145] The acquisition module 501 is used to acquire multiple groups of correction history information; wherein each group of correction history information includes a correction amplitude corresponding to a historical correction of the remaining power of the power battery;

[0146] A calculation module 502, for calculating an average correction range of multiple historical corrections based on multiple sets of correction history information;

[0147] A determination module 503, configured to determine a target ampere-hour compensation value based on the average correction amplitude;

[0148] The correction module 504 is used to correct the current remaining power of the power battery based on the target ampere-hour compensation value.

[0149] In one possible implementation, each set of correction history information also includes: the throughput of the power battery between the last correction and the current correction, and the calculation module 502 is specifically used to: calculate the weight value corresponding to each set of correction history information based on the throughput in each set of correction history information; calculate the average correction amplitude based on the correction amplitude in each set of correction history information and the weight value corresponding to each set of correction history information.

[0150] In a possible implementation, the calculation module 502 is specifically configured to: multiply the correction amplitude corresponding to each set of correction history information by the weight value corresponding to the correction history information, add the results, and use the sum obtained as the average correction amplitude.

[0151] In one possible implementation, the calculation module 502 is specifically used to: for each set of correction history information, divide the correction amplitude in the correction history information by the throughput in the correction history information and multiply by the preset throughput to obtain the unit correction amplitude corresponding to the correction history information; based on the weight value corresponding to each set of correction history information and the unit correction amplitude corresponding to each set of correction history information, calculate the average correction amplitude.

[0152] In a possible implementation, the calculation module 502 is specifically used to: add the throughputs in multiple groups of modified history information to obtain the total throughput; for each group of modified history information, use the ratio of the throughput in the modified history information to the total throughput as the weight value corresponding to the modified history information.

[0153] In one possible implementation, the determination module 503 is specifically used to: query the ampere-hour mapping table according to the average correction amplitude to obtain a first ampere-hour compensation value corresponding to the average correction amplitude; the ampere-hour mapping table is used to describe the correspondence between the average correction amplitude and the ampere-hour compensation value; when the first ampere-hour compensation value is greater than or equal to the first preset threshold, the first preset threshold is determined as the target ampere-hour compensation value; when the first ampere-hour compensation value is less than or equal to the second preset threshold, the second preset threshold is determined as the target ampere-hour compensation value; wherein the second preset threshold is less than the first preset threshold; when the first ampere-hour compensation value is less than the first preset threshold and greater than the second preset threshold, the first ampere-hour compensation value is determined as the target ampere-hour compensation value.

[0154] In a possible implementation, the correction module 504 is specifically used to: determine a correction rate for correcting the current remaining power of the power battery; and correct the current remaining power of the power battery based on the target ampere-hour compensation value and according to the correction rate.

[0155] In one possible implementation, the correction module 504 is specifically used to: when it is determined that the target ampere-hour compensation value is a positive value, determine the correction rate to be a preset rising rate; when it is determined that the target ampere-hour compensation value is a negative value, determine the correction rate to be a preset falling rate; perform an increasing correction on the current remaining power of the power battery at the preset rising rate until the increased correction amount is a correction amount corresponding to the target ampere-hour compensation value; or, perform a decreasing correction on the current remaining power of the power battery at the preset falling rate until the decreased correction amount is a correction amount corresponding to the target ampere-hour compensation value.

[0156] In one possible implementation, the correction module 504 is also used to determine a second ampere-hour compensation value when it is determined that the vehicle includes a target electrical component; wherein the target electrical component is used to perform performance monitoring on the power battery; the second ampere-hour compensation value is used to compensate for the power of the power battery consumed when the target electrical component performs performance monitoring; the target ampere-hour compensation value and the second ampere-hour compensation value are added to obtain a total ampere-hour compensation value; and based on the total ampere-hour compensation value, the current remaining power of the power battery is corrected.

[0157] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0158] For example, Figure 6 As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 6011, and the processor 602 is used to call and execute the executable program code 6011 to perform a battery power correction method.

[0159] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to perform a battery power correction method provided in an embodiment of the present application.

[0160] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0161] In the case of dividing each functional module according to each function, the device may also include an acquisition module, a calculation module, a determination module, a correction module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0162] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for correcting the battery power, and thus can achieve the same effect as the above-mentioned implementation method.

[0163] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes, etc.

[0164] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0165] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a battery power correction method provided in the above embodiment.

[0166] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a battery power correction method provided in the above embodiment.

[0167] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a battery power correction method provided in the above embodiment.

[0168] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0169] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0170] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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.

[0171] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for correcting battery power, characterized in that: The method comprises: Acquire multiple sets of correction history information; wherein each set of correction history information includes a correction amplitude corresponding to a historical correction of the remaining power of the power battery; Based on the multiple sets of the correction history information, calculate the average correction range of multiple historical corrections; determining a target ampere-hour compensation value based on the average correction amplitude; Based on the target ampere-hour compensation value, the current remaining power of the power battery is corrected.

2. The method according to claim 1, characterized in that: Each set of the correction history information also includes: the throughput of the power battery between the last correction and the current correction; The calculating the average correction range of multiple historical corrections based on the multiple sets of correction history information includes: Based on the throughput in each set of the modified history information, calculating a weight value corresponding to each set of the modified history information; The average correction amplitude is calculated based on the correction amplitude in each set of the correction history information and the weight value corresponding to each set of the correction history information.

3. The method according to claim 2, characterized in that The calculating the average correction amplitude based on the correction amplitude in each group of the correction history information and the weight value corresponding to each group of the correction history information includes: The correction amplitude corresponding to each group of the correction history information is multiplied by the weight value corresponding to the correction history information, and the sum is added, and the sum obtained by the addition is used as the average correction amplitude.

4. The method according to claim 2, characterized in that: The calculating the average correction amplitude based on the correction amplitude in each group of the correction history information and the weight value corresponding to each group of the correction history information includes: For each set of the correction history information, dividing the correction amplitude in the correction history information by the throughput in the correction history information and multiplying by a preset throughput to obtain a unit correction amplitude corresponding to the correction history information; The average correction amplitude is calculated based on the weight value corresponding to each set of the correction history information and the unit correction amplitude corresponding to each set of the correction history information.

5. The method according to any one of claims 2 to 4, characterized in that The calculating, based on the throughput in each group of the modified history information, a weight value corresponding to each group of the modified history information comprises: Adding the throughputs in the multiple sets of the correction history information to obtain a total throughput; For each set of the modified history information, the ratio of the throughput in the modified history information to the total throughput is used as the weight value corresponding to the modified history information.

6. The method according to any one of claims 1 to 4, characterized in that The step of determining the target ampere-hour compensation value based on the average correction amplitude includes: According to the average correction amplitude, querying the ampere-hour mapping table to obtain a first ampere-hour compensation value corresponding to the average correction amplitude; the ampere-hour mapping table is used to describe the corresponding relationship between the average correction amplitude and the ampere-hour compensation value; When the first ampere-hour compensation value is greater than or equal to a first preset threshold, determining the first preset threshold as the target ampere-hour compensation value; When the first ampere-hour compensation value is less than or equal to a second preset threshold, determining the second preset threshold as the target ampere-hour compensation value; wherein the second preset threshold is less than the first preset threshold; When the first ampere-hour compensation value is less than the first preset threshold value and greater than the second preset threshold value, the first ampere-hour compensation value is determined as the target ampere-hour compensation value.

7. The method according to any one of claims 1 to 4, characterized in that The correcting the current remaining power of the power battery based on the target ampere-hour compensation value includes: Determining a correction rate for correcting a current remaining power of the power battery; Based on the target ampere-hour compensation value, the current remaining power of the power battery is corrected according to the correction rate.

8. The method according to claim 7, characterized in that The determining of a correction rate for correcting the current remaining power of the power battery includes: When it is determined that the target ampere-hour compensation value is a positive value, determining the correction rate to be a preset rising rate; When it is determined that the target ampere-hour compensation value is a negative value, determining the correction rate to be a preset descent rate; The correcting the current remaining power of the power battery according to the correction rate includes: increasing the current remaining power of the power battery according to the preset increasing rate until the increased correction amount is a correction amount corresponding to the target ampere-hour compensation value; or, The current remaining power of the power battery is reduced and corrected according to the preset decrease rate until the reduced correction amount is a correction amount corresponding to the target ampere-hour compensation value.

9. The method according to any one of claims 1 to 4, characterized in that: The correcting the current remaining power of the power battery based on the target ampere-hour compensation value includes: In the case where it is determined that the vehicle includes a target electrical component, determining a second ampere-hour compensation value; wherein the target electrical component is used to perform performance monitoring on the power battery; and the second ampere-hour compensation value is used to compensate for the power of the power battery consumed when the target electrical component performs performance monitoring; Adding the target ampere-hour compensation value and the second ampere-hour compensation value to obtain a total ampere-hour compensation value; Based on the total ampere-hour compensation value, the current remaining power of the power battery is corrected.

10. A device for correcting battery charge, characterized in that: The device comprises: An acquisition module, used to acquire multiple groups of correction history information; wherein each group of correction history information includes a correction amplitude corresponding to a historical correction of the remaining power of the power battery; A calculation module, used for calculating an average correction range of multiple historical corrections based on multiple groups of correction history information; A determination module, configured to determine a target ampere-hour compensation value based on the average correction amplitude; The correction module is used to correct the current remaining power of the power battery based on the target ampere-hour compensation value.

11. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the vehicle executes the method according to any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 9 is implemented.