Fuzzy particle filtering algorithm

Through the fuzzy particle filtering algorithm combined with the battery model and dynamic adjustment factor, the problems of insufficient SOC estimation accuracy and high computational complexity in new energy vehicles are solved, and high-precision and highly adaptable battery state of charge estimation is achieved, which is suitable for a variety of purposes. Battery type and operating conditions.

CN118940595APending Publication Date: 2024-11-12CHONGQING COLLEGE OF ELECTRONICS ENG
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410947928.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-12

Smart Images

  • Figure CN118940595A_ABST
    Figure CN118940595A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of signal processing and state estimation, and discloses a fuzzy particle filtering algorithm, which comprises the following steps: selecting a battery model and carrying out parameter identification to obtain a model parameter result; designing a fuzzy controller according to a model parameter result; generating and initializing a particle set according to a fuzzy controller; updating the weight of the particles in the particle set, and executing a resampling operation to obtain a resampled particle weight result; and obtaining a state of charge estimation result according to the resampled particle weight result. According to the fuzzy particle filtering algorithm, the fuzzy logic and the particle filtering algorithm are combined for the first time, and the fuzzy particle filtering algorithm is used for estimating the SOC of the new energy automobile battery. According to the combination, the uncertainty processing capability of fuzzy logic is fully utilized, the advantages of particle filtering in nonlinear system state estimation are also played, and high-precision estimation of the SOC of the battery is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing and state estimation, and in particular to a fuzzy particle filtering algorithm. Background Art

[0002] The development of new energy vehicles relies on efficient and accurate battery management systems, among which accurate estimation of SOC (i.e., the battery's state of charge) is of great significance for improving battery efficiency, extending battery life, and ensuring driving safety.

[0003] SOC is a direct reflection of the remaining battery power. Its accurate estimation can help the driver understand the vehicle's drivable mileage, optimize the charging strategy, and effectively avoid safety hazards caused by overcharging or over-discharging the battery.

[0004] Existing SOC estimation methods mainly include ampere-hour integration method, Kalman filter and its extended algorithm, etc. However, these methods often have the problems of insufficient accuracy or high computational complexity in nonlinear system estimation. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention proposes a fuzzy particle filtering algorithm to solve the problems of insufficient accuracy or high computational complexity in the prior SOC estimation method.

[0006] A fuzzy particle filtering algorithm, comprising:

[0007] Select a battery model and perform parameter identification to obtain model parameter results;

[0008] Designing a fuzzy controller based on the model parameter results;

[0009] According to the fuzzy controller, a particle set is generated and initialized;

[0010] The particle weights in the particle set are updated, and a resampling operation is performed to obtain a resampled particle weight result;

[0011] According to the resampled particle weight result, a state of charge estimation result is obtained.

[0012] Furthermore, the battery model is obtained and parameter identification is performed to obtain model parameter results, including:

[0013] Select the second-order RC equivalent circuit model;

[0014] The second-order RC equivalent circuit model is identified using an offline method, combined with battery pulse discharge experimental data, to obtain model parameter results.

[0015] Furthermore, the model parameter results include: ohmic internal resistance R0, polarization resistances R1, R2, and polarization capacitances C1, C2.

[0016] Furthermore, the steps of designing the fuzzy controller include:

[0017] Determine the input variables of the fuzzy controller;

[0018] Performing fuzzification processing on the input variables, defining and dividing fuzzy sets;

[0019] Establish a fuzzy rule base based on expert experience and experimental data;

[0020] According to the fuzzy rule base, a fuzzy controller is designed to output the Kalman gain coefficient adjustment factor.

[0021] Furthermore, the input variables include: battery voltage error and current change rate.

[0022] Further, according to the fuzzy controller, a particle set is generated and initialized, including:

[0023] Set the number of particles according to demand;

[0024] Performing prior distribution sampling on the particles to obtain initialization particle results;

[0025] All initialization particle results are weighted to generate and initialize the particle set.

[0026] Further, the particle weights in the particle set are updated, and a resampling operation is performed to obtain a resampled particle weight result, including:

[0027] Update the particle weights and obtain the weight update results;

[0028] The weight update result is resampled to obtain a resampled particle weight result.

[0029] Furthermore, the particle weights are updated to obtain weight update results, including:

[0030] Determine the observation model;

[0031] Calculating a predicted observation value of each particle according to the observation model;

[0032] Obtaining observation likelihood according to the predicted observation value and the actual observation value;

[0033] The observation likelihood is normalized to obtain a weight update result.

[0034] Further, according to the resampled particle weight result, a state of charge estimation result is obtained, including:

[0035] The resampled particle set is extracted to obtain a state of charge estimation result.

[0036] The invention adopting the above technical solution has the following advantages:

[0037] 1. The present invention combines fuzzy logic with particle filtering algorithm for the first time to estimate the SOC of new energy vehicle batteries. This combination not only fully utilizes the ability of fuzzy logic to handle uncertainty, but also gives play to the advantages of particle filtering in nonlinear system state estimation, thus achieving high-precision estimation of battery SOC.

[0038] 2. The present invention introduces a dynamic adjustment factor to dynamically adjust the particle weight according to the real-time state of the battery (such as the voltage and current change rate), so that the estimation result is closer to the actual state of the battery. This mechanism improves the adaptability and robustness of SOC estimation, especially when the battery state changes rapidly, it can significantly reduce the estimation error.

[0039] 3. The present invention reduces the computational complexity and improves the real-time performance of the algorithm by optimizing the resampling strategy and particle number setting in the particle filtering process, which makes the solution of the present invention more feasible and efficient in practical applications.

[0040] 4. The solution of the present invention does not depend on a specific battery model and can be applied to various types of batteries and different working conditions. This wide applicability makes the solution have a broader application prospect in the field of new energy vehicles. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] 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.

[0042] Figure 1 This is a flow chart of a fuzzy particle filtering algorithm of the present invention (I);

[0043] Figure 2 This is a flow chart of a fuzzy particle filtering algorithm of the present invention (II). DETAILED DESCRIPTION

[0044] 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.

[0045] 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.

[0046] like Figure 1-2 As shown, a fuzzy particle filtering algorithm of the present invention comprises:

[0047] Step S01, selecting a battery model and performing parameter identification to obtain model parameter results;

[0048] Step S02: design a fuzzy controller according to the model parameter results;

[0049] Step S03, generating and initializing a particle set according to the fuzzy controller;

[0050] Step S04, updating the particle weights in the particle set, and performing a resampling operation to obtain a resampled particle weight result;

[0051] Step S05: Obtain a state of charge estimation result according to the resampled particle weight result.

[0052] Specifically, the present invention combines fuzzy logic with particle filtering algorithm for the first time to estimate the SOC of new energy vehicle batteries. This combination not only fully utilizes the ability of fuzzy logic to handle uncertainty, but also gives play to the advantages of particle filtering in nonlinear system state estimation, thus achieving high-precision estimation of battery SOC.

[0053] In some embodiments, obtaining a battery model and performing parameter identification to obtain model parameter results includes:

[0054] Select the second-order RC equivalent circuit model;

[0055] The offline identification method is used for the second-order RC equivalent circuit model, and the model parameter results are obtained by combining the battery pulse discharge experimental data.

[0056] In some embodiments, the model parameter results include: ohmic internal resistance R0, polarization resistances R1, R2, and polarization capacitances C1, C2.

[0057] Specifically, select a suitable battery model and perform parameter identification:

[0058] (1) Battery model selection: The second-order RC equivalent circuit model is selected as the battery model. This model can better describe the dynamic characteristics of lithium-ion batteries, including key parameters such as ohmic internal resistance, polarization internal resistance, and polarization capacitance.

[0059] (2) Parameter identification: Use offline identification methods (such as least squares method or exponential function fitting method) to identify model parameters based on battery pulse discharge experimental data. The experimental process usually includes a discharge phase, a discharge rest phase, a charging phase, and a charge rest phase, where the rest phase is mainly used to identify parameters such as ohmic resistance.

[0060] The model parameters are obtained by fitting the experimental data, including the ohmic internal resistance R0, polarization resistances R1, R2, and polarization capacitances C1, C2.

[0061] Specifically, the solution of the present invention does not rely on a specific battery model and can be applied to various types of batteries and different operating conditions. This wide applicability makes the solution have a broader application prospect in the field of new energy vehicles.

[0062] In some embodiments, the step of designing a fuzzy controller includes:

[0063] Determine the input variables of the fuzzy controller;

[0064] Perform fuzzification on input variables, define and divide fuzzy sets;

[0065] Establish a fuzzy rule base based on expert experience and experimental data;

[0066] According to the fuzzy rule base, a fuzzy controller is designed to output the Kalman gain coefficient adjustment factor.

[0067] In some embodiments, the input variables include: battery voltage error and current change rate.

[0068] Specifically, design the fuzzy controller:

[0069] (1) Input variable selection: The input variables include the battery voltage error e(t) (the difference between the current voltage and the model predicted voltage) and the current change rate di / dt.

[0070] (2) Fuzzy processing: define fuzzy sets and divide the voltage error e(t) into five fuzzy subsets: “negative large”, “negative small”, “zero”, “positive small”, and “positive large”; divide the current change rate di / dt into five fuzzy subsets: “negative large”, “negative small”, “zero”, “positive small”, and “positive large”.

[0071] (3) Fuzzy rule base: A fuzzy rule base is established based on expert experience and experimental data. For example, “If the voltage error is large in negative and the current change rate is large in positive, then adjust the Kalman gain coefficient to increase the correction strength of the voltage error.”

[0072] (4) Output variable: The output variable is the Kalman gain coefficient adjustment factor α, which is used for dynamic adjustment of weight updates in the subsequent particle filter algorithm.

[0073] Specifically, the present invention introduces a dynamic adjustment factor to dynamically adjust the particle weight according to the real-time state of the battery (such as the voltage and current change rate), so that the estimation result is closer to the actual state of the battery. This mechanism improves the adaptability and robustness of SOC estimation, especially when the battery state changes rapidly, it can significantly reduce the estimation error.

[0074] In some embodiments, according to the fuzzy controller, generating and initializing a particle set includes:

[0075] Set the number of particles according to demand;

[0076] Sample the particles in the prior distribution to obtain the initialization particle results;

[0077] All initialization particle results are weighted to generate and initialize the particle set.

[0078] Specifically, initialize the particle set:

[0079] (1) Particle number setting: The number of particles N is set according to the computational complexity and accuracy requirements.

[0080] (2) Initializing particles: N particles are randomly selected from a prior distribution (such as uniform distribution or Gaussian distribution), and each particle represents a state of charge (SOC) value.

[0081] (3) Weight setting: Initially, the weights of all particles are set to 1 / N.

[0082] In some embodiments, updating the particle weights in the particle set and performing a resampling operation to obtain a resampled particle weight result includes:

[0083] Update the particle weights and obtain the weight update results;

[0084] Resample the weight update result to obtain the resampled particle weight result.

[0085] Specifically, at each sampling moment, the particle weights are updated and resampling is performed:

[0086] (1) Prediction step: Based on the second-order RC equivalent circuit model and the particle state at the previous moment, the state of charge (SOC) value of each particle at the current moment is predicted.

[0087] (2) Weight update: Using the current observation data such as battery voltage and current, combined with the Kalman gain coefficient adjustment factor α output by the fuzzy controller, the observation likelihood of each particle is calculated and the particle weight is updated accordingly.

[0088] (3) Resampling step: Resample according to particle weights, copy particles with high weights, discard particles with low weights, and keep the total number of particles unchanged.

[0089] Specifically, the present invention reduces the computational complexity and improves the real-time performance of the algorithm by optimizing the resampling strategy and particle number setting in the particle filtering process, which makes the solution of the present invention more feasible and efficient in practical applications.

[0090] In some embodiments, updating the particle weight and obtaining the weight update result includes:

[0091] Determine the observation model;

[0092] According to the observation model, the predicted observation value of each particle is calculated;

[0093] Obtain the observation likelihood based on the predicted observation value and the actual observation value;

[0094] Normalize the observation likelihood and obtain the weight update result.

[0095] Specifically, the steps to calculate the observation likelihood of a particle are as follows:

[0096] 1) Determine the observation model:

[0097] Clarify the observation model of the system, that is, how to generate observations (such as battery voltage) based on the system state (in this case, the battery's SOC). The observation model can usually be expressed as:

[0098] y t =h(x t ,v t )

[0099] Among them, y t is the observed value at time t, x t is the system state (SOC) at time t, h(·) is the observation function, vt is the observation noise.

[0100] 2) Calculate the predicted observation value:

[0101] For each particle, according to its state at time t-1 and the state transfer equation (based on the dynamic characteristics of the second-order RC equivalent circuit model) to predict the state at time t Then, the predicted observations are calculated using the observation function h(·) (It is assumed here that there is no observation noise used in the prediction calculation).

[0102] 3) Calculate the observation likelihood:

[0103] The observation likelihood reflects the probability of observing the actual observation value given the system state (particle). This is usually achieved by calculating the difference between the actual observation value and the predicted observation value, and using some probability distribution (such as Gaussian distribution) to describe this difference. For the case of Gaussian noise, the observation likelihood can be expressed as:

[0104]

[0105] Where S is the covariance matrix of the observation noise, which is used to describe the statistical characteristics of the observation noise. If the observation noise is white noise and each component is independent and identically distributed, then S can be a diagonal matrix, and the elements on its diagonal are the variances of each component noise.

[0106] 4) Normalization processing:

[0107] Since the likelihood is usually used for subsequent weight updates, the likelihood of all particles needs to be normalized to ensure that the sum of the weights is 1. The normalization formula is:

[0108]

[0109] in, is the weight of the i-th particle at time t, and N is the total number of particles.

[0110] In some embodiments, obtaining a state of charge estimation result according to the resampled particle weight result includes:

[0111] The resampled particle set is extracted to obtain the charge state estimation result.

[0112] Specifically, the SOC estimation result output is:

[0113] (1) Particle set state extraction: After completing all iterative steps of particle filtering (including prediction, weight update, and resampling), each particle represents a possible SOC value and its corresponding probability weight, and the current SOC state estimate is extracted from the particle set.

[0114] (2) Result formatting: Format the extracted SOC estimates into appropriate output forms, such as numbers, percentages, or charts, to facilitate subsequent processing and analysis.

[0115] (3) Output display: The formatted SOC estimate is displayed through a user interface, log file, or data interface for use by the user or other parts of the system. The SOC in the above content refers to the state of charge.

[0116] In some embodiments, a verification step is also included:

[0117] (1) Data preparation: Collect or generate battery test data for verification, including real-time measurements such as current, voltage, temperature, and actual SOC measurements.

[0118] (2) Comparison with actual measured values: Compare the SOC estimate output by the fuzzy particle filter algorithm with the actual SOC measurement value of the battery at the same time. Calculate the error between the two, such as absolute error, relative error, etc., to quantify the accuracy of the estimate.

[0119] (3) Simulation verification: Detailed records of the verification process, result analysis, and parameter tuning are organized into documents for subsequent reference and improvement.

[0120] 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 fuzzy particle filtering algorithm, characterized in that: include: Select a battery model and perform parameter identification to obtain model parameter results; Designing a fuzzy controller based on the model parameter results; According to the fuzzy controller, a particle set is generated and initialized; The particle weights in the particle set are updated, and a resampling operation is performed to obtain a resampled particle weight result; According to the resampled particle weight result, a state of charge estimation result is obtained.

2. A fuzzy particle filter algorithm according to claim 1, characterized in that: Obtain the battery model and perform parameter identification to obtain model parameter results, including: Select the second-order RC equivalent circuit model; The second-order RC equivalent circuit model is identified using an offline method, combined with battery pulse discharge experimental data, to obtain model parameter results.

3. A fuzzy particle filtering algorithm according to claim 2, characterized in that: Model parameter results, including: ohmic internal resistance R0, polarization resistances R1, R2, polarization capacitances C1, C2.

4. A fuzzy particle filter algorithm according to claim 1, characterized in that: The steps in designing a fuzzy controller include: Determine the input variables of the fuzzy controller; Performing fuzzification processing on the input variables, defining and dividing fuzzy sets; Establish a fuzzy rule base based on expert experience and experimental data; According to the fuzzy rule base, a fuzzy controller is designed to output the Kalman gain coefficient adjustment factor.

5. A fuzzy particle filter algorithm according to claim 4, characterized in that: The input variables include: battery voltage error and current change rate.

6. A fuzzy particle filter algorithm according to claim 1, characterized in that: According to the fuzzy controller, a particle set is generated and initialized, including: Set the number of particles according to demand; Performing prior distribution sampling on the particles to obtain initialization particle results; All initialization particle results are weighted to generate and initialize the particle set.

7. A fuzzy particle filter algorithm according to claim 1, characterized in that: The particle weights in the particle set are updated, and a resampling operation is performed to obtain a resampled particle weight result, including: Update the particle weights and obtain the weight update results; The weight update result is resampled to obtain a resampled particle weight result.

8. A fuzzy particle filter algorithm according to claim 7, characterized in that: Update the particle weights and obtain the weight update results, including: Determine the observation model; Calculating a predicted observation value of each particle according to the observation model; Obtaining observation likelihood according to the predicted observation value and the actual observation value; The observation likelihood is normalized to obtain a weight update result.

9. A fuzzy particle filter algorithm according to claim 1, characterized in that: Obtaining a state of charge estimation result according to the resampled particle weight result, including: The resampled particle set is extracted to obtain a state of charge estimation result.

Citation Information

Cited By

  • Energy storage battery SOC estimation method and system based on charging and discharging current

    CN119902080A