Method and device for predicting electric quantity of lithium battery and electronic equipment
Through the second-order capacitor resistance equivalent circuit model and multi-new information system theory, the problem of inaccurate power prediction of lithium batteries under complex operating conditions is solved, the accurate and stable prediction of lithium batteries is achieved, and the performance of the battery management system is improved. .
Patent Information
- Application Number
- CN202411119410.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-26
AI Technical Summary
The existing lithium battery SOC estimation method is inaccurate in predicting the power of the battery under complex operating conditions, making it difficult to ensure the accuracy and adaptability of the battery model.
The second-order capacitor resistance equivalent circuit model is used to simulate lithium batteries, build a nonlinear state space model, and convert it into observable and estimable power information through the multi-new information system theory, and approximate the real system state through the iterative update process.
The accuracy and stability of lithium battery power prediction under complex operating conditions are achieved, and the decision-making basis and battery life of BMS in battery management are improved.
Smart Images

Figure CN119024175A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power prediction, and in particular to a method, device and electronic equipment for predicting power of a lithium battery. Background Art
[0002] Lithium-ion batteries have become a highly-regarded and favored energy medium in the fields of electric vehicles and energy storage power stations due to their advantages in energy density, power density, cycle life, and memory effect. In order to ensure the safety of the battery, prevent safety accidents such as fire and explosion, and maximize the utilization of the battery and extend its service life, a battery management system (BMS) is usually required. BMS monitors various status indicators inside the battery, such as state of charge (SOC), state of health (SOH), state of power (SOP), etc. Among them, the state of charge describes the remaining power of the battery and is one of the most basic and critical states of the battery. However, since the state of charge cannot be directly measured by sensors, it can only be indirectly estimated and inferred through external measurable parameters such as current, voltage, and temperature, which is a difficulty in the development and research of BMS.
[0003] From the perspective of control theory, the SOC estimation problem is actually to observe the state under the dynamic characteristics of lithium-ion batteries and complex and changeable operating environments. At present, the main SOC estimation methods include the ampere-hour integration method, the open circuit voltage method, the model method and the data-driven method. The model method is the most popular in BMS because of its high estimation accuracy, self-correction, strong adaptability and ability to integrate the advantages of different methods. The specific implementation process includes offline OCV-SOC testing of the battery, obtaining OCV curves under different health states and ambient temperature conditions, and establishing a mapping relationship between OCV and SOC through a lookup table or mathematical function. Subsequently, considering the relationship between model complexity, prediction accuracy and computational cost, the appropriate battery model structure is selected, and the parameters in the battery model are identified using methods such as least squares and particle swarm optimization. Finally, the state space expression of the battery system is established, and the battery SOC is estimated using methods such as the extended Kalman filter (EKF) and the unscented Kalman filter.
[0004] It is worth noting that the premise for this method to achieve high estimation accuracy is that the battery model needs to be accurately known, including the system dynamics characteristics of the battery and the statistical characteristics of process noise and measurement noise. Once these prerequisites are not met, the SOC estimation accuracy of the Kalman filter method may be difficult to guarantee, and may even fail to work properly in severe cases. Due to the long service life of batteries and complex and changeable application conditions, it is very challenging to ensure that the established battery model strictly meets the above conditions.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present invention provide a method, device and electronic device for predicting the power of a lithium battery, so as to at least solve the technical problem of inaccurate power prediction when predicting the power of a lithium battery under complex working conditions in the related art.
[0007] According to one aspect of an embodiment of the present invention, a method for predicting the power of a lithium battery is provided, comprising: obtaining a lithium battery simulation model, wherein the lithium battery simulation model is obtained by simulating the lithium battery using a second-order capacitor-resistor equivalent circuit model; determining a first state-space model of a nonlinear system based on the lithium battery simulation model, wherein the first state-space model represents a relationship between a system input and a state variable that changes over time, and the state variables include power, a first voltage, and a second voltage; converting the first state-space model of the nonlinear system into a second state-space model of a multi-information system; and determining target power estimates corresponding to a plurality of moments corresponding to the lithium battery based on the actual input and the second state-space model.
[0008] Optionally, converting the first state space model of the nonlinear system into the second state space model of the multi-innovation system includes: determining multi-innovation demand information in the first state space model, wherein the multi-innovation demand information is information with a complexity index higher than a predetermined threshold; determining innovation state variables corresponding to the multi-innovation demand information; and expanding the original state space corresponding to the first state space model based on the innovation state variables to obtain the second state space model.
[0009] Optionally, based on the new information state variable, the original state space corresponding to the first state space model is expanded to obtain the second state space model, including: based on the new information state variable, determining whether the impact result on the original parameters in the first state space model is caused, wherein the original parameters include at least one of the following: process noise, measurement noise; when the impact result is an impact on the original parameters in the first state space model, determining the update space parameters based on the new information state variable; based on the update space parameters, converting the first state space model into the second state space model.
[0010] Optionally, determining the first state space model of the nonlinear system based on the lithium battery simulation model includes: determining the state equation of the lithium battery simulation model and the observation equation of the lithium battery simulation model based on the lithium battery simulation model and the ampere-hour integration formula; determining the first state space model based on the state equation and the observation equation.
[0011] Optionally, determining the first state space model of the nonlinear system based on the state equation and the observation equation includes: constructing a scenario state transfer equation and a scenario measurement function based on the application scenario of the lithium battery simulation model, the state equation and the observation equation; determining the statistical characteristics of the system internal data of the application scenario, determining the process noise, and determining the measurement noise based on the statistical characteristics of the system external data of the application scenario; determining the first state space model based on the scenario state transfer equation, the scene measurement function, the process noise and the measurement noise.
[0012] Optionally, determining the state equation of the lithium battery simulation model and the observation equation of the lithium battery simulation model based on the lithium battery simulation model and the ampere-hour integration formula includes: modeling the cumulative effect of the battery power based on the lithium battery simulation model and the ampere-hour integration formula, determining a predetermined equivalent circuit model expression equation, and determining a definition equation for the lithium battery power; discretizing the second-order capacitor-resistor equivalent circuit model expression equation and the definition equation for the lithium battery power using a first discrete parameter to determine the state equation, and discretizing the second-order capacitor-resistor equivalent circuit model expression equation and the definition equation for the lithium battery power using a second discrete parameter to determine the observation equation.
[0013] Optionally, obtaining a lithium battery simulation model comprises: obtaining the lithium battery; performing a mixed pulse power characteristic experiment on the lithium battery to determine the relationship between the open circuit voltage, charge and time of the lithium battery; determining equivalent circuit model parameters based on the relationship, wherein the equivalent circuit model parameters include at least: battery open circuit voltage, equivalent ohmic internal resistance, equivalent resistance generated by electrochemical polarization, equivalent capacitance generated by electrochemical polarization, equivalent resistance generated by concentration polarization, equivalent capacitance generated by concentration polarization; determining the lithium battery simulation model based on the equivalent circuit model parameters.
[0014] According to one aspect of an embodiment of the present invention, a lithium battery power prediction device is provided, comprising: an acquisition module, used to acquire a lithium battery simulation model, wherein the lithium battery simulation model is obtained by simulating the lithium battery using a second-order capacitor-resistor equivalent circuit model; a first determination module, used to determine a first state space model of a nonlinear system based on the lithium battery simulation model, wherein the first state space model represents the relationship between the system input and the state variable over time, and the state variable includes power, a first voltage, and a second voltage; a conversion module, used to convert the first state space model of the nonlinear system into a second state space model of a multi-information system; and a second determination module, used to determine target power estimation values corresponding to multiple moments corresponding to the lithium battery based on the actual input and the second state space model.
[0015] According to one aspect of an embodiment of the present invention, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any of the above-mentioned lithium battery power prediction methods.
[0016] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned lithium battery power prediction methods.
[0017] In an embodiment of the present invention, a lithium battery simulation model is obtained, wherein the lithium battery simulation model is obtained by simulating the lithium battery using a second-order capacitor-resistor equivalent circuit model. According to the lithium battery simulation model, a first state space model of the nonlinear system is determined, wherein the first state space model represents the relationship between the system input and the state variable over time, and the state variable includes the power, the first voltage, and the second voltage. The first state space model of the nonlinear system is converted into a second state space model of the multi-new information system. According to the actual input and the second state space model, the target power estimation values corresponding to the multiple moments corresponding to the lithium battery are determined. It can be seen that in an embodiment of the present invention, the first state space model of the nonlinear system is converted into the second state space model of the multi-new information system for solution. Since the multi-new information theory can play a role in converting the complex dynamic behavior of the nonlinear system into observable and estimable power information, it can gradually approach the real system state through an iterative update process, which is more beneficial to processing nonlinear systems and complex dynamic behaviors, and achieves the purpose of accurately predicting the battery power under complex working conditions, thereby solving the technical problem of inaccurate prediction of power when predicting the lithium battery power under complex working conditions in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0019] Figure 1 is a flow chart of a method for predicting power of a lithium battery according to an embodiment of the present invention;
[0020] Figure 2 is a schematic diagram of a second-order RC equivalent circuit provided by an optional embodiment of the present invention;
[0021] Figure 3 4 is a structural block diagram of a lithium battery power prediction device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] Example 1
[0025] According to an embodiment of the present invention, an embodiment of a lithium battery power prediction method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0026] Figure 1 is a flow chart of a method for predicting the power of a lithium battery according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0027] Step S102, obtaining a lithium battery simulation model, wherein the lithium battery simulation model is obtained by simulating the lithium battery using a second-order capacitor-resistor equivalent circuit model;
[0028] In step S102 provided in the present application, a lithium battery simulation model is obtained. The simulation model involved in the embodiment of the present invention is to model the lithium-ion battery using a second-order capacitor-resistor (RC) equivalent circuit model to create a model. This modeling method is achieved by simplifying the complex electrochemical reaction and charge transfer process inside the lithium battery into a circuit network composed of resistors and capacitors. The second-order RC model consists of two resistors (R1, R2) and two capacitors (C1, C2). In this model, the resistor represents various resistances inside the battery, such as the ion transfer resistance in the electrolyte, the contact resistance between the battery plates, etc.; while the capacitor represents the charge storage capacity inside the battery, as well as the charge accumulation and release in the electrochemical process. R1 and C1 are connected in series to simulate the main electrochemical process and charge storage capacity of the battery. R1 represents the main resistance inside the battery, and C1 represents the electrochemical capacitance of the battery, reflecting the voltage change of the battery during the charge and discharge process. The second RC link (R2 and C2) is used to more accurately simulate the charge transfer and dissipation process inside the battery, such as electrolyte dissipation, capacitance effect between the plates, etc. When modeling, you can first determine the basic parameters of the lithium battery, such as open circuit voltage, internal resistance, capacity, etc., and then set the resistance and capacitance values in the circuit according to these parameters. Next, by adjusting the circuit parameters and simulation conditions, you can simulate the charging and discharging process of the battery under different working conditions and observe the dynamic changes of its parameters such as voltage, current and power.
[0029] Step S104, determining a first state space model of the nonlinear system according to the lithium battery simulation model, wherein the first state space model represents the relationship between the system input and the state variable over time, and the state variable includes the power, the first voltage, and the second voltage;
[0030] In step S104 provided in the present application, a first state space model of the nonlinear system is determined based on the lithium battery simulation model. In the context of the lithium battery simulation model, constructing a state space model of a nonlinear system is an effective method for describing the relationship between the internal state variables of the system (such as power, the first voltage and the second voltage) and the external input (such as current, temperature, etc.) over time. When constructing a state space model of a lithium battery, it is necessary to consider the complex electrochemical reactions and physical processes inside the battery. These processes include but are not limited to the transfer of charge, the diffusion of ions, the rate of electrode reactions, etc. Based on these processes, differential or difference equations describing the change of power, the first voltage and the second voltage over time can be derived. By constructing an accurate state space model, the changes in state variables such as power and voltage of lithium batteries under different operating conditions can be more accurately predicted, providing a reliable decision-making basis for BMS.
[0031] Step S106, converting the first state space model of the nonlinear system into a second state space model of the multi-innovation system;
[0032] In step S106 provided in the present application, the first state space model of the nonlinear system is converted into the second state space model of the multi-innovation system. Since the multi-innovation theory can convert the complex dynamic behavior of the nonlinear system into observable and estimable power information, it can gradually approach the actual system state through an iterative update process, which is more beneficial for processing nonlinear systems and complex dynamic behaviors, and achieves the purpose of accurately predicting the battery power under complex working conditions, thereby solving the technical problem of inaccurate power prediction when predicting the lithium battery power under complex working conditions in the related technology.
[0033] Compared with the original state-space model of nonlinear system, the original state-space model of nonlinear system may contain complex nonlinear equations and variable relationships that are difficult to handle directly. In the framework of multi-innovation system, these equations may need to be converted into a form that is easier to iterate and update, such as through linearization, approximation or using specific filtering algorithms to handle nonlinearity. Moreover, the original state-space model may only focus on the observation data at a single moment to update the state estimate. The multi-innovation system can use the observation data at multiple moments to jointly influence the update of the state estimate, which helps to improve the accuracy and stability of the estimate. In addition, the multi-innovation system gradually approaches the real system state through an iterative update process. This iterative update process may be significantly different from the direct solution method of the original nonlinear system state-space model, especially when dealing with nonlinear systems and complex dynamic behaviors, it can achieve better results.
[0034] Step S108 , determining target power estimation values corresponding to a plurality of time instants corresponding to the lithium battery according to the actual input amount and the second state space model.
[0035] In step S108 provided in the present application, the target power estimation values corresponding to multiple moments corresponding to the lithium battery are determined based on the actual input amount and the second state space model. Due to the adoption of the second state space model, it is expanded and improved relative to the traditional state space model. It contains more state variables, more complex dynamic equations or more accurate parameter estimation methods to better describe the nonlinear characteristics and uncertainties of the lithium battery, so as to achieve the purpose of determining a more accurate target power estimation value.
[0036] Through the above steps S102-S108, a lithium battery simulation model is obtained, wherein the lithium battery simulation model is obtained by simulating the lithium battery using a second-order capacitor-resistor equivalent circuit model. According to the lithium battery simulation model, a first state space model of the nonlinear system is determined, wherein the first state space model represents the relationship between the system input and the state variable over time, and the state variable includes the power, the first voltage, and the second voltage. The first state space model of the nonlinear system is converted into a second state space model of the multi-new information system. According to the actual input and the second state space model, the target power estimation values corresponding to the multiple moments corresponding to the lithium battery are determined. It can be seen that in an embodiment of the present invention, the first state space model of the nonlinear system is converted into the second state space model of the multi-new information system for solution. Since the multi-new information theory can play a role in converting the complex dynamic behavior of the nonlinear system into observable and estimable power information, it can gradually approach the real system state through an iterative update process, which is more beneficial to processing nonlinear systems and complex dynamic behaviors, and achieves the purpose of accurately predicting the battery power under complex working conditions, thereby solving the technical problem of inaccurate prediction of power when predicting the lithium battery power under complex working conditions in the related art.
[0037] As an optional embodiment, the first state space model of the nonlinear system is converted into a second state space model of the multi-information system, including: determining multi-information demand information in the first state space model, wherein the multi-information demand information is information with a complexity index higher than a predetermined threshold; determining the innovation state variables corresponding to the multi-information demand information; and based on the innovation state variables, expanding the original state space corresponding to the first state space model to obtain the second state space model.
[0038] In this embodiment, the process of converting the first state space model of a nonlinear system into the second state space model of a multi-innovation system is described. First, the multi-innovation system is described. Optionally, the multi-innovation system can further clarify the state vector: Under the framework of the multi-innovation system, it is necessary to clarify the state vector of the system, which contains all the necessary information to describe the internal state of the system. These state variables will be iteratively updated during the filtering process. Compared with the original spatial model, it considers more complex factors to solve the problem more comprehensively. The state transfer equation can also be further clarified: Although the original nonlinear system may have a complex nonlinear state transfer equation, in the application of the multi-innovation system, this equation may need to be linearized or approximated in some way (such as sampling in a particle filter) for better prediction. The observation equation can be further clarified: The observation equation describes the relationship between the system state and the observable output. In the multi-innovation system, this equation is used to update the state estimate by combining the observation data at multiple times. The observation equation can be linear or nonlinear, but in the implementation of the multi-innovation system, it may need to be properly processed (such as linearization or using nonlinear filtering technology) to more accurately describe the relationship between the system state and the observable output. In addition, innovation is a core concept in multi-innovation systems, which represents the difference between the observed value and the predicted value based on the current state estimate. In a multi-innovation system, innovations at multiple times are used to update the state estimate to improve the accuracy and robustness of the estimate.
[0039] Therefore, it is necessary to determine the multi-new information demand information in the first state space model and determine whether there is a need for new information processing. Because the new information processing is more complex information, the complexity index corresponding to the information can be determined. When the complexity index is higher than the predetermined threshold, the new information processing is performed. That is, the new information state variable corresponding to the multi-new information demand information is determined, and the original state space corresponding to the first state space model is expanded according to the new information state variable to obtain the second state space model. When expanding, the state space model of the original nonlinear system can be combined with the multi-new information system. The state equation and the observation equation are converted into a form that can be processed by the multi-new information system, that is, the state update equation and the observation update equation of the filter are defined. Then the multi-new information system is used for state estimation. In this process, the multi-new information system will update the estimated value of the battery power through iterative calculation according to the observation data at multiple times (such as the voltage and current of the battery). In this process, the multi-new information system plays a role in converting the complex dynamic behavior of the nonlinear system into observable and estimable power information, so it can better estimate the power under complex working conditions.
[0040] As an optional embodiment, the original state space corresponding to the first state space model is expanded according to the new information state variable to obtain the second state space model, including: determining whether the impact result on the original parameters in the first state space model is caused according to the new information state variable, wherein the original parameters include at least one of the following: process noise, measurement noise; when the impact result is an impact on the original parameters in the first state space model, determining the update space parameters according to the new information state variable; and converting the first state space model into the second state space model according to the updated space parameters.
[0041] In this embodiment, the steps of expanding the original state space corresponding to the first state space model according to the new information state variable to obtain the second state space model are described. According to the new information state variable, determine whether the impact result of the original parameters in the first state space model is affected. That is, after receiving the new information state variable, it is first necessary to evaluate whether the new information has a significant impact on the original parameters (such as process noise, measurement noise, etc.) in the first state space model. Process noise reflects the uncertainty in the dynamic changes of the system, while measurement noise is related to the error in the sensor measurement process. By comparing the difference between the new information state variable and the model prediction value, it can be inferred whether these parameters need to be adjusted. If the evaluation result shows that the new information state variable does have an impact on the original parameters, then it is necessary to determine the updated spatial parameters based on these new information, that is, when the impact result is an impact on the original parameters in the first state space model, determine the updated spatial parameters based on the new information state variable. This may involve re-estimating the covariance matrix of process noise and measurement noise, or adjusting other parameters in the model to make the model better match the behavior of the actual system. Once the updated space parameters are determined, they can be applied to the first state space model to obtain a new and more accurate model - the second state space model, that is, based on the new information state variables, the updated space parameters are determined; based on the updated space parameters, the first state space model is transformed into the second state space model. This new model will better reflect the current state and dynamic characteristics of the system, providing a more reliable basis for subsequent state estimation and prediction.
[0042] In this way, the accuracy of the state space model can be significantly improved by adjusting the model parameters according to the new information state variables. Dynamic adjustment of model parameters enables the model to better adapt to changes in system state and fluctuations in the external environment. This improves the robustness and adaptability of the model, making the model more reliable in complex and changeable practical applications.
[0043] As an optional embodiment, a first state space model of a nonlinear system is determined based on a lithium battery simulation model, including: determining a state equation of the lithium battery simulation model and an observation equation of the lithium battery simulation model based on the lithium battery simulation model and the ampere-hour integral formula; and determining a first state space model based on the state equation and the observation equation.
[0044] In this embodiment, the process of determining the first state space model is described. In this process, firstly, the state equation of the lithium battery simulation model and the observation equation of the lithium battery simulation model are determined according to the lithium battery simulation model and the ampere-hour integration formula.
[0045] Among them, the state equation describes the law of change of the internal state of the lithium battery (such as charge and polarization voltage) over time. The charge usually refers to the remaining capacity of the battery (SOC, State of Charge), while the polarization voltage reflects the additional voltage drop caused by electrochemical polarization, concentration polarization and other phenomena during the charge and discharge process of the battery. The change of charge (SOC) is usually related to the charge and discharge current of the battery, follows a certain integral relationship, and takes into account the efficiency loss and capacity decay of the battery. The change of polarization voltage may be determined by multiple factors such as the battery's charge and discharge rate, temperature, and battery aging, and can usually be described by empirical formulas or more complex electrochemical models.
[0046] Among them, the observation equation establishes the relationship between the external observables of the lithium battery (such as terminal voltage) and the internal state (such as charge and polarization voltage). In the lithium battery model, the terminal voltage is an important indicator of battery performance, which directly affects the battery's performance and safety.
[0047] In order to more accurately describe the dynamic behavior of lithium batteries, the state equation and observation equation may need to adopt nonlinear forms to take into account the nonlinear characteristics of the battery at different SOC, temperature and charge and discharge rates.
[0048] It should be noted that in order to more comprehensively describe the behavior of lithium batteries, a multi-time scale model can also be introduced to consider the battery's fast dynamic response (such as rapid changes in polarization voltage) and slow dynamic response (such as long-term capacity decay) respectively.
[0049] Through this setting, the first state space model can be determined through accurate state equations and observation equations, and the performance of lithium batteries under different operating conditions, such as remaining capacity, charge and discharge time, voltage fluctuation, etc., can be more accurately predicted. Based on the prediction results of the model, battery management strategies such as charge and discharge control, balance control, thermal management, etc. can be optimized to improve the overall performance and safety of the battery system. In addition, by comparing the actual observation data with the model prediction results, abnormal battery behavior can be discovered in time, such as too fast capacity decay, increased internal resistance, severe polarization, etc., so as to perform fault diagnosis and early warning.
[0050] As an optional embodiment, a first state space model of a nonlinear system is determined based on state equations and observation equations, including: constructing a scenario state transfer equation and a scenario measurement function based on an application scenario, state equations and observation equations of a lithium battery simulation model; determining the statistical characteristics of system internal data of the application scenario, determining the process noise, and determining the measurement noise based on the statistical characteristics of system external data of the application scenario; determining the first state space model based on the scenario state transfer equation, the scenario measurement function, the process noise and the measurement noise.
[0051] In this embodiment, the process of constructing the first state space model of the nonlinear system based on the state equation and the observation equation for the application scenario of the lithium battery simulation model is described. Among them, the scene state transfer equation is determined. The scene state transfer equation is different from the traditional state transfer equation in that it is for a specific application scenario (such as the driving process of an electric vehicle, the charge and discharge cycle of an energy storage system, etc.), according to the physical characteristics and dynamic behavior of the lithium battery, to construct a mathematical expression describing the change of its state over time. Among them, the scene measurement function is also determined. The scene measurement function is different from the traditional measurement function in that it is for a specific application scenario according to the measurement data that can be obtained in the actual application (such as the voltage, current, temperature, etc. under the influence of the scene disturbance), and constructs a mathematical model that associates these measurement data with the internal state of the battery. Then the process noise is determined to reflect the uncertainty in the dynamic change process inside the system, such as the randomness of the chemical reaction inside the battery, the influence of temperature fluctuations on the battery performance, etc. By analyzing the statistical characteristics of the internal data of the system, the statistical characteristics of the process noise (such as mean, variance, etc.) can be estimated. And the measurement noise, that is, caused by external factors such as sensor error and data transmission error, affects the accuracy of the observed data. By analyzing the statistical characteristics of the system's external data, the statistical characteristics of the measurement noise can be determined. The above-constructed scenario state transfer equation, scenario measurement function, and the determined process noise and measurement noise are combined to form the first state space model of the complete nonlinear system. This model can fully describe the dynamic behavior of lithium batteries in specific application scenarios.
[0052] As an optional embodiment, the state equation of the lithium battery simulation model and the observation equation of the lithium battery simulation model are determined based on the lithium battery simulation model and the ampere-hour integration formula, including: modeling the cumulative effect of the battery power based on the lithium battery simulation model and the ampere-hour integration formula, determining a predetermined equivalent circuit model expression equation, and determining a definition equation for the lithium battery power; using a first discrete parameter to discretize the second-order capacitor-resistor equivalent circuit model expression equation and the definition equation for the lithium battery power to determine the state equation, and using a second discrete parameter to discretize the second-order capacitor-resistor equivalent circuit model expression equation and the definition equation for the lithium battery power to determine the observation equation.
[0053] In this embodiment, the process of determining the observation equation is described. First, the cumulative effect of the battery power can be modeled according to the lithium battery simulation model and the ampere-hour integral formula to determine the predetermined equivalent circuit model expression equation. The equivalent circuit model simulates the behavior of the battery by simplifying the internal characteristics of the battery into a combination of a series of circuit elements (such as resistors, capacitors, etc.). At the same time, the definition equation of the lithium battery power is clarified, which may be directly based on the ampere-hour integral formula, or it may be an expression corrected based on the ampere-hour integral and combined with the battery characteristics. The state equation is determined by discretizing the second-order capacitor-resistor equivalent circuit model expression equation and the lithium battery power definition equation using the first discrete parameter, and the second discrete parameter is used to discretize the second-order capacitor-resistor equivalent circuit model expression equation and the lithium battery power definition equation to determine the observation equation. Among them, the first and second discretization parameters are parameters that convert the state equation of the continuous time system into a discrete time form. The expression equation of the second-order RC equivalent circuit model and the lithium battery power definition equation combined with the ampere-hour integral formula are discretized using the first set of discrete parameters (such as time step, discretization method, etc.). The purpose of this step is to transform the differential equation in the continuous time domain into a difference equation in the discrete time domain, so as to determine the state equation. The state equation will describe the recursive relationship of the internal state of the battery (such as charge, voltage, etc.) at discrete time points. Then, the expression equation of the second-order RC equivalent circuit model is discretized using a second set of discrete parameters (which may be different from the first set, depending on the characteristics and requirements of the observation equation), and the observation equation is determined in combination with the definition equation of the lithium battery charge. The observation equation will establish a discrete time relationship between the internal state variables of the battery (such as charge) and the observable output (such as the battery terminal voltage). Discretization helps to reduce the impact of noise and interference in the digital system on the accuracy of the model, thereby improving the stability and reliability of the system. In addition, the discretized model provides a basis for implementing complex control algorithms and state estimation algorithms in digital systems, such as Kalman filtering, particle filtering, etc. Compared with the model in the continuous time domain, the discretized model is computationally simpler and more efficient.
[0054] As an optional embodiment, obtaining a lithium battery simulation model includes: obtaining a lithium battery; performing a mixed pulse power characteristic experiment on the lithium battery to determine the relationship between the open circuit voltage, power and time of the lithium battery; determining equivalent circuit model parameters based on the relationship, wherein the equivalent circuit model parameters include at least: battery open circuit voltage, equivalent ohmic internal resistance, equivalent resistance generated by electrochemical polarization, equivalent capacitance generated by electrochemical polarization, equivalent resistance generated by concentration polarization, equivalent capacitance generated by concentration polarization; determining the lithium battery simulation model based on the equivalent circuit model parameters.
[0055] In this embodiment, a lithium-ion battery is obtained, and a representative lithium-ion battery sample is selected or prepared to ensure the universality and accuracy of the experimental results. A hybrid pulse power characteristic experiment HPPC is performed on the lithium-ion battery. The experiment applies a series of mixed pulse currents (including charging and discharging pulses) to the lithium-ion battery to observe and record the voltage response of the battery under different current excitations. These pulse currents simulate the dynamic working conditions of the battery in actual use, which helps to reveal the electrochemical process inside the battery. By analyzing the experimental data, the law of the change of the open circuit voltage (OCV) of the battery over time (or electricity) can be extracted, and the experimental curves of the HPPC experiment and the single pulse are obtained, and the second-order RC equivalent circuit model parameters of the lithium battery are identified offline by fitting using the MATLAB toolbox. That is, the equivalent parameters are determined, including the open circuit voltage (OCV) U_OC of the lithium battery; the equivalent ohmic internal resistance R0 of the lithium battery; the equivalent resistance, capacitance R1, and C1 generated by the electrochemical polarization of the lithium battery; the equivalent resistance, capacitance R2, and C2 generated by the concentration polarization. Then a lithium battery simulation model is constructed. When conducting hybrid pulse power characteristics experiments, the experimental design can be further optimized, such as adjusting parameters such as the amplitude, duration, and interval of the pulse current to more comprehensively cover the operating range of the battery and improve the reliability of the data.
[0056] It should be noted that in order to simulate the performance of the battery more accurately, it is possible to consider coupling multiple physical fields such as electrochemistry, thermal and mechanical fields for modeling. This can not only more comprehensively reflect the complex processes inside the battery, but also predict the battery's performance parameters such as temperature distribution and stress changes under different conditions.
[0057] In this way, by establishing an accurate lithium battery simulation model, the performance of the battery under different operating conditions can be predicted more accurately.
[0058] Based on the above embodiments and optional embodiments, an optional implementation is provided, which is described in detail below.
[0059] In an optional embodiment of the present invention, a method for predicting the power of a lithium battery is provided, which can also be referred to as a battery SOC estimation method based on an improved extended Kalman filter for an energy storage system, comprising the following steps:
[0060] S1: Determine the second-order RC equivalent circuit model;
[0061] Figure 2 is a schematic diagram of a second-order RC equivalent circuit provided by an optional embodiment of the present invention, such as Figure 2 As shown, the second-order RC equivalent circuit model described in S1 includes the open circuit voltage Uocv of the battery, the ohmic internal resistance R0, the polarization internal resistances R1, R2, and the polarization capacitors C1, C2. The polarization internal resistance R1 and the polarization capacitor C1 are connected in parallel, and their terminal voltage is U1; the polarization internal resistance R2 and the polarization capacitor C2 are connected in parallel, and their terminal voltage is U2. The ohmic internal resistance R0, the equivalent circuit with the terminal voltage U1, and the equivalent circuit with the terminal voltage U1 are connected in series to the positive electrode of the battery open circuit voltage Uocv. The terminal voltage between the positive output terminal of the series RC equivalent circuit and the negative output terminal of the battery open circuit voltage Uocv is U, and the current passing through the circuit is I. The mathematical expression of the second-order RC equivalent circuit model is:
[0062]
[0063] S2: Establish a functional relationship between the battery open circuit voltage (OCV) and SOC;
[0064] S2.1: At a temperature of 25°C, fully charge the battery using a constant current and constant voltage charging method (first charge at 1 / 3C constant current to the cut-off voltage, then drop the constant voltage charging current to 0.05C cut-off) and let it stand for 1 hour.
[0065] S2.2: Discharge the battery at a discharge rate of 1 / 3C to the cut-off voltage, calculate the discharge capacity as Q, and let it stand for 1 hour;
[0066] S2.3: Fully charge the battery using constant current and constant voltage charging (first 1 / 3C constant current charging to the cut-off voltage, then constant voltage charging current drops to 0.05C cut-off) and let it stand for 1 hour. At this time, SOC = 100%, measure the open circuit voltage of the battery;
[0067] S2.4: Discharge the battery at a discharge rate of 1 / 3C, release 10% of the battery capacity, and let it stand for 1 hour. At this time, SOC = 90%, measure the open circuit voltage of the battery;
[0068] S2.5: Repeat step S2.2 to measure the open circuit voltage of the battery when the SOC is 80%, 70%, 60%, 50%, 40%, 30%, 20%, 10%, and 0% respectively;
[0069] S2.6: Use the curve fitting tool to perform polynomial fit on the SOC and OCV data.
[0070] S3: Determine the relationship between input parameters and power under environmental conditions.
[0071] The specific process of S3 is:
[0072] S3.1: At a temperature of 25°C, discharge the battery at a constant current (0.33C) to a cut-off voltage of 2.5V;
[0073] S3.2: Fully charge with constant current and constant voltage (first 0.33C constant current charging to 3.65V and then constant voltage, 0.05C cut-off), at this time SOC = 100%;
[0074] S3.3: Discharge 10% Q of electricity at constant current (0.33C), let stand for 1h, then S0C = 90%, load mixed pulse current excitation sequence, discharge (2C) 10S, let stand for 40S, charge (1.5C) 10S, record voltage curve;
[0075] S3.4: repeat step S3.3 eight times, load the mixed pulse current excitation sequence when the SOC is 80%, 70%, 60%, 50%, 40%, 30%, 20%, and 10%, and record the voltage curve;
[0076] S3.5: The voltage variation curve of the mixed pulse current excitation sequence can be used to perform offline parameter identification of R0, R1, R2, C1, and C2 in the second-order RC equivalent circuit. The formula is:
[0077]
[0078]
[0079] S3.5: According to the formula in S3.4, perform parameter identification and record at SOC=80%, 70%, 60%, 50%, 40%, 30%, 20%, and 10% respectively.
[0080] S4: Based on the second-order RC equivalent circuit model and the ampere-hour integration method formula, the state equation and observation equation of the battery system are established;
[0081] The specific process of S4 is:
[0082] S4.1: The battery SOC, the voltages U1 and U2 across the polarized capacitor are taken as the state variables of the system, the charge and discharge current I is the system input, and the terminal voltage U is the system output. Based on the established second-order RC equivalent circuit model and the ampere-hour integration formula, the battery state equation is:
[0083]
[0084] The output equation is:
[0085] U(t)=U OCV(t)-R0*I(t)-U1(t)-U2(t)
[0086] S4.2: Discretizing the state equation and output equation of the battery system in S4.1 yields:
[0087]
[0088] U(k)=U OCV (k)-R0*I(k)-U1(k)-U2(k)
[0089] In the formula, C N is the actual capacity of the battery, t is the sampling time interval, is an exponential decay term, where R1C1 is the time constant (τ = RC). This expression is used to describe the exponential decay of voltage over time. It is also an exponential decay term, where R2C2 is the time constant (τ=RC). This expression is used to describe the exponential decay of voltage over time.
[0090] S5: The extended Kalman filter that introduces multiple innovation theory and H∞ filtering is used to estimate the battery SOC.
[0091] The specific process of S5 is as follows:
[0092] S5.1: The state space model of a nonlinear system is:
[0093]
[0094] In the formula, x k is the state variable at time k; u k is the system input; y k is the output at time k; f(x k ,u k ) is the state transfer function; h(x k ,u k )Observation function; ω k and v k They are process noise and measurement noise with zero mean, and they are uncorrelated with each other, that is, ω k ~N(0,Qk),v k ~N(0,Rk); Qk is the covariance matrix of process noise; Rk is the covariance matrix of observation noise;
[0095] The first-order Taylor expansion of the nonlinear equation at the state estimation point is obtained:
[0096]
[0097] The state variables of the battery SOC estimation system are: k=[SOC(k),U1(k),U2(k)] T , the system input is: U k =I k ; After linearizing the nonlinear equation of the state space model equation of the system through the first-order Taylor formula, the matrix parameters after linearization are obtained as follows:
[0098]
[0099] D(k)=R0;
[0100] S5.2: Initialize and loop recursive calculation:
[0101] (1) Initialization phase:
[0102]
[0103] (2) Prediction stage:
[0104] State variable predicted value:
[0105] Covariance matrix of state variable prediction errors:
[0106] (3) Introducing the multi-innovation theory:
[0107] Define a single innovation k , expand the single new information into the new information matrix, and the new information matrix calculation formula at time k is as follows:
[0108]
[0109] In the formula, y k is the measured value of the observed variable, is the estimated value of the observed variable, M is the length of the new information, e k , e k-1 , ..., e k-M+1 Respectively represent the new information values at time k, k-1, and k-M+1;
[0110] (4) Correction stage:
[0111] The extended Kalman gain expression is:
[0112] The gain matrix value G at time k M,k for:
[0113] G M,k =[G k ,G k-1 ,...,G k-M+1 ]
[0114] In the formula, Gk , G k-1 , ..., G k-M+1 Respectively represent the gain values at time k, k-1, and k-M+1;
[0115] Status variable correction:
[0116] In the formula, G j,k represents the gain value at time k-j+1, γ j represents the effectiveness factor of the new information at time k-j+1, j=1,2,3,.., M represents the effectiveness of the new information on the error update, and the values are as follows:
[0117]
[0118] In the formula, δ is the influence weight value.
[0119] The covariance matrix of the state variable correction error: P k =(IK k C k ) k|k-1 .
[0120] In order to correct the error and accurately estimate the power value.
[0121] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.
[0123] Example 2
[0124] According to an embodiment of the present invention, a device for implementing the above-mentioned lithium battery power prediction method is also provided. Figure 3is a structural block diagram of a lithium battery power prediction device according to an embodiment of the present invention. Figure 3 As shown, the device includes: an acquisition module 302, a first determination module 304, a conversion module 306 and a second determination module 308. The device is described in detail below.
[0125] An acquisition module 302 is used to acquire a lithium battery simulation model, wherein the lithium battery simulation model is obtained by simulating the lithium battery using a second-order capacitor-resistor equivalent circuit model;
[0126] A first determination module 304, connected to the acquisition module 302, is used to determine a first state space model of the nonlinear system according to the lithium battery simulation model, wherein the first state space model represents the relationship between the system input and the state variable over time, and the state variable includes the power, the first voltage, and the second voltage;
[0127] A conversion module 306, connected to the first determination module 304, for converting the first state space model of the nonlinear system into a second state space model of the multi-innovation system;
[0128] The second determination module 308 is connected to the conversion module 306 and is used to determine the target power estimation values corresponding to the lithium battery at multiple moments according to the actual input amount and the second state space model.
[0129] It should be noted here that the above-mentioned acquisition module 302, the first determination module 304, the conversion module 306 and the second determination module 308 correspond to steps S102 to S108 in the implementation of the lithium battery power prediction method, and the examples and application scenarios implemented by the multiple modules are the same as the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiment 1.
[0130] Example 3
[0131] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute instructions to implement any of the above-mentioned lithium battery power prediction methods.
[0132] Example 4
[0133] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned lithium battery power prediction methods.
[0134] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0135] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0136] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0137] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0138] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0139] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0140] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for predicting the power of a lithium battery, characterized in that: include: Acquire a lithium battery simulation model, wherein the lithium battery simulation model is obtained by simulating the lithium battery using a second-order capacitor-resistance equivalent circuit model; Determine a first state space model of the nonlinear system according to the lithium battery simulation model, wherein the first state space model represents the relationship between the system input and the state variable over time, and the state variable includes the power, the first voltage, and the second voltage; Converting the first state space model of the nonlinear system into a second state space model of the multi-innovation system; According to the actual input amount and the second state space model, target power estimation values corresponding to a plurality of moments corresponding to the lithium battery are determined.
2. The method according to claim 1, characterized in that The converting the first state space model of the nonlinear system into a second state space model of the multi-innovation system comprises: Determining multiple innovation demand information in the first state space model, wherein the multiple innovation demand information is information having a complexity index higher than a predetermined threshold; Determining an innovation state variable corresponding to the multiple innovation demand information; According to the new information state variable, the original state space corresponding to the first state space model is expanded to obtain the second state space model.
3. The method according to claim 2, characterized in that The method of expanding the original state space corresponding to the first state space model according to the innovation state variable to obtain the second state space model includes: Determine, based on the new information state variable, whether the original parameters in the first state space model are affected, wherein the original parameters include at least one of the following: process noise, measurement noise; In the case where the impact result is an impact on the original parameters in the first state space model, determining the update space parameters according to the new information state variables; The first state space model is transformed into the second state space model according to the update space parameters.
4. The method according to claim 1, characterized in that: Determining a first state space model of a nonlinear system according to the lithium battery simulation model includes: Determine the state equation of the lithium battery simulation model and the observation equation of the lithium battery simulation model according to the lithium battery simulation model and the ampere-hour integration formula; The first state space model is determined according to the state equation and the observation equation.
5. The method according to claim 4, characterized in that Determining a first state space model of a nonlinear system according to the state equation and the observation equation includes: According to the application scenario of the lithium battery simulation model, the state equation and the observation equation, a scenario state transfer equation and a scenario measurement function are constructed; Determine the statistical characteristics of the system internal data of the application scenario, determine the process noise, and determine the measurement noise based on the statistical characteristics of the system external data of the application scenario; The first state space model is determined according to the scene state transfer equation, the scene measurement function, the process noise and the measurement noise.
6. The method according to claim 4, characterized in that The step of determining the state equation of the lithium battery simulation model and the observation equation of the lithium battery simulation model based on the lithium battery simulation model and the ampere-hour integration formula includes: Modeling the cumulative effect of battery power according to the lithium battery simulation model and the ampere-hour integration formula, determining a predetermined equivalent circuit model expression equation, and determining a definition equation for the lithium battery power; The state equation is determined by discretizing the second-order capacitor-resistance equivalent circuit model expression equation and the definition equation of the lithium battery power using a first discrete parameter, and the observation equation is determined by discretizing the second-order capacitor-resistance equivalent circuit model expression equation and the definition equation of the lithium battery power using a second discrete parameter.
7. The method according to any one of claims 1 to 6, characterized in that: The step of obtaining a lithium battery simulation model comprises: Obtaining the lithium battery; Conducting a mixed pulse power characteristic experiment on the lithium battery to determine the relationship between the open circuit voltage, power and time of the lithium battery; Determine the equivalent circuit model parameters according to the relationship, wherein the equivalent circuit model parameters include at least: battery open circuit voltage, equivalent ohmic internal resistance, equivalent resistance generated by electrochemical polarization, equivalent capacitance generated by electrochemical polarization, equivalent resistance generated by concentration polarization, and equivalent capacitance generated by concentration polarization; The lithium battery simulation model is determined according to the equivalent circuit model parameters.
8. A lithium battery power prediction device, characterized in that: include: An acquisition module is used to acquire a lithium battery simulation model, wherein the lithium battery simulation model is obtained by simulating the lithium battery using a second-order capacitor-resistance equivalent circuit model; A first determination module is used to determine a first state space model of the nonlinear system according to the lithium battery simulation model, wherein the first state space model represents the relationship between the system input and the state variable over time, and the state variable includes the power, the first voltage, and the second voltage; A conversion module, used for converting the first state space model of the nonlinear system into a second state space model of the multi-innovation system; The second determination module is used to determine the target power estimation values corresponding to multiple moments corresponding to the lithium battery according to the actual input amount and the second state space model.
9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the lithium battery power prediction method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the lithium battery power prediction method as described in any one of claims 1 to 7.
Citation Information
Cited By
Lithium battery pack capacity balancing method based on parameter specificity
CN120978954A
A battery system simulation method and system based on cell equivalent circuit modularization
CN122735603A
