Lithium battery-supercapacitor hybrid energy storage system modeling method and device
By adopting a downgrade state space mathematical model and dynamic mode decomposition method in hybrid energy storage systems, combined with data modeling, the problem of lack of interpretability and troubleshooting in the existing technology is solved, and higher model accuracy is achieved and operational security.
Patent Information
- Application Number
- CN202410814024.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-06-24
AI Technical Summary
The existing hybrid energy storage system modeling methods lack interpretability, which leads to difficulty in model optimization and troubleshooting, and is unable to accurately understand the internal mechanism of the model, making it difficult to obtain an accurate hybrid energy storage system model.
Using a down-order state space mathematical model based on topological structure and dynamic equations, combining dynamic mode decomposition method and data modeling, a hybrid energy storage system model driven by mechanism data is obtained, and the basic model and higher-order residual state space are integrated. Mathematical model to improve the interpretability and accuracy of the model.
It improves the interpretability and accuracy of the model, reduces the difficulty of modeling complex nonlinear systems, enhances the convenience of troubleshooting and operational safety, and improves the generalization ability of the model.
Smart Images

Figure CN118885745A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hybrid energy storage system modeling, and in particular to a lithium battery-supercapacitor hybrid energy storage system modeling method and device. Background Art
[0002] In recent years, with the gradual exhaustion of fossil energy, improving the utilization rate of clean energy and energy conservation and emission reduction have become the general trend, especially in transportation. It can be foreseen that more energy-saving and environmentally friendly pure electric vehicles and hybrid vehicles will replace traditional high-emission fuel vehicles. The power supply method adopted by electric vehicles is on-board energy storage, but the battery energy storage is limited. The energy storage system can better power electric vehicles and improve overall performance. The energy storage unit of pure electric vehicles is required to meet the requirements of high service life, high energy density and high power density at the same time. At present, there is no single energy storage system that can meet the above requirements at the same time, so a hybrid energy storage system with two energy storage units is adopted. The lithium battery commonly used in electric vehicles has high energy density and good temperature characteristics, but its life cycle is short and the power density is low; while supercapacitors are complementary to lithium batteries, with high power density, long life cycle, and can achieve fast charging and discharging. The lithium battery-supercapacitor hybrid energy storage system combines the advantages of both, with high power density and high energy density. It can store energy for a long time and respond quickly to charging and discharging. It can not only be used for fast charging and discharging of electric vehicles, but also for many important occasions such as power grid regulation. It is one of the important research directions in the current energy storage field.
[0003] Accurate modeling of hybrid energy storage systems is the basis for their prediction and control. However, there are many nonlinear influencing factors in the actual lithium battery-supercapacitor energy storage system, such as battery aging, temperature effects, etc. It is extremely difficult to accurately model its mechanism. Although a relatively accurate data model can be obtained by modeling only in a data-driven way, the problem is the lack of interpretability.
[0004] In summary, the existing hybrid energy storage system modeling generally adopts a combination of mechanism modeling and data-driven modeling; first, the basic model framework of batteries and supercapacitors is established through mechanism modeling, and then the data-driven method is used to optimize the model parameters. However, the model structure and calculation process constructed in this way become quite complicated, making it difficult to intuitively understand how the model works, thereby reducing the interpretability of the model; therefore, due to the inability to accurately understand the internal mechanism of the model, models that lack interpretability are usually difficult to optimize and improve; it is difficult to accurately optimize the model, and thus it is impossible to obtain an accurate hybrid energy storage system model. At the same time, due to the lack of interpretability of the lithium battery-supercapacitor energy storage system model, there are no clear variables or logic to track, and it is difficult to determine which part or factor caused the problem; when the lithium battery-supercapacitor energy storage system fails, the model has prediction errors or performance degradation, it is impossible to perform troubleshooting based on the model that lacks interpretability, which makes it difficult to troubleshoot the lithium battery-supercapacitor energy storage system, causing hidden dangers to system operation safety. Summary of the invention
[0005] To this end, the technical problem to be solved by the present invention is to overcome the problem that the prior art uses data-driven methods to optimize model parameters, resulting in the lack of interpretability of the constructed model, inability to perform precise optimization, inability to obtain an accurate model, and further leading to difficulty in troubleshooting.
[0006] In order to solve the above technical problems, the present invention provides a lithium battery-supercapacitor hybrid energy storage system modeling method, comprising:
[0007] Run the initial lithium battery-supercapacitor hybrid energy storage system, obtain system operation data, and divide it into an initial training data set and an initial test data set;
[0008] Based on the topological structure and kinetic equations of the initial lithium battery-supercapacitor hybrid energy storage system, a reduced-order state space mathematical model is constructed;
[0009] Based on the initial training data set, the reduced-order state space mathematical model is trained and solved by using a dynamic mode decomposition method to obtain a hybrid energy storage system model driven by a hybrid mechanism data as a base model;
[0010] Running the base model, acquiring system operation data of the base model, and constructing a mixed test data set;
[0011] Calculating residual values of the initial test data set and the mixed test data set; based on the residual values, using data modeling to obtain a high-order residual state space mathematical model;
[0012] The base model and the high-order residual state space mathematical model are integrated to obtain a target lithium battery-supercapacitor hybrid energy storage system model.
[0013] Preferably, the reduced-order state space mathematical model is constructed based on the topological structure and kinetic equation of the initial lithium battery-supercapacitor hybrid energy storage system, which is expressed as:
[0014] x(k+1)=Ax(k)+Bu(k);
[0015] Among them, the state quantity x=[V1,V2,I1,I2,V0…] T , control quantity u=[D1,D2…] T V1, V2, V0 represent the lithium battery terminal voltage, supercapacitor terminal voltage and bus voltage respectively; I1 and I2 represent the lithium battery side current and supercapacitor side current respectively; D1 and D2 represent the duty cycle of the first DC / DC converter connected to the lithium battery and the duty cycle of the second DC / DC converter connected to the supercapacitor respectively; A represents the system matrix of the reduced-order state space mathematical model, and B represents the input matrix of the reduced-order state space mathematical model.
[0016] Preferably, the state quantity and the control quantity are brought in to obtain a reduced-order state space mathematical model, which is expressed as:
[0017]
[0018] The state space model representing the terminal voltage of the lithium battery is expressed as: E represents the open circuit voltage of the lithium battery. Represents the state vector average value of the lithium battery terminal voltage, Represents the state vector average value of the lithium battery side current, R e represents the parasitic resistance of lithium battery, C1 represents the filter capacitance value;
[0019] The state space model representing the voltage at the supercapacitor terminal is expressed as: E u represents the voltage of the ideal voltage source of the supercapacitor, represents the average value of the state vector of the supercapacitor terminal voltage, Represents the state vector average value of the supercapacitor side current, R u represents the parasitic resistance of the supercapacitor, and C2 represents the filter capacitance value;
[0020] The state space model representing the current on the lithium battery side is expressed as:
[0021] D1 represents the duty cycle of the first DC / DC converter connected to the lithium battery, represents the current state when the first switch is turned on in the state space averaging method, represents the current state when the second switch is turned on in the state space averaging method, Represents the state vector average value of the bus voltage, R on1 With R on2 They represent the on-resistance of the first and second insulated gate transistors in the first bidirectional DC / DC converter when they are turned on, R L1 represents the inductance loss in the first DC / DC converter, L1 represents the inductance value in the first DC / DC converter;
[0022] The state space model representing the current on the supercapacitor side is expressed as:
[0023] D2 represents the duty cycle of the second DC / DC converter connected to the supercapacitor, R on3 With R on4 They represent the on-resistance of the first and second insulated gate transistors in the second bidirectional DC / DC converter when they are turned on, R L2 represents the inductance loss in the second DC / DC converter, and L2 represents the inductance value in the second DC / DC converter;
[0024] The state space model of the bus voltage is expressed as: R represents the load resistance, C0 represents the load-end filter capacitor;
[0025] The system matrix representing the reduced-order state-space mathematical model, represents the input matrix of the reduced-order state space mathematical model; m and n represent the preset order values of the reduced-order state space mathematical model.
[0026] Preferably, based on the initial training data set, the reduced-order state space mathematical model is trained and solved using a dynamic mode decomposition method to obtain a hybrid energy storage system model driven by a hybrid mechanism data as a base model, including:
[0027] Based on the initial training data set, the reduced-order state space mathematical model is trained using the dynamic mode decomposition method to obtain a decomposed state space mathematical model, which is expressed as:
[0028]
[0029] Among them, the state quantity x=[U1,U2,I1,I2,V0…] T , control quantity u=[D1,D2…]T ;
[0030] Using the dynamic mode decomposition method, we can solve and obtain the decomposition system matrix Decompose the input matrix Substitute it into the decomposed state space mathematical model to obtain the base model.
[0031] Preferably, a dynamic mode decomposition method is used to solve and obtain the system matrix and the input matrix, including:
[0032] Get the state snapshot matrix of the state quantity, expressed as:
[0033] Using X′=AX, A represents the system matrix of the reduced-order state space mathematical model, the time-shift matrix of the state quantity is obtained, which is expressed as:
[0034] Get the state snapshot measurement matrix of the control quantity, expressed as:
[0035] Based on the state snapshot matrix, time shift matrix of the state quantity, and the state snapshot measurement matrix of the control quantity, the reduced-order state space mathematical model is rewritten as follows:
[0036] Augmentation operator matrix Augmented Data Matrix
[0037] Using the singular value decomposition method, we can get the left singular vector include:
[0038]
[0039] in, express The conjugate transpose of represents the Moore-Penrose pseudo-inverse of Ω, and takes the singular value of Ω as The singular value cutoff value of Ω is greater than or equal to the cutoff value of X, and the approximate value of G is calculated, expressed as: Σ represents the singular value matrix, represents the truncated singular value matrix; k represents the number of snapshots, and l represents the number of spatial points saved in each snapshot;
[0040] The left singular vector Divided into two independent components, the system matrix and the input matrix are approximated and expressed as:
[0041] The time-shift matrix X′ is used to assist in obtaining the reduced-order subspace, and the singular value decomposition of X′ is performed:
[0042] Take the cutoff value as r,
[0043] Using transformations Reduce the order of [A,B] to obtain the approximate order of the system matrix and the input matrix, expressed as:
[0044]
[0045] Solve the eigenvalue decomposition of the system matrix A, expressed as: W is the eigenvector matrix, and the columns of W are eigenvectors; Λ represents the eigenvalue matrix, which contains the corresponding eigenvalues λ k The diagonal matrix of ;
[0046] Convert the feature vector into dynamic mode, expressed as:
[0047] The eigenvalues are transformed from discrete space to continuous time, and the DMDc prediction value is calculated and expressed as:
[0048]
[0049] Among them, b k represents the initial amplitude of the mode, b is b k vector; Φ represents the column as DMD feature vector φ k ; Ω = diag(ω) is a diagonal matrix, and the diagonal elements are the eigenvalues ω k ,ω k =ln(λ k ) / Δt; eigenvector φ k The same dimension as the state x; represents the Moore–Penrose pseudoinverse.
[0050] Preferably, the calculating of the residual values of the initial test data set and the mixed test data set; and obtaining a high-order residual state space mathematical model by means of data modeling based on the residual values include:
[0051] The residual value e between the initial test data set and the mixed test data set is calculated, and a state space mathematical model based on the residual value is constructed, which is expressed as:
[0052]
[0053] Using the dynamic mode decomposition method, we can solve and The approximate order of is expressed as:
[0054]
[0055] based on and The approximation of the order of is used to obtain the high-order residual state space mathematical model, which is expressed as:
[0056] Preferably, the base model is integrated with the high-order residual state space mathematical model to obtain a target lithium battery-supercapacitor hybrid energy storage system model, which is expressed as:
[0057]
[0058] in, represents the base model, Represents a high-order residual state-space mathematical model.
[0059] Preferably, the lithium battery-supercapacitor hybrid energy storage system is a fully active topology in which both the lithium battery and the supercapacitor are connected to the bus through a bidirectional DC / DC converter.
[0060] Preferably, after obtaining the target lithium battery-supercapacitor hybrid energy storage system model, it also includes:
[0061] Based on the operating data of the target lithium battery-supercapacitor hybrid energy storage system model, the voltage signal reference value and the current signal reference value are obtained by using the energy management system;
[0062] The bottom-level controller controls the duty cycle of the bidirectional DC / DC converter based on the voltage signal reference value and the current signal reference value to complete the power distribution between the lithium battery and the supercapacitor.
[0063] The embodiment of the present invention also provides a lithium battery-supercapacitor hybrid energy storage system modeling device, comprising:
[0064] A data set acquisition module is used to operate the initial lithium battery-supercapacitor hybrid energy storage system, acquire system operation data, and divide it into an initial training data set and an initial test data set;
[0065] A reduced-order state-space mathematical model building module is used to build a reduced-order state-space mathematical model based on the topological structure and kinetic equations of the initial lithium battery-supercapacitor hybrid energy storage system;
[0066] A base model building module is used to train and solve the reduced-order state space mathematical model based on an initial training data set using a dynamic mode decomposition method to obtain a hybrid energy storage system model driven by a hybrid mechanism data as a base model;
[0067] A hybrid test data acquisition module, used to run the base model, acquire system operation data of the base model, and construct a hybrid test data set;
[0068] A high-order residual state space mathematical model acquisition module is used to calculate the residual values of the initial test data set and the mixed test data set; based on the residual values, a high-order residual state space mathematical model is acquired by using data modeling;
[0069] The target hybrid energy storage system model building module is used to fuse the base model with the high-order residual state space mathematical model to obtain a target lithium battery-supercapacitor hybrid energy storage system model.
[0070] The above technical solution of the present invention has the following beneficial effects compared with the prior art:
[0071] The lithium battery-supercapacitor hybrid energy storage system modeling method described in the present invention combines mechanism modeling and data modeling to model the hybrid energy storage system and obtain a reduced-order state space mathematical model. The present invention uses a mechanism-data hybrid driven approach to model, simplifies the mechanism model, retains the mechanism model based on the actual physical process, and simultaneously integrates data modeling and residual modeling, and optimizes based on clear physical principles, thereby increasing the interpretability of the model, reducing the difficulty of modeling complex nonlinear systems, and improving the model precision and identification accuracy. The present invention calculates the residual values of the initial test data set and the hybrid test data set to perform residual modeling, introduces dynamic mode decomposition DMDc for solving, further fills the gap between the hybrid modeling and the true value, reduces the risk of overfitting, thereby improving the generalization ability and interpretability of the model, making fault troubleshooting more convenient; and by changing the cutoff value of the high-order residual state space mathematical model in the modeling process, the model accuracy can be changed, and then the accuracy of the obtained target hybrid energy storage system model can be changed, the larger the cutoff value, the higher the model accuracy; under interpretability, the higher the model accuracy, the more accurate and efficient the fault troubleshooting of the lithium battery-supercapacitor hybrid energy storage system is, and the operating safety of the lithium battery-supercapacitor hybrid energy storage system is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein
[0073] Figure 1 It is a flow chart of the steps of the lithium battery-supercapacitor hybrid energy storage system modeling method provided by the present invention;
[0074] Figure 2 It is a fully active topological structure diagram of the lithium battery-supercapacitor hybrid energy storage system. DETAILED DESCRIPTION
[0075] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.
[0076] Reference Figure 1 As shown, the flow chart of the steps of the lithium battery-supercapacitor hybrid energy storage system modeling method of the present invention includes:
[0077] S101: operating an initial lithium battery-supercapacitor hybrid energy storage system, obtaining system operation data, and dividing the data into an initial training data set and an initial test data set;
[0078] The lithium battery-supercapacitor hybrid energy storage system is a fully active topology in which both the lithium battery and the supercapacitor are connected to the bus through a bidirectional DC / DC converter;
[0079] S102: Based on the topological structure and kinetic equations of the initial lithium battery-supercapacitor hybrid energy storage system, a reduced-order state space mathematical model is constructed;
[0080] S103: Based on the initial training data set, the reduced-order state space mathematical model is trained and solved using a dynamic mode decomposition method to obtain a hybrid energy storage system model driven by a hybrid mechanism data as a base model, which is expressed as:
[0081]
[0082] S104: Run the base model, obtain system operation data of the base model, and construct a mixed test data set;
[0083] S105: Calculate the residual value of the initial test data set and the mixed test data set; based on the residual value, use data modeling to obtain a high-order residual state space mathematical model, which is expressed as:
[0084]
[0085] S106: Fusing the base model and the high-order residual state space mathematical model to obtain a target lithium battery-supercapacitor hybrid energy storage system model, which is expressed as:
[0086]
[0087] With the rapid development of artificial intelligence, many data-driven methods such as neural networks and deep learning are widely used in energy storage systems. Dynamic mode decomposition (DMD), a highly general matrix decomposition technology based on singular value decomposition, originated from the study of nonlinear dynamics and can be regarded as a finite-dimensional approximation of the Koopman operator. It is often used in the prediction, state estimation and control of complex nonlinear systems. DMD is an equation-free, data-driven method that can accurately decompose complex systems into spatiotemporal coherent structures and can be used for short-term future state prediction and control. Therefore, for a complex nonlinear system such as a hybrid energy storage system, using DMD to perform dynamic mode decomposition and generate a usable linear dynamic model is very helpful for accurately modeling the hybrid energy storage system. Branches of DMD, such as dynamic mode decomposition (DMDc) with control, can accurately model systems with control inputs. Multi-time scale DMD is very suitable for the lithium battery-supercapacitor system, a hybrid energy storage system with a large internal time scale gap. Therefore, it is of great significance to integrate DMD technology with mechanism modeling. The embodiment of the present invention combines mechanism modeling with data modeling, simplifies the mechanism model while integrating data modeling and residual modeling, reduces the difficulty of modeling complex nonlinear systems and improves model precision and identification accuracy, thereby improving identification accuracy while maintaining interpretability.
[0088] Specifically, in step S102, the initial form of the reduced-order state space mathematical model is obtained, which is expressed as: x(k+1)=Ax(k)+Bu(k); wherein the state quantity x=[V1, V2, I1, I2, V0…] T , control quantity u=[D1,D2…] T V1, V2, V0 represent the lithium battery terminal voltage, supercapacitor terminal voltage and bus voltage respectively; I1 and I2 represent the lithium battery side current and supercapacitor side current respectively; D1 and D2 represent the duty cycle of the first DC / DC converter connected to the lithium battery and the duty cycle of the second DC / DC converter connected to the supercapacitor respectively; A represents the system matrix of the reduced-order state space mathematical model, and B represents the input matrix of the reduced-order state space mathematical model; the state quantity and control quantity are brought in to obtain the expansion of the reduced-order state space mathematical model, which is expressed as:
[0089]
[0090] The state space model representing the terminal voltage of the lithium battery is expressed as: E represents the open circuit voltage of the lithium battery. Represents the state vector average value of the lithium battery terminal voltage, Represents the state vector average value of the lithium battery side current, R erepresents the parasitic resistance of lithium battery, C1 represents the filter capacitance value;
[0091] The state space model representing the voltage at the supercapacitor terminal is expressed as: E u represents the voltage of the ideal voltage source of the supercapacitor, represents the average value of the state vector of the supercapacitor terminal voltage, Represents the state vector average value of the supercapacitor side current, R u represents the parasitic resistance of the supercapacitor, and C2 represents the filter capacitance value;
[0092] The state space model representing the current on the lithium battery side is expressed as:
[0093] D1 represents the duty cycle of the first DC / DC converter connected to the lithium battery, represents the current state when the first switch is turned on in the state space averaging method, represents the current state when the second switch is turned on in the state space averaging method, Represents the state vector average value of the bus voltage, R on1 With R on2 They represent the on-resistance of the first and second insulated gate transistors in the first bidirectional DC / DC converter when they are turned on, R L1 represents the inductance loss in the first DC / DC converter, L1 represents the inductance value in the first DC / DC converter;
[0094] The state space model representing the current on the supercapacitor side is expressed as:
[0095] D2 represents the duty cycle of the second DC / DC converter connected to the supercapacitor, R on3 With R on4 They represent the on-resistance of the first and second insulated gate transistors in the second bidirectional DC / DC converter when they are turned on, R L2 represents the inductance loss in the second DC / DC converter, and L2 represents the inductance value in the second DC / DC converter;
[0096] The state space model of the bus voltage is expressed as: R represents the load resistance, C0 represents the load-end filter capacitor;
[0097] The system matrix representing the reduced-order state-space mathematical model, represents the input matrix of the reduced-order state space mathematical model; m and n represent the preset order values of the reduced-order state space mathematical model.
[0098] Specifically, in step S103, the acquisition of the base model includes:
[0099] Based on the initial training data set, the reduced-order state space mathematical model is trained using the dynamic mode decomposition method to obtain a decomposed state space mathematical model, which is expressed as:
[0100]
[0101] Among them, the state quantity x=[U1,U2,I1,I2,V0…] T , control quantity u=[D1,D2…] T ;
[0102] Using the dynamic mode decomposition method, we can solve and obtain the decomposition system matrix Decompose the input matrix Substitute into the decomposed state space mathematical model to obtain the base model, including:
[0103] Get the state snapshot matrix of the state quantity, expressed as:
[0104] Using X′=AX, A represents the system matrix of the reduced-order state space mathematical model, the time-shift matrix of the state quantity is obtained, which is expressed as:
[0105] Get the state snapshot measurement matrix of the control quantity, expressed as:
[0106] Based on the state snapshot matrix, time shift matrix of the state quantity, and the state snapshot measurement matrix of the control quantity, the reduced-order state space mathematical model is rewritten as follows:
[0107] Augmentation operator matrix Augmented Data Matrix
[0108] Using the singular value decomposition method, we can get the left singular vector include:
[0109]
[0110] in, express The conjugate transpose of represents the Moore-Penrose pseudo-inverse of Ω, and takes the singular value of Ω as The singular value cutoff value of Ω is greater than or equal to the cutoff value of X, and the approximate value of G is calculated, expressed as: Σ represents the singular value matrix, represents the truncated singular value matrix; k represents the number of snapshots, and l represents the number of spatial points saved in each snapshot;
[0111] The left singular vector Divided into two independent components, the system matrix and the input matrix are approximated and expressed as:
[0112] The time-shift matrix X′ is used to assist in obtaining the reduced-order subspace, and the singular value decomposition of X′ is performed:
[0113] Take the cutoff value as r,
[0114] Using transformations Reduce the order of [A,B] to obtain the approximate order of the system matrix and the input matrix, expressed as:
[0115]
[0116] Solve the eigenvalue decomposition of the system matrix A, expressed as: W is the eigenvector matrix, and the columns of W are eigenvectors; Λ represents the eigenvalue matrix, which contains the corresponding eigenvalues λ k The diagonal matrix of ;
[0117] Convert the feature vector into dynamic mode, expressed as:
[0118] The eigenvalues are transformed from discrete space to continuous time, and the DMDc prediction value is calculated and expressed as:
[0119]
[0120] Among them, b k represents the initial amplitude of the mode, b is b k vector; Φ represents the column as DMD feature vector φ k ; Ω = diag(ω) is a diagonal matrix, and the diagonal elements are the eigenvalues ω k ,ω k =ln(λ k ) / Δt; eigenvector φ k The same dimension as the state x; represents the Moore–Penrose pseudoinverse.
[0121] The acquisition method of the high-order residual state space mathematical model is the same as that of the base model. The base model is acquired based on the initial training data, and the high-order residual state space mathematical model is acquired based on the residual value. Similarly, in step S105, the acquisition of the high-order residual state space mathematical model includes:
[0122] The residual value e between the initial test data set and the mixed test data set is calculated, and a state space mathematical model based on the residual value is constructed, which is expressed as:
[0123]
[0124] Using the dynamic mode decomposition method, we can solve and The approximate order of is expressed as:
[0125]
[0126]
[0127] In this embodiment, after obtaining the target lithium battery-supercapacitor hybrid energy storage system model, it also includes: based on the operating data of the target lithium battery-supercapacitor hybrid energy storage system model, using the energy management system to obtain the voltage signal reference value and the current signal reference value; the bottom-level controller controls the duty cycle of the bidirectional DC / DC converter based on the voltage signal reference value and the current signal reference value to complete the power distribution of the lithium battery and the supercapacitor.
[0128] Specifically, based on the above embodiments, in an embodiment of the present invention, a hybrid energy storage system modeling method driven by a data mechanism hybrid combined with residual modeling is provided, which can greatly improve the modeling accuracy and assist in realizing predictive control. The specific steps include:
[0129] S201: Generate training data and test data using a lithium battery-supercapacitor hybrid energy storage system;
[0130] Reference Figure 2 As shown, it is a fully active topological structure diagram of a lithium battery-supercapacitor hybrid energy storage system; the lithium battery-supercapacitor hybrid energy storage system is a fully active topology, that is, both the lithium battery and the supercapacitor are connected to the bus through a bidirectional DC / DC converter;
[0131] The energy management system of the fully active hybrid energy storage system receives the operating information of the energy storage system, including the operating voltage, current and SOC of the lithium battery and supercapacitor, and monitors the load power demand; the energy management system then uses the energy management algorithm to provide the bus current and voltage reference values to the underlying controller. The energy management algorithm in the underlying controller uses the aforementioned reference values and the required feedback data as input, and realizes the power distribution between subsystems by controlling the duty cycle of the two DC / DC converters.
[0132] S202: Ignoring non-ideal factors such as temperature effects and battery aging, and combining the charging and discharging principles of lithium batteries and supercapacitors with a simplified hybrid energy storage system topology, a reduced-order state space mathematical model is established;
[0133] S202-1: The hybrid energy storage system can be written in the following state space representation:
[0134] S202-2: Reduced-order state space mathematical model, expressed as:
[0135] x(k+1)=Ax(k)+Bu(k);
[0136] S202-3: The overall mathematical model of the hybrid energy storage system is:
[0137]
[0138] V1, V2, and V0 are the voltages at both ends of the lithium battery, the voltages at both ends of the supercapacitor, and the bus voltage, respectively; I1 and I2 are the currents on the lithium battery and supercapacitor sides, respectively; D1 and D2 are the duty cycles of the two DC / DC converters that control the lithium battery and supercapacitor, and R e , R u is the parasitic resistance of the battery and supercapacitor, C1 and C2 are filter capacitor values, used to filter the high frequency part generated by the IGBT. Each DC / DC converter contains two IGBTs, a capacitor and an inductor. L1 , R L2 is the loss of the inductor;
[0139] The following state space mathematical model is used to represent the lithium battery-supercapacitor hybrid energy storage system ignoring the influence of temperature effect, aging effect and other factors: x(k+1)=Ax(k)+Bu(k):
[0140]
[0141] Among them, the parameters of A and B matrices in the state space mathematical model are unknown, and the A and B matrices are solved to obtain the state space mathematical model.
[0142] S203: using the training data to train the reduced-order state space mathematical model, obtaining a hybrid energy storage system model driven by a hybrid mechanism data, i.e., a base model, and generating hybrid model test data;
[0143] Base model:
[0144] In the above model, x=[U1,U2,I1,I2,V0…] T , u=[D1,D2…] T Using a data-driven approach can yield A DMDC , B DMDC Exact approximation.
[0145] S203-1: First, generate the state snapshot matrix of the state quantity x and the control quantity u:
[0146]
[0147] Where X′ is the time-shift matrix of X, and X′=AX. Υ is the state snapshot measurement matrix constructed for input u, where k represents the number of snapshots and l represents the number of spatial points saved in each snapshot. Rewrite the system state space expression containing the snapshot matrix: X′=AX+BΥ;
[0148] S203-2: Rewrite the state space expression of the system as:
[0149] in, is the augmentation operator matrix, is the augmented data matrix.
[0150] S203-3: Perform eigenvalue decomposition. The eigenvalue decomposition of X′, X, and Y can be given by the following formula:
[0151]
[0152] express The conjugate transpose of represents the Moore-Penrose pseudo-inverse of Ω, and takes the singular value of Ω as The cutoff value of Ω should be greater than or equal to the cutoff value of X. And the approximate value of G is calculated:
[0153] have
[0154] The left singular vector Splitting into two independent components, we can approximate operators A and B:
[0155]
[0156] S203-4: Perform order reduction processing on [A, B]. The output state matrix X′ can be used to assist in obtaining the reduced-order subspace, and perform singular value decomposition on X′:
[0157] Taking the cutoff value as r, we have
[0158] There may be different matrix cutoff values in step S203-3 and step S203-4. Using transformations The approximate order of A and B is obtained:
[0159]
[0160] have
[0161] S203-5: Obtain the dynamic mode of the system.
[0162] First solve the eigenvalue decomposition of A:
[0163] From eigenvectors to dynamic patterns;
[0164] The above formula is used to transform the eigenvalue from discrete space to continuous time:
[0165]
[0166] ω k =ln(λ k ) / Δt;
[0167] After the dynamic mode Φ is obtained, the predicted value of DMDc is obtained through the above formula, where b k is the initial amplitude of each mode, Φ is the column DMD eigenvector φ k , Ω = diag(ω) is a diagonal matrix, and the diagonal elements are the eigenvalues ω k The eigenvector φ k The same dimension as the state x, b is the coefficient b k This algorithm only needs to calculate the initial coefficient value b k , assuming that the initial snapshot at time 0 is x1, then It is known that x1=Φb;
[0168] represents the Moore-Penrose pseudo-inverse. The matrix Φ of the eigenvector is generally not a square matrix, so the initial coefficient value According to the above, the predicted value X obtained by using the DMDC algorithm can be obtained DMDc .
[0169] S204: Obtain the residual value between the test data and the hybrid model test data, and train a high-order residual state space mathematical model by using data modeling;
[0170] S204-1: Obtain the residual value e between the hybrid energy storage system operation data and the mechanism data hybrid drive model operation data. Write it in the following state space representation, where the state quantity x is the residual value e:
[0171] S204-2: Establish the state space mathematical model of the residual e:
[0172]
[0173] where x e =[e V1 ,e V2 ,e I1 ,e I2 ,e V0 …] T ,u=[D1,D2…D n ] T Using a data-driven approach, we can obtain Accurate approximation. Solved using the DMDc algorithm
[0174] S204-3: Generate state snapshot matrix of state quantity x and control quantity u:
[0175]
[0176] Write the residual as a system state-space expression including the snapshot matrix:
[0177] X′=AX+BY;
[0178] Rewrite the state space expression of the system as:
[0179]
[0180] S204-4: Perform two singular value decompositions and obtain approximate values of G and Ω:
[0181]
[0182] Define the SVD cutoff value of Ω as p. Note that the cutoff value of Ω should be greater than or equal to the cutoff value of X.
[0183]
[0184] The approximation of A and B is obtained by the singular value decomposition of G and Ω:
[0185]
[0186] Then perform singular value decomposition on the time-shift matrix to obtain the reduced-order subspace of the output space:
[0187]
[0188] The cutoff value is r, From the above singular value decomposition, we can get The approximate order of :
[0189]
[0190] In order to make the residual model more accurate, the residual model cutoff value can be selected to be larger than the cutoff value of the mechanism data hybrid driven model, and the higher-dimensional DMDc linear space can be used to simulate the nonlinear low-dimensional space. The cutoff value of the residual model can be repeatedly adjusted to achieve different degrees of accuracy. The larger the selected cutoff value, the higher the accuracy.
[0191] S204-5: Perform eigenvalue decomposition to obtain dynamic modes:
[0192]
[0193] S205: The base model is integrated with the high-order residual state space mathematical model to establish an accurate target lithium battery-supercapacitor hybrid energy storage system model.
[0194] Furthermore, step S205 adds the base model obtained in step S203 to the residual model trained using DMDc in step S204 to obtain a hybrid energy storage system modeling method that is driven by a hybrid mechanism data combined with the residual model: pre (k+1)=x DMDC (k+1)+x e_DMDC (k+1);
[0195] where x pre (k+1) is a model driven by a hybrid mechanism data combined with residuals. Further, the model can be tested with test data generated by the hybrid energy storage system, and the dimension of the residual model in step S204 can be adjusted to adapt to different accuracy requirements.
[0196] The present invention utilizes a lithium battery-supercapacitor hybrid energy storage system to generate system operation data; based on the kinetic equation of the hybrid energy storage system, a reduced-order state space mathematical model is established; the reduced-order state space model is trained and solved using training data to obtain a mechanism data hybrid drive model, i.e., a base model. The hybrid drive model is trained with the deviation value of the hybrid energy storage system state quantity to obtain a residual model; the base model is combined with the residual model to establish a hybrid energy storage system model that combines residual mechanism and data hybrid drive.
[0197] The present invention adopts a mechanism data hybrid driven approach to model the hybrid energy storage system, which is a physically meaningful hybrid modeling method that not only avoids the arduous work of deriving formulas for complex nonlinear systems, but also solves the problem of lack of interpretability when modeling using only a data driven approach, providing an accurate and reliable model for predictive control of energy storage systems. The present invention introduces dynamic mode decomposition DMDc. Compared with neural networks, DMDc can provide a dynamic model based on state space equations, which can be used in applications such as system identification, controller design, and fault detection. The present invention introduces residual modeling, which further bridges the gap between hybrid modeling and true values, and can also reduce the risk of overfitting, thereby improving the generalization ability of the model.
[0198] The embodiment of the present invention also provides a lithium battery-supercapacitor hybrid energy storage system modeling device; the specific device includes:
[0199] A data set acquisition module is used to operate the initial lithium battery-supercapacitor hybrid energy storage system, acquire system operation data, and divide it into an initial training data set and an initial test data set;
[0200] A reduced-order state-space mathematical model building module is used to build a reduced-order state-space mathematical model based on the topological structure and kinetic equations of the initial lithium battery-supercapacitor hybrid energy storage system;
[0201] A base model building module is used to train and solve the reduced-order state space mathematical model based on an initial training data set using a dynamic mode decomposition method to obtain a hybrid energy storage system model driven by a hybrid mechanism data as a base model;
[0202] A hybrid test data acquisition module, used to run the base model, acquire system operation data of the base model, and construct a hybrid test data set;
[0203] A high-order residual state space mathematical model acquisition module is used to calculate the residual values of the initial test data set and the mixed test data set; based on the residual values, a high-order residual state space mathematical model is acquired by using data modeling;
[0204] The target hybrid energy storage system model building module is used to fuse the reduced-order state space mathematical model with the high-order residual state space mathematical model to obtain a target lithium battery-supercapacitor hybrid energy storage system model.
[0205] The lithium battery-supercapacitor hybrid energy storage system modeling device of this embodiment is used to implement the aforementioned lithium battery-supercapacitor hybrid energy storage system modeling method, so the specific implementation method of the lithium battery-supercapacitor hybrid energy storage system modeling device can be seen in the embodiment part of the lithium battery-supercapacitor hybrid energy storage system modeling method in the previous text, for example, the data set acquisition module 100, the reduced-order state space mathematical model construction module 200, the base model construction module 300, the hybrid test data acquisition module 400, the high-order residual state space mathematical model acquisition module 500, the target hybrid energy storage system model construction module 600, are respectively used to implement the above-mentioned lithium battery-supercapacitor hybrid energy storage system modeling method Steps S101, S102, S103, S104, S105 and S106, so its specific implementation method can refer to the description of the corresponding each part of the embodiment, which will not be repeated here.
[0206] The lithium battery-supercapacitor hybrid energy storage system modeling method described in the present invention combines mechanism modeling and data modeling to model the hybrid energy storage system and obtain a reduced-order state space mathematical model. The present invention uses a mechanism-data hybrid driven approach to model, simplifies the mechanism model, retains the mechanism model based on the actual physical process, and simultaneously integrates data modeling and residual modeling, and optimizes based on clear physical principles, thereby increasing the interpretability of the model, reducing the difficulty of modeling complex nonlinear systems, and improving the model precision and identification accuracy. The present invention calculates the residual values of the initial test data set and the hybrid test data set to perform residual modeling, introduces dynamic mode decomposition DMDc for solving, further fills the gap between the hybrid modeling and the true value, reduces the risk of overfitting, thereby improving the generalization ability and interpretability of the model, making fault troubleshooting more convenient; and by changing the cutoff value of the high-order residual state space mathematical model in the modeling process, the model accuracy can be changed, and then the accuracy of the obtained target hybrid energy storage system model can be changed, the larger the cutoff value, the higher the model accuracy; under interpretability, the higher the model accuracy, the more accurate and efficient the fault troubleshooting of the lithium battery-supercapacitor hybrid energy storage system is, and the operating safety of the lithium battery-supercapacitor hybrid energy storage system is improved.
[0207] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0208] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0209] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0210] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0211] Obviously, the above embodiments are merely examples for the purpose of clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.
Claims
1. A lithium battery-supercapacitor hybrid energy storage system modeling method, characterized in that: include: Run the initial lithium battery-supercapacitor hybrid energy storage system, obtain system operation data, and divide it into an initial training data set and an initial test data set; Based on the topological structure and kinetic equations of the initial lithium battery-supercapacitor hybrid energy storage system, a reduced-order state space mathematical model is constructed; Based on the initial training data set, the reduced-order state space mathematical model is trained and solved by using a dynamic mode decomposition method to obtain a hybrid energy storage system model driven by a hybrid mechanism data as a base model; Running the base model, acquiring system operation data of the base model, and constructing a mixed test data set; Calculating residual values between the initial test data set and the mixed test data set; Based on the residual value, a high-order residual state space mathematical model is obtained by using data modeling; The base model and the high-order residual state space mathematical model are integrated to obtain a target lithium battery-supercapacitor hybrid energy storage system model.
2. The lithium battery-supercapacitor hybrid energy storage system modeling method according to claim 1 is characterized in that: Based on the topological structure and kinetic equations of the initial lithium battery-supercapacitor hybrid energy storage system, a reduced-order state space mathematical model is constructed, which is expressed as: x(k+1)=Ax(k)+Bu(k); Among them, the state quantity x=[V1,V2,I1,I2,V0…] T , control quantity u=[D1,D2…] T V1, V2, V0 represent the lithium battery terminal voltage, supercapacitor terminal voltage and bus voltage respectively; I1 and I2 represent the lithium battery side current and supercapacitor side current respectively; D1 and D2 represent the duty cycle of the first DC / DC converter connected to the lithium battery and the duty cycle of the second DC / DC converter connected to the supercapacitor respectively; A represents the system matrix of the reduced-order state space mathematical model, and B represents the input matrix of the reduced-order state space mathematical model.
3. The lithium battery-supercapacitor hybrid energy storage system modeling method according to claim 2 is characterized in that: Substitute the state quantity and control quantity into the reduced-order state space mathematical model, which can be expressed as: The state space model representing the terminal voltage of the lithium battery is expressed as: E represents the open circuit voltage of the lithium battery. Represents the state vector average value of the lithium battery terminal voltage, Represents the state vector average value of the lithium battery side current, R e represents the parasitic resistance of lithium battery, C1 represents the filter capacitance value; The state space model representing the voltage at the supercapacitor terminal is expressed as: E u represents the voltage of the ideal voltage source of the supercapacitor, represents the average value of the state vector of the supercapacitor terminal voltage, Represents the state vector average value of the supercapacitor side current, R u represents the parasitic resistance of the supercapacitor, and C2 represents the filter capacitance value; The state space model representing the current on the lithium battery side is expressed as: ...1 represents the duty cycle of the first DC / DC converter connected to the lithium battery, represents the current state when the first switch is turned on in the state space averaging method, represents the current state when the second switch is turned on in the state space averaging method, Represents the state vector average value of the bus voltage, R on1 With R on2 They represent the on-resistance of the first and second insulated gate transistors in the first bidirectional DC / DC converter when they are turned on, R L1 represents the inductance loss in the first DC / DC converter, L1 represents the inductance value in the first DC / DC converter; The state space model representing the current on the supercapacitor side is expressed as: D2 represents the duty cycle of the second DC / DC converter connected to the supercapacitor, R on3 With R on4 They represent the on-resistance of the first and second insulated gate transistors in the second bidirectional DC / DC converter when they are turned on, R L2 represents the inductance loss in the second DC / DC converter, and L2 represents the inductance value in the second DC / DC converter; The state space model of the bus voltage is expressed as: R represents the load resistance, C0 represents the load-end filter capacitor; The system matrix representing the reduced-order state-space mathematical model, represents the input matrix of the reduced-order state space mathematical model; m and n represent the preset order values of the reduced-order state space mathematical model.
4. The lithium battery-supercapacitor hybrid energy storage system modeling method according to claim 3 is characterized in that: Based on the initial training data set, the reduced-order state space mathematical model is trained and solved by using a dynamic mode decomposition method to obtain a hybrid energy storage system model driven by a hybrid mechanism data as a base model, including: Based on the initial training data set, the reduced-order state space mathematical model is trained using the dynamic mode decomposition method to obtain a decomposed state space mathematical model, which is expressed as: Among them, the state quantity x=[U1,U2,I1,I2,V0…] T , control quantity u=[D1,D2…] T ; Using the dynamic mode decomposition method, we can solve and obtain the decomposition system matrix Decompose the input matrix Substitute it into the decomposed state space mathematical model to obtain the base model.
5. The lithium battery-supercapacitor hybrid energy storage system modeling method according to claim 4 is characterized in that: Using the dynamic mode decomposition method, the system matrix and input matrix are obtained, including: Get the state snapshot matrix of the state quantity, expressed as: Using X′=AX, A represents the system matrix of the reduced-order state space mathematical model, the time-shift matrix of the state quantity is obtained, which is expressed as: Get the state snapshot measurement matrix of the control quantity, expressed as: Based on the state snapshot matrix, time shift matrix of the state quantity, and the state snapshot measurement matrix of the control quantity, the reduced-order state space mathematical model is rewritten as follows: Augmentation operator matrix Augmented Data Matrix Using the singular value decomposition method, we can get the left singular vector include: in, express The conjugate transpose of represents the Moore-Penrose pseudo-inverse of Ω, and takes the singular value of Ω as The singular value cutoff value of Ω is greater than or equal to the cutoff value of X, and the approximate value of G is calculated, expressed as: Σ represents the singular value matrix, represents the truncated singular value matrix; k represents the number of snapshots, and l represents the number of spatial points saved in each snapshot; The left singular vector Divided into two independent components, the system matrix and the input matrix are approximated and expressed as: The time-shift matrix X′ is used to assist in obtaining the reduced-order subspace, and the singular value decomposition of X′ is performed: Take the cutoff value as r, Using transformations Reduce the order of [A,B] to obtain the approximate order of the system matrix and the input matrix, expressed as: Solve the eigenvalue decomposition of the system matrix A, expressed as: W is the eigenvector matrix, and the columns of W are eigenvectors; Λ represents the eigenvalue matrix, which contains the corresponding eigenvalues λ k The diagonal matrix of ; Convert the feature vector into dynamic mode, expressed as: The eigenvalues are transformed from discrete space to continuous time, and the DMDc prediction value is calculated and expressed as: Among them, b k represents the initial amplitude of the mode, b is b k vector; Φ represents the column as DMD feature vector φ k ; Ω = diag(ω) is a diagonal matrix, and the diagonal elements are the eigenvalues ω k ,ω k =ln(λ k ) / Δt; eigenvector φ k The same dimension as state x; represents the Moore–Penrose pseudoinverse.
6. The lithium battery-supercapacitor hybrid energy storage system modeling method according to claim 5, characterized in that: The calculating of the residual value between the initial test data set and the mixed test data set; Based on the residual value, a high-order residual state space mathematical model is obtained by using data modeling, including: The residual value e between the initial test data set and the mixed test data set is calculated, and a state space mathematical model based on the residual value is constructed, which is expressed as: Using the dynamic mode decomposition method, we can solve and The approximate order of is expressed as: based on and The approximation of the order of is used to obtain the high-order residual state space mathematical model, which is expressed as:
7. The lithium battery-supercapacitor hybrid energy storage system modeling method according to claim 6, characterized in that: The base model and the high-order residual state space mathematical model are integrated to obtain a target lithium battery-supercapacitor hybrid energy storage system model, which is expressed as: in, represents the base model, Represents a high-order residual state-space mathematical model.
8. The lithium battery-supercapacitor hybrid energy storage system modeling method according to claim 1, characterized in that: The lithium battery-supercapacitor hybrid energy storage system is a fully active topology in which both the lithium battery and the supercapacitor are connected to the bus through a bidirectional DC / DC converter.
9. The lithium battery-supercapacitor hybrid energy storage system modeling method according to claim 1, characterized in that: After obtaining the target lithium battery-supercapacitor hybrid energy storage system model, it also includes: Based on the operating data of the target lithium battery-supercapacitor hybrid energy storage system model, the voltage signal reference value and the current signal reference value are obtained by using the energy management system; The bottom-level controller controls the duty cycle of the bidirectional DC / DC converter based on the voltage signal reference value and the current signal reference value to complete the power distribution between the lithium battery and the supercapacitor.
10. A lithium battery-supercapacitor hybrid energy storage system modeling device, characterized in that: include: A data set acquisition module is used to operate the initial lithium battery-supercapacitor hybrid energy storage system, acquire system operation data, and divide it into an initial training data set and an initial test data set; A reduced-order state-space mathematical model building module is used to build a reduced-order state-space mathematical model based on the topological structure and kinetic equations of the initial lithium battery-supercapacitor hybrid energy storage system; A base model building module is used to train and solve the reduced-order state space mathematical model based on an initial training data set using a dynamic mode decomposition method to obtain a hybrid energy storage system model driven by a hybrid mechanism data as a base model; A hybrid test data acquisition module, used to run the base model, acquire system operation data of the base model, and construct a hybrid test data set; A high-order residual state space mathematical model acquisition module, used to calculate the residual value of the initial test data set and the mixed test data set; Based on the residual value, a high-order residual state space mathematical model is obtained by using data modeling; The target hybrid energy storage system model building module is used to fuse the base model with the high-order residual state space mathematical model to obtain a target lithium battery-supercapacitor hybrid energy storage system model.
Citation Information
Patent Citations
Intelligent control method and device for hybrid energy storage system
CN114552739A
Electric vehicle energy management method and system based on working condition recognition
CN114572053A
Novel lithium battery and super capacitor hybrid energy storage topology and control design method thereof
CN115249000A
Lithium battery health state prediction method
CN116679211A
Method, system and storage medium for simulating data set based on electrochemical model
US20240069103A1
