CN110261778B - SOC estimation algorithm of lithium ion battery - Google Patents
SOC estimation algorithm of lithium ion battery Download PDFInfo
- Publication number
- CN110261778B CN110261778B CN201910446731.1A CN201910446731A CN110261778B CN 110261778 B CN110261778 B CN 110261778B CN 201910446731 A CN201910446731 A CN 201910446731A CN 110261778 B CN110261778 B CN 110261778B
- Authority
- CN
- China
- Prior art keywords
- soc
- battery
- voltage
- time
- lithium ion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 229910001416 lithium ion Inorganic materials 0.000 title claims abstract description 19
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 title claims abstract description 18
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 52
- 230000002068 genetic effect Effects 0.000 claims abstract description 11
- 239000011159 matrix material Substances 0.000 claims description 18
- 230000010287 polarization Effects 0.000 claims description 11
- 238000005259 measurement Methods 0.000 claims description 4
- 239000004576 sand Substances 0.000 claims description 3
- 230000003068 static effect Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000008034 disappearance Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/36—Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
- G01R31/367—Software therefor, e.g. for battery testing using modelling or look-up tables
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Secondary Cells (AREA)
- Tests Of Electric Status Of Batteries (AREA)
Abstract
The invention discloses a lithium ion battery SOC estimation algorithm which mainly comprises the steps of establishing a lithium ion battery model, determining the relation of SOC-OCV by using a discharge standing method, estimating initial parameters of the battery model in an off-line state, identifying parameters of the battery model by using a least square method with genetic factors in an on-line state, and observing SOC by using a state observer. The algorithm is combined with a least square method with genetic factors to carry out real-time parameter identification and a state observer to carry out SOC observation, the implementation is simple, the practicability is high, the problems that a traditional Kalman filter is large in calculation amount and difficult to apply practically are solved by using the state observer, the accuracy of the lithium ion battery estimation algorithm is guaranteed by the state observer, and the estimation precision is high.
Description
Technical Field
The invention relates to the field of battery state of charge (SOC) estimation, in particular to an SOC estimation algorithm of a lithium ion battery.
Background
The system comprises a power battery, a controller and a controller, wherein the power battery is used as a main energy source of an electric automobile, and the SOC of the power battery is one of the most important and basic parameters in an energy management system; reasonable energy distribution can be performed only by accurate SOC value estimation, so that limited energy is utilized more effectively; the remaining mileage of the vehicle can be correctly predicted. The SOC is defined as the state of charge of the battery, which is used to indicate the remaining amount of the battery. Accurate battery state of charge is a prerequisite and prerequisite for system management of electric vehicles. The battery is a complex nonlinear system, and when the battery is used for an electric vehicle, accurate noise statistics is difficult to obtain due to the fact that electronic equipment is numerous and noise interference is complex; in addition, the parameter change randomness of the external environment and the internal environment causes the mathematical model of the system to be inaccurate and generates model errors, so the anti-interference capability and the self-adaptive capability of the battery charge state estimation must be researched, and the effectiveness of the estimation robustness on the battery charge state is improved.
In the existing SOC estimation method, an ampere-hour measurement method based on a current integration method is easy to form an accumulated error; an open-circuit voltage method and an electromotive force method based on battery terminal voltage measurement require a battery to stand for a long time, and an SOC value cannot be estimated in real time; a neural network method based on a large amount of sample data and a neural network model needs to provide a reliable training method based on a large amount of data samples; the Kalman filtering method based on the battery state space model and the recursion equation has large calculation amount and difficult practical application.
Disclosure of Invention
The purpose of the invention is as follows: the lithium ion battery SOC estimation algorithm solves the problems that a traditional lithium ion battery SOC estimation algorithm is large in calculation amount, low in estimation precision and difficult to achieve.
The technical scheme is as follows: a lithium ion battery SOC estimation algorithm mainly comprises the following steps:
step 1: establishing a Thevenin lithium ion battery model;
step 2: determining the relation of SOC-OCV by using an intermittent discharge standing method;
and step 3: estimating initial parameters of a battery model in an off-line state;
and 4, step 4: identifying parameters of the battery model by a least square method with genetic factors in an online state;
and 5: the SOC is observed using a state observer.
According to one aspect of the invention, a second-order Thevenin lithium ion battery model is established, open-circuit voltage E (t) is used for representing a voltage source, R represents ohmic resistance of the battery, and a second-order resistance-capacitance loop is used for simulating the polarization process of the battery.
According to one aspect of the present invention, the SOC-OCV relationship is determined using an intermittent discharge rest method, first fully charging the battery to 100% SOC, second discharging the battery using a negative pulse every 10% SOC, then resting for 1h to eliminate polarization reaction, and finally averaging at rest to obtain an SOC-OCV curve, the pulse discharge current being set to C/2, and the discharge time width corresponding to a certain amount of charge, i.e., 10% SOC.
According to one aspect of the invention, the initial parameters of the battery model are estimated in an off-line state, and according to the process that the voltage drop generated on the internal ohmic resistance of the battery disappears after the discharge is finished, the ohmic internal resistance of the battery can be obtained:
for outputting current, a battery is simulated by adopting a mode of superposing two resistance-capacitance linksPolarization process of (C)sAnd RsThe formed RC parallel circuit has a small time constant and is used for simulating the process of rapid voltage change of the battery when the current suddenly changes, CpAnd RpThe time constant of the parallel circuit is large, and is used for simulating the process of voltage slow change, and the battery is supposed to be discharged for a period of time during (t0-tr) and then to be in a standing state for the rest time, wherein t0To the discharge start time, tdAt the time of discharge stop, trFor the rest stop time, the RC network voltage during this process is:
t is a time variable, order,For the time constants of the two RC parallel circuits, the voltage output of the voltage change process caused by the disappearance of the polarization reaction of the cell is:
e is voltage source, I is output current, and Matlab can be used for fitting and identifying double exponential coefficientR s 、R p 、C S 、C PThe value of (c).
According to one aspect of the invention, the battery model parameters are identified by a least square method with genetic factors in an online state, and the functional relation of an equivalent circuit model is as follows:
e (t) is a voltage source, U (t) is an open-circuit voltage, i is an output current, t is a time variable, and the following equation can be obtained through recursive operation of a least square method with genetic factors:
in the least square method, in the recursion operation process, more and more old data can cause the recursion result not to well reflect the characteristics of new data, in order to avoid the situation, a forgetting factor lambda is introduced, k is the iteration frequency,the parameter matrix estimated for the system, Φ is the measurement matrix, P is the covariance matrix,Kis a gain feedback matrix,yAnd outputting the real output value of the system.
According to one aspect of the invention, the SOC is observed using a state observer whose state equations and output equations are as follows:
wherein,=[u p u s SOC] T ,u=I ,A= ,B=[1/C p 1/C s -1/Q n ] T , )=E(soc)-u p -u s ,D=R 0 ,Kin order to obtain a gain feedback matrix, the gain feedback matrix,in order to output the observed value, the observation value is output,yfor the true output value of the system, QnIs the common ratio of the equal ratio number series.
Has the advantages that: the method can identify the parameters of the battery model by a least square method with genetic factors, strengthen the information quantity provided by new data, gradually weaken old data and prevent data saturation; meanwhile, the state observer is easy to realize, the calculated amount is smaller than that of a Kalman filter, and the estimation precision is high.
Drawings
Fig. 1 is a schematic structural diagram of the novel road damage detection system of the present invention.
Fig. 2 is a second-order thevenin lithium ion battery model diagram.
Fig. 3 is a diagram of an intermittent discharge current.
Fig. 4 is a graph of intermittent discharge voltage.
Fig. 5 is a schematic diagram of a terminal voltage response curve of a lithium ion battery at a discharge end.
Fig. 6 is a diagram showing results of SOC observation experiments.
Detailed Description
The algorithm of the present invention is further described with reference to the accompanying drawings.
The detailed steps of the SOC estimation algorithm are illustrated in fig. 1.
As shown in fig. 2, a second-order thevenin lithium ion battery model is established, open-circuit voltage e (t) is used for representing a voltage source, R represents ohmic resistance of the battery, and a second-order resistance-capacitance loop is used for simulating the polarization process of the battery.
As shown in fig. 3 and 4, the abscissa is time, the ordinate of fig. 3 is discharge current, the ordinate of fig. 4 is open-circuit voltage, and the SOC-OCV relationship was determined by the intermittent discharge static method, first, the battery was fully charged to 100% SOC, and second, negative pulses were used every 10% SOC. The cell was discharged by current, then left to stand for 1h to eliminate polarization reaction, and finally averaged at rest to obtain the SOC-OCV curve. The pulse discharge current is set to C/2, and the discharge time width thereof corresponds to a certain amount of charge, i.e., 10% SOC.
As shown in figure 5 of the drawings,(V1-V0) The process that the voltage drop generated on the internal ohmic resistance of the battery disappears after the discharge is finished, so that the ohmic internal resistance of the battery can be obtained:
in order to output current, the polarization process of the battery is simulated by adopting a mode of superposing two resistance-capacitance links. As shown in FIG. 2, (V)2-V1) Is the process of the rapid voltage change of the battery when the current suddenly changes, and the process uses C because the time constant is smallsAnd RsCompositional RC parallel circuit simulation, (V)3-V2) Is a process of slow voltage change, which uses C because of the large time constantpAnd RpAnd (4) simulating a parallel circuit.
Suppose the battery is discharged for a period of time during (t0-tr) and then the remaining time is in a static state, where t0To the discharge start time, tdAt the time of discharge stop, trFor the rest stop time, the RC network voltage during this process is:
t is a time variable, order,Is the time constant of two RC parallel circuits, (V)3-V1) The phase voltage change is caused by the disappearance of the polarization reaction of the cell, where the process voltage output is:
e is a voltage source, and E is a voltage source,for outputting current, Matlab can be used for fitting and identifying double-exponential coefficientR s 、R p 、C S 、C PThe value of (c).
As shown in fig. 2, the equivalent circuit model is obtained as a functional relationship:
e (t) is a voltage source, U (t) is an open-circuit voltage value, i is an output current, t is a time variable, and an equation can be obtained through recursive operation of a least square method with genetic factors, wherein the equation is as follows:
in the recursive operation process of the least square method, more and more old data can cause the recursive result to not well reflect the characteristic of new data, and in order to avoid the situation, a forgetting factor is introducedλAnd k is the number of iterations,the parameter matrix estimated for the system, Φ is the measurement matrix, P is the covariance matrix,Kis a gain feedback matrix,yAnd outputting the real output value of the system.
The state equation and the output equation of the state observer are as follows:
wherein,=[u p u s SOC] T ,u=I,A= ,B=[1/C p 1/C s -1/Q n ] T , ) =E(soc)-u p -u s ,D=R 0 ,Kin order to obtain a gain feedback matrix, the gain feedback matrix,in order to output the observed value, the observation value is output,yfor the true output value of the system, QnIs the common ratio of the equal ratio number series.
The experimental result graph is shown in fig. 6, and the result shows that the following is good and the SOC estimation deviation is small.
In summary, the present invention has the following advantages: the algorithm of the invention combines the least square method with genetic factors to identify the parameters of the battery model, strengthen the information quantity provided by new data, weaken old data gradually and prevent data saturation; meanwhile, the state observer is used for observing the SOC, the realization is easy, the calculated amount is smaller than that of a Kalman filter, and the estimation precision is high.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. The invention is not described in detail in order to avoid unnecessary repetition.
Claims (3)
1. A lithium ion battery SOC estimation algorithm is characterized by mainly comprising the following steps:
step 1: establishing a Thevenin lithium ion battery model;
step 2: determining the relation of SOC-OCV by using an intermittent discharge standing method;
and step 3: estimating initial parameters of a battery model in an off-line state;
and 4, step 4: identifying parameters of the battery model by a least square method with genetic factors in an online state;
and 5: observing the SOC by using a state observer;
in the step 2, an intermittent discharge standing method is adopted for the relation of SOC-OCV, firstly, the battery is fully charged to 100% SOC, secondly, negative pulses are used at every 10% SOC, the battery is discharged by current, then the battery is static for 1h to eliminate polarization reaction, finally, the average value during standing is obtained to obtain an SOC-OCV curve, the pulse discharge current is set to be C/2, and the discharge time width corresponds to a certain amount of charge, namely 10% SOC;
step 3, calculating initial parameters of a battery model by using a voltage response curve after the battery intermittent discharge is finished in an off-line state, simulating the polarization process of the battery by adopting a mode of superposing two resistance-capacitance links, and setting a parameter Rs、CsSetting a parameter R for the resistance and capacitance of a resistance-capacitance linkp、CpFor the resistance and capacitance of another resistance-capacitance link, Matlab can be used for fitting and identifying double-exponential coefficientR s 、R p 、C s 、C pValue of (A), CsAnd RsThe formed RC parallel circuit has a small time constant and is used for simulating the process of rapid voltage change of the battery when the current suddenly changes, CpAnd RpThe time constant of the parallel circuit is large, and is used for simulating the process of voltage slow change, assuming that the battery is discharged for a period of time in the process, and then the rest time is in a standing state, wherein the RC network voltage is as follows:
wherein t is0In order to start the time of the discharge,tdat the time of discharge stop, trRespectively standing for a stop time, t is a time variable, and order,And as time constants of the two RC parallel circuits, the voltage output in the process that the polarization reaction of the battery disappears is as follows:
in the step 5, the state observer is used for observing the SOC value, and a state equation and an output equation of the state observer are as follows:
wherein,=[u p u s SOC] T ,u=I,A=,B=[1/C p 1/C s -1/Q n ] T , )= E(soc)-u p -u s ,D=R 0 ,Kin order to obtain a gain feedback matrix, the gain feedback matrix,in order to output the observed value, the observation value is output,yfor the true output value of the system, QnIs the common ratio of the equal ratio number series.
2. The lithium ion battery SOC estimation algorithm of claim 1, wherein the lithium ion battery model in step 1 is a second-order Withanan model, the open-circuit voltage E (t) is used to represent the voltage source, R is the ohmic resistance of the battery, and a second-order RC loop is used to simulate the polarization process of the battery.
3. The estimation algorithm of SOC of li-ion battery as claimed in claim 1, wherein in step 4, the identification of battery model parameters is performed by using a least square method with genetic factors in an online state, and the equivalent circuit model has the following functional relationship:
e (t) is a voltage source, U (t) is an open-circuit voltage value, i is an output current, t is a time variable, and an equation can be obtained through recursive operation of a least square method with genetic factors, wherein the equation is as follows:
in the least square method, in the recursion operation process, more and more old data can cause the recursion result not to well reflect the characteristics of new data, in order to avoid the situation, a forgetting factor lambda is introduced, k is the iteration frequency,the parameter matrix estimated for the system, Φ is the measurement matrix, P is the covariance matrix,Kis a gain feedback matrix,yAnd outputting the real output value of the system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910446731.1A CN110261778B (en) | 2019-05-27 | 2019-05-27 | SOC estimation algorithm of lithium ion battery |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910446731.1A CN110261778B (en) | 2019-05-27 | 2019-05-27 | SOC estimation algorithm of lithium ion battery |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110261778A CN110261778A (en) | 2019-09-20 |
CN110261778B true CN110261778B (en) | 2020-08-21 |
Family
ID=67915596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910446731.1A Active CN110261778B (en) | 2019-05-27 | 2019-05-27 | SOC estimation algorithm of lithium ion battery |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110261778B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111308371A (en) * | 2019-11-29 | 2020-06-19 | 湖南海博瑞德电智控制技术有限公司 | Lithium ion battery state of charge estimation method |
CN112147514B (en) * | 2020-09-25 | 2023-08-11 | 河南理工大学 | RLS-based adaptive equivalent circuit model of lithium battery under full operating conditions |
CN112415391A (en) * | 2020-10-27 | 2021-02-26 | 中船动力有限公司 | Marine lithium ion battery parameter identification method based on improved particle swarm optimization |
CN112782586A (en) * | 2020-11-12 | 2021-05-11 | 上海空间电源研究所 | Lithium ion battery capacity estimation method and system based on actual local data |
CN112373346B (en) * | 2020-12-01 | 2021-06-15 | 国网智慧能源交通技术创新中心(苏州)有限公司 | Refined control method of matrix V2G charging pile |
CN112946480B (en) * | 2021-01-28 | 2022-08-12 | 中国矿业大学 | A simplified method of lithium battery circuit model to improve real-time performance of SOC estimation |
CN113176505B (en) * | 2021-04-30 | 2022-10-04 | 重庆长安新能源汽车科技有限公司 | On-line estimation method and device for state of charge and state of health of vehicle-mounted power battery and storage medium |
CN114295982B (en) * | 2021-10-28 | 2025-02-11 | 上海空间电源研究所 | Lithium-ion battery parameter and open circuit voltage identification method, system and medium |
CN116381513B (en) * | 2023-06-07 | 2023-07-28 | 广东电网有限责任公司东莞供电局 | Lithium ion battery model parameter robust identification method considering measured value abnormality |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102621497A (en) * | 2012-03-22 | 2012-08-01 | 青岛理工大学 | Method and device for monitoring residual electric quantity of storage battery |
CN104569835B (en) * | 2014-12-16 | 2017-11-17 | 北京理工大学 | A kind of method of the state-of-charge for the electrokinetic cell for estimating electric automobile |
CN105548896B (en) * | 2015-12-25 | 2019-04-09 | 南京航空航天大学 | Online closed-loop estimation method of power battery SOC based on N-2RC model |
CN106324523B (en) * | 2016-09-26 | 2019-02-19 | 合肥工业大学 | Lithium battery SOC estimation method based on discrete variable structure observer |
CN107064811A (en) * | 2017-03-01 | 2017-08-18 | 华南理工大学 | A kind of lithium battery SOC On-line Estimation methods |
CN106842060A (en) * | 2017-03-08 | 2017-06-13 | 深圳市海云图新能源有限公司 | A kind of electrokinetic cell SOC estimation method and system based on dynamic parameter |
CN107390127A (en) * | 2017-07-11 | 2017-11-24 | 欣旺达电动汽车电池有限公司 | A kind of SOC estimation method |
CN108828449A (en) * | 2018-06-19 | 2018-11-16 | 西南交通大学 | Lithium ion battery method for estimating remaining capacity based on proportional integration H ∞ observer |
CN109581225A (en) * | 2018-12-28 | 2019-04-05 | 深圳市超思维电子股份有限公司 | The energy state evaluation method and battery management system of battery on-line parameter identification |
-
2019
- 2019-05-27 CN CN201910446731.1A patent/CN110261778B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110261778A (en) | 2019-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110261778B (en) | SOC estimation algorithm of lithium ion battery | |
CN111581904B (en) | Lithium battery SOC and SOH collaborative estimation method considering cycle number influence | |
Lin et al. | State of charge estimation with the adaptive unscented Kalman filter based on an accurate equivalent circuit model | |
CN112433154B (en) | FFRLS and EKF-based lithium ion battery SOC estimation algorithm | |
Chen et al. | Adaptive gain sliding mode observer for state of charge estimation based on combined battery equivalent circuit model | |
Wang et al. | On-line battery state-of-charge estimation based on an integrated estimator | |
Chen et al. | Battery state of charge estimation based on a combined model of Extended Kalman Filter and neural networks | |
Huria et al. | Simplified extended kalman filter observer for soc estimation of commercial power-oriented lfp lithium battery cells | |
Wang et al. | An improved coulomb counting method based on dual open‐circuit voltage and real‐time evaluation of battery dischargeable capacity considering temperature and battery aging | |
CN105510829B (en) | A kind of Novel lithium ion power battery SOC methods of estimation | |
CN113433464A (en) | High-order model parameter identification method and system suitable for lithium-rich manganese-based battery | |
CN113777510A (en) | Method and device for estimating state of charge of lithium battery | |
CN112034349A (en) | Lithium battery health state online estimation method | |
CN113156321A (en) | Estimation method for state of charge (SOC) of lithium ion battery | |
CN105548896A (en) | Power-cell SOC online closed-loop estimation method based on N-2RC model | |
CN110596606B (en) | A method, system and device for estimating remaining power of lithium battery | |
CN108445402A (en) | A kind of lithium-ion-power cell state-of-charge method of estimation and system | |
CN106772094A (en) | A kind of SOC methods of estimation of the battery model based on parameter adaptive | |
CN105277895A (en) | Series battery pack SOP (state of power) on-line estimation method and application thereof | |
CN107783057B (en) | Power battery SOC estimation method and estimation system | |
CN109444757A (en) | A kind of residual capacity of power battery of electric automobile evaluation method | |
CN109917299B (en) | Three-layer filtering estimation method for state of charge of lithium battery | |
CN111142025A (en) | Battery SOC estimation method and device, storage medium and electric vehicle | |
CN106126783A (en) | A kind of lithium ion battery becomes time scale model parameter estimation method | |
CN114740385A (en) | Self-adaptive lithium ion battery state of charge estimation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: No. 406-413A, Building 1, Qilin Artificial Intelligence Industrial Park, Qilin High tech Zone, Nanjing City, Jiangsu Province, 211100 Patentee after: Nanjing Changjiang Automation Research Institute Co.,Ltd. Country or region after: China Address before: 211100 666 East Qi Road, Qilin science and Technology Innovation Park, Nanjing, Jiangsu Patentee before: NANJING LIGONG AUTOMATION Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |