Partition control SOC equalization method and system in holographic data scene
By using the MDSTFT dynamic weight adjustment algorithm model in the battery management system, dynamically adjusting the charging and discharging capacity and SOC weight, the problem of the inability to adapt to high-frequency changes in the existing technology is solved, and the system performance and battery life are improved.
Patent Information
- Application Number
- CN202411352219.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-09-26
AI Technical Summary
When faced with high-frequency changing operating conditions, the existing battery management system cannot flexibly adjust the weight between the charging and discharging capacity and the SOC, resulting in a decrease in system operation efficiency and battery life.
Using a dynamic weight adjustment algorithm model based on MDSTFT, the battery compartment run time sequence data is collected, preprocessing, feature extraction and encoding is performed, local features and long-distance dependencies are captured, charging and discharging capabilities and SOC weights are dynamically adjusted, and the loss function is passed. Optimize model parameters and adjust the battery charging and discharging path in real time.
It realizes flexible adjustments to charge and discharge capabilities and SOC weights, improves system performance and reliability, extends battery life, maintains SOC balance under high frequency changes, and improves charge and discharge efficiency.
Smart Images

Figure CN119253791A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery management technology, and in particular to a partition control SOC balancing method and system in a holographic data scenario. Background Art
[0002] Existing battery management systems often use fixed weights or set values based on manual experience for the control strategies of charge and discharge capacity weights and SOC (state of charge) weights. However, with the development of existing battery equipment acquisition technology and the improvement of storage capacity, battery data mostly supports second-level or even millisecond-level acquisition, processing and storage. Therefore, the current control strategy cannot flexibly adjust the weights between charge and discharge capacity and SOC when facing high-frequency actual changing working conditions, resulting in a decrease in the overall operating efficiency of the system and battery life. Summary of the invention
[0003] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a partition control SOC balancing method and system in a holographic data scenario, which helps to flexibly adjust the weight between charging and discharging capacity and SOC, thereby improving the overall performance and reliability of the system.
[0004] In order to implement the above technical solution, in a first aspect, the present invention provides a method for controlling SOC balancing by partition in a holographic data scenario, comprising: Step 1: Collect the operating sequence data of the battery compartment; Step 2: Input the collected operating sequence data into the dynamic weight adjustment algorithm model based on MDSTFT to output the charge and discharge capacity weight and SOC weight; The second step comprises: Input the collected battery compartment operation timing data into the dynamic weight adjustment algorithm model based on MDSTFT; Preprocessing the input running sequence data of the battery compartment; Perform feature extraction and encoding on the preprocessed runtime data to capture local features in the runtime data; Based on the local features obtained, the long-distance dependencies of the runtime data are obtained; The obtained long-distance dependency is processed to obtain a correction value of the charge-discharge capacity weight and a correction value of the SOC weight; Dynamically adjusting the charge-discharge capacity weight and the SOC weight based on the obtained correction value of the charge-discharge capacity weight and the correction value of the SOC weight; Output dynamically adjusted charge and discharge capacity weights and SOC weights.
[0005] Furthermore, the method further comprises: Based on the output charge and discharge capacity weight and SOC weight, calculate the SOC energy loss function and the charge and discharge loss function; Based on the calculated SOC energy loss function and charge and discharge loss function, the model parameters of the dynamic weight adjustment algorithm based on MDSTFT are optimized.
[0006] Furthermore, the preprocessing of the inputted battery compartment operation sequence data includes: Clean the input battery compartment runtime data to remove outliers and missing values; Normalize the real-time runtime data removing outliers and missing values.
[0007] Furthermore, the method further comprises, before step 1: Collect battery compartment operation data; estimating the state of charge and health of the battery compartment according to the collected battery compartment operation data, and calculating a comprehensive health index of the battery compartment based on the estimated state of charge and health of the battery compartment; Marking the health status of the battery according to the calculated comprehensive health index, wherein the health status includes normal and abnormal; The battery compartment battery charging and discharging paths are dynamically adjusted and optimized based on the results of battery health diagnosis, and real-time dynamic adjustments are made to respond to changes in battery status.
[0008] In a second aspect, the present invention provides a partition control SOC balancing system in a holographic data scenario, comprising: A data acquisition device, used for collecting the running sequence data of the battery compartment; A dynamic weight adjustment algorithm model based on MDSTFT is used to process the collected battery compartment operation sequence data to obtain the charge and discharge capacity weight and SOC weight; The dynamic weight adjustment algorithm model based on MDSTFT includes: An input layer, used to input the collected running sequence data of the battery compartment into the dynamic weight adjustment algorithm model based on MDSTFT; A preprocessing layer, used to preprocess the input battery compartment running sequence data; One-dimensional convolution layer, used to extract and encode the preprocessed runtime data to obtain local features; Multi-head self-attention layer, used to obtain long-distance dependencies of runtime data based on local features; A multi-layer perceptron is used to process the obtained long-distance dependency to obtain a correction value of the charge and discharge capacity weight and a correction value of the SOC weight; The dynamic weight adjustment layer dynamically adjusts the charge-discharge capacity weight and the SOC weight based on the obtained correction value of the charge-discharge capacity weight and the correction value of the SOC weight; The output layer is used to output the dynamically adjusted charging and discharging capacity weights and SOC weights.
[0009] Furthermore, the system further comprises: A loss function calculation module, used to calculate the SOC energy loss function and the charge and discharge loss function based on the output charge and discharge capacity weight and SOC weight; The optimization module is used to optimize the parameters of the dynamic weight adjustment algorithm model based on MDSTFT according to the calculated SOC energy loss function and charge and discharge loss function.
[0010] Furthermore, the system further comprises: A data collection module, used to collect battery compartment operation data; A battery compartment comprehensive health index evaluation module, used to estimate the state of charge and health state of the battery compartment according to the collected battery compartment operation data, and calculate the comprehensive health index of the battery compartment based on the estimated state of charge and health state of the battery compartment; A battery health diagnosis module, used to mark the health status of the battery according to the calculated comprehensive health index, wherein the health status includes normal and abnormal; The dynamic adjustment module is used to dynamically adjust and optimize the battery compartment battery charging and discharging paths according to the results of battery health diagnosis, and make real-time dynamic adjustments to respond to changes in battery status.
[0011] In a third aspect, the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the partition control SOC balancing method in the holographic data scenario described above.
[0012] The beneficial effects of the present invention are: (1) The present invention inputs the collected operating sequence data into the dynamic weight adjustment algorithm model based on MDSTFT, so that the dynamic weight adjustment algorithm model based on MDSTFT outputs the charge and discharge capacity weight and the SOC weight, which helps to flexibly adjust the weight between the charge and discharge capacity and the SOC, thereby improving the overall performance and reliability of the system.
[0013] (2) The runtime data that is usually collected can more comprehensively capture and display multi-dimensional information about the battery's operating status, helping technicians to better understand and analyze the battery's health and performance, and can reduce the impact on the battery compartment life when balancing the SOC of different battery cells. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0015] Figure 1 The present invention is a flow chart of a partition control SOC balancing method in a holographic data scenario.
[0016] Figure 2 It is a workflow diagram of the dynamic weight adjustment algorithm model based on MDSTFT of the present invention. DETAILED DESCRIPTION
[0017] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0018] It should be noted that the following detailed descriptions are all illustrative and are intended to provide further explanation of the present invention. Unless otherwise specified, each technical and scientific term used in this embodiment has the same meaning as commonly understood by those skilled in the art to which the present invention belongs.
[0019] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0020] In the present invention, terms such as "upper", "lower", "left", "right", "front", "back", "vertical", "horizontal", "side", "bottom", etc. indicate directions or positional relationships based on the directions or positional relationships shown in the accompanying drawings. They are relational words determined only for the convenience of describing the structural relationships of the various parts or elements of the present invention, and do not specifically refer to any part or element in the present invention and should not be understood as limitations on the present invention.
[0021] In the present invention, terms such as "fixed connection", "connected", "connection", etc. should be understood in a broad sense, indicating that it can be fixedly connected, integrally connected or detachably connected; it can be directly connected or indirectly connected through an intermediate medium. Relevant scientific research or technical personnel in this field can determine the specific meanings of the above terms in the present invention according to specific circumstances, and they should not be understood as limiting the present invention. The dynamic weight adjustment algorithm model based on MDSTFT (Multidimensional Sparse Time Series Fusion Transformer) used in this article is a deep learning model specially designed to process high-frequency time series data. The core idea of this model is to combine time series data analysis and sub-attention mechanism to fully explore the characteristics of data in two dimensions of time and frequency, so as to achieve accurate modeling and prediction of complex time series data.
[0022] The model has three core mechanisms: Multi-dimensional sparse time series analysis: The model first performs time-frequency analysis on the input high-frequency time series data, and fuses time series signals including battery charge and discharge status, SOC status, power input and output from the time domain and frequency domain, in order to capture the periodicity and mutation characteristics in the time series data. In order to process the massive high-frequency time series data generated in the energy storage power station, a sparse representation method is introduced to retain only the key frequency components that have the greatest impact on the prediction, thereby reducing the complexity of the calculation and storage requirements.
[0023] Multi-head self-attention mechanism: In the improved MDSTFT, the self-attention mechanism is used to capture dependencies between different steps of the time series. By calculating the attention weights between each time step and other steps, the model can automatically learn and identify important patterns and features in the data. In order to enhance the expressiveness of the model, a multi-head self-attention mechanism is used, allowing the model to process attention in different subspaces in parallel, thereby capturing richer feature information and more effectively processing multi-dimensional features in the input data.
[0024] Space-time encoder: The space-time encoder in this algorithm combines the characteristics of two dimensions, time and frequency, and generates a dynamic weight adjustment strategy that adapts to the current working conditions by encoding high-frequency data. Specifically, the model adjusts the charge and discharge capacity weights and SOC weights of each battery cell in real time based on the historical data and real-time data of the battery to ensure that the SOC is balanced at all times and to improve the overall charge and discharge efficiency of the system. In addition, the dynamic weight adjustment of this patent is optimized through a composite objective function. This objective function combines SOC balance and system efficiency. In actual operation, the model adjusts the charge and discharge capacity and SOC weights to achieve the optimal operating state of the battery system under high-frequency dynamic changes.
[0025] Embodiment 1: like Figure 1 As shown, this embodiment provides a partition control SOC balancing method in a holographic data scenario, including the following steps: S1: Collect the operating sequence data of the battery compartment, where the operating sequence data includes: the working status of the energy storage converter (PCS), the SOC status, the active power of the battery compartment, the active power instruction of the battery compartment, the maximum charging capacity of the battery compartment, the maximum discharging capacity of the battery compartment and the comprehensive health index of the battery compartment.
[0026] Specifically, since the runtime data is sequence data, for the convenience of explanation and understanding, the real-time runtime data at the current time t is represented as :
[0027] in, Time series data indicating the working status of the energy storage converter; Time series data indicating the SOC state; Represents the time series data of the active power of the battery compartment; Represents the timing data of the active power command of the battery compartment; Time series data indicating the maximum charging capacity of the battery compartment; Time series data indicating the maximum discharge capacity of the battery compartment; Time series data representing the comprehensive health index of the battery compartment.
[0028] S2: Input the collected operating time data of the battery compartment into the dynamic weight adjustment algorithm model based on MDSTFT, and process the collected operating time data of the battery compartment to obtain the charging and discharging capacity weight and the SOC weight.
[0029] like Figure 2 As shown, the specific steps include: S21: Preprocessing the inputted running sequence data of the battery compartment.
[0030] The specific steps include: S21-1: Clean the collected real-time operating sequence data of the battery compartment to remove abnormal values and missing values.
[0031] Specifically: A) Use k-means clustering method to detect boundary points and non-cluster values, and identify outliers and missing values; B) For the identified outliers, we delete and then interpolate them.
[0032] C) For missing values, Lagrange polynomial interpolation method is used to fill in the blanks.
[0033] S21-2: Normalize the cleaned real-time runtime data.
[0034] Specifically, the real-time operation data after cleaning is normalized to be between 0 and 1.
[0035] Among them, the preprocessed runtime data is expressed as :
[0036] in, Represents the timing data of the PCS working status after preprocessing, is the time series data of the SOC state after preprocessing, is the time series data of the active power of the battery compartment after preprocessing, Represents the time series data of the active power command of the battery compartment after preprocessing, is the time series data of the maximum charging capacity of the battery compartment after preprocessing, Represents the time series data of the maximum discharge capacity after preprocessing, Represents the time series data of the comprehensive health index of the battery compartment after preprocessing.
[0037] S22: Extract and encode the preprocessed runtime data to capture local features of the runtime data.
[0038] Specifically, the following steps are performed through the convolutional layer (CNN) of the dynamic weight adjustment algorithm model based on MDSTFT (Multi-Dimensional Sparse Temporal Fusion Transformer): The preprocessed real-time runtime data is passed through a one-dimensional convolutional layer (1D CNN) for feature extraction to capture the local features of the real-time runtime data.
[0039] The feature extraction formula for runtime data is as follows: ; in, is the extracted local feature matrix.
[0040] S23: Based on the acquired local features, long-distance dependencies in the runtime series data are obtained.
[0041] Specifically, each feature in the local feature matrix is processed in parallel to obtain the long-distance dependency relationship between the features in the local feature matrix.
[0042] The specific steps include: A) Calculate the relationship between each local feature and other local features in the extracted local feature matrix (i.e., attention weight), and generate an enhanced representation of each local feature based on the calculation results.
[0043] Specifically, assuming that at the current The local feature matrix at time Include local features, and the dimension of each local feature is , then the local feature matrix It can be expressed as: ; The local feature matrix Mapped to matrix, Matrix and Matrix, where ; ; .
[0044] in, , and Both represent trainable attention weight matrices, and , and All belong to ,in, is the dimension of the trainable attention weight matrix.
[0045] B) Normalize the trainable attention weight matrix through the Softmax function:
[0046] where represents the scaling factor used to mitigate the The problem of too large dot product caused by the increase.
[0047] C) A multi-head self-attention mechanism is used to parallelly calculate multiple different attention heads of the normalized trainable attention weight matrix to focus on different information in different subspaces, thereby enhancing the expressiveness of the model.
[0048] For example, suppose the trainable attention weight matrix is Attention heads, each with its own independent Query, Key, Value matrix , then The Query, Key, and Value matrices of each head are , and ,and , and ∈ , then The output of an attention head is:
[0049] Wherein, 1≤i≤h, h is a positive integer.
[0050] D) Concatenate the outputs of all attention heads through a linear transformation matrix , in order to obtain the long-distance dependencies of each local feature in the runtime series data.
[0051] Among them, the long-distance dependency relationship between local features is as follows: ; S24: Processing the obtained long-distance dependency to obtain a correction value of the charge-discharge capability weight and a correction value of the SOC weight.
[0052] Specifically, the multilayer perceptron obtains the long-distance dependencies between the features. Get the charge and discharge capacity weight Correction value And SOC weight Correction value .
[0053] S25: Dynamically adjust the charge-discharge capability weight and the SOC weight based on the obtained correction value of the charge-discharge capability weight and the correction value of the SOC weight.
[0054] The dynamic adjustment formula is:
[0055] in, and Represents the coefficient.
[0056] S26: Output the dynamically adjusted charge and discharge capacity weight and SOC weight.
[0057] S3: Based on the output charge and discharge capability weight and SOC weight, calculate the SOC energy loss function and the charge and discharge loss function. S31: Calculate the SOC energy loss function. The specific formula is as follows:
[0058] in, Indicates the degree of deviation of the battery compartment K from the group equilibrium, is the adjusted SOC weight.
[0059] S32: Calculate the charge and discharge energy loss function. The specific formula is as follows:
[0060] in, Represents the charging efficiency of battery compartment K at time t. It represents the discharge instruction execution efficiency of battery compartment K at time t.
[0061] S4: Based on the calculated SOC energy loss function and charge and discharge loss function, the model parameters of the dynamic weight adjustment algorithm based on MDSTFT are optimized.
[0062] Embodiment 2: This embodiment provides a method for controlling SOC balancing by partition in a holographic data scenario. The method further includes collecting and calculating a comprehensive health index of a battery compartment before executing step S1. Specifically, the method includes the following steps: Q1: Collect battery compartment operation data; It should be noted that the battery compartment operation data includes battery compartment current, voltage and temperature, etc., which provide basic data for subsequent estimation. Specifically, first determine the type of data that needs to be collected, and set the frequency and time interval for data collection, and then perform data collection; it should be noted that data collection is completed by installing necessary sensors, such as voltage sensors, current sensors, and temperature sensors, and the type of data that needs to be collected includes but is not limited to battery voltage, current, charge and discharge status, temperature, charge and discharge time, etc.
[0063] It should also be noted that setting the frequency and time interval of data collection can ensure the continuity and integrity of the data; Then the collected data is preprocessed. It should be noted that in this embodiment, data preprocessing includes data cleaning and data conversion, wherein data cleaning includes missing value processing: using the mean, median or mode to fill the missing values of numerical data; for categorical data, the mode or specific mark can be used, and the box plot, Z-score or IQR (interquartile range) method can also be used to identify outliers. For detected outliers, you can choose to delete, replace or conduct further analysis to determine their causes; Data conversion includes standardization, which scales the collected data to a uniform range.
[0064] Q2: Based on the collected battery compartment operation data, estimate the charge state and health state of the battery compartment, and calculate the comprehensive health index of the battery compartment based on the estimated charge state and health state of the battery compartment.
[0065] Q21: Get a real-time estimate of the state of charge of the battery compartment battery .
[0066] A) Get the current integral of the battery compartment battery and the nominal capacity of the battery ; It should be noted that, in this embodiment, the current integral of the battery compartment battery It is the amount of charge and discharge of the battery from the last real-time estimated value of the state of charge measured by the battery to the current time interval, and is obtained by multiplying the battery current by the time interval.
[0067] B) Based on the current integration of the battery compartment battery and the nominal capacity of the battery , calculate the real-time estimated value S of the battery's state of charge, the specific calculation formula is as follows: ; Where n is the charge and discharge efficiency of the battery. It is the real-time estimated value of the state of charge obtained from the last measurement. It should be noted that the discharge efficiency is usually 1, and the charging efficiency is slightly less than 1.
[0068] Q22: Obtain the estimated health status H of the battery in the battery compartment.
[0069] A) Obtain the capacity attenuation value of the battery in the battery compartment .
[0070] It should be noted that the available capacity of the battery decays over time. In this embodiment, the capacity decay value The method of obtaining can be obtained by dividing the current available capacity of the battery by the initial capacity of the battery; B) Obtain the internal resistance aging value of the battery in the battery compartment .
[0071] It should be noted that the internal resistance of the battery increases with aging. In this embodiment, the capacity attenuation value The method of obtaining can be obtained by dividing the current internal resistance of the battery by the initial internal resistance of the battery; C) Get the cycle value of the battery in the battery compartment .
[0072] It should be noted that the cycle life of the battery is related to its health status. In this embodiment, the capacity decay value The method of obtaining can be obtained by dividing the number of cycles of the battery by the initial cycle life of the battery; D) Based on the obtained capacity attenuation value , internal resistance aging value and loop value , calculate the real-time estimated value of health status H, the specific calculation formula is as follows:
[0073] Q23: Based on the real-time estimated value of the health status H and the real-time estimated value of the state of charge S, the health index Q of the battery is calculated by the following formula.
[0074] ,in, and Represents known parameters.
[0075] Q24: Obtain the performance degradation index B of the battery in the battery compartment.
[0076] It should be noted that the battery performance degradation index B is calculated based on parameters such as battery capacity attenuation and internal resistance increase. In this embodiment, the battery performance degradation index is obtained by subtracting the real-time estimated value S of the battery's state of charge from 1 and dividing it by the health status value of the battery in a brand new state. The health status value of the battery in a brand new state is usually 1.
[0077] Q25: Based on the battery performance degradation index B and the battery health index Q, calculate the comprehensive health index of the battery compartment. The specific formula is as follows: ,in, Comprehensive health index of the battery compartment .
[0078] In this embodiment, the method further includes: marking the health status of the battery according to the calculated comprehensive health index, wherein the health status includes normal and abnormal.
[0079] Specifically, a threshold range of the comprehensive health index of the battery compartment is set in advance, and the comprehensive health index of the battery compartment is The battery compartment's comprehensive health index is compared with the preset threshold range. If the battery compartment's comprehensive health index is If the battery compartment's comprehensive health index is greater than the threshold range, the battery's health status is marked as good. If the battery compartment's comprehensive health index is within the threshold range, the battery's health status is marked as normal. If the value is less than the threshold range of the comprehensive health index of the battery compartment, the health status of the battery is marked as abnormal.
[0080] In this embodiment, the method further includes: The battery compartment battery charging and discharging paths are dynamically adjusted and optimized based on the results of battery health diagnosis, and real-time dynamic adjustments are made to respond to changes in battery status.
[0081] Specifically, the steps include: A) If the battery is in good health, increase the charging current; it should be noted that the charging time can be further shortened.
[0082] B) If the battery's health status is normal, reduce the charging current; it should be noted that this can extend the battery life.
[0083] C) If the battery health status is abnormal, the charging current is further reduced. It should be noted that the battery can be protected by the above method.
[0084] It should also be noted that the specific method of obtaining the above charging current is to multiply the standard charging current by the adjustment coefficient, and the adjustment coefficient is obtained by adjusting the comprehensive health index of the battery compartment. Multiply by the second coefficient and add the first coefficient to obtain the comprehensive health index The difference between the median value in the threshold range of the comprehensive health index of the battery compartment, the first coefficient is a constant determined according to historical data, and in the initial state, the first coefficient is 1, which is 0.986 in this embodiment.
[0085] More specifically, the steps of adjusting the depth of discharge according to the current state and the remaining state of charge of the battery to optimize the use of the battery and extend its life, and to prevent the battery from being over-discharged are as follows: ; in, is the discharge depth, is the lowest state of charge allowed for the battery. is the adjustment coefficient, D is the initial discharge depth, and S is the real-time estimated value of the state of charge.
[0086] Among them, the adjustment coefficient is obtained according to the following formula:
[0087] Among them, and are preset adjustment coefficients, corresponding to the health status of the battery. is the adjustment factor when the battery is in good condition, is the adjustment coefficient when the battery is in an abnormal state, k is the parameter of the control function steepness, and N is the middle value of the threshold range of the comprehensive health index of the battery compartment. It should be noted that in this embodiment, the parameter of the control function steepness depends on the type of battery, the health state of the battery, the charge and discharge history of the battery, and the temperature range of the battery. In this embodiment, the value of k is 1.023. The value of is 0.893, The value of is 0.293.
[0088] Embodiment 3: This embodiment provides a partition control SOC balancing system in a holographic data scenario, including: (a) A data acquisition module, used to collect the operating sequence data of the battery compartment.
[0089] (ii) A dynamic weight adjustment algorithm model based on MDSTFT is used to process the collected operating sequence data of the battery compartment to obtain the charge and discharge capacity weight and SOC weight.
[0090] The dynamic weight adjustment algorithm model based on MDSTFT includes: (1) Input layer, used to input the collected battery compartment runtime data into the dynamic weight adjustment algorithm model based on MDSTFT.
[0091] (2) Preprocessing layer, used to preprocess the input battery compartment runtime data.
[0092] Among them, the pre-processing layer includes a data cleaning unit and a data processing unit; The data cleaning unit is used to perform boundary point detection and non-cluster value detection on the input running sequence data of the battery compartment by using the k-means clustering method, identify abnormal values and missing values, and process the identified abnormal values and missing values.
[0093] The normalization unit is used to normalize the cleaned real-time runtime data.
[0094] (3) One-dimensional convolutional layer, which is used to extract and encode the preprocessed runtime data to obtain local features.
[0095] (4) Multi-head self-attention layer, which is used to obtain long-distance dependencies in runtime series data based on local features.
[0096] (5) A multi-layer perceptron is used to process the obtained long-distance dependencies to obtain a correction value of the charge and discharge capacity weight and a correction value of the SOC weight.
[0097] (6) A dynamic weight adjustment layer dynamically adjusts the charge-discharge capacity weight and the SOC weight based on the obtained correction value of the charge-discharge capacity weight and the correction value of the SOC weight.
[0098] (7) Output layer, used to output the dynamically adjusted charging and discharging capacity weights and SOC weights.
[0099] (iii) A loss function calculation module, used to calculate the SOC energy loss function and the charge and discharge loss function based on the output charge and discharge capacity weight and SOC weight.
[0100] (iv) an optimization module, used to optimize the model parameters of the dynamic weight adjustment algorithm based on MDSTFT according to the calculated SOC energy loss function and charge and discharge loss function.
[0101] (V) A data collection module, used to collect battery compartment operation data.
[0102] (vi) a battery compartment comprehensive health index assessment module, used to estimate the state of charge and health state of the battery compartment based on the collected battery compartment operation data, and calculate the comprehensive health index of the battery compartment based on the estimated state of charge and health state of the battery compartment; (VII) A battery health diagnosis module, which marks the health status of the battery according to the calculated comprehensive health index, where the health status includes normal and abnormal.
[0103] (VIII) A dynamic adjustment module, which is used to dynamically adjust and optimize the battery compartment battery charging and discharging paths according to the results of the battery health diagnosis, and to dynamically adjust in real time to respond to changes in battery status.
[0104] Embodiment 3: This embodiment provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute a partition control SOC balancing method in a holographic data scenario described in Embodiment 1 and Embodiment 2.
[0105] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant support can be referred to the description in the method embodiment.
[0106] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0108] In addition, it should be noted that the flowchart in the accompanying drawings shows the method of the embodiment of the present disclosure. In the corresponding description in the flowchart or block diagram in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be performed substantially in parallel, and they can sometimes be performed in the opposite order, which can depend on the functions involved. Each block in the block diagram and / or flow chart, and the combination of blocks in the block diagram and / or flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0109] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A partition control SOC balancing method in a holographic data scenario, characterized in that: include: Step 1: Collect the operating sequence data of the battery compartment; Step 2: Input the collected operating sequence data into the dynamic weight adjustment algorithm model based on MDSTFT to output the charge and discharge capacity weight and SOC weight; The second step comprises: Input the collected battery compartment operation timing data into the dynamic weight adjustment algorithm model based on MDSTFT; Preprocessing the input running sequence data of the battery compartment; Perform feature extraction and encoding on the preprocessed runtime data to capture local features in the runtime data; Based on the local features obtained, the long-distance dependencies of the runtime data are obtained; The obtained long-distance dependency is processed to obtain a correction value of the charge-discharge capacity weight and a correction value of the SOC weight; Dynamically adjusting the charge-discharge capacity weight and the SOC weight based on the obtained correction value of the charge-discharge capacity weight and the correction value of the SOC weight; Output dynamically adjusted charge and discharge capacity weights and SOC weights.
2. The partition control SOC balancing method in the holographic data scenario according to claim 1 is characterized in that: The method further comprises: Based on the output charge and discharge capacity weight and SOC weight, calculate the SOC energy loss function and the charge and discharge loss function; Based on the calculated SOC energy loss function and charge and discharge loss function, the model parameters of the dynamic weight adjustment algorithm based on MDSTFT are optimized.
3. The partition control SOC balancing method in the holographic data scene according to claim 1 is characterized in that: The preprocessing of the inputted running sequence data of the battery compartment includes: Clean the input battery compartment runtime data to remove outliers and missing values; Normalize the real-time runtime data removing outliers and missing values.
4. The method for controlling SOC balancing by partitions in a holographic data scenario according to claim 2 is characterized in that: The method further comprises, before step 1: Collect battery compartment operation data; estimating the state of charge and health of the battery compartment according to the collected battery compartment operation data, and calculating a comprehensive health index of the battery compartment based on the estimated state of charge and health of the battery compartment; Marking the health status of the battery according to the calculated comprehensive health index, wherein the health status includes normal and abnormal; The battery compartment battery charging and discharging paths are dynamically adjusted and optimized based on the results of battery health diagnosis, and real-time dynamic adjustments are made to respond to changes in battery status.
5. A zone control SOC balancing system in a holographic data scenario, characterized in that: include: A data acquisition device, used for collecting the running sequence data of the battery compartment; A dynamic weight adjustment algorithm model based on MDSTFT is used to process the collected battery compartment operation sequence data to obtain the charge and discharge capacity weight and SOC weight; The dynamic weight adjustment algorithm model based on MDSTFT includes: An input layer, used to input the collected running sequence data of the battery compartment into the dynamic weight adjustment algorithm model based on MDSTFT; A preprocessing layer, used to preprocess the input battery compartment running sequence data; One-dimensional convolution layer, used to extract and encode the preprocessed runtime data to obtain local features; The multi-head self-attention layer is used to obtain the long-distance dependencies of the runtime data based on the local features; A multi-layer perceptron is used to process the obtained long-distance dependency to obtain a correction value of the charge and discharge capacity weight and a correction value of the SOC weight; A dynamic weight adjustment layer dynamically adjusts the charge-discharge capacity weight and the SOC weight based on the obtained correction value of the charge-discharge capacity weight and the correction value of the SOC weight; The output layer is used to output the dynamically adjusted charging and discharging capacity weights and SOC weights.
6. The partition control SOC balancing system in the holographic data scenario according to claim 5 is characterized in that: The system further comprises: A loss function calculation module, used to calculate the SOC energy loss function and the charge and discharge loss function based on the output charge and discharge capacity weight and SOC weight; The optimization module is used to optimize the model parameters of the dynamic weight adjustment algorithm based on MDSTFT according to the calculated SOC energy loss function and charge and discharge loss function.
7. The partition control SOC balancing system in the holographic data scenario according to claim 6 is characterized in that: The system further comprises: A data collection module, used to collect battery compartment operation data; A battery compartment comprehensive health index evaluation module, used to estimate the state of charge and health state of the battery compartment according to the collected battery compartment operation data, and calculate the comprehensive health index of the battery compartment based on the estimated state of charge and health state of the battery compartment; A battery health diagnosis module, used to mark the health status of the battery according to the calculated comprehensive health index, wherein the health status includes normal and abnormal; The dynamic adjustment module is used to dynamically adjust and optimize the battery compartment battery charging and discharging paths according to the results of battery health diagnosis, and make real-time dynamic adjustments to respond to changes in battery status.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the partition control SOC balancing method in the holographic data scenario described in any one of claims 1 to 4.
Citation Information
Patent Citations
Combined simulating evaluation method of state of health and state of charge of lithium battery
CN108196200A
Equipment health state assessment method based on knowledge graph multi-set pooling
CN115456044A
Power battery health state estimation method of electric vehicle group
CN117648631A
Wiring abnormity monitoring method and system based on battery compartment state analysis
CN118068234A
Method, device and equipment for predicting state of charge (SOC) of battery and medium
CN118259174A
