A battery soc estimation method and system for charge end correction
By constructing a battery SOC state estimation method based on GRU network and combining multi-scale polarization characteristics and dynamic ampere-hour integral correction, the problem of inaccurate SOC estimation of power battery at the end of charging is solved, achieving high-precision and stable SOC convergence and avoiding SOC jumps and lags.
Patent Information
- Application Number
- CN202611500270.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-24
- Publication Date
- 2026-11-27
AI Technical Summary
In the existing technology, the SOC estimation of power batteries at the end of charging has problems such as estimation divergence caused by polarization voltage mismatch, incorrect correction of terminal voltage lookup table, and display SOC jumps or stagnation. It is especially difficult to achieve high-precision and stable SOC convergence under complex operating conditions.
A battery SOC state estimation method based on GRU network is adopted. By acquiring polarization model features at different time scales and combining temperature, current and terminal voltage data, an initial SOC state estimation model is constructed. The system SOC is then adjusted using dynamic ampere-hour integral correction coefficients to achieve smooth convergence to full charge state.
It effectively solves the problem of incorrect correction under temperature changes, current fluctuations and initial SOC deviations in traditional methods, and achieves high-precision, zero-jump and highly reliable SOC smooth convergence at the end of charging, avoiding SOC jumps and lags.
Smart Images

Figure CN123176547A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power battery management technology, and in particular to a battery SOC estimation method and system for end-of-charge correction. Background Technology
[0002] Accurately estimating the state of charge (SOC) of an electric vehicle's battery is a core function of the battery management system (BMS), directly affecting the accuracy of the remaining driving range display and the control of charging safety.
[0003] Currently, most mainstream SOC estimation schemes employ the ampere-hour integration method combined with closed-circuit voltage lookup (CCV lookup method) for end-point correction. However, traditional CCV lookup data is typically calibrated under ideal laboratory conditions such as constant temperature, constant current, and fixed initial SOC. Real-world vehicle charging processes often involve drastic temperature changes, frequent current rate switching, initial SOC deviations, and complex multi-timescale polarization accumulation and release processes. These factors lead to a severe mismatch between the polarization voltage drop in the measured terminal voltage and the ideal calibration conditions, making it impossible to maintain a stable correspondence between the terminal voltage and the actual SOC. Furthermore, the terminal voltage at the charging end (especially near full charge for lithium iron phosphate batteries) exhibits strong nonlinear characteristics. Relying solely on voltage lookup can easily cause problems such as a sudden SOC jump to 100%, prolonged stagnation at 99%, or misjudgment of the displayed SOC due to a drop in terminal voltage after current switching.
[0004] Therefore, it is necessary to propose a battery SOC estimation method for end-of-charge correction to solve the problems of end-of-charge estimation divergence, incorrect correction of end voltage lookup table, and display SOC jump, stagnation and regression caused by polarization voltage mismatch in the existing technology, so as to achieve smooth, monotonous and high-precision convergence of power battery SOC to 100% at the end of charging under complex conditions in real vehicles. Summary of the Invention
[0005] In view of this, the present invention provides a battery SOC estimation method and system for end-of-charge correction, in order to solve the technical problems of inaccurate SOC estimation at the end of charging of existing power batteries, incorrect correction of terminal voltage lookup table, and SOC jump or stagnation.
[0006] To achieve the above-mentioned technical objectives, the present invention adopts the following technical solution:
[0007] On one hand, the present invention provides a battery SOC estimation method for end-of-charge correction, comprising:
[0008] Acquire basic data samples of the power battery under different operating conditions and determine the actual SOC tag corresponding to the basic data samples; wherein, the basic data samples include at least temperature, current and terminal voltage;
[0009] Based on the aforementioned basic data samples, multiple first-order RC polarization models with different time scales are recursively used to obtain virtual polarization voltage characteristics corresponding to multiple time scales.
[0010] An initial SOC state estimation model is constructed based on a GRU network. The basic data samples and the multiple virtual polarization voltage features are used as model inputs, the real SOC labels corresponding to the basic data samples are used as training labels, and the predicted SOC values are used as model outputs. The initial model is trained to obtain a fully trained SOC state estimation model.
[0011] Real-time charging data of the power battery is acquired, and the charging data of the current moment and its historical window, as well as the virtual polarization voltage characteristics corresponding to multiple different time scales, are input into the SOC state estimation model to obtain the model-predicted SOC; at the same time, the lookup table SOC is obtained based on the charging data through the CCV lookup table method; the model-predicted SOC and the lookup table SOC are dynamically switched to determine the target SOC at the current moment.
[0012] Obtain the system SOC obtained by BMS based on ampere-hour integration, and determine the dynamic ampere-hour integration correction coefficient based on the deviation between the target SOC and the system SOC;
[0013] The ampere-hour integral speed of the system SOC is adjusted based on the dynamic ampere-hour integral correction coefficient, so that the system SOC smoothly converges to the fully charged state.
[0014] On the other hand, the present invention also discloses a battery SOC estimation system for end-of-charge correction, used to implement the method described in the above technical solution, comprising:
[0015] The sample data acquisition module is used to acquire basic data samples of the power battery under different operating conditions and determine the real SOC tag corresponding to the basic data samples.
[0016] The multi-scale feature extraction module is used to obtain virtual polarization voltage features corresponding to multiple time scales by recursively performing multiple first-order RC polarization models with different time scales based on the basic data samples.
[0017] The model training module is used to build an initial SOC state estimation model based on the GRU network. The basic data samples and the multiple virtual polarization voltage features are used as model inputs, the real SOC labels corresponding to the basic data samples are used as training labels, and the predicted SOC values are used as model outputs. The initial model is trained to obtain a fully trained SOC state estimation model.
[0018] The target SOC determination module is used to acquire real-time charging data of the power battery, input the charging data of the current moment and its historical window into the SOC state estimation model to obtain the model predicted SOC; at the same time, it obtains the lookup table SOC based on the charging data; and dynamically transfers the model predicted SOC and the lookup table SOC to determine the target SOC at the current moment.
[0019] The coefficient correction module is used to obtain the system SOC obtained by the BMS based on the ampere-hour integral, and to determine the dynamic ampere-hour integral correction coefficient according to the deviation between the target SOC and the system SOC.
[0020] The optimized output module is used to adjust the ampere-hour integral speed of the system SOC based on the dynamic ampere-hour integral correction coefficient, so that the system SOC smoothly converges to the fully charged state.
[0021] Compared with existing technologies, the present invention has the following advantages:
[0022] (1) This invention utilizes the polarization characteristics of three different time constants—fast, medium, and long hysteresis—to decouple the polarization responses at different time scales during dynamic charging, thus completely solving the problem of easy miscorrection under temperature changes, current fluctuations, and deviations in the initial state of charge when using a single terminal voltage lookup table. At the same time, it deeply integrates the three polarization characteristics obtained from direct measurements of temperature, current, and terminal voltage with historical current, giving the deep time series model the ability to remember and accurately compensate for the polarization evolution state under complex temperature ranges and dynamic rates.
[0023] (2) In the middle and later stages of the charging interval, the predicted value of the deep time series model is used as the dynamic target to overcome the defect that the traditional closed-circuit voltage is greatly affected by polarization; at the end of the pole, the closed-circuit voltage or the full charge criterion is used for hard landing to ensure that it can eventually converge reliably to the full charge state.
[0024] (3) Based on the deviation between the system power and the target power, the error dead zone that gradually narrows as the power increases, the phased catch-up target, and the geometric ratio correction coefficient, the system can smoothly converge even when there is an initial error of too high or too low, thus completely avoiding power jumps, getting stuck at 99%, or display regression during charging.
[0025] (4) By limiting the upper and lower limits of the correction coefficient, it can accelerate the catch-up when the power is lagging behind, and reduce the integration rate to wait for the real target when the power is falsely high, while avoiding the instantaneous power jump caused by excessive correction. Attached Figure Description
[0026] Figure 1 This is a flowchart illustrating the battery SOC estimation method for end-of-charge correction provided by the present invention.
[0027] Figure 2A comparison chart of the results of this method and the CCV lookup table method under actual vehicle charging conditions at 35°C;
[0028] Figure 3 A comparison chart of the results of this method and the CCV lookup table method, with a -10% error introduced under actual vehicle charging conditions at 35°C.
[0029] Figure 4 The charging results of this method are shown in the figure, with a +10% error introduced under the actual vehicle charging condition at 35°C.
[0030] Figure 5 A comparison chart of the results of this method and the CCV lookup table method under real-world vehicle charging conditions across temperature ranges;
[0031] Figure 6 A comparison chart of the results of this method and the CCV lookup table method, which introduce a -10% error into the actual vehicle charging condition across temperature ranges;
[0032] Figure 7 A comparison chart of the results of this method and the CCV lookup table method, which introduce a +10% error into the actual vehicle charging condition across temperature ranges;
[0033] Figure 8 This is a schematic diagram of the battery SOC estimation system for end-of-charge correction provided by the present invention. Detailed Implementation
[0034] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.
[0035] Example 1
[0036] Please see Figure 1 This embodiment provides a battery SOC estimation method with end-of-charge correction, including:
[0037] Step S101: Obtain basic data samples of the power battery under different operating conditions and determine the real SOC tag corresponding to the basic data samples; wherein, the basic data samples include at least temperature, current and terminal voltage;
[0038] Step S102: Based on the basic data sample, recursively derive multiple virtual polarization voltage characteristics corresponding to different time scales by using multiple first-order RC polarization models with different time scales.
[0039] Step S103: Construct an initial SOC state estimation model based on the GRU network, using the basic data samples and the multiple virtual polarization voltage features as model inputs, the real SOC labels corresponding to the basic data samples as training labels, and the predicted SOC values as model outputs, to train the initial model and obtain a fully trained SOC state estimation model.
[0040] Step S104: Obtain real-time charging data of the power battery, input the charging data of the current moment and its historical window, as well as the virtual polarization voltage characteristics corresponding to multiple different time scales into the SOC state estimation model to obtain the model predicted SOC; at the same time, obtain the lookup table SOC based on the charging data through the CCV lookup table method; dynamically switch between the model predicted SOC and the lookup table SOC to determine the target SOC at the current moment.
[0041] Step S105: Obtain the system SOC obtained by BMS based on ampere-hour integration, and determine the dynamic ampere-hour integration correction coefficient according to the deviation between the target SOC and the system SOC;
[0042] Step S106: Adjust the ampere-hour integral speed of the system SOC based on the dynamic ampere-hour integral correction coefficient, so that the system SOC smoothly converges to the fully charged state.
[0043] The method in this embodiment generates fast, medium, and long-term polarization characteristics through discrete recursion using three polarization models with different time constants, achieving explicit decoupling of the multi-scale polarization influence in the charging terminal voltage. It also combines direct measurement inputs with a deep time-series network to construct a prediction model. In the mid-to-late charging interval, the network prediction value and the closed-loop voltage lookup table value are dynamically exchanged to determine the target charge level. Finally, the ampere-hour integration rate is dynamically adjusted based on the deviation between the target charge level and the system charge level, the dead zone threshold as the charge level decreases, the phased catch-up target, and the geometric proportional coefficient for amplitude limiting protection. This method overcomes the mismatch risk of traditional voltage lookup tables under temperature changes, current fluctuations, and initial deviations. At the charging end, through dual-source exchange and funnel-shaped amplitude limiting closed-loop calibration, it completely eliminates phenomena such as display jumps, charge level stagnation, and display regression, achieving high-precision, zero-jump, and highly reliable stable full-charge convergence.
[0044] The following is a detailed explanation of each step.
[0045] Step S101 is used for cell testing and basic data construction, establishing a standardized cell testing procedure to cover the real electrochemical dynamics of the battery under different operating conditions. The test matrix is shown in Table 1:
[0046] Table 1 Cell Testing Matrix
[0047] Test Dimensions Typical values or explanations Ambient temperature 10℃, 15℃, 20℃, 25℃, 30℃, etc. Charging rate 0.1C, 0.2C, 0.33C, 0.5C, 1C, and tiered charging conditions Initial charging SOC 0%, 50% or other typical starting SOC Termination of SOC 100%
[0048] During the test, the temperature T(k), current I(k), terminal voltage V(k), charging time, sampling period ΔT, and charging capacity change are collected at each sampling time k to obtain basic data samples of the power battery charging under different operating conditions. The basic time resolution or local operating condition statistical window is then calculated. In the embodiments of this scheme, the 30-second moving average current I_avg30(k) is used as the required current window data to statistically analyze the recent current, reduce instantaneous noise, and form a unified local operating condition characterization.
[0049] Secondly, using high-precision cell testing equipment, the battery's rated capacity Cn, and charging boundary conditions, the true SOC label SOC_true(k) corresponding to the data sample is obtained. Specifically, SOC_true(k) is calculated using the initial SOC, rated capacity Cn, and high-precision ampere-hour integration measured by the high-precision cell testing equipment, and is calibrated at the full charge boundary.
[0050] In the traditional equivalent circuit model (ECM), the polarization resistance R must be a dynamic variable dependent on temperature (T) and state of charge (SOC). Therefore, a great deal of effort is required to look up tables and perform dynamic interpolation of multidimensional MAP diagrams. Furthermore, the excessive reliance on a single fixed parameter can lead to severe distortion of polarization characteristics across temperature ranges. At the end of charging, the deviation in polarization estimation may cause a large jump or stagnation in SOC calculation.
[0051] To address this issue, this solution calculates the three polarization voltage characteristics and uses them as the input feature vector for the estimation model. Under this hybrid driving architecture, constant resistors are set in a geometrically stepped distribution to establish "physical relative isolation of low, medium, and high frequency polarization depths" in the feature extraction layer. This constructs three filtering channels with significant dynamic differences, enabling the subsequent deep learning model to receive short-term, medium-term, and long-term polarization evolution trends.
[0052] Specifically, in step S102, based on the basic data samples obtained in step S101, multiple first-order RC polarization models with different time scales are used for recursion to obtain virtual polarization voltage characteristics corresponding to different time scales; wherein, the virtual polarization voltage characteristics corresponding to different time scales are calculated by the following discrete recursive equations:
[0053]
[0054] in, For the first The polarization channel in the first... Virtual polarization voltage at each sampling time For the first The virtual polarization resistance corresponding to each polarization channel For the first The polarization time constant corresponding to each polarization channel The sampling period is For the first The current at each sampling time.
[0055] In some embodiments, the values of the polarization time constant and the virtual polarization resistance are as follows:
[0056] In short-time polarization channels , The short-time polarization voltage characteristics obtained at this time Used to characterize the physical response of batteries under high temperature conditions or when subjected to high-frequency dynamic current excitation, it possesses extremely fast setup and dissipation rates; in the intermediate-time polarization channel , At this point, the polarization voltage characteristics are obtained. Used to characterize the dynamic processes of conventional polarization of batteries under normal temperature (approximately 25°C) conditions; in long-term polarization channels , The long-term polarization voltage characteristics obtained at this time This is used to characterize the severe polarization hysteresis phenomenon caused by the obstruction of internal ion diffusion in batteries at low temperatures (such as 0℃-10℃), where the establishment and elimination of polarization are extremely slow.
[0057] It should be noted that the above 0.5 mΩ, 1.0 mΩ, and 2.0 mΩ do not represent the absolute and precise values of the true polarization internal resistance under any temperature, any SOC, and any aging state, but are used as reference parameters for the three-way virtual polarization characteristic generator.
[0058] The core of step S103 is to construct a SOC state estimation model based on a gated recurrent unit (GRU) network and train this model.
[0059] The model's input includes not only the temperature T, current I, and terminal voltage V directly acquired by the BMS sensor, but also the 30-second moving average current and multi-scale virtual polarization features derived from the current history. That is, at each sampling time k, the input feature vector of the GRU state estimation model... for:
[0060] ;
[0061] in, Battery temperature; This is the current. Terminal voltage; The current is the 30-second moving average. It is characterized by short-time polarization voltage. The polarization voltage characteristics are shown in the figure. This is a long-term polarization voltage characteristic.
[0062] The terminal voltage V is the measured comprehensive response quantity, which includes factors such as open-circuit voltage, ohmic voltage drop, and polarization voltage drop. The three polarization characteristics are used to help the GRU distinguish the polarization effects at different time scales in the terminal voltage, avoiding incorrect corrections caused by simply relying on V to look up a table. The temperature T is used to enable the GRU to learn the different weights of the three polarization characteristics on the true SOC under different temperature conditions; for example, long-term polarization characteristics at low temperatures. The influence weight may increase, and short-time polarization characteristics under high temperature or high dynamic current may also be affected. The influence weight may increase.
[0063] Through the above processing, this scheme no longer uses a single polarization voltage or a single RC parameter to describe all polarization phenomena. Instead, it uses three virtual polarization channels—short-time, medium-time, and long-time—to decompose the battery polarization response into fast polarization response, medium polarization response, and long-time hysteresis response according to the time scale. Then, the SOC state estimation model based on the GRU network performs nonlinear fusion on the above characteristics.
[0064] When training the initial estimation model, the input feature sequence obtained in S102 is used as the model input, and the true SOC label SOC_true(k) obtained in S101 is used as the model output label for supervised training of the GRU. It is important to emphasize that SOC_true(k) is the supervision label during the training phase, and the model input does not contain the measured SOC or estimated SOC, to avoid the model relying on the unobtainable true SOC value during the real-vehicle inference phase.
[0065] Each training sample contains an input feature sequence of 300 consecutive sampling times, and the output is the SOC_true corresponding to the current time or the end of the window. The GRU gating structure is used to learn the nonlinear mapping relationship between temperature, current, voltage, and multi-scale polarization features as they change over time and the true SOC.
[0066] The network training parameters can be configured as follows: input sequence time step: 300; number of hidden layer neurons: 32; maximum number of iterations (Epochs): 100; loss function: mean squared error or mean absolute error between SOC_GRU and SOC_true; input features are normalized before training to improve model convergence stability. After training, the final model parameters are fixed, resulting in a fully trained SOC state estimation model. The model output is the predicted SOC, denoted as SOC_GRU. SOC_GRU is used as a dynamic reference target in subsequent BMS closed-loop calibration, but it is not directly used as the final SOC displayed externally.
[0067] As a preferred embodiment, the process for initializing the virtual polarization voltage characteristics is as follows:
[0068] If the battery meets the resting condition before the model inference begins, such as the absolute value of the current being less than a preset threshold for a preset time, then the polarization is considered to have basically dissipated, and can be set as follows: , , All are 0.
[0069] If the vehicle or BMS has stored valid three-way polarization state values in the previous operating cycle, the values stored in the previous operating cycle will be used at the start of the next power-on or charging cycle. , , As an initial value, to ensure the continuity of the polarization state.
[0070] If the static condition is not met and there is no valid historical stored value, the three polarization features can be initialized to 0, and a model warm-up window can be set.
[0071] The model preheating window is understood as follows: when the power battery does not meet the preset resting conditions and there are no valid historical virtual polarization state values in the battery management system, the Fast, Mid, and Low virtual polarization voltage characteristics are initialized to zero, and the model preheating process begins. The model preheating window is used to allow each virtual polarization voltage characteristic to gradually establish a polarization state matching the current charging condition under continuous charging current. The length of the model preheating window is determined based on the time constant of each polarization channel in the virtual polarization model and the system's sampling period, ensuring that after a preset number of recursive updates, the initial value of the virtual polarization voltage characteristic has a reduced impact on the current polarization state to a preset level. The preheating window at least covers the state establishment process corresponding to the fast polarization channel, and the preheating end time can be determined based on the degree of state change in the medium and slow polarization channels. When the end condition of the preheating window is met, the corresponding virtual polarization voltage characteristic is input as a stable state characteristic into the SOC state estimation model to avoid significant deviations in the model's predicted SOC during the startup phase due to the initial value of the polarization characteristic being zero.
[0072] In step S104, the trained SOC state estimation model is deployed to the BMS software. During actual vehicle operation, the BMS collects temperature T(k), current I(k), and terminal voltage V(k) in real time according to the sampling period ΔT, and simultaneously calculates the 30-second moving average current I_avg30(k). Meanwhile, the BMS updates the data in real time according to the recursive formula in S102. , , .
[0073] The BMS inputs the feature sequence of the current time and its historical window into the SOC state estimation model to obtain the model-predicted SOC at the current time, namely SOC_GRU(k). SOC_GRU(k) reflects the reference SOC predicted by the fully trained SOC estimation model based on the current temperature, current, voltage and multi-scale polarization state. Its role is to provide a dynamic target for closed-loop calibration at the end of charging, especially to reduce the risk of miscorrection of traditional CCV lookup under dynamic rate, temperature change and polarization accumulation conditions.
[0074] Specifically, to balance the GRU's anti-polarization capability under complex dynamic conditions and the reliability of the CCV lookup method at the full charge landing point at the pole end, this method sets a dynamic handover strategy between SOC_GRU and SOC_CCV, dynamically handing over the model-predicted SOC and the lookup table SOC to determine the target SOC at the current moment. Specifically:
[0075] Let SOC_CCV(k) be the SOC obtained by looking up a table based on the current terminal voltage, temperature, current ratio, and the charging end table relationship;
[0076] When SOC_CCV(k) ≤ 99%, the battery is considered to be in the later stage of charging. At this time, the terminal voltage is still greatly affected by dynamic polarization. The system prioritizes the model-predicted SOC as the dynamic target, and the target SOC is denoted as SOC_Target(k) = SOC_GRU(k).
[0077] When SOC_CCV(k) > 99%, the battery is considered to have entered the extreme end range. At this time, the system introduces the CCV lookup table result as a guarantee for a hard landing at full charge, that is: SOC_Target(k) = SOC_CCV(k);
[0078] When the BMS detects that the full charge condition is met, such as when the highest voltage of a single cell reaches the full charge threshold, the charging current drops below the cutoff current and remains below the preset time, or the charger has reported that the charging is complete, SOC_Target(k) is set to 100%.
[0079] It should be noted that SOC_GRU and SOC_CCV(k) are not the final directly output system SOC_sys, but are used as reference targets in closed-loop calibration to adjust the integration speed of SOC_sys obtained by the BMS main system based on ampere-hour integration.
[0080] In step S105, the system SOC obtained by the BMS based on ampere-hour integration is acquired. During actual vehicle operation, the SOC output by the BMS main system is still calculated using the ampere-hour integration main link, denoted as SOC_sys. The main system SOC_sys can be updated as follows:
[0081]
[0082] in, The amount of electricity charged during the current sampling period. To calibrate the battery capacity, This is the dynamic ampere-hour integral correction factor.
[0083] When the BMS adopts the sign convention of negative charging current, it can be equivalently written as:
[0084]
[0085] in, ΔT represents the current, and ΔT represents the sampling period.
[0086] Step S105, which determines the dynamic ampere-hour integral correction coefficient based on the deviation between the target SOC and the system SOC, includes:
[0087] When the absolute deviation between the target SOC and the system SOC does not exceed the dynamic error dead zone, the dynamic ampere-hour integral correction coefficient is set to the preset default value;
[0088] When the absolute deviation exceeds the dynamic error dead zone, closed-loop calibration is triggered, including: when the system SOC is lower than the target SOC, increasing the dynamic ampere-hour integral correction coefficient to accelerate the system SOC towards the target SOC; when the system SOC is higher than the target SOC, decreasing the dynamic ampere-hour integral correction coefficient to gradually bring the target SOC closer to the system SOC through actual charging power.
[0089] It should be noted that, to prevent short-term fluctuations in model output from causing frequent adjustments to SOC_sys, this method sets a dynamic error dead zone Eth;ETh gradually narrows as SOC increases, thus giving the system a larger tolerance range at low SOC and higher correction accuracy near full charge. As a preferred embodiment, the calculation method for the dynamic error dead zone includes:
[0090] The larger of the target SOC and the system SOC is taken as the current reference state of charge SOC_Base(k); expressed by the formula:
[0091] SOC_Base(k) = max[SOC_Target(k), SOC_sys(k)]
[0092] Based on the reference state of charge, the dynamic error dead zone, which monotonically tightens as the state of charge increases, is calculated using a preset piecewise linear interpolation rule.
[0093] The preset piecewise linear interpolation rules are as follows: when SOC_Base is set to 90%, 95%, 97%, and 100%, ETh corresponds to 8%, 2%, 0.5%, and 0%, respectively. This design causes the error funnel to gradually tighten during the charging process, thereby avoiding excessive correction in the middle stage and ensuring that the closer to full charge, the smaller the deviation between the system SOC (SOC_sys) and the target SOC (SOC_Target).
[0094] Furthermore, the dynamic ampere-hour integral correction coefficient is determined based on the deviation between the target SOC and the system SOC. The specific process is as follows:
[0095] Step S61: Calculate the deviation between SOC_Target(k) and SOC_sys(k): ΔSOC(k) = SOC_Target(k) - SOC_sys(k); Determine the relationship between |ΔSOC(k)| and ETh(k). If |ΔSOC(k)| ≤ ETh(k), proceed to step S62; if |ΔSOC(k)| > ETh(k), proceed to step S63.
[0096] Step S62: When |ΔSOC(k)| ≤ ETh(k), the current ampere-hour integral trajectory is considered to be within the allowable error range, no additional closed-loop calibration is performed, and the default integral correction coefficient is maintained: Kah(k) = 1.0;
[0097] Step S63: When |ΔSOC(k)| > ETh(k), trigger closed-loop calibration; the closed-loop calibration process is as follows:
[0098] Step S631: Preset multiple staged meeting points, for example: Target_List = [95%, 97%, 98%, 99%, 100%]; The system selects the first value greater than max[SOC_Target(k), SOC_sys(k)] from Target_List as the target to catch up with in the current stage. If there are no larger, phased goals, then Take 100%;
[0099] Step S632: Calculate the dynamic ampere-hour integral correction coefficient according to the geometric ratio:
[0100]
[0101] Where ε is a minimal constant to prevent the denominator from being zero, such as 0.1%.
[0102] The above method enables the dynamic ampere-hour integral correction coefficient to be determined based on the relative distance between the system SOC, the target SOC, and the phased convergence target SOC. This ensures that the greater the deviation between the system SOC and the target SOC, the greater the corresponding integral correction capability, and limits the single-stage adjustment range of the SOC calibration process through the phased convergence target.
[0103] For example: when SOC_sys(k) is lower than SOC_Target(k) and exceeds the dead zone, the denominator is smaller than the numerator, Kah(k) is greater than 1, and the system catches up with the target at a higher integration rate than normal; when SOC_sys(k) is higher than SOC_Target(k) and exceeds the dead zone, the denominator is larger than the numerator, Kah(k) is less than 1, and the system reduces the integration rate so that the actual charged power and the reference target gradually catch up with the currently displayed SOC, avoiding SOC display regression during charging.
[0104] Furthermore, to prevent excessively large or small calibration gain from causing instantaneous jumps, stagnation, or regression in SOC, this method also includes limiting Kah(k) after calculating the dynamic ampere-hour integral correction coefficient Kah(k), expressed by the formula:
[0105] Kah(k) = max[Kah_min, min(Kah(k), Kah_max)]
[0106] Kah_min can be 0.1 and Kah_max can be 5.0.
[0107] The purpose of this limit is to ensure that when SOC_sys is high, Kah remains greater than 0, and the SOC will not regress during charging; when SOC_sys is low, Kah will not increase indefinitely, thus preventing a sudden large jump in SOC.
[0108] Through the aforementioned dynamic target SOC handover, error dead zone, and geometric proportional-integral control, SOC_sys can converge to SOC_Target in a smooth, constrained, and monotonic manner at the end of charging, and finally converge to 100% under full charging conditions.
[0109] To verify the SOC state estimation model proposed in this invention (hereinafter referred to as...) Compared with the traditional closed-circuit voltage lookup table method (hereinafter referred to as CCV lookup table method), the accuracy comparison test was carried out under a variety of typical and extreme charging conditions to demonstrate its superiority.
[0110] The evaluation metrics used are mean absolute error (MAE) and maximum absolute error (MAX). Specific data comparisons are shown in Table 2.
[0111] Table 2 Comparison of data under different test conditions
[0112] Test Condition Types error error error Core Effects Analysis Real-world vehicle charging conditions at 35°C (high-temperature dynamic scenario) MAE: 1.2% MAX: 4.3% SOC=95 Error: 0.7% SOC=98 Error: 0.3% MAE: 0.3% MAX: 1.2% SOC=95 Error: 0.1% SOC=98 Error: 0.4% MAE: 0.03% MAX: 0.17% like Figure 2 As shown, under the dynamic high-temperature environment of a real vehicle, the traditional lookup table method is affected by the increased polarization, with a maximum error as high as 4.3% (which can easily cause a sudden jump in SOC at the end of charging). This invention, with its "multi-scale physical feature decoupling network" and downstream "multi-level geometric ratio closed loop" strategy, ultimately strictly suppresses the maximum error of the system output to an extremely low 0.17% (4.3% → 0.17%), with a system-level maximum error reduction of up to 96%, fundamentally eliminating the customer complaint risk of dashboard SOC jumps under high-temperature conditions. 35°C Real-world vehicle charging condition injection -10% error - - MAE(95-100SOC): 0.83%MAE(97-100SOC): 0.49% like Figure 3 As shown, when faced with a severe initial low SOC (hidden charge) fault, this invention relies on a "multi-level geometric proportional convergence" strategy to smoothly accelerate catch-up. At the core end of the charging process (95%-100% range), the mean absolute error (MAE) is rapidly reduced to 0.83%, and further compressed to 0.49% at the very end (97%-100%). The system maintains a monotonically increasing trend throughout, achieving stepless smooth correction under large deviation faults. 35°C Real-world charging condition injection +10% error - - MAE(95-100SOC): 0.34%MAE(97-100SOC): 0.14% like Figure 4 As shown, in the face of a serious risk of an excessively high initial SOC (falsely labeled), the invention's unique "asymmetric zero-tolerance dead zone" is instantly activated. The system forcibly triggers a corrective speed reduction (integral multiplier Kah ≤ 1.0), smoothly waiting for the target while absolutely preventing the dashboard SOC from "backflowing and losing power," and finally perfectly shrinking the MAE to 0.14% at the extreme end, demonstrating extremely high real-vehicle safety protection value. Real-world charging conditions across temperature ranges (starting at 11°C and ending at 26°C) MAE: 2.6% MAX: 5.5% SOC=95 Error: 2.6% SOC=95 Error: 1.0% MAE: 1.4% MAX: 3.8% SOC=95 Error: 1.1% SOC=95 Error: 0.4% MAE: 0.4% MAX: 0.5% like Figure 5 As shown, under harsh operating conditions with drastic temperature rise and qualitative changes in polarization characteristics, traditional methods exhibit severe estimation divergence (maximum error 5.5%). The model of this invention demonstrates excellent decoupling generalization ability. Although it suffers some deviation in the initial 90% stage due to transient polarization (global maximum 3.8%), as the time-series characteristics evolve, its prediction error autonomously converges to approximately 1.1% by the time of reaching the core charging endpoint at 95%, and maintains this high accuracy level consistently within the 95%-100% range. This provides a very healthy and boundary-controllable tracking target for the downstream closed-loop strategy. The two produce a significant synergistic correction effect, ultimately further suppressing the system's maximum composite error to 0.5%, completely solving the problem of traditional closed-loop systems failing due to benchmark divergence. Cross-temperature range real-vehicle charging conditions injection -10% error - - MAE(95-100SOC): 0.23%MAE(97-100SOC): 0.3% like Figure 6 As shown, even under severe cross-temperature conditions with drastic changes in polarization characteristics, and despite a superimposed negative deviation of -10%, the system, relying on the "monotonically compressed" funnel mechanism that maximizes the dual-source bias, did not experience oscillation or runaway. The system stably approached the high-precision target at the end of the charging process, firmly locking the error at an extremely low level of 0.23% to 0.30%, fully demonstrating the strong robustness of the control strategy under complex physical boundary conditions. Cross-temperature range real-world vehicle charging conditions injection +10% error - - MAE(95-100SOC): 0.71%MAE(97-100SOC): 0.38% like Figure 7 As shown, under the dual extreme challenges of "temperature drift deterioration + initial 10% lead," the system's anti-backflow mechanism and end-of-charge CCV hard landing logic (>99% handover) work perfectly together. While eliminating jumps and regressions, it smooths out huge errors geometrically, with a MAE of only 0.38% at the very end (97%-100%), ensuring a smooth and accurate 100% full charge handover even in the most demanding scenarios.
[0113] As can be seen from the comparison results in Table 2 and the corresponding figures, this invention achieves the following technical effects through the combination of "multi-scale polarization feature extraction + deep learning network dynamic SOC prediction + multi-source target dynamic handover + error funnel closed-loop calibration":
[0114] By using three polarization characteristics, short-time polarization, medium-time polarization, and long-time hysteresis during dynamic charging are represented separately, solving the problem that traditional CCV lookup tables cannot distinguish between the actual OCV change and the polarization voltage change in the terminal voltage.
[0115] By integrating T, I, V, 30-second average current, and three-path polarization characteristics into the SOC state estimation model, the model can learn the nonlinear SOC evolution law under complex temperature ranges, dynamic rates, and different initial SOC conditions, thus obtaining a more stable SOC_GRU reference target than simply looking up the terminal voltage table.
[0116] By dynamically switching between SOC_GRU and SOC_CCV, the system prioritizes the use of the SOC state estimation model's anti-polarization capability in the middle and later stages of charging, and uses CCV lookup results at the extreme end to ensure the full charge landing point, thus avoiding the prediction of fluctuations by a single model at the extreme end or the incorrect correction of a single CCV lookup under dynamic polarization.
[0117] By using the dynamic error dead zone ETh and the phased target LimitEff, the correction process of SOC_sys exhibits a funnel-shaped gradual convergence characteristic, avoiding sudden jumps, stagnation, or regression of SOC in the 98% to 100% range.
[0118] By using Kah limiting protection, the system accelerates the catching-up process when SOC_sys is low and reduces the integration rate to wait for the real target to catch up when SOC_sys is high. At the same time, it prevents the displayed SOC from decreasing during charging, thereby improving user perception consistency and charging end safety.
[0119] Example 2
[0120] like Figure 8 As shown, this embodiment of the invention also provides a battery SOC estimation system 800 for end-of-charge correction, comprising:
[0121] The sample data acquisition module 801 is used to acquire basic data samples of the power battery under different operating conditions and determine the real SOC tag corresponding to the basic data samples.
[0122] The multi-scale feature extraction module 802 is used to obtain virtual polarization voltage features corresponding to multiple time scales by recursively performing multiple first-order RC polarization models with different time scales based on the basic data samples.
[0123] The model training module 803 is used to build an initial SOC state estimation model based on the GRU network. The basic data samples and the multiple virtual polarization voltage features are used as model inputs, the real SOC labels corresponding to the basic data samples are used as training labels, and the predicted SOC values are used as model outputs. The initial model is trained to obtain a fully trained SOC state estimation model.
[0124] The target SOC determination module 804 is used to acquire real-time charging data of the power battery, input the charging data of the current moment and its historical window, as well as the virtual polarization voltage characteristics corresponding to multiple different time scales into the SOC state estimation model to obtain the model predicted SOC; at the same time, the lookup table SOC is obtained based on the charging data through the CCV lookup table method; the model predicted SOC and the lookup table SOC are dynamically exchanged to determine the target SOC at the current moment.
[0125] The coefficient correction module 805 is used to obtain the system SOC obtained by the BMS based on the ampere-hour integral, and to determine the dynamic ampere-hour integral correction coefficient according to the deviation between the target SOC and the system SOC.
[0126] The optimized output module 806 is used to adjust the ampere-hour integral speed of the system SOC based on the dynamic ampere-hour integral correction coefficient, so that the system SOC smoothly converges to the fully charged state.
[0127] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A battery SOC estimation method with end-of-charge correction, characterized in that, include: Acquire basic data samples of the power battery under different operating conditions and determine the actual SOC tag corresponding to the basic data samples; wherein, the basic data samples include at least temperature, current and terminal voltage; Based on the aforementioned basic data samples, multiple first-order RC polarization models with different time scales are recursively used to obtain virtual polarization voltage characteristics corresponding to multiple time scales. An initial SOC state estimation model is constructed based on a GRU network. The basic data samples and the multiple virtual polarization voltage features are used as model inputs, the real SOC labels corresponding to the basic data samples are used as training labels, and the predicted SOC values are used as model outputs. The initial model is trained to obtain a fully trained SOC state estimation model. Real-time charging data of the power battery is acquired, and the charging data of the current moment and its historical window, as well as the virtual polarization voltage characteristics corresponding to multiple different time scales, are input into the SOC state estimation model to obtain the model-predicted SOC; at the same time, the lookup table SOC is obtained based on the charging data through the CCV lookup table method; the model-predicted SOC and the lookup table SOC are dynamically switched to determine the target SOC at the current moment. Obtain the system SOC obtained by BMS based on ampere-hour integration, and determine the dynamic ampere-hour integration correction coefficient based on the deviation between the target SOC and the system SOC; The ampere-hour integral speed of the system SOC is adjusted based on the dynamic ampere-hour integral correction coefficient, so that the system SOC smoothly converges to the fully charged state.
2. The method according to claim 1, characterized in that, The virtual polarization voltage characteristics corresponding to different time scales are calculated using the following discrete recursive equation: in, For the first The polarization channel in the first... Virtual polarization voltage at each sampling time For the first The virtual polarization resistance corresponding to each polarization channel For the first The polarization time constant corresponding to each polarization channel The sampling period is For the first The current at each sampling time.
3. The method according to claim 2, characterized in that, The initialization process for the virtual polarization voltage characteristics corresponding to the different time scales includes: When the power battery meets the preset static conditions, the virtual polarization voltage characteristics are initialized to zero. When the battery management system stores the valid virtual polarization state value of the previous operating cycle, the valid virtual polarization state value is used as the initial value of the current operating cycle. When the static conditions are not met and there are no valid historical state values, each virtual polarization voltage characteristic is initialized to zero, and a preset model preheating process is executed.
4. The method according to claim 1, characterized in that, The model-predicted SOC and the lookup table SOC are dynamically handed over to determine the target SOC at the current moment, including: When the SOC obtained from the table lookup does not exceed the preset end-point handover threshold, the model-predicted SOC is determined as the dynamic SOC target value. When the table lookup SOC exceeds the end-of-line handover threshold, the table lookup SOC is determined as the dynamic SOC target value.
5. The method according to claim 1, characterized in that, The dynamic ampere-hour integral correction coefficient is determined based on the deviation between the target SOC and the system SOC, including: When the absolute deviation between the target SOC and the system SOC does not exceed the dynamic error dead zone, the dynamic ampere-hour integral correction coefficient is set to the preset default value; When the absolute deviation exceeds the dynamic error dead zone, closed-loop calibration is triggered, including: when the system SOC is lower than the target SOC, increasing the dynamic ampere-hour integral correction coefficient to accelerate the system SOC towards the target SOC; when the system SOC is higher than the target SOC, decreasing the dynamic ampere-hour integral correction coefficient to gradually bring the target SOC closer to the system SOC through actual charging power.
6. The method according to claim 5, characterized in that, The method for calculating the dynamic error dead zone includes: The larger of the target SOC and the system SOC is taken as the current reference state of charge. Based on the reference state of charge, the dynamic error dead zone, which monotonically tightens as the state of charge increases, is calculated using a preset piecewise linear interpolation rule.
7. The method according to claim 5, characterized in that, When the absolute deviation exceeds the dynamic error dead zone, the dynamic ampere-hour integral correction coefficient is determined in the following manner: From the preset list of phased catch-up target SOCs, select the smallest value that is greater than the larger value between the target SOC and the system SOC as the current phase SOC; Calculate the first difference between the stage SOC and the system SOC, and the second difference between the stage SOC and the target SOC, and determine the ratio of the first difference to the second difference as the dynamic ampere-hour integral correction coefficient; The second difference is set with a preset minimum constant to prevent the denominator from being zero.
8. The method according to claim 7, characterized in that, Also includes: After determining the dynamic ampere-hour integral correction coefficient, upper and lower limit protection is applied to the dynamic ampere-hour integral correction coefficient to keep it within a preset effective range. The lower limit of the preset effective range is greater than zero to avoid reversal of the ampere-hour integration direction; the upper limit of the preset effective range is greater than the default correction value to limit the maximum adjustment of the single ampere-hour integration increment during SOC calibration.
9. The method according to claim 1, characterized in that, The criteria for determining the fully charged state include at least one of the following: The highest voltage in a single battery cell reaches the preset full charge voltage threshold. The charging current is reduced to below the preset cutoff current threshold and remains below it for a preset time. Received a charging completion status signal from the charging device; When the full charge condition is met, the target SOC is set to 100%.
10. A battery SOC estimation system for end-of-charge correction, used to implement the method described in any one of claims 1-9, characterized in that, include: The sample data acquisition module is used to acquire basic data samples of the power battery under different operating conditions and determine the real SOC tag corresponding to the basic data samples. The multi-scale feature extraction module is used to obtain virtual polarization voltage features corresponding to multiple time scales by recursively performing multiple first-order RC polarization models with different time scales based on the basic data samples. The model training module is used to build an initial SOC state estimation model based on the GRU network. The basic data samples and the multiple virtual polarization voltage features are used as model inputs, the real SOC labels corresponding to the basic data samples are used as training labels, and the predicted SOC values are used as model outputs. The initial model is trained to obtain a fully trained SOC state estimation model. The target SOC determination module is used to acquire real-time charging data of the power battery, input the charging data of the current moment and its historical window into the SOC state estimation model to obtain the model predicted SOC; at the same time, the SOC of the lookup table is obtained based on the charging data. The model-predicted SOC and the table-lookup SOC are dynamically switched to determine the target SOC at the current moment; The coefficient correction module is used to obtain the system SOC obtained by the BMS based on the ampere-hour integral, and to determine the dynamic ampere-hour integral correction coefficient according to the deviation between the target SOC and the system SOC. The optimized output module is used to adjust the ampere-hour integral speed of the system SOC based on the dynamic ampere-hour integral correction coefficient, so that the system SOC smoothly converges to the fully charged state.
