New energy automobile SOC estimation method and system
By combining fuzzy logic and particle filtering technology, the SOC estimation method solves the problem of SOC estimation accuracy and robustness of new energy vehicles under complex working conditions, and achieves high-precision and efficient estimation of the remaining battery capacity, which is suitable for different batteries. Type and conditions of use.
Patent Information
- Application Number
- CN202410855467.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-18
AI Technical Summary
Existing SOC estimation methods are difficult to meet accuracy and robustness requirements under complex working conditions (such as battery aging, temperature changes), and cannot effectively adapt to the complex operating conditions of new energy vehicles.
Adopt a SOC estimation method that combines fuzzy logic and particle filter technology to obtain an accurate estimate of the remaining battery capacity through particle filter initialization, fuzzy logic rule weighting processing, battery model prediction, actual measurement data update, resampling and neuro-fuzzy algorithm optimization .
The accuracy and robustness of SOC estimation are improved, making the algorithm highly adaptable to different battery types and usage conditions, and achieving high computational efficiency while ensuring estimation accuracy.
Smart Images

Figure CN118795350A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of new energy vehicles, and in particular to a method and system for estimating the SOC of a new energy vehicle. Background Art
[0002] With the rapid development and popularization of new energy vehicle technology, the battery is its core energy component, and the intelligence level of its management system directly determines the performance, efficiency and safety of new energy vehicles. As a key technology in new energy vehicles, the Intelligent Battery Management System (IBMS) is crucial for accurate monitoring and management of battery status. Among them, accurate estimation of the battery state of charge (SOC) is one of the core functions of IBMS, which is of great significance for ensuring the prediction accuracy of the cruising range of new energy vehicles, improving battery efficiency and ensuring driving safety.
[0003] Existing SOC estimation methods mainly include open circuit voltage method, coulomb counting method and model estimation method. These methods are applicable to a certain extent under specific working conditions, but each has obvious advantages and disadvantages.
[0004] Although existing SOC estimation methods are applicable to a certain extent under certain conditions, their estimation accuracy and robustness are still difficult to meet actual needs under complex working conditions, such as battery aging, temperature changes, etc. Therefore, how to improve the accuracy and robustness of SOC estimation to meet the operating requirements of new energy vehicles under complex working conditions has become an urgent problem to be solved in the current new energy vehicle field. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention proposes a new energy vehicle SOC estimation method and system to solve the above technical problems.
[0006] In a first aspect, a method for estimating SOC of a new energy vehicle is provided, comprising:
[0007] Initialize the particle filter to generate an initial particle swarm with preset initial weights;
[0008] Use fuzzy logic rules to weight particles and adjust particle weights;
[0009] Predict the state changes of particles through battery models;
[0010] Update the particle weights according to the actual measurement data;
[0011] Resample the particle swarm according to the updated weights;
[0012] Based on the resampled particle swarm, an estimated value of the remaining capacity of the battery is obtained.
[0013] Furthermore, the particle filter is initialized, including:
[0014] Set the initial state of the particles and their corresponding weights.
[0015] Furthermore, the particles are weighted using fuzzy logic rules to adjust the weights of the particles, including:
[0016] Fuzzy logic rules are used to quantify the uncertainty of battery parameters;
[0017] And based on the output results of fuzzy logic, the weights of particles are adjusted accordingly.
[0018] Furthermore, the battery model is used to predict the state changes of particles, including:
[0019] Use the equivalent circuit model and state space model of new energy vehicle batteries to simulate the electrochemical behavior of batteries;
[0020] Predict the state changes of particles based on the model.
[0021] Furthermore, the actual measurement data includes current and voltage parameters of the battery.
[0022] Furthermore, the particle swarm is resampled according to the updated weights, including:
[0023] According to the new weights of the particles, the particle swarm is optimized using resampling techniques.
[0024] Furthermore, based on the resampled particle swarm, the estimated value of the remaining capacity of the battery is obtained, including:
[0025] The weighted average method is used to combine the weight and state of the particles to obtain the estimated value of the remaining capacity of the battery.
[0026] Furthermore, it also includes:
[0027] Use the ampere-hour integration method or other traditional methods to make a preliminary estimate of the remaining capacity of the battery;
[0028] Calculate the error between the preliminary estimate and the estimate based on the fuzzy particle filter;
[0029] The neuro-fuzzy algorithm is used to fuse and process errors to optimize the estimation results of the remaining capacity of the battery.
[0030] In a second aspect, a system based on a new energy vehicle SOC estimation method is provided, comprising:
[0031] Data initialization module, used to set the initial state and weight of the particle filter;
[0032] Fuzzy weighting module, used to adjust the weight of particles according to fuzzy logic rules;
[0033] The state prediction module uses the battery model to predict the state changes of particles;
[0034] Weight update module, which updates the weight of particles according to the actual measurement data;
[0035] The resampling module resamples the particle swarm according to the updated weights;
[0036] The battery remaining capacity estimation module estimates the remaining capacity value of the battery based on the resampled particle swarm.
[0037] Furthermore, it also includes:
[0038] The error calculation and optimization module is used to calculate the error between the preliminary estimate and the estimate based on the fuzzy particle filter, and optimize it using the neuro-fuzzy algorithm.
[0039] The invention adopting the above technical solution has the following advantages:
[0040] 1. The present invention combines fuzzy logic and particle filtering technology. Fuzzy logic is used to deal with the uncertainty and ambiguity of battery parameters, while particle filtering technology is suitable for state estimation of nonlinear and non-Gaussian systems. Through this combination, the uncertainty of battery parameters can be effectively handled, and the accuracy and robustness of estimation can be improved.
[0041] 2. The present invention uses fuzzy logic to process the uncertainty of parameters, making the algorithm more adaptable to different battery types and operating conditions. By optimizing the algorithm structure and fuzzy rules, even if the particle filter has a large amount of calculation, the present application scheme can achieve higher calculation efficiency while ensuring the estimation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the specific implementation of the present invention, the following will briefly introduce the drawings required for use in the specific implementation. In all the drawings, each element or part is not necessarily drawn according to the actual scale.
[0043] Figure 1 This is a flow chart of a method for estimating SOC of a new energy vehicle according to the present invention;
[0044] Figure 2 The present invention is a flow chart of a method and system for estimating SOC of a new energy vehicle. DETAILED DESCRIPTION
[0045] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.
[0046] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should be the common meanings understood by technicians in the field to which the present invention belongs. The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so as to implement the embodiments of the present disclosure described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. Unless otherwise specified, the term "multiple" means two or more. In the embodiments of the present disclosure, the character " / " indicates that the objects before and after are in an "or" relationship. For example, A / B means: A or B. The term "and / or" is a description of the association relationship of objects, indicating that there can be three relationships. For example, A and / or B means: A or B, or, A and B. The term "corresponding" can refer to an association relationship or a binding relationship, and A and B correspondingly refer to an association relationship or a binding relationship between A and B.
[0047] like Figure 1-2 As shown, a new energy vehicle SOC estimation method of the present invention includes:
[0048] Step S01, initializing the particle filter to generate an initial particle swarm with a preset initial weight;
[0049] Step S02: weighting the particles using fuzzy logic rules to adjust the weights of the particles;
[0050] Step S03, predicting the state change of particles through a battery model;
[0051] Step S04: updating the weight of the particle according to the actual measurement data;
[0052] Step S05, re-sampling the particle swarm according to the updated weight;
[0053] Step S06: Obtain an estimated value of the remaining capacity of the battery based on the resampled particle swarm.
[0054] In some embodiments, initializing the particle filter includes:
[0055] Set the initial state of the particles and their corresponding weights.
[0056] In some embodiments, the particles are weighted using fuzzy logic rules to adjust the weights of the particles, including:
[0057] Fuzzy logic rules are used to quantify the uncertainty of battery parameters;
[0058] And based on the output results of fuzzy logic, the weights of particles are adjusted accordingly.
[0059] In some embodiments, predicting the state change of particles by a battery model includes:
[0060] Use the equivalent circuit model and state space model of new energy vehicle batteries to simulate the electrochemical behavior of batteries;
[0061] Predict the state changes of particles based on the model.
[0062] Specifically,
[0063] 1. Establish a lithium battery equivalent circuit model
[0064] Establishing the lithium battery equivalent circuit model Commonly used lithium battery equivalent circuit models include RC models.
[0065] The present invention adopts the RC model to describe the electrochemical characteristics of the lithium battery. The RC model consists of a resistor (R) and a capacitor (C), where R represents the internal resistance of the lithium battery and C represents the capacity of the lithium battery.
[0066] 2. Establish a discrete state space model for lithium batteries
[0067] The lithium battery discrete state space model is a mathematical model that describes the charging and discharging process of lithium batteries. Commonly used lithium battery discrete state space models include Kalman filter model, particle filter model, etc.
[0068] The present invention adopts the Kalman filter model to describe the charging and discharging process of the lithium battery.
[0069] In some embodiments, the actual measurement data includes current and voltage parameters of the battery.
[0070] In some embodiments, resampling the particle swarm according to the updated weights includes:
[0071] According to the new weights of the particles, the particle swarm is optimized using resampling technology.
[0072] In some embodiments, obtaining a remaining capacity estimation value of a battery based on the resampled particle swarm includes:
[0073] The weighted average method is used to combine the weight and state of the particles to obtain the estimated value of the remaining capacity of the battery.
[0074] Specifically,
[0075] 3. Estimated battery power
[0076] Based on the lithium battery equivalent circuit model and the lithium battery discrete state space model, the remaining power of the lithium battery can be estimated.
[0077] Here’s how to estimate battery charge:
[0078] (1) According to the lithium battery equivalent circuit model, calculate the terminal voltage of the lithium battery:
[0079] 1.1 Establishing the equivalent circuit model of lithium battery
[0080] The equivalent circuit model of a lithium battery usually includes a voltage source and several impedance elements, including: open circuit voltage (OCV), internal resistance R0, two RC parallel networks (R1, C1 and R2, C2)
[0081] 1.2. Write the terminal voltage equation
[0082] According to the equivalent circuit model, the terminal voltage V t It can be expressed as:
[0083] V t =OCV-I t R0-V R1 -V R2
[0084] Where V R1 and V R2 is the voltage across the RC network.
[0085] 1.3 Solving the voltage on the RC network
[0086] The voltage across the RC network can be solved by the following differential equation:
[0087]
[0088] 1.4 Discretization of differential equations
[0089] The above differential equation is discretized using a discrete time step Δt:
[0090]
[0091] 1.5 Calculation of terminal voltage
[0092] The terminal voltage at each time step is calculated using the discretized equation:
[0093] V t (k)=OCV(k)-I t (k)R0-V R1 (k)-VR2 (k)
[0094] (2) Estimate the state of the lithium battery based on the discrete state space model of the lithium battery.
[0095] 2.1 Establishing the state space model
[0096] The discrete state space model of lithium battery can be expressed as:
[0097] x(k+1)=Ax(k)+Bu(k)y(k)=Cx(k)+Du(k)
[0098] Where: x(k) is the state variable (such as the state of charge SOC), u(k) is the input variable (such as the current I t ), y(k) is the output variable (such as voltage V t ).
[0099] 2.2 Determining model parameters
[0100] Determine the matrices A, B, C, D of the state-space model:
[0101] A and B can be obtained through the equivalent circuit model and parameter estimation of the lithium battery, C is usually 1 because the terminal voltage is a directly observed value, and D can be 0 or determined through experiments.
[0102] In some embodiments, it also includes:
[0103] Use the ampere-hour integration method or other traditional methods to make a preliminary estimate of the remaining capacity of the battery;
[0104] Calculate the error between the preliminary estimate and the estimate based on the fuzzy particle filter;
[0105] The neuro-fuzzy algorithm is used to fuse and process errors to optimize the estimation results of the remaining capacity of the battery.
[0106] Specifically,
[0107] 4. Adjustment error
[0108] The estimated battery capacity may have errors. In order to improve the accuracy of the estimation, the estimated battery capacity needs to be adjusted.
[0109] The present invention takes the estimation of the remaining capacity (SOC) of the battery by the ampere-hour integration method as an example:
[0110] (1) Initial SOC setting:
[0111] The initial SOC is usually set based on the battery's historical data or the open circuit voltage method. The initial SOC is set to SOC0.
[0112] (2) Real-time SOC calculation:
[0113] The calculation of real-time SOC is based on the current flowing in or out. The SOC change at each time step can be calculated by the following formula:
[0114]
[0115] Where: SOC(t) is the SOC at time t; SOC0 is the initial SOC; C nom is the rated capacity of the battery (unit: ampere-hour, Ah); I(t) is the current at time t (unit: ampere, A); It is the current integral (i.e., charge) from the initial time to time t.
[0116] (3) Discretization form:
[0117] In practical applications, since both current and time are discrete, discrete time steps are used for calculation:
[0118]
[0119] Where: SOC(k) is the SOC at the kth time step; SOC(k-1) is the SOC at the k-1th time step; Δt is the time step; I(k) is the current at the kth time step.
[0120] 5. Calculate the filter gain matrix
[0121] The Kalman filter model needs to use the filter gain matrix to update the state estimate. The filter gain matrix is calculated as follows:
[0122] (1) Status prediction:
[0123]
[0124] in: is the predicted state vector; F k is the state transition matrix; is the state vector after the previous step update; B k is the control matrix; u k is the control vector.
[0125] (2) Forecast error covariance matrix:
[0126]
[0127] Where: P k|k-1 is the predicted error covariance matrix; P k-1|k-1 is the error covariance matrix after the previous step update; Q k is the process noise covariance matrix.
[0128] 6. Update error fusion neuro-fuzzy algorithm
[0129] The neuro-fuzzy algorithm is an algorithm that combines neural networks and fuzzy logic. The present invention uses the neuro-fuzzy algorithm to fuse errors. The update method of the neuro-fuzzy algorithm is as follows:
[0130] (1) Calculation of estimated error:
[0131] 1.1 Data collection: Collect actual and expected data from system operation.
[0132] 1.2 Error calculation: Calculate the error between the actual data and the expected data, which is called the estimated error. The estimated error can be expressed by the following formula:
[0133] E pre =D expected =D actual Where: E pre is the estimation error; D expected is the expected data; D actual It is actual data.
[0134] (2) Adjustment error calculation:
[0135] 2.1 Error feedback: Feedback the estimated error to the system and adjust the system parameters to reduce the error.
[0136] 2.2 Adjustment error calculation: In a new round of operation, the error after system adjustment is recorded, which is called adjustment error. The adjustment error can be expressed by the following formula:
[0137] E adj =D expected -D adjusted Where: E adj is the adjustment error; D adjusted It is the adjusted data.
[0138] (3) Input neuro-fuzzy algorithm:
[0139] 3.1 Feature extraction: Extract the features of the estimation error and adjustment error, and input these features into the neuro-fuzzy system as input vectors. The input vector can be expressed as:
[0140] X=[E pre , E adj ]
[0141] 3.2 Data standardization: The input data is standardized to meet the input requirements of the neuro-fuzzy algorithm.
[0142] (4) Neuro-fuzzy algorithm processing
[0143] 4.1 Fuzzification: Convert the input estimated error and adjustment error into fuzzy sets and perform fuzzification processing.
[0144] 4.2 Fuzzy rule base: Process the input data according to the pre-defined fuzzy rule base. The fuzzy rule base defines the output results under different input combinations.
[0145] 4.3 Fuzzy reasoning: Use fuzzy reasoning mechanism to calculate the output based on the fuzzy rule base.
[0146] 4.4 Defuzzification: Defuzzify the results of fuzzy reasoning to obtain specific output error adjustments.
[0147] (5) Update the error after fusion
[0148] 5.1 Fusion error calculation: According to the output of the neuro-fuzzy algorithm, the fusion error is calculated. The fusion error can be expressed as:
[0149] E fused =f(E pre , E adj ,W) where: E fused is the error after fusion; f is the function of the output of the neuro-fuzzy system; W is the weight vector of the system.
[0150] 5.2 System adjustment: Adjust system parameters according to the fused error to further optimize system performance.
[0151] In some other embodiments, a system based on a new energy vehicle SOC estimation method is provided, comprising:
[0152] Data initialization module, used to set the initial state and weight of the particle filter;
[0153] Fuzzy weighting module, used to adjust the weight of particles according to fuzzy logic rules;
[0154] The state prediction module uses the battery model to predict the state changes of particles;
[0155] Weight update module, which updates the weight of particles according to the actual measurement data;
[0156] The resampling module resamples the particle swarm according to the updated weights;
[0157] The battery remaining capacity estimation module estimates the remaining capacity value of the battery based on the resampled particle swarm.
[0158] In some embodiments, it also includes:
[0159] The error calculation and optimization module is used to calculate the error between the preliminary estimate and the estimate based on the fuzzy particle filter, and optimize it using the neuro-fuzzy algorithm.
[0160] Specifically, the present invention combines fuzzy logic and particle filtering technology. Fuzzy logic is used to deal with the uncertainty and ambiguity of battery parameters, while particle filtering technology is suitable for state estimation of nonlinear and non-Gaussian systems. Through this combination, the uncertainty of battery parameters can be effectively handled, and the accuracy and robustness of estimation can be improved.
[0161] The present invention uses fuzzy logic to process the uncertainty of parameters, making the algorithm more adaptable to different battery types and operating conditions. By optimizing the algorithm structure and fuzzy rules, even if the particle filter has a large amount of calculation, the present application solution can achieve higher calculation efficiency while ensuring the estimation accuracy.
[0162] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A method for estimating SOC of a new energy vehicle, characterized in that: include: Initialize the particle filter to generate an initial particle swarm with preset initial weights; Use fuzzy logic rules to weight particles and adjust particle weights; Predict the state changes of particles through battery models; Update the particle weights according to the actual measurement data; Resample the particle swarm according to the updated weights; Based on the resampled particle swarm, an estimated value of the remaining capacity of the battery is obtained.
2. A new energy vehicle SOC estimation method according to claim 1, characterized in that: Initialize the particle filter, including: Set the initial state of the particles and their corresponding weights.
3. A new energy vehicle SOC estimation method according to claim 1, characterized in that: The particles are weighted using fuzzy logic rules to adjust the weights of the particles, including: Fuzzy logic rules are used to quantify the uncertainty of battery parameters; And based on the output results of fuzzy logic, the weights of particles are adjusted accordingly.
4. A new energy vehicle SOC estimation method according to claim 1, characterized in that: The battery model predicts the state changes of particles, including: Use the equivalent circuit model and state space model of new energy vehicle batteries to simulate the electrochemical behavior of batteries; Predict the state changes of particles based on the model.
5. The SOC estimation method for a new energy vehicle according to claim 1, characterized in that: The actual measured data include the current and voltage parameters of the battery.
6. The SOC estimation method for a new energy vehicle according to claim 1, characterized in that: Resample the particle swarm according to the updated weights, including: According to the new weights of the particles, the particle swarm is optimized using resampling techniques.
7. A new energy vehicle SOC estimation method according to claim 1, characterized in that: Based on the resampled particle swarm, the remaining capacity estimation of the battery is obtained, including: The weighted average method is used to combine the weight and state of the particles to obtain the estimated value of the remaining capacity of the battery.
8. The SOC estimation method for a new energy vehicle according to claim 1, characterized in that: Also includes: Use the ampere-hour integration method or other traditional methods to make a preliminary estimate of the remaining capacity of the battery; Calculate the error between the preliminary estimate and the estimate based on the fuzzy particle filter; The neuro-fuzzy algorithm is used to fuse and process errors to optimize the estimation results of the remaining capacity of the battery.
9. A system based on a new energy vehicle SOC estimation method, characterized in that: include: Data initialization module, used to set the initial state and weight of the particle filter; Fuzzy weighting module, used to adjust the weight of particles according to fuzzy logic rules; The state prediction module uses the battery model to predict the state changes of particles; Weight update module, which updates the weight of particles according to the actual measurement data; The resampling module resamples the particle swarm according to the updated weights; The battery remaining capacity estimation module estimates the remaining capacity value of the battery based on the resampled particle swarm.
10. The system based on the new energy vehicle SOC estimation method according to claim 9 further comprises: The error calculation and optimization module is used to calculate the error between the preliminary estimate and the estimate based on the fuzzy particle filter, and optimize it using the neuro-fuzzy algorithm.
Citation Information
Cited By
Energy storage battery SOC estimation method and system based on charging and discharging current
CN119902080A
